/* ═══════════════════════════════════════════════════════════════
   KSHATRIYA EXIM · PREMIUM PRODUCT DETAILS
   Warm white base · orange accent · glassmorphism · rounded cards
   Scoped under .product-details — no impact on other pages.
   ═══════════════════════════════════════════════════════════════ */

.product-details {
    --pd-orange: #F97316;
    --pd-orange-deep: #EA580C;
    --pd-orange-soft: #FFEDD5;
    --pd-gold: #D9A520;
    --pd-warm: #FFFDF8;
    --pd-warm-2: #FAF4EB;
    --pd-ink: #1C1917;
    --pd-gray: #57534E;
    --pd-gray-300: #D6D3D1;
    --pd-line: #E7E0D6;
    --pd-shadow: 0 18px 50px rgba(28, 25, 23, .08);
    --pd-shadow-sm: 0 6px 18px rgba(28, 25, 23, .06);
    --pd-grad-orange: linear-gradient(120deg, #F97316 0%, #F59E0B 55%, #D9A520 100%);
    --pd-radius: 22px;
    background: var(--pd-warm);
    color: var(--pd-ink);
}

.product-details .section { padding: 44px 0; }

.pd-sec-title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 6px;
}
.pd-sec-sub { color: var(--pd-gray); margin: 0 0 26px; font-size: 14.5px; }

/* ───────── Breadcrumb ───────── */
.pd-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--pd-gray); margin-bottom: 22px; flex-wrap: wrap;
}
.pd-breadcrumb a { color: var(--pd-orange-deep); text-decoration: none; transition: opacity .2s; }
.pd-breadcrumb a:hover { opacity: .7; }
.pd-bcrumb-sep { color: var(--pd-gray-300); }
.pd-bcrumb-current { color: var(--pd-ink); font-weight: 600; }

/* ───────── 1 · HERO ───────── */
.pd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.pd-hero-grid {
    display: grid; grid-template-columns: 38% 1fr; gap: 40px; align-items: start;
}

