/* =====================================================================
   Product detail page — resources/views/product/show.blade.php
   Ported from the no-index-product-detail-1 design.
   Note: the theme sets `p { font-size:18px !important; color:#1d1d1d !important }`
   and `h1 { font-size:36px !important }`, so a few rules below need !important.
   ===================================================================== */

:root {
    --pdp-ink: #16181d;
    --pdp-ink-soft: #565b66;
    --pdp-line: #e4e6ea;
    --pdp-bg: #ffffff;
    --pdp-bg-subtle: #f6f7f9;
    --pdp-red: #ff0000;
    --pdp-red-dark: #9c0c24;
    --pdp-green: #1c8a4b;
    --pdp-radius: 4px;
    --pdp-maxw: 1380px;
    --pdp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pdp-scroll-lock { overflow: hidden; }

.pdp, .pdp * { box-sizing: border-box; }

.pdp {
    font-family: var(--pdp-font);
    color: var(--pdp-ink);
    background: var(--pdp-bg);
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 1.55;
}

.pdp a { color: inherit; text-decoration: none; }
.pdp ul { margin: 0; padding: 0; list-style: none; }
.pdp button { font-family: inherit; cursor: pointer; }
.pdp img { max-width: 100%; display: block; }
.pdp :focus-visible { outline: 2px solid var(--pdp-red); outline-offset: 2px; }

.pdp__wrap { max-width: var(--pdp-maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Breadcrumb ---------- */
.pdp-crumbs { padding: 21px 0; font-size: 15px; color: var(--pdp-ink-soft); }
.pdp-crumbs a:hover { color: var(--pdp-red); }
.pdp-crumbs span { margin: 0 6px; color: #c4c8d0; }
.pdp-crumbs .is-current { margin: 0; color: var(--pdp-ink); }

/* ---------- Layout ---------- */
.pdp-main {
    display: grid;
    grid-template-columns: 552px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-bottom: 56px;
}

/* ===================== Gallery ===================== */
.pdp-gallery { position: sticky; top: 24px; }

.pdp-gallery__main {
    position: relative;
    border-radius: var(--pdp-radius);
    background: var(--pdp-bg-subtle);
    overflow: hidden;
    margin-bottom: 16px;
}

.pdp-gallery__main img,
.pdp-gallery__grid img {
    width: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .35s ease;
}

.pdp-gallery__main:hover img { transform: scale(1.04); }

.pdp-badge-new {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--pdp-ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

.pdp-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pdp-gallery__grid a {
    display: block;
    border-radius: var(--pdp-radius);
    background: var(--pdp-bg-subtle);
    overflow: hidden;
}
.pdp-gallery__grid a:hover img { transform: scale(1.06); }

/* ===================== Info column ===================== */
.pdp .pdp-info__title {
    font-size: 46px !important;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.pdp-info__desc { margin: 0 0 12px; }
.pdp .pdp-info__desc,
.pdp .pdp-info__desc p {
    color: var(--pdp-ink-soft) !important;
    text-align: justify;
    line-height: 1.2;
    font-size: 16px !important;
}
.pdp-info__desc p { margin: 0 0 8px; }
.pdp-info__desc p:last-child { margin-bottom: 0; }

.pdp-info__review-link {
    display: inline-block;
    font-size: 14px;
    text-decoration: underline !important;
    color: var(--pdp-ink-soft);
}
.pdp-info__review-link:hover { color: var(--pdp-red); }

/* ---------- Price ---------- */
.pdp-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
    margin-bottom: 16px;
}
.pdp-price__special { font-size: 30px; font-weight: 800; color: var(--pdp-ink); }
.pdp-price__tax { font-size: 11px; color: var(--pdp-ink-soft); }
.pdp-price__mrp { font-size: 13px; color: #9aa0ab; text-decoration: line-through; }
.pdp-price__off {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--pdp-green);
    padding: 2px 8px;
    border-radius: 2px;
}

/* ---------- Option / color blocks ---------- */
.pdp-size-block {
    margin: 8px 0 28px;
    padding: 18px 20px;
    background: #f7f7f7;
    border-radius: 10px;
    border: 1px solid #ededed;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pdp-size-block.is-invalid { border-color: var(--pdp-red); box-shadow: 0 0 0 3px rgba(255, 0, 0, .08); }

.pdp-size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}
.pdp-size-label { font-size: 17px; font-weight: 800; color: #111; letter-spacing: -.2px; }
.pdp-size-current { font-size: 13px; color: var(--pdp-ink-soft); text-transform: capitalize; }

.pdp-sizeguide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border: 1px solid #111;
    border-radius: 20px;
    background: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    transition: background .2s ease, color .2s ease;
}
.pdp-sizeguide span { text-decoration: underline; }
.pdp-sizeguide:hover { background: #111; color: #fff; }
.pdp .pdp-sizeguide-row { margin: 0 0 20px !important; line-height: 1 !important; }

.pdp-size-options { display: flex; flex-wrap: wrap; gap: 9px; }

.pdp-size-btn {
    min-width: 48px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #d7d7d7;
    border-radius: 22px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.pdp-size-btn:hover:not(:disabled) { border-color: var(--pdp-red); color: var(--pdp-red); transform: translateY(-1px); }
.pdp-size-btn.is-active,
.pdp-size-btn.is-active:hover {
    background: var(--pdp-red);
    border-color: var(--pdp-red);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 0, 0, .18);
}
.pdp-size-btn:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.pdp .pdp-size-note {
    margin: 10px 0 0;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: var(--pdp-ink-soft) !important;
}
.pdp .pdp-size-note--error { color: var(--pdp-red) !important; font-weight: 600; }

/* Color swatches */
.pdp-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-swatch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 3px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    text-align: center;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}
.pdp-swatch img { width: 100%; height: 100%; object-fit: contain; }
a.pdp-swatch:hover { border-color: var(--pdp-red); transform: translateY(-1px); }
.pdp-swatch.is-active { border: 2px solid var(--pdp-red); }
.pdp-swatch.is-disabled { opacity: .35; cursor: not-allowed; }
.pdp-swatch.is-disabled::after {
    content: "";
    position: absolute;
    inset: 50% -10%;
    height: 1px;
    background: #555;
    transform: rotate(-45deg);
}

/* ---------- Quantity ---------- */
.pdp-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 0 3px;
}
.pdp-buybox__label { flex-shrink: 0; margin: 0; font-size: 15px; font-weight: 700; color: #111; }

.pdp-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 122px;
    min-width: 122px;
    height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
}
.pdp-qty button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 42px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--pdp-red);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition: background .2s ease;
}
.pdp-qty button:hover { background: #fff1f1; color: #d90000; }
.pdp-qty input {
    flex: none;
    width: 46px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-radius: 0;
    background: #fff;
    color: #111;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp .pdp-qty-note {
    margin: -12px 0 18px;
    text-align: right;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: var(--pdp-red) !important;
}

/* ---------- Actions ---------- */
.pdp-actions { display: flex; gap: 10px; margin-bottom: 22px; }

.pdp-btn {
    flex: 1;
    width: 100%;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 7px;
    border: 1.5px solid var(--pdp-red);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.pdp-btn--solid { background: var(--pdp-red); color: #fff; box-shadow: 0 5px 12px rgba(255, 0, 0, .14); }
.pdp-btn--solid:hover {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, .12);
}
.pdp-btn--outline { background: #fff; color: #111; border-color: #111; }
.pdp-btn--outline:hover { background: #111; border-color: #111; color: #fff; transform: translateY(-1px); }
.pdp-btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.pdp-btn--inline { flex: none; width: auto; min-height: 44px; padding: 10px 22px; display: inline-flex; align-items: center; }

.pdp-oos {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 7px;
    background: #fff1f1;
    border: 1px solid #ffd2d2;
    color: var(--pdp-red-dark);
    font-weight: 700;
}

/* ---------- Trust box ---------- */
.pdp-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--pdp-line);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--pdp-bg-subtle);
}
.pdp-trust__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--pdp-line);
}
.pdp-trust__item:nth-child(odd) { border-right: 1px solid var(--pdp-line); }
.pdp-trust__item:nth-last-child(-n+2) { border-bottom: none; }
.pdp-trust__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pdp-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pdp-red);
}
.pdp-trust__icon i { font-size: 14px; }
.pdp-trust__title { font-size: 16px; font-weight: 700; color: var(--pdp-ink); margin: 0 0 2px; line-height: 1.3; }
.pdp-trust__desc { font-size: 12px; color: var(--pdp-ink-soft); line-height: 1.4; margin: 0; }
.pdp-trust__desc a { color: var(--pdp-red) !important; text-decoration: underline !important; font-weight: 600; }
.pdp-trust__desc a:hover { color: var(--pdp-red-dark) !important; }

