@import url("../base.591fd6c3286e.css");

.product-page {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
    padding: 96px 0 64px;
    color: var(--black-400);
}

.breadcrumbs {
    margin-bottom: 18px;
    padding-left: 4px;
}

.breadcrumbs__list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.breadcrumbs__item { display: inline; }
.breadcrumbs__link { color: var(--black-500); font-size: 16px; transition: color .2s; }
.breadcrumbs__link:hover { color: var(--primary-color); text-decoration: underline; }
.breadcrumbs__separator { display: flex; align-items: center; user-select: none; }
.breadcrumbs__separator svg { width: 14px; height: 14px; fill: var(--gray-200); opacity: .8; }
.breadcrumbs__item--active span { color: var(--black-400); font-size: 16px; font-weight: 500; }

.product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    column-gap: clamp(32px, 5vw, 64px);
    row-gap: 20px;
    grid-template-areas: "media heading" "media price" "media purchase";
    grid-template-rows: auto auto 1fr;
    align-items: start;
}

.product-gallery {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #f5f7fb;
}

.product-gallery__image { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__placeholder { color: #cbd2df; }
.product-gallery__placeholder svg { width: 72px; height: 72px; fill: currentColor; }

.product-media { grid-area: media; min-width: 0; }
.product-info { grid-area: purchase; min-width: 0; }
.product-heading { grid-area: heading; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product-heading h1 { max-width: 24ch; overflow-wrap: anywhere; color: var(--emphasis-color); font-size: clamp(26px, 3vw, 36px); line-height: 1.16; letter-spacing: -.03em; }
.product-heading__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--black-500); font-size: 14px; }
.product-heading__meta span { color: #c2c7d0; }

.product-price { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; min-width: 0; }
.product-price strong { color: var(--emphasis-color); font-size: clamp(30px, 4vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detail-price-regular { color: var(--black-500); font-size: 15px; }

.availability { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: #edf7f1; color: #16794b; font-size: 12px; font-weight: 500; line-height: 1.5; }
.availability__dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #27a96b; }
.availability--low { background: #fff6e3; color: #9a6500; }
.availability--low .availability__dot { background: #d89b20; }
.availability--unavailable { background: #fdf0ef; color: #a52b25; }
.availability--unavailable .availability__dot { background: #d6453d; }

.purchase-panel { min-width: 0; }
.purchase-controls { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 16px; }
.purchase-actions { min-width: 0; }
.product-quantity { min-width: 0; }
.quantity { display: grid; grid-template-columns: 48px 40px 48px; justify-self: end; width: max-content; height: 52px; overflow: hidden; border: 0; border-radius: 26px; background: #e9e9e9; }
.quantity button, .quantity input { width: 100%; border: 0; background: #e9e9e9; color: var(--emphasis-color); font: 400 16px var(--font-base); text-align: center; }
.quantity button { cursor: pointer; transition: background .18s ease; }
.quantity button:hover { background: #d8d8d8; }
.quantity button:focus-visible, .add-to-cart:focus-visible { outline: 3px solid rgba(58, 106, 196, .28); outline-offset: 2px; }
.quantity-input { height: 100%; box-sizing: border-box; padding: 0; margin: 0; appearance: textfield; -webkit-appearance: none; }
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }

.add-to-cart { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; padding: 0 24px; border: 0; border-radius: 100px; background: #1e44d9; color: white; font: 600 15px var(--font-base); cursor: pointer; box-shadow: none; transition: background .18s ease; }
.add-to-cart svg { width: 19px; height: 19px; fill: currentColor; }
.add-to-cart:hover { background: #163ab8; box-shadow: none; }
.add-to-cart:active { background: #0f2587; }
.add-to-cart:disabled { cursor: wait; opacity: .72; }
.purchase-assurance { margin-top: 12px; color: var(--black-500); font-size: 12px; line-height: 1.55; text-align: center; }

.purchase-notice { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--secondary-color); color: var(--emphasis-color); font-size: 15px; line-height: 1.55; }
.purchase-notice--warning { background: #fff7e5; color: #744e00; }
.purchase-notice--unavailable { background: #fdf0ef; color: #8f2924; }
.cart-feedback { min-height: 20px; margin-top: 10px; color: #16794b; font-size: 12px; text-align: center; }
.cart-feedback--error { color: #a52b25; }

/* Purchase benefits */
.product-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 40px;
}

.product-benefit {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    gap: 14px;
    padding: 20px;
    border: 1px solid #e7eaf2;
    border-radius: 16px;
    background: #fff;
}

.product-benefit__icon {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
}

.product-benefit__icon img {
    width: 20px;
    height: 20px;
}

.product-benefit h2 {
    margin: 1px 0 5px;
    color: var(--emphasis-color);
    font-size: 15px;
    line-height: 1.35;
}

.product-benefit p {
    color: var(--black-500);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/* Editorial product information */
.product-information {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
    gap: clamp(32px, 5vw, 64px);
    margin-top: 64px;
}

.product-information__content { min-width: 0; }

.product-information__content > h2,
.product-facts h2 {
    color: var(--emphasis-color);
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.product-tabs {
    display: flex;
    gap: 8px;
    max-width: 100%;
    margin-top: 20px;
    border-bottom: 1px solid #e8eaf0;
}

.product-tabs [role="tab"] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--black-500);
    font: 500 14px var(--font-base);
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease;
}

.product-tabs [role="tab"]:hover,
.product-tabs [role="tab"][aria-selected="true"] { color: var(--primary-color); }
.product-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--primary-color); font-weight: 600; }
.product-tabs [role="tab"]:focus-visible,
.related-product-card:focus-visible { outline: 3px solid rgba(58, 106, 196, .32); outline-offset: 3px; }

.product-information [role="tabpanel"] {
    max-width: 75ch;
    padding-top: 24px;
    color: var(--black-500);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.product-information [role="tabpanel"][hidden] { display: none; }
.product-information [role="tabpanel"] p,
.product-information [role="tabpanel"] ul,
.product-information [role="tabpanel"] ol { margin-bottom: 14px; }
.product-information [role="tabpanel"] ul,
.product-information [role="tabpanel"] ol { padding-left: 22px; }
.product-information [role="tabpanel"] ul { list-style: disc; }
.product-information [role="tabpanel"] ol { list-style: decimal; }
.product-information [role="tabpanel"] h1,
.product-information [role="tabpanel"] h2,
.product-information [role="tabpanel"] h3,
.product-information [role="tabpanel"] h4 {
    margin: 24px 0 10px;
    color: var(--emphasis-color);
    font-size: 17px;
    line-height: 1.4;
}
.product-information [role="tabpanel"] strong { color: var(--black-400); }
.product-information [role="tabpanel"] a { color: var(--primary-color); text-decoration: underline; }
.product-information [role="tabpanel"] img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.product-information [role="tabpanel"] blockquote { margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--primary-color); background: #f7f8fb; }
.product-information [role="tabpanel"] pre { max-width: 100%; overflow-x: auto; padding: 14px; border-radius: 12px; background: #f7f8fb; }
.product-information [role="tabpanel"] code { overflow-wrap: anywhere; }
.product-information [role="tabpanel"] table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.product-information [role="tabpanel"] th,
.product-information [role="tabpanel"] td { padding: 10px; border-bottom: 1px solid #e8eaf0; text-align: left; }

.product-facts {
    align-self: start;
    min-width: 0;
    padding: 24px;
    border-radius: 18px;
    background: #f7f8fc;
}

.product-facts h2 { margin-bottom: 16px; font-size: 18px; }
.product-facts dl { display: grid; gap: 0; }
.product-facts dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-top: 1px solid #e1e5ef; }
.product-facts dl > div:last-child { padding-bottom: 0; }
.product-facts dt { color: var(--black-500); font-size: 13px; }
.product-facts dd { min-width: 0; color: var(--emphasis-color); font-size: 13px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* Related products */
.related-products { margin-top: 64px; }
.related-products__heading { margin-bottom: 24px; }
.related-products__heading h2 { color: var(--emphasis-color); font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }

.related-product-card { min-width: 0; color: inherit; }
.related-product-card__placeholder { display: grid; place-items: center; color: #cbd2df; }
.related-product-card__placeholder svg { width: 40px; height: 40px; fill: currentColor; }
.related-product-card .item__content { width: 100%; }


@media (min-width: 1000px) {
    .product-page { padding-top: 132px; }

}

@media (max-width: 768px) {
    .product-page { width: min(100% - 24px, 580px); padding: 88px 0 48px; }
    .breadcrumbs { display: none; }
    .product-main { grid-template-columns: 1fr; grid-template-areas: "heading" "media" "price" "purchase"; grid-template-rows: auto; gap: 0; }
    .product-heading { gap: 0; }
    .product-heading__meta { margin-bottom: 8px; }
    .product-heading .availability { margin-top: 14px; }
    .product-media { margin-top: 16px; }
    .product-price { margin-top: 20px; }
    .product-info { margin-top: 16px; padding: 0 4px; }
    .product-heading h1 { max-width: none; font-size: 28px; }
    .product-price strong { font-size: clamp(28px, 7vw, 34px); }
    .purchase-controls { grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 10px; }
    .quantity { justify-self: start; }
    .purchase-actions .add-to-cart { gap: 7px; padding-inline: 12px; font-size: 14px; white-space: nowrap; }
    .purchase-actions .add-to-cart svg { width: 17px; height: 17px; }
    .product-benefits { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .product-benefit { padding: 18px; }
    .product-information { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
    .product-info .cart-feedback:empty { min-height: 0; margin-top: 0; }
    .product-tabs { overflow-x: auto; scrollbar-width: none; }
    .product-tabs::-webkit-scrollbar { display: none; }
    .product-tabs [role="tab"] { min-height: 44px; }
    .product-information [role="tabpanel"] { max-width: 75ch; }
    .product-facts { order: 2; padding: 20px; }
    .related-products { margin-top: 40px; }
    .related-products__heading { margin-bottom: 20px; }
}

@media (max-width: 360px) {
    .product-page { width: min(100% - 20px, 580px); padding-top: 80px; padding-bottom: 44px; }
    .product-main { gap: 0; }
    .product-info { padding-inline: 0; }
    .product-heading h1 { font-size: 26px; }
    .purchase-actions .add-to-cart { gap: 0; padding-inline: 8px; font-size: 13px; }
    .purchase-actions .add-to-cart svg { display: none; }
    .product-benefits { gap: 10px; margin-top: 40px; }
    .product-benefit { gap: 12px; padding: 16px; }
    .product-benefit p,
    .product-facts dt,
    .product-facts dd { font-size: 13px; }
    .product-information { gap: 24px; margin-top: 40px; }
    .product-information__content > h2 { font-size: 20px; }
    .product-tabs { gap: 2px; margin-top: 16px; }
    .product-tabs [role="tab"] { padding-inline: 10px; font-size: 13px; }
    .product-information [role="tabpanel"] { padding-top: 20px; font-size: 14px; }
    .product-facts { padding: 18px; }
    .product-facts dl > div { gap: 10px; }
    .related-products { margin-top: 40px; }
    .related-products__heading { margin-bottom: 18px; }

}

@media (prefers-reduced-motion: reduce) {
    .add-to-cart, .quantity button, .product-tabs [role="tab"], .related-product-card { transition: none; }
}

/* Product detail refinements; catalogue cards keep their shared styles. */
.product-heading .availability { font-size: 14px; }
.product-price strong { overflow-wrap: anywhere; }
.quantity button:disabled { color: #8a8f98; cursor: default; }
.quantity button:disabled:hover { background: #e9e9e9; }
.purchase-notice a { display: block; width: fit-content; margin-top: 8px; color: inherit; text-decoration: underline; font-weight: 600; }
.product-page :is(a, button, input):focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
.product-tabs [role="tab"] { font-size: 15px; }
.related-product-card__link { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 8px; color: inherit; }
.related-product-card > .buttons { margin-top: auto; }
.product-gallery__open { position: relative; display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.product-gallery__open:disabled { cursor: default; }
.product-gallery__image { display: block; aspect-ratio: 1; }
.product-gallery .product-tags { pointer-events: none; }
.product-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 6px 3px; margin-top: 10px; }
.product-thumbnail { flex: 0 0 64px; width: 64px; height: 64px; border: 2px solid transparent; border-radius: 10px; padding: 3px; background: #f5f7fb; cursor: pointer; }
.product-thumbnail[aria-pressed="true"] { border-color: var(--primary-color); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.product-image-dialog { position: fixed; inset: 0; width: min(100% - 32px, 960px); max-height: 90dvh; margin: auto; padding: 52px 16px 16px; border: 0; border-radius: 20px; background: #fff; }
.product-image-dialog::backdrop { background: rgba(15,23,42,.65); }
.product-image-dialog img { display: block; width: 100%; max-height: calc(90dvh - 80px); object-fit: contain; }
.product-image-dialog__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f2f4f7; color: var(--black-400); font-size: 28px; cursor: pointer; }
body:has(.product-image-dialog[open]) { overflow: hidden; }
.product-mobile-bar { display: none; }

/* Desktop: product identity, unit price, then purchase controls. */
@media (min-width: 769px) {
    .product-main {
        row-gap: 20px;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    }

    .product-heading { padding-top: 4px; gap: 0; }
    .product-heading__meta {
        margin-bottom: 10px;
        color: var(--black-500);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: .08em;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }
    .product-heading h1 {
        max-width: 20ch;
        font-size: clamp(28px, 2.6vw, 34px);
        line-height: 1.25;
        letter-spacing: -.025em;
        text-wrap: balance;
    }
    .product-heading .availability { margin-top: 18px; }

    .product-info { padding-top: 0; }
    .quantity {
        justify-self: start;
        border: 0;
        background: #e9e9e9;
    }
    .quantity button, .quantity input { background: #e9e9e9; font-size: 16px; }
    .quantity button:hover { background: #d8d8d8; }
    .quantity button:disabled:hover { background: #e9e9e9; }
    .product-info .add-to-cart { min-height: 52px; border-radius: 999px; }
    .purchase-notice { font-size: 14px; }
    .cart-feedback:empty { min-height: 0; margin-top: 0; }
}

@media (max-width: 768px) {
    .product-heading { padding-top: 0; }
    .product-mobile-bar:not([hidden]) { display: flex; flex-direction: column; position: fixed; box-sizing: border-box; left: 0; right: 0; bottom: 0; z-index: 9; background: #fff; border-top: 1px solid #e1e5ea; border-radius: 20px 20px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,.08); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
    .product-mobile-bar__price { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; color: var(--emphasis-color); }
    .product-mobile-bar__price span { color: var(--black-400); font-size: 16px; font-weight: 400; }
    .product-mobile-bar__price-values { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 8px; min-width: 0; }
    .product-mobile-bar__regular-price { color: var(--black-500); font-size: 13px; }
    .product-mobile-bar__price strong { font-size: 18px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
    .product-mobile-bar__controls { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 10px; }
    .product-mobile-bar__quantity { justify-self: start; }
    .product-mobile-bar .add-to-cart { min-height: 52px; padding: 0 12px; font-size: 14px; font-weight: 500; white-space: nowrap; }
    .product-mobile-bar .add-to-cart svg { width: 17px; height: 17px; }
    .product-mobile-bar .cart-feedback { min-height: 0; margin: 0; }
    .product-mobile-bar .cart-feedback:empty { display: none; }
    body.product-purchase-bar-visible .footer__container { padding-bottom: var(--product-purchase-bar-height, 160px); }
}

@media (max-width: 360px) {
    .product-mobile-bar .add-to-cart { gap: 0; padding-inline: 8px; font-size: 13px; }
    .product-mobile-bar .add-to-cart svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .product-page *, .product-mobile-bar * { transition: none !important; scroll-behavior: auto !important; }
}