/* Gallery */
.pd-gallery { position: sticky; top: 96px; }
.pd-gallery-main {
    position: relative; border-radius: var(--pd-radius); overflow: hidden;
    background: #fff; border: 1px solid var(--pd-line);
    box-shadow: var(--pd-shadow-sm); aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
}
.pd-gallery-img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    position: relative; z-index: 1;
    transition: opacity .3s ease;
}
.pd-badge {
    position: absolute; top: 16px; z-index: 3; padding: 7px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .04em; backdrop-filter: blur(8px);
}
.pd-badge--discount { left: 16px; background: var(--pd-orange); color: #fff; box-shadow: 0 6px 16px rgba(249, 115, 22, .35); }
.pd-badge--flag { left: auto; right: 16px; background: rgba(255,255,255,.88); color: var(--pd-orange-deep); border: 1px solid rgba(249,115,22,.3); }

.pd-fullscreen-btn {
    position: absolute; right: 16px; bottom: 16px; z-index: 3;
    width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--pd-line);
    background: rgba(255,255,255,.88); backdrop-filter: blur(8px); color: var(--pd-ink);
    display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s;
}
.pd-fullscreen-btn:hover { transform: translateY(-2px); background: #fff; }

.pd-thumbs { display: flex; flex-direction: row; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
    width: 56px; height: 56px; min-width: 56px; border-radius: 12px; padding: 3px; cursor: pointer;
    border: 2px solid var(--pd-line); background: #fff; overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.is-active { border-color: var(--pd-orange); box-shadow: 0 4px 14px rgba(249,115,22,.25); }

/* Buybox */
.pd-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.pd-brand-chip {
    background: var(--pd-orange-soft); color: var(--pd-orange-deep); font-weight: 700; font-size: 12px;
    padding: 5px 12px; border-radius: 999px; letter-spacing: .03em;
}
.pd-sku { font-size: 12px; color: var(--pd-gray); letter-spacing: .06em; }

.pd-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; margin: 0 0 14px; }

.pd-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 18px; }
.pd-rating-stars, .pd-rev-stars, .pd-review-stars { color: var(--pd-gold); font-weight: 700; }
.pd-rev-link { color: var(--pd-orange-deep); text-decoration: none; }
.pd-rev-link:hover { text-decoration: underline; }
.pd-dot { color: var(--pd-gray-300); }
.pd-cat-link { color: var(--pd-gray); }
.pd-stock { font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: 12px; }
.pd-stock--in { background: #DCFCE7; color: #15803D; }
.pd-stock--low { background: #FEF3C7; color: #B45309; }
.pd-stock--out { background: #FEE2E2; color: #B91C1C; }

.pd-price { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-price-main { display: flex; align-items: baseline; gap: 10px; }
.pd-price-now { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; color: var(--pd-ink); }
.pd-price-old { font-size: 17px; color: var(--pd-gray); text-decoration: line-through; }
.pd-price-off { background: #FEE2E2; color: #DC2626; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.pd-bulk-chip {
    display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-radius: 14px;
    background: rgba(249,115,22,.08); border: 1px dashed rgba(249,115,22,.45); font-size: 12.5px; color: var(--pd-orange-deep);
}
.pd-bulk-chip span { font-weight: 800; }
.pd-bulk-chip small { color: var(--pd-gray); font-size: 11.5px; }

.pd-short-desc { color: var(--pd-gray); font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }
.pd-short-desc p { margin: 0 0 8px; }
.pd-short-desc ul { margin: 0; padding-left: 18px; }

/* ───────── HEADER / CONTENT SPACING ───────── */
.pd-hero-grid {
    padding-top: 12px;
}
.pd-hero-grid + .pd-rail-section,
.pd-hero-grid + section,
.product-details + .pd-rail-section,
.product-details + section {
    margin-top: 48px;
}
.product-details {
    /* Breathing room between the page banner and the product hero.
       +48px vs. the previous 8px; public product detail page only. */
    padding-top: 56px;
}

/* ───────── PACKAGE + QUANTITY SIDE-BY-SIDE ───────── */
.pd-controls-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 4px;
}

/* Actions */
.pd-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.pd-qty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: var(--pd-shadow-sm);
    flex: 1;
    min-width: 0;
}
.pd-qty--pkg { flex: 1.3; }
.pd-qty--num { flex: 1; }

.pd-qty-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--pd-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1;
}

.pd-qty-select {
    width: 100%;
    height: auto;
    min-height: 38px;
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    background-color: var(--pd-warm);
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.pd-qty-select:focus {
    outline: 0;
    border-color: var(--pd-orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}

.pd-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--pd-warm-2);
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    padding: 2px;
    align-self: flex-start;
}
.pd-qty-btn {
    width: 34px; height: 34px; border-radius: 8px; border: 0; cursor: pointer;
    background: #fff; color: var(--pd-ink); font-size: 16px; font-weight: 700;
    transition: background .2s, transform .15s;
    display: grid; place-items: center;
}
.pd-qty-btn:hover { background: var(--pd-orange-soft); color: var(--pd-orange-deep); }
.pd-qty-btn:active { transform: scale(.92); }

/* ───────── QUANTITY NUMBER INPUT (HIGH SPECIFICITY) ───────── */
.pd-qty .pd-qty-input {
    width: 40px;
    min-width: 40px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pd-ink) !important;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    line-height: 34px;
    -moz-appearance: textfield;
    appearance: textfield;
    -webkit-appearance: textfield;
    -webkit-text-fill-color: var(--pd-ink);
    opacity: 1;
    visibility: visible;
    display: block;
    font-family: inherit;
}
.pd-qty .pd-qty-input::-webkit-outer-spin-button,
.pd-qty .pd-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    display: none;
}
.pd-qty .pd-qty-input:focus {
    outline: 0;
    box-shadow: none;
    background: transparent;
    color: var(--pd-ink) !important;
    -webkit-text-fill-color: var(--pd-ink);
}

.pd-actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; font-weight: 700; font-size: 13.5px; border-radius: 12px;
    padding: 13px 16px; transition: transform .18s, box-shadow .18s, background .18s, opacity .18s;
    font-family: inherit; text-decoration: none; letter-spacing: .01em;
}
.pd-btn:disabled { opacity: .4; cursor: not-allowed; }
.pd-btn:not(:disabled):active { transform: scale(.97); }