/* ===================== Sections ===================== */
.pdp-accordions { margin-top: 28px; }
.pdp-section { border-top: 1px solid var(--pdp-line); padding: 24px 0; }
.pdp-section:last-child { padding-bottom: 0; }
.pdp-section__title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.pdp-section__body { color: var(--pdp-ink-soft); }
.pdp-count { color: var(--pdp-ink-soft); font-weight: 500; }

/* Rich text coming from the admin editor (description / features) */
.pdp-prose ul { padding-left: 18px; list-style: disc; margin: 0 0 12px; }
.pdp-prose ol { padding-left: 18px; margin: 0 0 12px; }
.pdp-prose li { display: list-item; margin-bottom: 8px; color: var(--pdp-ink-soft); font-size: 14px; }
.pdp-prose li b, .pdp-prose li strong { color: var(--pdp-ink); }
.pdp .pdp-section__body.pdp-prose p {
    margin: 0 0 12px;
    padding: 0;
    font-size: 15px !important;
    line-height: 1.6 !important;
    letter-spacing: normal;
    color: var(--pdp-ink-soft) !important;
}
.pdp .pdp-prose h2, .pdp .pdp-prose h3, .pdp .pdp-prose h4 {
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.4;
    margin: 18px 0 8px;
    color: var(--pdp-ink);
    text-transform: none;
}
.pdp-prose img { height: auto; margin: 12px 0; }
.pdp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.pdp-prose td, .pdp-prose th { border: 1px solid var(--pdp-line); padding: 8px 10px; }

