.hc-detail-page { padding: 42px 0 94px; background: #fff; }
.hc-detail-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 34px; color: #7c6b75; font-size: 14px; }
.hc-detail-breadcrumb a { color: var(--text-color); text-decoration: none; }
.hc-detail-breadcrumb a:hover { color: var(--accent-color); }
.hc-detail-breadcrumb [aria-current] { color: var(--primary-color); }
.hc-detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(24px, 2.8vw, 44px); align-items: start; }
.hc-detail-gallery { display: grid; grid-template-columns: clamp(90px, 7.8vw, 118px) minmax(0, 1fr); gap: 14px; min-width: 0; }
.hc-detail-thumbnails { display: flex; flex-direction: column; gap: 12px; }
.hc-detail-thumb { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; padding: 5px; border: 2px solid transparent; border-radius: 12px; background: #fbf6f9; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.hc-detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hc-detail-thumb:hover, .hc-detail-thumb.is-active { border-color: var(--accent-color); }
.hc-detail-thumb:hover { transform: translateY(-2px); }
.hc-detail-thumbnails[hidden] { display: none; }
.hc-detail-main-media { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: clamp(420px, 54vw, 720px); padding: clamp(14px, 1.8vw, 26px); border-radius: 15px; background: #fbf6f9; overflow: hidden; cursor: zoom-in; }
.hc-detail-main-image { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.hc-detail-main-image[hidden], .hc-detail-main-placeholder[hidden], .hc-detail-gallery-arrow[hidden], .hc-detail-gallery-count[hidden] { display: none; }
.hc-detail-gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; color: var(--primary-color); background: rgba(255,255,255,.94); box-shadow: 0 4px 16px rgba(49,24,38,.16); cursor: pointer; transform: translateY(-50%); transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.hc-detail-gallery-arrow:hover { color: #fff; background: var(--accent-color); box-shadow: 0 6px 18px rgba(139,45,91,.24); }
.hc-detail-gallery-arrow:focus-visible { outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.hc-detail-gallery-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-gallery-previous { left: 16px; }
.hc-detail-gallery-next { right: 16px; }
.hc-detail-gallery-count { position: absolute; right: 16px; bottom: 16px; padding: 6px 11px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; color: var(--primary-color); background: rgba(255,255,255,.9); box-shadow: 0 3px 12px rgba(49,24,38,.1); font-size: 12px; font-weight: 600; line-height: 1; pointer-events: none; }
.hc-detail-main-media > .hc-detail-favorite { position: absolute; z-index: 4; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #322029; background: #fff; box-shadow: 0 5px 15px rgba(54,30,42,.16); }
.hc-detail-main-media > .hc-detail-favorite:hover, .hc-detail-main-media > .hc-detail-favorite:focus-visible { color: #fff; background: var(--accent-color); }
.hc-detail-main-media > .hc-detail-favorite.is-saved { color: var(--accent-color); }
.hc-detail-main-media > .hc-detail-favorite.is-saved:hover, .hc-detail-main-media > .hc-detail-favorite.is-saved:focus-visible { color: #fff; }
.hc-detail-main-placeholder { color: #b56d91; font-size: 90px; }
.hc-detail-eyebrow { display: block; color: var(--accent-color); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hc-detail-info { padding: 3px 0 0; }
.hc-detail-info h1 { margin: 13px 0 20px; color: var(--primary-color); font-size: clamp(32px, 3.1vw, 48px); line-height: 1.15; font-weight: 500; }
.hc-detail-price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid #eee3e8; }
.hc-detail-price strong { color: #000; font-size: 33px; line-height: 1.2; font-weight: 600; }
.hc-detail-price del { color: #8c7f85; font-size: 19px; }
.hc-detail-sale-label { padding: 6px 11px; border-radius: 999px; background: #f7e8ef; color: var(--accent-color); font-size: 12px; font-weight: 700; }
.hc-detail-intro { margin: 25px 0 28px; color: var(--text-color); font-size: 16px; line-height: 1.8; }
.hc-detail-formats { margin: 54px 0 0; padding: 25px 0 0; border-top: 1px solid #eee3e8; }
.hc-detail-formats-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.hc-detail-formats h2 { margin: 0; color: var(--primary-color); font-size: 18px; font-weight: 600; }
.hc-detail-format-controls { display: flex; gap: 8px; }
.hc-detail-format-controls[hidden] { display: none; }
.hc-detail-format-controls button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #e9d9e1; border-radius: 50%; color: var(--primary-color); background: #fff; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.hc-detail-format-controls button:hover:not(:disabled) { color: #fff; border-color: var(--accent-color); background: var(--accent-color); }
.hc-detail-format-controls button:focus-visible, .hc-detail-format-list:focus-visible { outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.hc-detail-format-controls button:disabled { opacity: .4; cursor: default; }
.hc-detail-format-controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-format-list { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #d7c3ce transparent; }
.hc-detail-format-list::-webkit-scrollbar { height: 6px; }
.hc-detail-format-list::-webkit-scrollbar-thumb { border-radius: 99px; background: #d7c3ce; }
.hc-detail-format-card { display: grid; flex: 0 0 clamp(104px, 13vw, 150px); place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid #eee3e8; border-radius: 12px; background: #fbf6f9; scroll-snap-align: start; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hc-detail-format-card:hover { border-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(58,27,43,.09); }
.hc-detail-format-card:focus-visible { outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.hc-detail-format-card img { display: block; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.hc-detail-formats + .hc-detail-more { margin-top: 38px; }
.hc-detail-purchase-panel { display: grid; grid-template-columns: minmax(118px, .42fr) minmax(0, 1fr); grid-template-rows: 50px 50px; align-items: stretch; gap: 11px 12px; margin: 26px 0 0; }
.hc-detail-quantity-group { display: block; grid-column: 1; grid-row: 1; min-width: 0; }
.hc-detail-quantity-group > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hc-detail-quantity-control { display: grid; grid-template-columns: 42px minmax(30px, 1fr) 42px; align-items: center; width: 100%; min-width: 0; min-height: 48px; overflow: hidden; border: 1px solid #e4d5de; border-radius: 999px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.hc-detail-quantity-control:focus-within { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(139,45,91,.1); }
.hc-detail-quantity-button { display: grid; place-items: center; width: 42px; height: 46px; padding: 0; border: 0; color: var(--accent-color); background: transparent; font-size: 21px; line-height: 1; cursor: pointer; }
.hc-detail-quantity-button:hover:not(:disabled) { color: var(--accent-color); background: #fbf3f7; }
.hc-detail-quantity-button:disabled { color: #b9aeb5; cursor: not-allowed; }
.hc-detail-quantity-control input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; color: var(--primary-color); background: transparent; text-align: center; font-size: 15px; appearance: textfield; }
.hc-detail-quantity-control input::-webkit-inner-spin-button, .hc-detail-quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.hc-detail-quantity-control input:focus-visible { outline: 2px solid var(--accent-secondary-color); outline-offset: -3px; border-radius: 999px; }
.hc-detail-primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 11px 22px; border: 0; border-radius: 7px; background: var(--accent-color); color: #fff; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hc-detail-primary-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-primary-action:hover { color: #fff; background: #6c2147; transform: translateY(-2px); }
.hc-detail-primary-action:disabled, .hc-detail-primary-action:disabled:hover { color: #fff; background: #a99aa2; cursor: not-allowed; opacity: .68; transform: none; box-shadow: none; }
.hc-detail-purchase-panel > .hc-detail-add-cart-action { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; min-height: 50px; padding: 9px 14px; border: 1.5px solid var(--accent-color); border-radius: 999px; color: var(--accent-color); background: transparent; }
.hc-detail-purchase-panel > .hc-detail-add-cart-action:hover:not(:disabled) { border-color: var(--accent-color); color: var(--accent-color); background: var(--secondary-color); transform: translateY(-1px); }
.hc-detail-purchase-panel > .hc-detail-add-cart-action:disabled, .hc-detail-purchase-panel > .hc-detail-add-cart-action:disabled:hover { border-color: #cfc2c9; color: #92828b; background: transparent; opacity: .72; }
.hc-detail-purchase-panel > .hc-detail-buy-now { grid-column: 1 / -1; grid-row: 2; width: 100%; display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 50px; padding: 10px 14px; border: 0; border-radius: 999px; color: #fff; background: var(--accent-color); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: 0 5px 14px rgba(139,45,91,.18); transition: background .2s ease, transform .2s ease; }
.hc-detail-purchase-panel > .hc-detail-buy-now:hover:not(:disabled) { color: #fff; background: #6c2147; transform: translateY(-1px); }
.hc-detail-buy-now:disabled, .hc-detail-buy-now:disabled:hover { color: #fff; background: #a99aa2; cursor: not-allowed; opacity: .68; transform: none; box-shadow: none; }
.hc-detail-favorite { display: grid; place-items: center; width: 49px; height: 49px; padding: 0; border: 1px solid #e9d9e1; border-radius: 50%; color: var(--primary-color); background: #fff; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.hc-detail-favorite svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hc-detail-favorite:hover, .hc-detail-favorite.is-saved { color: var(--accent-color); border-color: var(--accent-color); background: #fbf3f7; }
.hc-detail-favorite.is-saved svg { fill: currentColor; }
.hc-detail-checkout-note { display: block; padding: 14px 16px; margin: 17px 0 0; border: 1px solid #eadde4; border-radius: 13px; background: linear-gradient(145deg, #fff 0%, #fcf7fa 100%); box-shadow: 0 2px 6px rgba(0,0,0,0.02); text-align: left; }
.hc-detail-trust-dropdown { width: 100%; margin: 0; }
.hc-detail-trust-summary { list-style: none; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; padding: 0; margin: 0; }
.hc-detail-trust-summary::-webkit-details-marker { display: none; }
.hc-detail-trust-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; color: #1a7f47; background: #eaf6ee; border: 1px solid #d2edd8; margin-top: 1px; }
.hc-detail-trust-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-trust-main { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.hc-detail-trust-title-row { display: flex; align-items: center; gap: 7px; width: 100%; }
.hc-detail-trust-trigger-text { color: #1a7f47; font-size: 15px; font-weight: 600; line-height: 1.3; transition: color .18s ease; }
.hc-detail-trust-summary:hover .hc-detail-trust-trigger-text { color: #0f5c31; text-decoration: underline; }
.hc-detail-trust-title-row .hc-detail-trust-arrow { width: 15px; height: 15px; flex: 0 0 15px; stroke: #1a7f47; stroke-width: 2.2; transition: transform .2s ease; }
.hc-detail-trust-dropdown[open] .hc-detail-trust-arrow { transform: rotate(90deg); }
.hc-detail-payment-strip-container { display: flex; justify-content: flex-start; align-items: center; width: 100%; padding: 0; margin: 0; cursor: default; }
.hc-detail-payment-strip { max-width: 100%; height: auto; max-height: 26px; object-fit: contain; }
.hc-detail-trust-panel { display: grid; gap: 10px; padding: 14px 0 4px; margin-top: 12px; border-top: 1px solid #eaf3ed; }
.hc-detail-trust-panel-heading { display: flex; align-items: center; gap: 8px; color: #144e2b; font-size: 13px; font-weight: 700; }
.hc-detail-trust-check-badge { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; background: #e2f4e8; color: #1a7f47; }
.hc-detail-trust-check-badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-trust-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hc-detail-trust-list li { display: flex; align-items: flex-start; gap: 8px; color: #495d50; font-size: 12px; line-height: 1.45; }
.hc-detail-trust-check { color: #1a7f47; font-weight: 700; flex: 0 0 auto; font-size: 13px; line-height: 1.3; }
.hc-detail-trust-link { display: inline-flex; align-items: center; gap: 5px; color: #1a7f47; font-size: 12px; font-weight: 600; text-decoration: none; margin-top: 3px; }
.hc-detail-trust-link:hover { text-decoration: underline; color: #0f5c31; }
.hc-detail-shipping-card { display: block; padding: 14px 16px; margin: 18px 0 0; border: 1px solid #eadde4; border-radius: 13px; background: linear-gradient(145deg, #fff 0%, #fcf7fa 100%); box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.hc-detail-shipping-dropdown { width: 100%; }
.hc-detail-shipping-summary { list-style: none; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; padding: 0; margin: 0; }
.hc-detail-shipping-summary::-webkit-details-marker { display: none; }
.hc-detail-shipping-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; color: #1a7f47; background: #eaf6ee; border: 1px solid #d2edd8; margin-top: 1px; }
.hc-detail-shipping-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-shipping-main { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.hc-detail-shipping-title-row { display: flex; align-items: center; gap: 7px; width: 100%; }
.hc-detail-shipping-trigger-text { color: #1a7f47; font-size: 15px; font-weight: 600; line-height: 1.3; transition: color .18s ease; }
.hc-detail-shipping-summary:hover .hc-detail-shipping-trigger-text { color: #0f5c31; text-decoration: underline; }
.hc-detail-shipping-title-row .hc-detail-trust-arrow { width: 15px; height: 15px; flex: 0 0 15px; stroke: #1a7f47; stroke-width: 2.2; transition: transform .2s ease; }
.hc-detail-shipping-dropdown[open] .hc-detail-trust-arrow { transform: rotate(90deg); }
.hc-detail-shipping-price { font-size: 13.5px; font-weight: 700; margin-left: auto; }
.hc-detail-shipping-price.is-free { color: #28784a; }
.hc-detail-carrier-section { display: flex; align-items: center; justify-content: flex-start; padding: 0; margin: 0; cursor: default; }
.hc-detail-carrier-label { display: none !important; }
.hc-detail-carrier-badges { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hc-detail-carrier-badge { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 3px 10px; background: #fff; border: 1px solid #ebdce4; border-radius: 7px; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.hc-carrier-img { display: block; width: auto; object-fit: contain; }
.hc-carrier-usps { height: 20px; max-width: 75px; }
.hc-carrier-ups { height: 22px; max-width: 40px; }
.hc-carrier-fedex { height: 15px; max-width: 60px; }
.hc-detail-shipping-panel { display: grid; gap: 11px; padding: 14px 0 4px; margin-top: 12px; border-top: 1px solid #eaf3ed; }
.hc-detail-shipping-guarantee-note { display: flex; align-items: flex-start; gap: 10px; padding: 10px 13px; margin: 0; border-radius: 9px; background: #f0f8f3; border: 1px solid #cfead6; }
.hc-detail-shipping-guarantee-note[hidden] { display: none !important; }
.hc-detail-shipping-guarantee-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #1a7f47; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.hc-detail-shipping-guarantee-note p { margin: 0; color: #18522c; font-size: 12px; line-height: 1.45; }
.hc-detail-shipping-guarantee-note strong { font-weight: 700; }
.hc-detail-shipping-highlights { display: grid; gap: 9px; padding-left: 0; }
.hc-detail-shipping-point { display: flex; align-items: flex-start; gap: 9px; color: #63525b; font-size: 12px; line-height: 1.45; }
.hc-detail-shipping-point strong { color: var(--primary-color); font-weight: 600; margin-right: 4px; }
.hc-detail-point-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: #1a7f47; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.hc-detail-shipping-policy-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin: 4px 0 0; color: var(--accent-color); font-size: 12px; font-weight: 600; text-decoration: none; }
.hc-detail-shipping-policy-link:hover { text-decoration: underline; }
.hc-detail-shipping-policy-link:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; border-radius: 2px; }
.hc-detail-category-carousel { margin-top: 24px; }
.hc-detail-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hc-detail-category-heading h2 { margin: 0; color: var(--primary-color); font-size: 14px; font-weight: 600; }
.hc-detail-category-controls { display: flex; gap: 6px; }
.hc-detail-category-controls[hidden] { display: none; }
.hc-detail-category-controls button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #e9d9e1; border-radius: 50%; color: var(--primary-color); background: #fff; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.hc-detail-category-controls button:hover:not(:disabled) { color: #fff; border-color: var(--accent-color); background: var(--accent-color); }
.hc-detail-category-controls button:focus-visible, .hc-detail-category-track:focus-visible { outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.hc-detail-category-controls button:disabled { opacity: .4; cursor: default; }
.hc-detail-category-controls svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-detail-category-track { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 7px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #d7c3ce transparent; }
.hc-detail-category-track::-webkit-scrollbar { height: 4px; }
.hc-detail-category-track::-webkit-scrollbar-thumb { border-radius: 99px; background: #d7c3ce; }
.hc-detail-category-banner { display: block; flex: 0 0 250px; height: 66px; overflow: hidden; border: 1px solid #eee3e8; border-radius: 8px; background: #fbf6f9; scroll-snap-align: start; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hc-detail-category-banner:hover { border-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(58,27,43,.1); }
.hc-detail-category-banner:focus-visible { outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.hc-detail-category-banner img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hc-detail-meta { display: grid; gap: 11px; padding-top: 24px; margin: 0; border-top: 1px solid #eee3e8; }
.hc-detail-meta div, .hc-detail-tab-panel dl div { display: flex; gap: 13px; }
.hc-detail-meta dt, .hc-detail-tab-panel dt { color: var(--primary-color); font-weight: 600; }
.hc-detail-meta dd, .hc-detail-tab-panel dd { margin: 0; color: var(--text-color); }
.hc-detail-more { margin-top: 80px; border-top: 1px solid #eee3e8; }
.hc-detail-tabs { display: flex; flex-wrap: wrap; gap: 34px; border-bottom: 1px solid #eee3e8; }
.hc-detail-tab { position: relative; padding: 22px 0 17px; border: 0; color: var(--text-color); background: transparent; font-size: 17px; cursor: pointer; }
.hc-detail-tab.is-active { color: var(--accent-color); }
.hc-detail-tab.is-active::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent-color); }
.hc-detail-tab-panel { padding: 30px 0 0; color: var(--text-color); }
.hc-detail-tab-panel[hidden] { display: none; }
.hc-detail-tab-panel h2 { margin: 0 0 15px; color: var(--primary-color); font-size: 25px; font-weight: 500; }
.hc-detail-tab-panel p { max-width: 780px; margin: 0; line-height: 1.8; }
.hc-detail-tab-panel dl { display: grid; gap: 12px; margin: 0; }
.hc-detail-related { margin-top: 85px; }
.hc-detail-related-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 17px; margin-bottom: 24px; border-bottom: 1px solid #eee3e8; }
.hc-detail-related-heading-copy { min-width: 0; }
.hc-detail-related-heading h2 { margin: 0; color: var(--primary-color); font-size: clamp(26px, 2.5vw, 32px); font-weight: 500; line-height: 1.2; }
.hc-detail-related-heading > a { color: var(--accent-color); font-size: 14px; text-decoration: underline; white-space: nowrap; }
.hc-detail-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hc-detail-related-grid .product-item {
    flex: none;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ebdbe2;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hc-detail-related-grid .product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(54, 30, 42, 0.08);
    border-color: #dfccd6;
}
/* Change image ONLY when hovering directly over the image, not the entire card */
@media (hover: hover) {
    .hc-detail-related-grid .product-item-header:hover figure:has(> img.hc-product-secondary:not(.is-unavailable)) img.hc-product-primary,
    .hc-detail-related-grid .product-item-image:hover figure:has(> img.hc-product-secondary:not(.is-unavailable)) img.hc-product-primary {
        opacity: 0;
    }
    .hc-detail-related-grid .product-item-header:hover figure img.hc-product-secondary:not(.is-unavailable),
    .hc-detail-related-grid .product-item-image:hover figure img.hc-product-secondary:not(.is-unavailable) {
        opacity: 1;
    }
}
.hc-detail-related-grid .product-item:hover .product-item-image figure img {
    transform: none;
}
/* Never show the quick view button on top of the image */
.hc-detail-related-grid .hc-card-actions [data-card-action="quick-view"],
.hc-card-actions [data-card-action="quick-view"] {
    display: none !important;
}
.hc-detail-related-grid .product-item-header {
    position: relative;
    border-radius: 9px;
    overflow: hidden;
    background: #fbf7f9;
}
.hc-detail-related-grid .hc-card-actions {
    position: absolute;
    top: 9px;
    right: 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 5;
}
.hc-detail-related-grid .hc-card-action {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(230, 218, 224, 0.8);
    border-radius: 50%;
    color: #3b2832;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 3px 10px rgba(54, 30, 42, 0.1);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.hc-detail-related-grid .hc-card-action svg {
    width: 17px;
    height: 17px;
}
.hc-detail-related-grid .hc-card-action:hover {
    color: #fff;
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}
.hc-detail-related-grid .hc-card-action.is-saved {
    color: #e53950;
    background: #fff0f3;
    border-color: #f7c1cb;
}
.hc-detail-related-grid .hc-card-action.is-saved svg {
    fill: #e53950;
    stroke: #e53950;
}
.hc-detail-related-grid .hc-card-action.is-saved:hover {
    color: #fff;
    background: #e53950;
    border-color: #e53950;
}
.hc-detail-related-grid .hc-card-action.is-saved:hover svg {
    fill: #fff;
    stroke: #fff;
}
.hc-detail-related-grid .product-item-title {
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0 4px;
    line-height: 1.35;
}
.hc-detail-related-grid .product-item-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color .2s ease;
}
.hc-detail-related-grid .product-item-title a:hover {
    color: var(--accent-color);
}
.hc-detail-related-grid .hc-card-purchase-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
}
.hc-detail-related-grid .hc-card-add-button {
    flex: 1 1 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
}
.hc-detail-related-grid .hc-card-add-button:hover {
    background: #732249;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.hc-detail-related-grid .hc-card-quick-view {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #fbf6f8;
    border: 1px solid #ebdbe2;
    border-radius: 8px;
    color: #4a3440;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hc-detail-related-grid .hc-card-quick-view:hover {
    background: #f0e2ea;
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.hc-detail-unavailable { min-height: 55vh; padding-top: 70px; }
.hc-detail-unavailable h1 { margin: 12px 0; color: var(--primary-color); }
.hc-detail-unavailable p { margin: 0 0 25px; color: var(--text-color); }

/* Lightbox Styles */
.hc-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; padding: 20px; }
.hc-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
#hc-lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.hc-lightbox .hc-detail-gallery-arrow { width: 56px; height: 56px; }
.hc-lightbox .hc-detail-gallery-previous { left: clamp(16px, 4vw, 54px); }
.hc-lightbox .hc-detail-gallery-next { right: clamp(16px, 4vw, 54px); }
.hc-lightbox .hc-detail-gallery-arrow svg { width: 26px; height: 26px; }
.hc-lightbox .hc-detail-gallery-count { right: auto; bottom: 22px; left: 50%; transform: translateX(-50%); padding: 8px 13px; }
.hc-lightbox-close { position: absolute; top: 25px; right: 35px; background: rgba(0,0,0,0.5); border: none; color: #fff; font-size: 28px; line-height: 1; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; }
.hc-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.hc-detail-main-media { cursor: zoom-in; }

/* Color Variant Options */
.hc-detail-variants-box { margin: 18px 0 22px; }
.hc-detail-size-first-picker[hidden], #detailStandardVariantPicker[hidden] { display: none; }
.hc-detail-size-first-picker { display: grid; gap: 16px; }
.hc-detail-size-first-group { display: grid; gap: 8px; }
.hc-detail-size-first-group .hc-variant-header { margin-bottom: 0; }
.hc-detail-size-options, .hc-detail-color-options { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.hc-detail-size-option { min-width: 48px; min-height: 38px; padding: 7px 13px; border: 1px solid #e4d5de; border-radius: 999px; color: var(--primary-color); background: #fff; font: inherit; font-size: 13px; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.hc-detail-size-option:hover { border-color: var(--accent-color); }
.hc-detail-size-option.is-active { border-color: var(--accent-color); color: #fff; background: var(--accent-color); box-shadow: 0 3px 8px rgba(139,45,91,.2); }
.hc-detail-color-swatch { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 3px; border: 1px solid #d8cbd2; border-radius: 50%; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.hc-detail-color-swatch::before { content: ''; display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--hc-swatch-paint, #b9aeb5); box-shadow: inset 0 0 0 1px rgba(44,29,37,.12); }
.hc-detail-color-swatch:hover { transform: scale(1.08); }
.hc-detail-color-swatch.is-selected { border: 2px solid var(--accent-color); box-shadow: 0 0 0 1px #fff inset, 0 0 0 1px var(--accent-color); }
.hc-detail-size-option:focus-visible, .hc-detail-color-swatch:focus-visible { outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.hc-variant-header { font-size: 14px; margin-bottom: 10px; color: var(--text-color); }
.hc-variant-label { margin-right: 6px; }
.hc-variant-value { color: var(--primary-color); font-weight: 600; }
.hc-color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-color-btn { appearance: none; background: #fff; border: 1.5px solid #dcd3d8; border-radius: 8px; padding: 7px 15px; font-size: 13px; font-weight: 500; color: var(--primary-color); cursor: pointer; transition: all 0.2s ease; }
.hc-color-btn:hover { border-color: var(--accent-color); background: #fbf6f9; }
.hc-color-btn.is-active { border-color: var(--accent-color); background: var(--accent-color); color: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(139, 45, 91, 0.25); }
.hc-color-btn:disabled { opacity: .48; cursor: not-allowed; text-decoration: line-through; }

/* Override aggressive fonts and refine sizes in the description panel */
.hc-detail-tab-panel,
.hc-detail-tab-panel h1,
.hc-detail-tab-panel h2,
.hc-detail-tab-panel h3,
.hc-detail-tab-panel h4,
.hc-detail-tab-panel h5,
.hc-detail-tab-panel h6,
.hc-detail-tab-panel strong,
.hc-detail-tab-panel b,
.hc-detail-tab-panel p,
.hc-detail-tab-panel li {
    font-family: var(--default-font), sans-serif !important;
}

.hc-detail-tab-panel h2 {
    font-size: 18px !important;
    margin: 0 0 16px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
}

.hc-detail-tab-panel h3 {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    margin: 20px 0 8px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
}

.hc-detail-tab-panel h4 {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    margin: 16px 0 6px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
}

.hc-detail-tab-panel p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin: 0 0 12px !important;
    color: var(--text-color) !important;
}

.hc-detail-tab-panel ul {
    margin: 8px 0 16px !important;
    padding-left: 18px !important;
}

.hc-detail-tab-panel li {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 5px !important;
    color: var(--text-color) !important;
}

/* Description Side-by-Side Layout */
.hc-detail-description-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
    gap: 40px;
    align-items: start;
}
.hc-detail-description-content {
    min-width: 0;
}
.hc-detail-description-media {
    position: sticky;
    top: 25px;
    background: #fbf6f9;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #eee0e7;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 18px rgba(61, 30, 45, 0.05);
}
.hc-detail-description-media[hidden] { display: none; }
.hc-detail-spec-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}
.hc-detail-spec-image:hover {
    transform: scale(1.02);
}

/* Desktop Sticky Gallery: sticks while scrolling options and details, stopping at bottom panels */
@media (min-width: 992px) {
    .hc-detail-layout {
        position: relative;
    }
    .hc-detail-gallery {
        position: -webkit-sticky;
        position: sticky;
        top: 96px;
        align-self: start;
        z-index: 10;
        will-change: transform;
        transition: top 0.2s ease;
    }
    .hc-detail-main-media {
        max-height: calc(100vh - 120px);
    }
    .hc-detail-thumbnails {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: #d7c3ce transparent;
        padding-right: 2px;
    }
    .hc-detail-thumbnails::-webkit-scrollbar {
        width: 4px;
    }
    .hc-detail-thumbnails::-webkit-scrollbar-thumb {
        background: #d7c3ce;
        border-radius: 4px;
    }
}

@media (max-width: 991px) {
    .hc-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .hc-detail-layout > * { min-width: 0; }
    .hc-detail-gallery { width: 100%; max-width: 820px; }
    .hc-detail-main-media { height: clamp(460px, 72vw, 700px); }
    .hc-detail-description-layout { grid-template-columns: 1fr; gap: 28px; }
    .hc-detail-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .hc-detail-page { padding: 25px 0 70px; }
    .hc-detail-breadcrumb { margin-bottom: 24px; gap: 8px; font-size: 12px; }
    .hc-detail-gallery { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); }
    .hc-detail-thumbnails { order: 2; flex-direction: row; gap: 9px; }
    .hc-detail-thumb { flex: 0 0 72px; width: 72px; }
    .hc-detail-main-media { width: 100%; min-width: 0; height: min(118vw, 560px); min-height: 340px; padding: 12px; }
    .hc-detail-main-image { width: auto; height: auto; min-width: 0; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
    .hc-detail-info h1 { font-size: 32px; }
    .hc-detail-price strong { font-size: 29px; }
    .hc-detail-formats { margin-top: 38px; padding-top: 20px; }
    .hc-detail-format-list { gap: 10px; }
    .hc-detail-format-card { flex-basis: clamp(96px, 27vw, 132px); border-radius: 10px; }
    .hc-detail-formats + .hc-detail-more { margin-top: 30px; }
    .hc-detail-more { margin-top: 55px; }
    .hc-detail-tabs { gap: 20px; }
    .hc-detail-tab { font-size: 14px; }
    .hc-detail-related { margin-top: 55px; }
    .hc-detail-related-heading { align-items: flex-end; gap: 14px; }
    .hc-detail-related .hc-detail-related-grid {
        display: flex;
        flex-flow: row nowrap;
        width: 100%;
        min-width: 0;
        gap: 12px;
        padding: 2px 14px 14px 2px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 2px;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-color) #f3eaf0;
    }
    .hc-detail-related-grid:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
    .hc-detail-related-grid::-webkit-scrollbar { height: 6px; }
    .hc-detail-related-grid::-webkit-scrollbar-track { background: #f3eaf0; border-radius: 999px; }
    .hc-detail-related-grid::-webkit-scrollbar-thumb { background: var(--accent-color); border-radius: 999px; }
    .hc-detail-related .hc-detail-related-grid .product-item { flex: 0 0 min(76%, 390px); width: min(76%, 390px); min-width: 0; scroll-snap-align: start; }
    .hc-detail-purchase-panel { grid-template-columns: minmax(116px, .42fr) minmax(0, 1fr); grid-template-rows: 48px 48px; gap: 9px 8px; margin-top: 22px; }
    .hc-detail-quantity-group { display: block; grid-column: 1; grid-row: 1; min-width: 0; }
    .hc-detail-quantity-control { grid-template-columns: 36px minmax(30px, 1fr) 36px; width: 100%; min-width: 0; height: 48px; }
    .hc-detail-quantity-button { width: 36px; height: 46px; }
    .hc-detail-quantity-control input { font-size: 14px; }
    .hc-detail-purchase-panel > .hc-detail-add-cart-action { grid-column: 2; grid-row: 1; min-height: 48px; gap: 7px; padding: 7px 9px; font-size: 12px; }
    .hc-detail-purchase-panel > .hc-detail-add-cart-action svg { width: 17px; height: 17px; }
    .hc-detail-purchase-panel > .hc-detail-buy-now { grid-column: 1 / -1; grid-row: 2; min-height: 48px; padding: 9px 12px; font-size: 13px; }
    .hc-detail-shipping-guarantee-note { margin-left: 0; }
    .hc-detail-shipping-highlights { padding-left: 0; }
    .hc-detail-carrier-section { margin: 0; flex-direction: row; justify-content: center; align-items: center; gap: 8px; border: none; background: transparent; }
    .hc-detail-shipping-policy-link { margin-left: 0; }
}
@media (max-width: 380px) {
    .hc-detail-purchase-panel { grid-template-columns: minmax(104px, .42fr) minmax(0, 1fr); gap: 8px 6px; }
    .hc-detail-quantity-control { grid-template-columns: 32px minmax(28px, 1fr) 32px; }
    .hc-detail-quantity-button { width: 32px; }
    .hc-detail-purchase-panel > .hc-detail-add-cart-action { gap: 5px; padding: 6px 5px; font-size: 11px; }
    .hc-detail-purchase-panel > .hc-detail-add-cart-action svg { width: 15px; height: 15px; }
}