.pd-btn--cart { background: var(--pd-grad-orange); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.3); }
.pd-btn--cart:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(249,115,22,.4); }
.pd-btn--ghost { background: #fff; color: var(--pd-ink); border: 1.5px solid var(--pd-line); }
.pd-btn--ghost:hover { border-color: var(--pd-orange); color: var(--pd-orange-deep); }
.pd-btn--quote {
    background: var(--pd-orange-soft); color: var(--pd-orange-deep); border: 1.5px solid rgba(249,115,22,.35);
    justify-content: center;
}
.pd-btn--quote:hover { background: #FFE4C9; transform: translateY(-2px); }
.pd-btn--cta-solid { background: #fff; color: var(--pd-orange-deep); }
.pd-btn--cta-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.pd-btn--cta-glass { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(10px); }
.pd-btn--cta-glass:hover { background: rgba(255,255,255,.28); }
.pd-icon-btn { flex-direction: column; gap: 3px; font-size: 11px; padding: 10px 6px; }
.pd-heart path { transition: fill .2s; }
.pd-icon-btn.is-active { border-color: #E11D48; background: #FFF1F2; }
.pd-icon-btn.is-active .pd-heart { fill: #E11D48; stroke: #E11D48; }
.pd-icon-btn.is-compared { border-color: #6366F1; background: #EEF2FF; }

/* Trust + delivery */
.pd-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pd-trust-chip {
    font-size: 12px; font-weight: 600; color: var(--pd-gray);
    background: #fff; border: 1px solid var(--pd-line); border-radius: 999px; padding: 7px 13px;
    display: inline-flex; align-items: center; gap: 6px;
}
.pd-delivery {
    background: rgba(255,255,255,.7); backdrop-filter: blur(8px); border: 1px solid var(--pd-line);
    border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; font-size: 13.5px;
}
.pd-delivery-row { display: flex; gap: 10px; align-items: flex-start; color: var(--pd-gray); }
.pd-delivery-row + .pd-delivery-row { margin-top: 8px; }
.pd-delivery-icon { font-size: 15px; }

/* Share */
.pd-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pd-share-label { font-size: 13px; font-weight: 700; color: var(--pd-gray); }
.pd-share-btn {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
    color: var(--pd-gray); background: #fff; border: 1px solid var(--pd-line); border-radius: 999px;
    padding: 8px 13px; cursor: pointer; transition: all .18s; font-family: inherit;
}
.pd-share-btn:hover { color: var(--pd-orange-deep); border-color: var(--pd-orange); transform: translateY(-1px); }

/* ───────── 2 · TABS ───────── */
.pd-tabs-section { background: var(--pd-warm-2); border-block: 1px solid var(--pd-line); }
.pd-tabs-head {
    display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; margin-bottom: 26px;
    background: rgba(255,255,255,.8); backdrop-filter: blur(10px); border: 1px solid var(--pd-line);
    border-radius: 18px; box-shadow: var(--pd-shadow-sm); position: sticky; top: 84px; z-index: 20;
}
.pd-tab {
    border: 0; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14px;
    color: var(--pd-gray); background: transparent; padding: 11px 20px; border-radius: 12px;
    transition: all .2s;
}
.pd-tab:hover { color: var(--pd-ink); background: var(--pd-warm-2); }
.pd-tab.is-active { background: var(--pd-grad-orange); color: #fff; box-shadow: 0 8px 18px rgba(249,115,22,.3); }

.pd-panel { display: none; animation: pdFadeUp .35s ease both; }
.pd-panel.is-active { display: block; }
@keyframes pdFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pd-panel-rich { color: var(--pd-gray); line-height: 1.8; font-size: 15px; max-width: 860px; }
.pd-panel-rich p { margin: 0 0 14px; }
.pd-panel-rich ul { padding-left: 20px; margin: 0 0 14px; }
.pd-panel-rich li { margin-bottom: 6px; }
.pd-panel-rich strong { color: var(--pd-ink); }

/* ═══ PRODUCT INFORMATION TOGGLE PANEL ═══ */
.pd-info-panel {
    margin-top: 32px;
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow-sm);
    overflow: hidden;
}
.pd-info-tabs {
    display: flex;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-warm-2);
    position: relative;
}
.pd-info-tab {
    flex: 1;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    color: var(--pd-gray);
    background: transparent;
    padding: 18px 24px;
    text-align: center;
    transition: color .25s, background .25s;
    position: relative;
}
.pd-info-tab::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    transition: background .25s;
}
.pd-info-tab:hover {
    color: var(--pd-ink);
    background: rgba(255,255,255,.5);
}
.pd-info-tab.is-active {
    color: #fff;
    background: var(--pd-orange);
    border-radius: var(--pd-radius) var(--pd-radius) 0 0;
}
.pd-info-tab.is-active::after {
    background: transparent;
}
.pd-info-content {
    display: none;
    padding: 28px 32px;
    animation: pdInfoFade .3s ease both;
}
.pd-info-content.is-active {
    display: block;
}
@keyframes pdInfoFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.pd-specs-row {
    transition: background .15s;
}
.pd-specs-row:hover {
    background: var(--pd-orange-soft);
}
.pd-specs-row:nth-child(even) {
    background: var(--pd-warm-2);
}
.pd-specs-row:nth-child(even):hover {
    background: var(--pd-orange-soft);
}
.pd-specs-label {
    text-align: left;
    padding: 14px 24px;
    width: 38%;
    color: var(--pd-ink);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--pd-line);
}
.pd-specs-value {
    padding: 14px 24px;
    color: var(--pd-gray);
    font-size: 14px;
    border-bottom: 1px solid var(--pd-line);
}
.pd-specs-row:last-child .pd-specs-label,
.pd-specs-row:last-child .pd-specs-value {
    border-bottom: 0;
}
.pd-more-desc {
    color: var(--pd-gray);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 28px;
}
.pd-more-section {
    padding-top: 22px;
    border-top: 1px solid var(--pd-line);
}
.pd-more-section:first-child {
    border-top: 0;
    padding-top: 0;
}
.pd-more-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-ink);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-more-heading::before {
    content: "";
    display: block;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--pd-grad-orange);
    flex-shrink: 0;
}
.pd-more-list {
    margin: 0;
    padding-left: 22px;
    color: var(--pd-gray);
    font-size: 14px;
    line-height: 1.95;
}
.pd-more-list li {
    padding: 2px 0;
}

/* Apps compact (tab) */
.pd-apps-compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pd-app-chip {
    background: #fff; border: 1px solid var(--pd-line); border-radius: 16px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 4px; transition: transform .2s, box-shadow .2s;
}
.pd-app-chip:hover { transform: translateY(-2px); box-shadow: var(--pd-shadow-sm); }
.pd-app-chip span { font-weight: 700; }
.pd-app-chip small { color: var(--pd-gray); }

/* Packaging (tab) */
.pd-pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pd-pack-card {
    background: #fff; border: 1px solid var(--pd-line); border-radius: 18px; padding: 20px;
    box-shadow: var(--pd-shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pd-pack-card:hover { transform: translateY(-3px); box-shadow: var(--pd-shadow); }
.pd-pack-icon { font-size: 24px; display: block; margin-bottom: 10px; }
.pd-pack-card h4 { margin: 0 0 6px; font-size: 15px; }
.pd-pack-card p { margin: 0; color: var(--pd-gray); font-size: 13.5px; line-height: 1.6; }

/* Docs (tab) */
.pd-downloads-inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.pd-download-btn {
    display: inline-flex; align-items: center; gap: 10px; font-family: inherit; font-weight: 700;
    font-size: 13.5px; color: var(--pd-ink); background: #fff; border: 1px solid var(--pd-line);
    border-radius: 14px; padding: 12px 16px; cursor: pointer; transition: all .2s;
}
.pd-download-btn:hover { border-color: var(--pd-orange); color: var(--pd-orange-deep); transform: translateY(-2px); box-shadow: var(--pd-shadow-sm); }
.pd-download-icon { font-size: 17px; }
.pd-download-note { width: 100%; color: var(--pd-gray); font-size: 12.5px; margin: 6px 0 0; }

/* ───────── 3 · BENEFITS ───────── */
.pd-benefits { background: linear-gradient(180deg, var(--pd-warm) 0%, var(--pd-warm-2) 100%); }
.pd-benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pd-benefit {
    background: rgba(255,255,255,.8); backdrop-filter: blur(10px); border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius); padding: 24px 18px; text-align: center;
    transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.pd-benefit::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
    background: var(--pd-grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.pd-benefit:hover { transform: translateY(-6px); box-shadow: var(--pd-shadow); }
.pd-benefit:hover::after { transform: scaleX(1); }
.pd-benefit-icon {
    width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center;
    font-size: 26px; border-radius: 18px; background: var(--pd-orange-soft);
}
.pd-benefit h3 { margin: 0 0 8px; font-size: 15.5px; }
.pd-benefit p { margin: 0; color: var(--pd-gray); font-size: 13px; line-height: 1.6; }

/* ───────── 4 · APPLICATIONS ───────── */
.pd-apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-app-card {
    background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius);
    overflow: hidden; box-shadow: var(--pd-shadow-sm); transition: transform .25s, box-shadow .25s;
}
.pd-app-card:hover { transform: translateY(-5px); box-shadow: var(--pd-shadow); }
.pd-app-img { aspect-ratio: 16 / 9; overflow: hidden; }
.pd-app-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-app-card h3 { margin: 0; padding: 16px 18px 6px; font-size: 16.5px; }
.pd-app-card p { margin: 0; padding: 0 18px 18px; color: var(--pd-gray); font-size: 13.5px; line-height: 1.6; }

/* ───────── 5 · REVIEWS ───────── */
.pd-reviews { background: var(--pd-warm-2); border-block: 1px solid var(--pd-line); }
.pd-reviews-grid { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: start; }

.pd-rev-summary {
    background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius); padding: 26px; text-align: center; position: sticky; top: 150px;
    box-shadow: var(--pd-shadow-sm);
}
.pd-rev-score { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pd-rev-score span { font-size: 18px; color: var(--pd-gray); font-weight: 600; }
.pd-rev-stars { margin: 8px 0 4px; }
.pd-rev-count { color: var(--pd-gray); font-size: 13px; margin: 0 0 18px; }

.pd-rev-dist { margin-bottom: 18px; }
.pd-rev-dist-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin-bottom: 7px; }
.pd-rev-dist-label { width: 26px; color: var(--pd-gray); font-weight: 600; }
.pd-rev-dist-bar { flex: 1; height: 8px; background: var(--pd-warm-2); border: 1px solid var(--pd-line); border-radius: 999px; overflow: hidden; }
.pd-rev-dist-bar span { display: block; height: 100%; background: var(--pd-grad-orange); border-radius: 999px; transition: width .8s ease; }
.pd-rev-dist-pct { width: 34px; text-align: right; color: var(--pd-gray); }
.pd-write-rev { width: 100%; justify-content: center; }
.pd-rev-note { font-size: 11.5px; color: var(--pd-gray); margin: 12px 0 0; }

.pd-rev-list { display: flex; flex-direction: column; gap: 16px; }
.pd-review {
    background: #fff; border: 1px solid var(--pd-line); border-radius: 20px; padding: 22px;
    box-shadow: var(--pd-shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pd-review:hover { box-shadow: var(--pd-shadow); }
.pd-review-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.pd-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--pd-grad-orange); color: #fff; font-weight: 800; font-size: 17px;
    display: grid; place-items: center; box-shadow: 0 4px 12px rgba(249,115,22,.3);
}
.pd-review-head strong { display: block; font-size: 14.5px; }
.pd-verified { font-size: 11.5px; color: #15803D; font-weight: 700; }
.pd-review-date { margin-left: auto; font-size: 12px; color: var(--pd-gray); white-space: nowrap; }
.pd-review h4 { margin: 0 0 8px; font-size: 16px; }
.pd-review-text { margin: 0 0 12px; color: var(--pd-gray); line-height: 1.7; font-size: 14px; }
.pd-review-imgs { display: flex; gap: 8px; margin-bottom: 12px; }
.pd-review-imgs img { width: 74px; height: 74px; object-fit: cover; border-radius: 12px; border: 1px solid var(--pd-line); }
.pd-seller-reply {
    background: var(--pd-warm-2); border-left: 3px solid var(--pd-orange); border-radius: 0 12px 12px 0;
    padding: 12px 14px; font-size: 13.5px; color: var(--pd-gray); line-height: 1.6; margin-bottom: 12px;
}
.pd-seller-reply strong { color: var(--pd-orange-deep); }
.pd-review-helpful { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pd-gray); }
.pd-review-helpful button {
    border: 1px solid var(--pd-line); background: #fff; border-radius: 999px; padding: 5px 12px;
    cursor: pointer; font-size: 12.5px; font-family: inherit; transition: all .18s;
}
.pd-review-helpful button:hover { border-color: var(--pd-orange); color: var(--pd-orange-deep); }

.pd-review-pages { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.pd-page-btn {
    min-width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--pd-line);
    background: #fff; font-weight: 700; cursor: pointer; font-size: 14px; font-family: inherit;
    color: var(--pd-ink); transition: all .18s;
}
.pd-page-btn:hover { border-color: var(--pd-orange); color: var(--pd-orange-deep); }
.pd-page-btn.is-active { background: var(--pd-grad-orange); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(249,115,22,.3); }

/* Empty states */
.pd-empty {
    text-align: center; padding: 40px 20px; color: var(--pd-gray);
    background: rgba(255,255,255,.8); border: 1px dashed var(--pd-line); border-radius: var(--pd-radius);
}
.pd-empty--tall { padding: 56px 20px; }
.pd-empty-icon { font-size: 38px; display: block; margin-bottom: 12px; }
.pd-empty h3 { color: var(--pd-ink); margin: 0 0 8px; }
.pd-empty p { margin: 0 0 16px; font-size: 14px; }
.pd-empty .pd-btn { margin-top: 4px; }

/* ───────── RECOMMENDATION CAROUSEL ───────── */
.pd-rec-section {
    margin-top: 48px;
    padding: 0 0 20px;
    overflow: hidden;
}
.pd-rec-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 5%;
}
.pd-rec-title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 4px;
    color: var(--pd-ink);
}
.pd-rec-sub {
    margin: 0;
    font-size: 14.5px;
    color: var(--pd-gray);
}
.pd-rec-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.pd-rec-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--pd-line);
    background: #fff;
    color: var(--pd-ink);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .2s;
    line-height: 1;
    flex-shrink: 0;
}
.pd-rec-arrow:hover:not(:disabled) {
    border-color: var(--pd-orange);
    color: var(--pd-orange-deep);
    background: var(--pd-orange-soft);
}
.pd-rec-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.pd-rec-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 5% 16px;
    scrollbar-width: none;
}
.pd-rec-track::-webkit-scrollbar { display: none; }
.pd-rec-card-wrap {
    flex: 0 0 280px;
    scroll-snap-align: start;
    min-width: 0;
}
.pd-rec-card {
    height: auto !important;
    min-height: 0 !important;
}
.pd-rec-card .product-img {
    aspect-ratio: 1 / 1;
    max-height: 220px;
}
.pd-rec-card .product-img img {
    max-height: 220px;
}
@media (max-width: 768px) {
    .pd-rec-header { padding: 0 16px; }
    .pd-rec-track { padding: 8px 16px 16px; gap: 14px; }
    .pd-rec-card-wrap { flex: 0 0 240px; }
    .pd-rec-nav { display: none; }
}
@media (max-width: 480px) {
    .pd-rec-card-wrap { flex: 0 0 220px; }
}