/* ---------- Specs ---------- */
.pdp-spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.pdp-spec-item { padding: 15px; border-bottom: 2px dashed var(--pdp-line); }
.pdp-spec-item:nth-child(odd) { border-right: 2px dashed var(--pdp-line); padding-right: 32px; }
.pdp-spec-item:last-child { border-bottom: none; }
.pdp-spec-item--full { grid-column: 1 / -1; border-right: none !important; padding-right: 0 !important; }
.pdp-spec-label { display: block; font-size: 13px; font-weight: 400; color: var(--pdp-ink-soft); margin: 0 0 4px; }
.pdp-spec-value { display: block; font-size: 15px; font-weight: 700; color: var(--pdp-ink); margin: 0; }

/* ---------- Video ---------- */
.pdp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.pdp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ (native <details>) ---------- */
.pdp-faq { border: 1px solid var(--pdp-line); border-radius: 10px; overflow: hidden; background: #fff; }
.pdp-faq__item { border-top: 1px solid var(--pdp-line); transition: background .15s ease; }
.pdp-faq__item:first-child { border-top: none; }
.pdp-faq__item[open] { background: var(--pdp-bg-subtle); }

.pdp-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pdp-ink);
    cursor: pointer;
    list-style: none;
}
.pdp-faq__q::-webkit-details-marker { display: none; }
.pdp-faq__q:hover { color: var(--pdp-red); }

