/* Cocomelon commerce: native product data, preview-only presentation. */
.cm-storefront .cm-native-product {
  --cm-commerce-ink: #151617;
  --cm-commerce-paper: #f1eee7;
  --cm-commerce-orange: #f26338;
  --cm-commerce-rule: #c9c4b9;
  box-sizing: border-box;
  color: var(--cm-commerce-ink);
  background: var(--cm-commerce-paper);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.cm-storefront .cm-native-product.cm-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(32px, 5vw, 72px) max(24px, calc((100% - 1280px) / 2));
}

.cm-storefront .cm-native-product *,
.cm-storefront .cm-native-product *::before,
.cm-storefront .cm-native-product *::after {
  box-sizing: border-box;
}

.cm-storefront .cm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: clamp(24px, 4vw, 52px);
  color: #4a4842;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 5px;
}

.cm-storefront .cm-back-link:hover {
  color: #a93415;
  text-decoration: underline;
}

.cm-storefront .cm-back-link:focus-visible,
.cm-storefront .cm-catalog-pagination a:focus-visible {
  outline: 3px solid #a93415;
  outline-offset: 5px;
}

.cm-storefront .cm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.cm-storefront .cm-detail-grid > * {
  min-width: 0;
}

.cm-storefront .cm-detail-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid var(--cm-commerce-rule, #c9c4b9);
  background: #fff;
}

.cm-storefront .cm-detail-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
}

