.shop-product { --product-accent: #336699; --product-ink: #23364b; --product-muted: #526477; --product-line: #dde5ee; padding: 2.4rem 0 5.6rem; color: var(--product-ink); }
.shop-product-breadcrumb .breadcrumb-nav { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.shop-product [hidden] { display: none !important; }
.shop-product a { color: var(--product-accent); }
.shop-product :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #2868a8; outline-offset: 4px; }
.shop-product__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(2rem, 4vw, 6rem); row-gap: 0; grid-template-areas: "gallery identity" "gallery summary"; grid-template-rows: auto 1fr; align-items: start; }
.shop-product__gallery { min-width: 0; grid-area: gallery; }
.shop-product__identity { grid-area: identity; min-width: 0; }
.shop-product__summary { grid-area: summary; min-width: 0; }
.shop-product__main-image { display: block; position: relative; overflow: hidden; border: 1px solid var(--product-line); border-radius: 2rem; background: #fff; }
.shop-product__main-image > img { display: block; width: 100%; height: clamp(28rem, 40vw, 52rem); padding: 2rem; object-fit: contain; }
.shop-product__zoom { position: absolute; bottom: 1.2rem; inset-inline-end: 1.2rem; display: inline-flex; align-items: center; gap: .7rem; min-height: 4.4rem; padding: .8rem 1.2rem; border: 1px solid var(--product-line); border-radius: 1rem; background: #fff; color: var(--product-ink); font-size: 1.2rem; }
.shop-product__thumbnails { display: flex; gap: 1rem; padding: 1.2rem .4rem .4rem; overflow-x: auto; }
.shop-product__thumbnails a { flex: 0 0 7rem; padding: .4rem; border: 2px solid var(--product-line); border-radius: 1rem; }
.shop-product__thumbnails a[aria-current="true"] { border-color: var(--product-accent); }
.shop-product__thumbnails img { display: block; width: 100%; height: 6.8rem; object-fit: contain; }
.shop-product__gallery-hint { margin: 1rem 0; color: var(--product-muted); font-size: 1.2rem; text-align: center; }
.shop-product__eyebrow, .shop-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; font-size: 1.3rem; }
.shop-product__eyebrow a { padding: .5rem 1rem; border-radius: .8rem; background: #edf4fb; }
.shop-product h1 { margin: 1.6rem 0; color: var(--product-ink); font-size: clamp(2.2rem, 2.6vw, 3.2rem); line-height: 1.7; overflow-wrap: anywhere; }
.shop-product__meta { color: var(--product-muted); }
.shop-product__meta a { text-decoration: underline; text-underline-offset: .4rem; }
.shop-product h2 { color: var(--product-ink); font-size: 2rem; line-height: 1.7; }
.shop-product h3 { font-size: 1.6rem; line-height: 1.8; }
.shop-product__highlights { margin-top: 2rem; }
.shop-product__highlights h2 { margin-bottom: .8rem; font-size: 1.5rem; }
.shop-product__highlights dl { margin-bottom: 1rem; }
.shop-product__highlights dl > div { display: flex; gap: 1rem; padding: .4rem 0; font-size: 1.3rem; }
.shop-product__highlights dt { color: var(--product-muted); font-weight: 400; }
.shop-product__highlights dt::after { content: ':'; }
.shop-product__highlights dd { margin: 0; overflow-wrap: anywhere; }
.shop-product__purchase { margin-top: 2rem; padding: clamp(1.6rem, 2vw, 2.8rem); border: 1px solid #ccdded; border-radius: 1.6rem; background: linear-gradient(145deg, #f0f6fc, #fff 70%); }
.shop-product__purchase h2 { margin-bottom: 1.2rem; font-size: 1.7rem; }
.shop-product__stock { color: #16613e; font-weight: 600; }
.shop-product__stock i { margin-inline-end: .4rem; }
.shop-product__price { min-height: 7rem; margin: 1.6rem 0; }
.shop-product__price p { margin-bottom: .8rem; }
.shop-product__price strong { color: var(--product-ink); font-size: clamp(2.6rem, 3vw, 3.4rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.shop-product__old-price { color: var(--product-muted); font-size: 1.3rem; }
.shop-product__discount { display: inline-block; margin-inline-start: .6rem; padding: .3rem .7rem; border-radius: .6rem; background: #a92f40; color: #fff; font-size: 1.2rem; }
.shop-product .form-control { max-width: 100%; min-height: 4.8rem; border: 1px solid #b8c8d9; border-radius: 1rem; background: #fff; color: var(--product-ink); font-size: 16px; }
.shop-product select.form-control { width: 100%; padding-inline: 1.2rem 3.6rem; }
.shop-product label { display: block; margin: 1.2rem 0 .7rem; font-size: 1.3rem; font-weight: 600; }
.shop-product .btn { min-height: 4.8rem; padding: 1.1rem 1.6rem; border-radius: 1rem; line-height: 1.7; white-space: normal; }
.shop-product a.shop-product__primary, .shop-product button.shop-product__primary { border: 1px solid var(--product-accent); background: var(--product-accent); color: #fff; }
.shop-product .shop-product__primary:hover { background: #264e77; border-color: #264e77; }
.shop-product a.shop-product__add-to-cart, .shop-product button.shop-product__add-to-cart { background: #237653; border-color: #237653; }
.shop-product .shop-product__add-to-cart:hover, .shop-product .shop-product__add-to-cart:active { background: #195c40; border-color: #195c40; }
.shop-product .shop-product__primary:disabled { opacity: .65; cursor: wait; }
.shop-product a.shop-product__secondary, .shop-product button.shop-product__secondary { color: var(--product-accent); border: 1px solid #b8c8d9; background: #fff; }
.shop-product__purchase form > .btn { display: flex; margin-top: 1.6rem; }
.shop-product__order-actions { display: flex; align-items: end; gap: 1.2rem; }
.shop-product__order-actions > div { flex: 0 0 8rem; }
.shop-product__order-actions > .btn { flex: 1; }
.shop-product__order-actions input { width: 100%; padding: 1rem; text-align: center; }
.shop-product__hint { margin: 1.2rem 0 0; color: var(--product-muted); font-size: 1.2rem; line-height: 1.9; }
.shop-product__unavailable-badge { display: inline-block; margin-bottom: 1.2rem; padding: .5rem 1rem; border-radius: .8rem; background: #f1e8e9; color: #7b3040; font-weight: 600; }
.shop-product__purchase--unavailable { background: #f8fafc; border-color: var(--product-line); }
.shop-product__purchase--unavailable > p { line-height: 2; }
.shop-product__contact-actions { display: flex; flex-direction: column; gap: 1rem; }
.shop-product__contact-actions > a { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem; min-height: 4.4rem; }
.shop-product__assurances { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.2rem; margin-top: 1.2rem; }
.shop-product__assurances a { display: inline-flex; align-items: center; gap: .6rem; min-height: 4.4rem; color: var(--product-muted); font-size: 1.2rem; }
.shop-product__section-nav { position: sticky; top: 0; z-index: 20; display: flex; gap: .8rem; margin: 3.6rem 0 2rem; padding: 1rem; overflow-x: auto; border: 1px solid var(--product-line); border-radius: 1.2rem; background: #fff; box-shadow: 0 4px 18px #23364b08; }
.shop-product__section-nav a { display: inline-flex; flex-shrink: 0; align-items: center; gap: .8rem; min-height: 4.4rem; padding: .8rem 1.4rem; border-radius: .8rem; background: #f3f7fc; color: var(--product-ink); font-size: 1.3rem; }
.shop-product__section-nav a:hover { background: #e4eef8; }
.shop-product__section, .shop-product__recommendations { min-width: 0; scroll-margin-top: 9rem; }
.shop-product__section { margin-bottom: 1.6rem; padding: clamp(1.6rem, 3vw, 3rem); border: 1px solid var(--product-line); border-radius: 1.6rem; background: #fff; line-height: 2; overflow-wrap: anywhere; }
.shop-product__section > h2 { margin-bottom: 1.6rem; }
.shop-product__prose img, .shop-product__prose :is(iframe, video) { max-width: 100%; height: auto; }
.shop-product__prose :is(h1, h2, h3, h4) { margin-top: 1.6rem; }
.shop-product__prose { overflow-x: auto; }
.shop-product__policy { white-space: pre-line; }
.shop-product__specifications { margin-bottom: 0; }
.shop-product__specifications > div { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr); gap: 1.6rem; padding: 1.2rem 1.6rem; border-radius: .8rem; }
.shop-product__specifications > div:nth-child(odd) { background: #f4f7fb; }
.shop-product__specifications dt { color: var(--product-muted); font-weight: 500; }
.shop-product__specifications dd { margin: 0; }
.shop-product__video { aspect-ratio: 16 / 9; margin-bottom: 2rem; }
.shop-product__video iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 1rem; }
.shop-product__review { margin-bottom: 1.6rem; padding: 1.6rem; border-bottom: 1px solid var(--product-line); }
.shop-product__review > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.shop-product__review time { color: var(--product-muted); font-size: 1.2rem; }
.shop-product__review p { white-space: pre-line; }
.shop-product__review-form { max-width: 76rem; margin-top: 2.4rem; padding: 2rem; border-radius: 1.2rem; background: #f4f7fb; }
.shop-product__review-form label span { color: var(--product-muted); font-weight: 400; }
.shop-product__review-form textarea { resize: vertical; }
.shop-product__review-form button { margin-top: 1.6rem; }
.shop-product__field-error { color: #9f233c; }
.shop-product__section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.shop-product__section-heading h2 { margin: 0; }
.shop-product__section-heading a { display: inline-flex; align-items: center; min-height: 4.4rem; gap: .8rem; font-size: 1.3rem; }
.shop-product__recommendations { margin-top: 3.2rem; }
.shop-product__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.shop-product__image-dialog { width: min(94vw, 96rem); max-width: 96rem; max-height: 92vh; padding: 1.6rem; border: 0; border-radius: 1.6rem; background: #fff; }
.shop-product__image-dialog::backdrop { background: #102238b8; }
.shop-product__image-dialog form { display: flex; justify-content: end; margin-bottom: 1rem; }
.shop-product__image-dialog img { display: block; width: 100%; height: 72vh; object-fit: contain; }
@media (min-width: 992px) { .shop-product__gallery { position: sticky; top: 2rem; } }
@media (max-width: 991px) { .shop-product__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .shop-product { padding-top: 1.2rem; }
    .shop-product__hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "identity" "gallery" "summary"; grid-template-rows: auto; gap: 1.6rem; }
    .shop-product__main-image > img { height: clamp(25rem, 75vw, 38rem); }
    .shop-product__gallery-hint { display: none; }
    .shop-product__section-nav { margin-top: 2rem; padding: .6rem; border-radius: 1rem; }
    .shop-product__section-nav a { padding-inline: 1rem; }
    .shop-product__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .shop-product__review-form { padding: 1.6rem; }
    .shop-product__section-heading h2 { font-size: 1.8rem; }
}
@media (max-width: 359px) { .shop-product__cards { grid-template-columns: minmax(0, 1fr); } .shop-product__order-actions { flex-wrap: wrap; } .shop-product__order-actions > .btn { flex-basis: 100%; } }

.shop-product__section-nav a[aria-selected="true"] { background: var(--product-accent); color: #fff; }

.shop-product__section-nav a > i { flex-shrink: 0; font-size: 1.7rem; line-height: 1; }