.pdp-faq__chevron {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--pdp-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    color: var(--pdp-ink-soft);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pdp-faq__chevron::before { content: "+"; }
.pdp-faq__item[open] .pdp-faq__chevron { background: var(--pdp-red); border-color: var(--pdp-red); color: #fff; }
.pdp-faq__item[open] .pdp-faq__chevron::before { content: "\2212"; }

.pdp-faq__a p {
    margin: 0;
    padding: 0 46px 18px 18px;
    font-size: 13px;
    color: var(--pdp-ink-soft);
    line-height: 1.65;
}

/* Smooth open/close where supported (Chrome 131+); others just toggle. */
@supports selector(::details-content) {
    .pdp-faq__item { interpolate-size: allow-keywords; }
    .pdp-faq__item::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size .25s ease, content-visibility .25s allow-discrete;
    }
    .pdp-faq__item[open]::details-content { block-size: auto; }
}

/* ---------- Policies ---------- */
.pdp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-links a {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--pdp-line);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .2s ease, color .2s ease;
}
.pdp-links a:hover { border-color: var(--pdp-red); color: var(--pdp-red); }

/* ---------- Reviews ---------- */
.pdp-muted { font-size: 13px; color: var(--pdp-ink-soft); margin: 0 0 16px; }
.pdp-reviews { margin-bottom: 20px !important; }
.pdp-review { padding: 16px 0; border-bottom: 1px solid var(--pdp-line); }
.pdp-review:first-child { padding-top: 0; }
.pdp-review__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pdp-review__title { font-size: 15px; }
.pdp-review__head time { font-size: 12px; color: #9aa0ab; white-space: nowrap; }
.pdp-review__text { color: var(--pdp-ink-soft); white-space: pre-line; }
.pdp-review__author { margin-top: 6px; font-size: 13px; font-weight: 600; }

.pdp-review-form > summary { list-style: none; cursor: pointer; }
.pdp-review-form > summary::-webkit-details-marker { display: none; }
.pdp-review-form[open] > summary { margin-bottom: 18px; }

.pdp-form { display: grid; gap: 14px; }
.pdp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pdp-form label { display: grid; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--pdp-ink); }
.pdp-form input,
.pdp-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font: inherit;
    font-weight: 400;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pdp-form input:focus,