.cm-storefront .cm-detail-kicker {
  margin: 0 0 16px;
  color: #6b473b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cm-storefront .cm-detail-copy h1 {
  margin: 0 0 24px;
  color: #151617;
  font-size: clamp(34px, 3.7vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
  text-transform: none;
  text-wrap: balance;
}

.cm-storefront .cm-detail-price {
  display: block;
  margin: 0 0 22px;
  color: #151617;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.cm-storefront .cm-detail-summary {
  margin: 0 0 26px;
  color: #494741;
  font-size: 18px;
  line-height: 1.75;
}

.cm-storefront .cm-detail-summary p {
  margin: 0 0 14px;
}

.cm-storefront .cm-detail-status {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid #c7a58f;
  background: #eadccf;
  color: #603b29;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.cm-storefront .cm-buy-disabled,
.cm-storefront .cm-buy-disabled:disabled,
.cm-storefront .cm-buy-disabled[aria-disabled="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 16px 22px;
  border: 1px solid #484743;
  border-radius: 0;
  background: #2a2b2b;
  color: #d7d4cc;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

.cm-storefront .cm-detail-note {
  margin: 16px 0 0;
  color: #615c53;
  font-size: 14px;
  line-height: 1.75;
}

.cm-storefront .cm-detail-description {
  margin-top: clamp(36px, 5vw, 72px);
  padding-top: 30px;
  border-top: 1px solid var(--cm-commerce-rule, #c9c4b9);
  color: #494741;
  font-size: 18px;
  line-height: 1.8;
}

.cm-storefront .cm-detail-description h2,
.cm-storefront .cm-detail-description h3 {
  margin: 0 0 18px;
  color: #151617;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -.025em;
}

.cm-storefront .cm-detail-description p {
  margin: 0 0 18px;
}

.cm-storefront .cm-detail-description ul,
.cm-storefront .cm-detail-description ol {
  margin: 0 0 20px;
  padding-left: 1.4em;
}

.cm-storefront .cm-detail-description li + li {
  margin-top: 8px;
}

.cm-storefront .cm-detail-description img {
  max-width: 100%;
  height: auto;
}

.cm-storefront .cm-detail-policy {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--cm-commerce-rule, #c9c4b9);
  color: #4a4842;
  font-size: 15px;
  line-height: 1.75;
}

.cm-storefront .cm-detail-policy dt {
  margin: 0;
  color: #151617;
  font-weight: 700;
}

.cm-storefront .cm-detail-policy dd {
  min-width: 0;
  margin: 0;
}

.cm-storefront .cm-catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  color: #151617;
  font-size: 16px;
}

.cm-storefront .cm-catalog-pagination a,
.cm-storefront .cm-catalog-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #b8b2a6;
  color: #151617;
  line-height: 1.5;
  text-decoration: none;
}

.cm-storefront .cm-catalog-pagination a:hover {
  border-color: #a93415;
  color: #a93415;
}

.cm-storefront .cm-catalog-pagination .current {
  border-color: #151617;
  background: #151617;
  color: #f1eee7;
}

body.cm-product-preview .cm-storefront .cm-hero,
body.cm-product-preview .cm-storefront .cm-about,
body.cm-preview-checkout .cm-storefront .cm-hero,
body.cm-preview-checkout .cm-storefront .cm-about {
  display: none;
}

/* Native WooCommerce elements only; no global storefront button overrides. */
body.woocommerce .woocommerce {
  color: #151617;
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.woocommerce .woocommerce *,
body.woocommerce .woocommerce *::before,
body.woocommerce .woocommerce *::after {
  box-sizing: border-box;
}

body.woocommerce .woocommerce .product_title {
  color: #151617;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
}

body.woocommerce .woocommerce div.product p.price,
body.woocommerce .woocommerce div.product span.price {
  color: #151617;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

body.woocommerce .woocommerce div.product .woocommerce-product-gallery img {
  object-fit: contain;
}

body.woocommerce .woocommerce form .form-row label {
  display: block;
  margin-bottom: 8px;
  color: #151617;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

body.woocommerce .woocommerce form input.input-text,
body.woocommerce .woocommerce form textarea,
body.woocommerce .woocommerce form select,
body.woocommerce .woocommerce .quantity .qty {
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #a49e92;
  border-radius: 0;
  background: #fff;
  color: #151617;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}

body.woocommerce .woocommerce form textarea {
  min-height: 120px;
  resize: vertical;
}

body.woocommerce .woocommerce .quantity .qty {
  width: 88px;
}

body.woocommerce .woocommerce form input[type="checkbox"],
body.woocommerce .woocommerce form input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #a93415;
}

body.woocommerce .woocommerce a.button,
body.woocommerce .woocommerce button.button,
body.woocommerce .woocommerce input.button,
body.woocommerce .woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid #f26338;
  border-radius: 0;
  background: #f26338;
  color: #151617;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
}

body.woocommerce .woocommerce a.button:hover,
body.woocommerce .woocommerce button.button:hover,
body.woocommerce .woocommerce input.button:hover,
body.woocommerce .woocommerce #respond input#submit:hover {
  border-color: #151617;
  background: #151617;
  color: #f1eee7;
}

body.woocommerce .woocommerce button.button:disabled,
body.woocommerce .woocommerce button.button:disabled[disabled],
body.woocommerce .woocommerce input.button:disabled,
body.woocommerce .woocommerce .button.disabled {
  border-color: #c5c0b5;
  background: #dedad1;
  color: #625e57;
  opacity: 1;
  cursor: not-allowed;
}

body.woocommerce .woocommerce :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #a93415;
  outline-offset: 4px;
}

body.woocommerce .woocommerce table.shop_table {
  width: 100%;
  margin: 0 0 28px;
  border: 1px solid #c9c4b9;
  border-collapse: collapse;
  border-radius: 0;
  background: #f1eee7;
  color: #151617;
  font-size: 16px;
  line-height: 1.6;
}

body.woocommerce .woocommerce table.shop_table th,
body.woocommerce .woocommerce table.shop_table td {
  padding: 16px;
  border-color: #c9c4b9;
  vertical-align: middle;
}

body.woocommerce .woocommerce table.shop_table th {
  font-weight: 750;
}

body.woocommerce .woocommerce table.shop_table .product-name a {
  color: #151617;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.woocommerce .woocommerce table.shop_table .product-thumbnail img {
  width: 80px;
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  background: #fff;
}

body.woocommerce .woocommerce .woocommerce-info,
body.woocommerce .woocommerce .woocommerce-message,
body.woocommerce .woocommerce .woocommerce-error {
  margin-bottom: 24px;
  border-top-color: #a93415;
  background: #e8e3d8;
  color: #151617;
  font-size: 16px;
  line-height: 1.7;
}

body.woocommerce .woocommerce .woocommerce-info::before,
body.woocommerce .woocommerce .woocommerce-message::before,
body.woocommerce .woocommerce .woocommerce-error::before {
  color: #a93415;
}

body.woocommerce .woocommerce form.checkout_coupon,
body.woocommerce .woocommerce form.login,
body.woocommerce .woocommerce form.register {
  padding: 24px;
  border-color: #c9c4b9;
  border-radius: 0;
  background: #f1eee7;
}

body.woocommerce .woocommerce #payment {
  border-radius: 0;
  background: #e8e3d8;
}

@media (max-width: 800px) {
  .cm-storefront .cm-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .cm-storefront .cm-detail-photo {
    width: 100%;
    max-width: 580px;
    justify-self: center;
  }

  .cm-storefront .cm-detail-copy h1 {
    max-width: 20ch;
    font-size: clamp(32px, 6.5vw, 46px);
  }

  body.woocommerce .woocommerce div.product div.images,
  body.woocommerce .woocommerce div.product div.summary {
    float: none;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cm-storefront .cm-native-product.cm-wrap {
    padding: 28px 20px 44px;
  }

  .cm-storefront .cm-back-link {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .cm-storefront .cm-detail-kicker {
    font-size: 12px;
  }

  .cm-storefront .cm-detail-copy h1 {
    margin-bottom: 20px;
  }

  .cm-storefront .cm-detail-policy {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    font-size: 15px;
  }

  .cm-storefront .cm-detail-policy dd + dt {
    margin-top: 14px;
  }

  body.woocommerce .woocommerce table.shop_table th,
  body.woocommerce .woocommerce table.shop_table td {
    padding: 12px 10px;
  }

  body.woocommerce .woocommerce table.shop_table_responsive tr td {
    overflow-wrap: anywhere;
  }

  body.woocommerce .woocommerce table.shop_table_responsive .actions .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-bottom: 12px;
  }

  body.woocommerce .woocommerce table.shop_table_responsive .actions .coupon .input-text,
  body.woocommerce .woocommerce table.shop_table_responsive .actions .coupon .button {
    float: none;
    width: 100%;
    margin: 0;
  }

  body.woocommerce .woocommerce .col2-set .col-1,
  body.woocommerce .woocommerce .col2-set .col-2,
  body.woocommerce .woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
  }

  body.woocommerce .woocommerce form .form-row-first,
  body.woocommerce .woocommerce form .form-row-last {
    float: none;
    width: 100%;
  }
}