/* ── Recommendation card: hide quantity stepper, orange action buttons ── */
.pd-rec-card .ks-qty-stepper { display: none !important; }
.pd-rec-card .ks-product-actions { padding: 0 12px 12px; }
.pd-rec-card .ks-action-row { display: flex; gap: 8px; width: 100%; }
.pd-rec-card .ks-action-row .ks-add-cart-btn {
    flex: 1;
    justify-content: center;
    background: linear-gradient(135deg, #e45f2b, #d94f1e);
    color: #fff;
    border-color: #e45f2b;
    box-shadow: 0 2px 8px rgba(228, 95, 43, 0.25);
}
.pd-rec-card .ks-action-row .ks-add-cart-btn:hover {
    background: linear-gradient(135deg, #d94f1e, #c44215);
    border-color: #c44215;
}
.pd-rec-card .ks-action-row .ks-view-btn {
    flex: 0 0 42px;
    width: 42px;
    padding: 6px 0;
    justify-content: center;
    background: linear-gradient(135deg, #e45f2b, #d94f1e);
    color: #fff;
    border-color: #e45f2b;
}
.pd-rec-card .ks-action-row .ks-view-btn:hover {
    background: linear-gradient(135deg, #d94f1e, #c44215);
    border-color: #c44215;
}

/* ───────── 9 · FAQ ───────── */
.pd-faq-wrap { max-width: 860px; }
.pd-accordion { display: flex; flex-direction: column; gap: 12px; }
.pd-faq-item {
    background: #fff; border: 1px solid var(--pd-line); border-radius: 16px; overflow: hidden;
    transition: box-shadow .2s;
}
.pd-faq-item.is-open { box-shadow: var(--pd-shadow-sm); border-color: rgba(249,115,22,.4); }
.pd-faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
    background: transparent; border: 0; cursor: pointer; font-family: inherit;
    font-weight: 700; font-size: 15px; color: var(--pd-ink); padding: 18px 20px; text-align: left;
}
.pd-faq-toggle {
    flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
    background: var(--pd-warm-2); font-size: 18px; font-weight: 700; color: var(--pd-orange-deep);
    transition: transform .25s, background .25s;
}
.pd-faq-item.is-open .pd-faq-toggle { background: var(--pd-orange); color: #fff; }
.pd-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pd-faq-a p { margin: 0; padding: 0 20px 18px; color: var(--pd-gray); line-height: 1.7; font-size: 14px; }

/* ───────── 10 · DOWNLOADS ───────── */
.pd-downloads { background: var(--pd-warm-2); border-block: 1px solid var(--pd-line); }
.pd-downloads-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pd-download-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
    background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--pd-line);
    border-radius: 18px; padding: 20px; cursor: pointer; font-family: inherit; color: var(--pd-ink);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pd-download-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow); border-color: rgba(249,115,22,.4); }
.pd-download-icon-big {
    width: 48px; height: 48px; display: grid; place-items: center; font-size: 22px; border-radius: 14px;
    background: var(--pd-orange-soft); margin-bottom: 6px;
}
.pd-download-card strong { font-size: 14.5px; }
.pd-download-meta { font-size: 12px; color: var(--pd-gray); }
.pd-download-go { font-size: 12.5px; font-weight: 800; color: var(--pd-orange-deep); margin-top: 4px; }

/* ───────── 11 · CTA ───────── */
.pd-cta { padding-top: 8px; }
.pd-cta-banner {
    position: relative; overflow: hidden; text-align: center; color: #fff;
    background: linear-gradient(120deg, #F97316 0%, #F59E0B 55%, #D9A520 100%);
    border-radius: 28px; padding: 54px 30px;
    box-shadow: 0 24px 60px rgba(249,115,22,.35);
}
.pd-cta-glow {
    position: absolute; width: 480px; height: 480px; border-radius: 50%; top: -220px; right: -140px;
    background: radial-gradient(circle, rgba(255,255,255,.35) 0%, transparent 60%); pointer-events: none;
}
.pd-cta-banner h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.02em; }
.pd-cta-banner p { margin: 0 auto 26px; max-width: 560px; font-size: 15px; opacity: .95; }
.pd-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.pd-cta-trust { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 13px; font-weight: 700; opacity: .92; }

/* ───────── NOT FOUND ───────── */
.pd-notfound { min-height: 60vh; display: grid; place-items: center; }
.pd-notfound-inner { text-align: center; max-width: 520px; }
.pd-notfound-code {
    font-size: 110px; font-weight: 800; line-height: 1; display: block; margin-bottom: 6px;
    background: var(--pd-grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pd-notfound h1 { margin: 0 0 10px; font-size: 30px; }
.pd-notfound p { color: var(--pd-gray); margin: 0 0 26px; }
.pd-notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ───────── LIGHTBOX ───────── */
.pd-lightbox {
    position: fixed; inset: 0; z-index: 1000; background: rgba(12, 10, 9, .94);
    backdrop-filter: blur(8px); display: grid; place-items: center;
    animation: pdFadeIn .25s ease both;
}
.pd-lightbox[hidden] { display: none; }
@keyframes pdFadeIn { from { opacity: 0; } to { opacity: 1; } }
.pd-lb-figure { margin: 0; display: grid; place-items: center; max-width: 82vw; max-height: 82vh; }
.pd-lb-figure img { max-width: 82vw; max-height: 76vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: pdFadeUp .3s ease both; }
.pd-lb-figure figcaption { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 12px; letter-spacing: .08em; }
.pd-lb-close {
    position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
    font-size: 18px; cursor: pointer; transition: background .2s, transform .2s;
}
.pd-lb-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.pd-lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
    color: #fff; font-size: 24px; cursor: pointer; transition: background .2s;
}
.pd-lb-nav:hover { background: rgba(255,255,255,.2); }
.pd-lb-nav--prev { left: 26px; }
.pd-lb-nav--next { right: 26px; }

/* ───────── WRITE REVIEW STAR PICKER ───────── */
.pd-write-stars { display: flex; justify-content: center; gap: 6px; padding: 6px 0 2px; }
.pd-write-star {
    border: 0; background: transparent; cursor: pointer; font-size: 30px; line-height: 1;
    color: var(--pd-gray-300); transition: transform .15s, color .15s; padding: 2px;
}
.pd-write-star:hover { transform: scale(1.2); }
.pd-write-star.is-on { color: var(--pd-gold); }
.pd-write-stars[data-locked] .pd-write-star { cursor: default; }

/* ───────── Stars component (JS fills) ───────── */
.pd-stars { position: relative; display: inline-flex; gap: 2px; font-size: 14px; line-height: 1; }
.pd-stars i { font-style: normal; color: var(--pd-gray-300); }
.pd-stars .pd-stars-fill { position: absolute; inset: 0; overflow: hidden; display: inline-flex; gap: 2px; color: var(--pd-gold); pointer-events: none; white-space: nowrap; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1024px) {
    .pd-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .pd-gallery { position: static; max-width: 560px; margin: 0 auto; }
    .pd-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
    .pd-thumb { flex: none; }
    .pd-actions-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .pd-apps-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-downloads-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-reviews-grid { grid-template-columns: 1fr; }
    .pd-rev-summary { position: static; }
    .pd-tabs-head { position: static; overflow-x: auto; flex-wrap: nowrap; }
    .pd-tab { white-space: nowrap; }
    .pd-slider-btn { opacity: 1; pointer-events: auto; }
    .pd-controls-row { gap: 12px; }
    .pd-info-tabs { flex-wrap: nowrap; overflow-x: auto; }
    .pd-info-tab { white-space: nowrap; padding: 14px 20px; font-size: 14px; }
    .pd-info-content { padding: 22px 24px; }
}

/* ───────── GALLERY SLIDER CONTROLS ───────── */
.pd-slider-btn {
    position: absolute; top: 50%; z-index: 4;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pd-line);
    background: rgba(255,255,255,.9); backdrop-filter: blur(8px); color: var(--pd-ink);
    font-size: 20px; cursor: pointer; transition: all .22s;
    display: grid; place-items: center;
    opacity: 0; pointer-events: none; transform: translateY(-50%);
}
.pd-gallery-main:hover .pd-slider-btn { opacity: 1; pointer-events: auto; }
.pd-slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); box-shadow: var(--pd-shadow-sm); }
.pd-slider-btn:active { transform: translateY(-50%) scale(.95); }
.pd-slider-btn--prev { left: 12px; }
.pd-slider-btn--next { right: 12px; }