.pdp-form textarea:focus { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.pdp-form .pdp-btn { justify-self: start; }

/* ===================== Banner + related ===================== */
.pdp-parallax { height: 500px; background-position: center; background-size: cover; }

.pdp-related-link { background-size: 100% 100% !important; border: 1px solid #efebeb; }

/* ===================== Frequently bought together ===================== */
.pdp-fbt { margin: 0 0 28px; padding: 14px 12px 16px; background: #f1f2f4; border-radius: 6px; }
.pdp .pdp-fbt__title { margin: 4px 0 12px; font-size: 19px !important; font-weight: 700; letter-spacing: -.01em; color: var(--pdp-ink); text-transform: none; line-height: 1.3; }

.pdp-fbt__list { background: #fff; border-radius: 6px; overflow: hidden; }
.pdp-fbt__item { display: flex; align-items: center; gap: 10px; padding: 10px; background: #fff; transition: opacity .15s; }
.pdp-fbt__item--main { border-radius: 6px; }
.pdp-fbt__list .pdp-fbt__item + .pdp-fbt__item { border-top: 1px solid var(--pdp-line); }
.pdp-fbt__item.is-off .pdp-fbt__thumb,
.pdp-fbt__item.is-off .pdp-fbt__body { opacity: .5; }

.pdp-fbt__check { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #000; cursor: pointer; }
.pdp-fbt__thumb { flex: none; width: 64px; height: 92px; border-radius: 4px; overflow: hidden; background: var(--pdp-bg-subtle); }
.pdp-fbt__thumb img { width: 100%; height: 100%; object-fit: contain; }

.pdp-fbt__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-self: stretch; justify-content: space-between; gap: 10px; }
.pdp-fbt__name { font-size: 14px; line-height: 1.35; color: var(--pdp-ink); }
.pdp-fbt__name:hover { color: var(--pdp-red); }
.pdp-fbt__this { font-weight: 600; }

.pdp-fbt__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pdp-fbt__select { max-width: 100%; min-width: 0; height: 30px; padding: 0 6px; font-size: 13px; color: var(--pdp-ink); background: #fff; border: 1px solid #c9ccd2; border-radius: 4px; cursor: pointer; }
.pdp-fbt__variant { font-size: 13px; color: var(--pdp-ink-soft); }
.pdp-fbt__price { margin-left: auto; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pdp-fbt__price del { margin-right: 4px; font-weight: 400; color: var(--pdp-ink-soft); }

.pdp-fbt__plus { display: grid; place-items: center; width: 20px; height: 20px; margin: 6px auto; border-radius: 50%; background: #9a9ea6; color: #fff; font-size: 16px; font-weight: 700; line-height: 1; }

.pdp-fbt__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 16px 0 12px; }
.pdp-fbt__total strong { display: block; font-size: 15px; }
.pdp-fbt__total span { font-size: 13px; color: var(--pdp-ink-soft); }
.pdp-fbt__total .pdp-fbt__sum { font-size: 17px; white-space: nowrap; }

.pdp-fbt__btn { display: block; width: 100%; height: 46px; border: 0; border-radius: 6px; background: #000; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.pdp-fbt__btn:hover { background: #222; }
.pdp-fbt__btn:disabled { opacity: .6; cursor: progress; }
.pdp .pdp-fbt__error { margin: 10px 0 0; font-size: 13px !important; color: var(--pdp-red) !important; line-height: 1.4; }

/* ===================== Dialogs ===================== */
.pdp-dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
.pdp-dialog::backdrop { background: rgba(15, 16, 20, .6); }

.pdp-dialog__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--pdp-ink);
    font-size: 26px;
    line-height: 38px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .2);
}
.pdp-dialog__close:hover { color: var(--pdp-red); }

/* Lightbox */
.pdp-lightbox { width: 100vw; height: 100vh; height: 100dvh; margin: 0; inset: 0; }
.pdp-lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.pdp-lightbox__stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pdp-lightbox__img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(900px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
}
.pdp-lightbox .pdp-dialog__close { position: fixed; top: 16px; right: 16px; }

.pdp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--pdp-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.pdp-lightbox__nav:hover { background: #fff; color: var(--pdp-red); }
.pdp-lightbox__nav--prev { left: 14px; }
.pdp-lightbox__nav--next { right: 14px; }

.pdp-lightbox__counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .65);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Size chart */
.pdp-sizechart__box {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    padding: 20px;
    border-radius: 6px;
    background: #fff;
}
.pdp-sizechart__box img { width: 100%; height: auto; display: block; }

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
    .pdp-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 900px) {
    .pdp-main { grid-template-columns: 1fr; gap: 24px; }
    .pdp-gallery { position: static; }
    .pdp .pdp-info__title { font-size: 26px !important; }
    .pdp-parallax { height: 230px; }
}

@media (max-width: 600px) {
    .pdp__wrap { padding: 0 16px; }
    .pdp-crumbs { font-size: 13px; padding: 14px 0; }
    .pdp-size-block { padding: 16px; margin-bottom: 24px; }
    .pdp-size-row { margin-bottom: 13px; }
    .pdp-size-label { font-size: 16px; }
    .pdp-sizeguide { font-size: 10px; padding: 5px 9px; }
    .pdp-size-options { gap: 7px; }
    .pdp-size-btn { min-width: 45px; height: 40px; padding: 0 13px; }
    .pdp-qty-row { margin-bottom: 20px; }
    .pdp-actions { gap: 9px; }
    .pdp-btn { min-height: 52px; padding: 12px 14px; }
    .pdp-form__row { grid-template-columns: 1fr; }
    .pdp-lightbox__nav { width: 38px; height: 38px; font-size: 18px; }
    .pdp-lightbox__nav--prev { left: 8px; }
    .pdp-lightbox__nav--next { right: 8px; }
}

@media (max-width: 480px) {
    .pdp-trust { grid-template-columns: 1fr; }
    .pdp-trust__item:nth-child(odd) { border-right: none; }
    .pdp-trust__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--pdp-line); }
    .pdp-trust__item:last-child { border-bottom: none; }
    .pdp-spec-grid { grid-template-columns: 1fr; }
    .pdp-spec-item:nth-child(odd) { border-right: none; padding-right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .pdp *, .pdp *::before, .pdp *::after { transition: none !important; }
}
