.product-page-view .storefront-product {
    --product-border: #dfe7e1;
    --product-ink: #17342b;
    --product-muted: #64736d;
    --product-green: #1f654f;
    --product-lime: #dced7f;
    background:
        radial-gradient(circle at 8% 5%, rgb(223 239 215 / 56%), transparent 28rem),
        linear-gradient(180deg, #fbfcf8 0, #fff 48rem);
}

.product-page-view .storefront-product .breadcrumbs {
    padding-top: 22px;
    color: var(--product-muted);
    line-height: 1.45;
}

.product-page-view .storefront-product .breadcrumbs a { color: #466158; text-underline-offset: 3px; }
.product-page-view .storefront-product .breadcrumbs span:last-child { overflow: hidden; max-width: 48ch; text-overflow: ellipsis; white-space: nowrap; }

.product-page-view .product-detail.pro {
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
    align-items: start;
    gap: clamp(34px, 4vw, 56px);
    padding: 30px 0 68px;
}

.product-page-view .product-gallery-pro {
    position: sticky;
    top: 104px;
    min-width: 0;
}

.product-page-view .gallery-main {
    position: relative;
    min-height: 0;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(42 87 70 / 14%);
    border-radius: clamp(22px, 2.4vw, 32px);
    background:
        radial-gradient(circle at 50% 42%, #fff 0 42%, #f4f7f2 76%, #edf3ec 100%);
    box-shadow: 0 28px 70px rgb(24 55 45 / 11%);
    cursor: zoom-in;
}

.product-page-view .gallery-main picture { width: 100%; height: 100%; display: grid; place-items: center; }
.product-page-view .gallery-main img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; padding: clamp(12px, 1.7vw, 22px) !important; object-fit: contain; filter: drop-shadow(0 18px 22px rgb(30 54 45 / 9%)); transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%); transition: transform .28s ease, filter .28s ease; }
.product-page-view .gallery-main .badge { top: 18px; left: 18px; padding: 8px 12px; border-radius: 999px; box-shadow: 0 8px 22px rgb(33 71 58 / 12%); letter-spacing: .06em; }

@media (hover: hover) and (pointer: fine) {
    .product-page-view .gallery-main.is-hover-zoomed img { transform: scale(1.7); }
}

.product-zoom-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #ccd7d1;
    border-radius: 999px;
    background: rgb(255 255 255 / 94%);
    color: #27493e;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgb(20 61 50 / 16%);
    backdrop-filter: blur(8px);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.product-zoom-button:hover { transform: translateY(-2px); border-color: #8ca99d; background: #fff; }
.product-zoom-button:focus-visible { outline: 3px solid rgb(123 155 49 / 35%); outline-offset: 3px; }
.product-zoom-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.product-thumbnails { display: flex; gap: 11px; overflow-x: auto; padding: 16px 3px 5px; scrollbar-width: thin; }
.product-thumbnails button { flex: 0 0 78px; width: 78px; height: 78px; padding: 6px; border: 1px solid var(--product-border); border-radius: 15px; background: #fff; cursor: pointer; transition: transform .18s ease, border-color .18s ease; }
.product-thumbnails button:hover { transform: translateY(-2px); border-color: #8ca99d; }
.product-thumbnails button[aria-pressed="true"] { border: 2px solid #416b5d; box-shadow: 0 0 0 3px rgb(65 107 93 / 13%); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: contain; }

.product-page-view .pro-copy { display: flex; min-width: 0; flex-direction: column; gap: 14px; }
.product-page-view .product-core-info {
    min-width: 0;
    padding: 4px 2px 2px;
}
.product-page-view .product-purchase-panel {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(190px, .9fr) minmax(250px, 1.1fr);
    gap: 14px 18px;
    padding: 22px;
    border: 1px solid rgb(42 87 70 / 14%);
    border-radius: 26px;
    background: linear-gradient(145deg, rgb(255 255 255 / 98%), #fbfcf8);
    box-shadow: 0 24px 60px rgb(24 55 45 / 10%);
}
.product-page-view .product-brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 13px; color: var(--product-green); font-size: 12px; letter-spacing: .1em; }
.product-page-view .product-brand img { width: auto; max-width: 88px; height: 32px; object-fit: contain; }
.product-page-view .pro-copy h1 { margin: 0 0 15px; color: var(--product-ink); font-size: clamp(31px, 3vw, 43px); font-weight: 760; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.product-page-view .product-meta { gap: 10px; }
.product-page-view .product-meta > span { display: inline-flex; min-height: 32px; align-items: center; padding: 6px 11px; border: 1px solid #e0e7e2; border-radius: 999px; background: rgb(255 255 255 / 78%); color: #52655e; }
.product-page-view .product-meta .rating b { color: #bd7b00; }
.product-page-view .product-lead { display: -webkit-box; max-width: 66ch; margin: 15px 0 0; overflow: hidden; color: #596a63; font-size: 15px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-page-view .detail-price { display: flex; min-width: 0; flex-wrap: wrap; align-content: center; align-items: center; gap: 7px 10px; margin: 0; padding: 6px 0; border: 0; }
.product-page-view .pro-copy .detail-price b { color: var(--product-green); font-size: clamp(32px, 3vw, 40px); line-height: 1; letter-spacing: -.03em; }
.product-page-view .detail-price del { color: #89948f; font-size: 15px; }
.product-page-view .saving { padding: 7px 11px; background: #eef5d9; color: #526c22; }
.product-page-view .availability { position: relative; display: grid; min-width: 0; grid-template-columns: 1fr; align-content: center; gap: 2px; margin: 0; padding: 12px 13px 12px 40px; border: 1px solid #d8eadf; border-radius: 16px; background: #f1f9f4; }
.product-page-view .availability::before { content: ''; position: absolute; top: 18px; left: 17px; width: 9px; height: 9px; border-radius: 50%; background: #28a35f; box-shadow: 0 0 0 5px rgb(40 163 95 / 12%); }
.product-page-view .availability b { font-size: 13px; line-height: 1.35; }
.product-page-view .availability span { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-page-view .availability.unavailable { border-color: #eadfd5; background: #fff7f0; }
.product-page-view .availability.unavailable::before { background: #c26a3b; box-shadow: 0 0 0 5px rgb(194 106 59 / 12%); }
.product-page-view .availability span { line-height: 1.45; }
.product-page-view .purchase-box { grid-column: 1 / -1; grid-template-columns: 132px minmax(0, 1fr); margin-top: 2px; padding: 12px; border: 1px solid #dce7c7; border-radius: 18px; background: #f7faef; }
.product-page-view .purchase-box label { color: #53655e; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.product-page-view .qty-control { margin-top: 7px; border-color: #ced9cc; border-radius: 13px; }
.product-page-view .qty-control button { color: #244a3d; font-size: 20px; cursor: pointer; }
.product-page-view .product-add { min-height: 54px; border-radius: 14px !important; background: linear-gradient(135deg, #1e624d, #143f34) !important; box-shadow: 0 13px 28px rgb(23 74 58 / 22%) !important; letter-spacing: .06em; }
.product-page-view .product-add:hover { background: linear-gradient(135deg, #28745b, #184b3d) !important; transform: translateY(-1px); }
.product-page-view .purchase-confidence { grid-column: 1 / -1; margin: -2px 0 0; color: #708078; font-size: 11px; line-height: 1.45; text-align: center; }
.product-page-view .delivery-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.product-page-view .delivery-benefits article { min-width: 0; align-items: flex-start; padding: 14px 12px; border: 1px solid #e3e9e4; border-radius: 16px; background: rgb(255 255 255 / 72%); }
.product-page-view .delivery-benefits article svg { flex: 0 0 22px; width: 22px; color: #3f715f; }
.product-page-view .delivery-benefits b { font-size: 12px; line-height: 1.35; }
.product-page-view .delivery-benefits small { margin-top: 4px; font-size: 10px; line-height: 1.4; }
.product-page-view .product-share { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 13px 16px; border: 1px solid #e4e9e5; border-radius: 16px; background: #fff; }
.product-page-view .product-share h2 { margin: 0; color: #55665f; font-size: 13px; white-space: nowrap; }
.product-page-view .share-actions { flex-wrap: wrap; justify-content: flex-end; }

.stock-alert-form .stock-alert-consent {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: #625b52;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}
.stock-alert-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #51672f; }
.stock-alert-consent a { color: #456128; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.stock-alert-form > .btn { grid-column: 1 / -1; }

.product-zoom-dialog { width: min(1100px, calc(100% - 32px)); height: min(860px, calc(100dvh - 32px)); padding: 58px 24px 24px; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 35px 110px rgb(0 0 0 / 36%); }
.product-zoom-dialog::backdrop { background: rgb(7 23 18 / 76%); backdrop-filter: blur(4px); }
.product-zoom-dialog > button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d8e0dc; border-radius: 50%; background: #fff; cursor: pointer; }
.product-zoom-dialog > button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.product-zoom-dialog > img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 1050px) {
    .product-page-view .product-detail.pro { grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: 30px; }
    .product-page-view .product-gallery-pro { position: static; }
    .product-page-view .product-core-info { padding: 8px 0; }
    .product-page-view .delivery-benefits { grid-template-columns: 1fr; }
    .product-page-view .delivery-benefits article { align-items: center; }
}

@media (max-width: 820px) {
    .product-page-view .product-detail.pro { grid-template-columns: 1fr; gap: 28px; }
    .product-page-view .pro-copy h1 { font-size: clamp(31px, 7vw, 42px); }
    .product-page-view .delivery-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .product-page-view .storefront-product .breadcrumbs { padding-top: 14px; }
    .product-page-view .product-detail.pro { width: calc(100% - 24px); gap: 22px; padding: 15px 0 44px; }
    .product-page-view .gallery-main { border-radius: 19px; }
    .product-page-view .gallery-main img { width: 100% !important; height: 100% !important; padding: 10px !important; }
    .product-zoom-button { right: 11px; bottom: 11px; width: 46px; height: 46px; }
    .product-page-view .product-purchase-panel { padding: 21px 17px; border-radius: 19px; }
    .product-page-view .pro-copy h1 { font-size: clamp(29px, 9vw, 36px); }
    .product-page-view .product-lead { font-size: 15px; }
    .product-page-view .purchase-box { grid-template-columns: 1fr; }
    .product-page-view .product-purchase-panel { grid-template-columns: 1fr; }
    .product-page-view .detail-price { padding-bottom: 5px; }
    .product-page-view .delivery-benefits { grid-template-columns: 1fr; }
    .product-page-view .delivery-benefits article { padding: 13px 14px; }
    .product-page-view .delivery-benefits small { font-size: 11px; }
    .product-page-view .product-share { align-items: flex-start; flex-direction: column; }
    .product-page-view .share-actions { justify-content: flex-start; }
    .product-zoom-dialog { width: calc(100% - 12px); height: calc(100dvh - 12px); padding: 58px 10px 10px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .product-page-view .gallery-main img,.product-zoom-button,.product-thumbnails button,.product-page-view .product-add { transition: none; }
}