/* Auto-slider dots */
.pd-slider-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 4;
    display: flex; gap: 7px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255,255,255,.78); backdrop-filter: blur(6px); border: 1px solid var(--pd-line);
}
.pd-slider-dot {
    width: 9px; height: 9px; border-radius: 50%; border: 0;
    background: var(--pd-gray-300); cursor: pointer; transition: all .25s; padding: 0;
}
.pd-slider-dot:hover { background: var(--pd-orange-soft); }
.pd-slider-dot.is-active { background: var(--pd-orange); transform: scale(1.3); box-shadow: 0 2px 8px rgba(249,115,22,.35); }

/* ───────── GALLERY DESCRIPTION ───────── */
.pd-gallery-desc {
    margin-top: 18px; padding: 18px 20px; background: #fff;
    border: 1px solid var(--pd-line); border-radius: 16px;
    box-shadow: var(--pd-shadow-sm);
}
.pd-gallery-desc-title {
    font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--pd-ink);
    display: flex; align-items: center; gap: 8px;
}
.pd-gallery-desc-title::before {
    content: ""; display: block; width: 3px; height: 16px; border-radius: 2px;
    background: var(--pd-grad-orange); flex-shrink: 0;
}
.pd-gallery-desc-text {
    color: var(--pd-gray); font-size: 13.5px; line-height: 1.8; margin: 0;
}

/* ───────── LIGHTBOX THUMBNAIL STRIP ───────── */
.pd-lb-thumbs {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; padding: 8px 14px; border-radius: 16px;
    background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    max-width: 90vw; overflow-x: auto; scrollbar-width: none;
}
.pd-lb-thumbs::-webkit-scrollbar { display: none; }
.pd-lb-thumb {
    width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
    border: 2px solid transparent; cursor: pointer; flex: none;
    transition: border-color .2s, opacity .2s; opacity: .55;
}
.pd-lb-thumb:hover { opacity: .8; }
.pd-lb-thumb.is-active { border-color: var(--pd-orange); opacity: 1; }
.pd-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ───────── AUTO-SLIDER PAUSE INDICATOR ───────── */
.pd-gallery-main::after {
    content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 5;
    background: var(--pd-grad-orange); transform: scaleX(0); transform-origin: left;
    transition: transform 5s linear;
}
.pd-gallery-main.is-playing::after { transform: scaleX(1); }
.pd-gallery-main:hover::after { transform: scaleX(0); transition: none; }

/* ───────── TOUCH SWIPE FEEDBACK ───────── */
.pd-gallery-img { transition: opacity .3s ease; }
.pd-gallery-main.swiping .pd-gallery-img { transition: none; }

/* ───────── RESPONSIVE (continued) ───────── */
@media (max-width: 768px) {
    .pd-controls-row { flex-direction: column; gap: 10px; }
    .pd-gallery { max-width: 100%; }
    .pd-container { padding: 0 16px; }
}

@media (max-width: 640px) {
    .product-details .section { padding: 28px 0; }
    .pd-controls-row { flex-direction: column; gap: 10px; }
    .pd-qty { flex: none; }
    .pd-qty-select { min-height: 42px; font-size: 15px; }
    .pd-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-apps-grid, .pd-downloads-grid { grid-template-columns: 1fr; }
    .pd-actions-grid { grid-template-columns: 1fr 1fr; }
    .pd-cta-banner { padding: 36px 18px; border-radius: 20px; }
    .pd-slider-btn { width: 34px; height: 34px; font-size: 17px; }
    .pd-slider-btn--prev { left: 8px; }
    .pd-slider-btn--next { right: 8px; }
    .pd-slider-dots { bottom: 10px; gap: 5px; padding: 4px 10px; }
    .pd-slider-dot { width: 7px; height: 7px; }
    .pd-lb-nav { width: 40px; height: 40px; }
    .pd-lb-nav--prev { left: 10px; }
    .pd-lb-nav--next { right: 10px; }
    .pd-lb-thumbs { bottom: 12px; gap: 6px; padding: 6px 10px; }
    .pd-lb-thumb { width: 42px; height: 42px; }
    .pd-review-date { display: none; }
    .pd-gallery-desc { padding: 14px; }
    .pd-gallery-desc-text { font-size: 13px; }
    .pd-title { font-size: clamp(20px, 5vw, 28px); }
    .pd-price-now { font-size: clamp(24px, 6vw, 32px); }
    .pd-info-tab { padding: 14px 16px; font-size: 13.5px; }
    .pd-info-content { padding: 18px 20px; }
    .pd-specs-label, .pd-specs-value { padding: 11px 18px; font-size: 13px; }
}
