/* Premium PDP — STEELPRO / SK Platform */

.pdp {
    --pdp-ink: #151A22;
    --pdp-mute: #6B7280;
    --pdp-line: #E6ECF2;
    --pdp-soft: #F5F7FA;
    --pdp-brand: #1185D8;
    --pdp-brand-soft: rgba(17, 133, 216, 0.08);
    --pdp-ok: #12B76A;
    --pdp-radius: 20px;
    --pdp-radius-lg: 24px;
    --pdp-shadow: 0 18px 50px rgba(21, 26, 34, 0.08);
    --pdp-shadow-sm: 0 8px 24px rgba(21, 26, 34, 0.06);
    padding: 28px 0 96px;
    background: #fff;
    color: var(--pdp-ink);
}

.pdp-container {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
}

.pdp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--pdp-mute);
}

.pdp-crumbs a:hover { color: var(--pdp-brand); }
.pdp-crumbs .sep { opacity: .45; }
.pdp-crumbs .current {
    color: var(--pdp-ink);
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: start;
}

/* Gallery */
.pdp-gallery {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    position: sticky;
    top: calc(var(--header-height, 184px) + 16px);
}

.pdp-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 560px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pdp-thumbs::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.pdp-thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1.5px solid var(--pdp-line);
    background: var(--pdp-soft);
    padding: 6px;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdp-thumb.is-active {
    border-color: var(--pdp-brand);
    box-shadow: 0 0 0 3px var(--pdp-brand-soft);
}

.pdp-thumb-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--pdp-brand);
}

.pdp-stage {
    position: relative;
    border-radius: var(--pdp-radius-lg);
    background:
        radial-gradient(circle at 70% 20%, rgba(17,133,216,.05), transparent 40%),
        var(--pdp-soft);
    border: 1px solid var(--pdp-line);
    min-height: 520px;
    overflow: hidden;
}

.pdp-stage-img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .35s ease;
    cursor: zoom-in;
}

.pdp-stage.is-zoom .pdp-stage-img {
    transform: scale(1.35);
    cursor: zoom-out;
}

.pdp-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: #16A34A;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.pdp-badge.tone-hit { background: #16A34A; }
.pdp-badge.tone-new { background: #1185D8; }
.pdp-badge.tone-deal { background: #EF4444; }
.pdp-badge.tone-premium { background: #7C3AED; }

.pdp-stage-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.pdp-stage-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #FFFFFF;
    color: #1C2129;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
    transition:
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.pdp-stage-btn svg {
    display: block;
}

.pdp-stage-btn:hover {
    transform: translateY(-1px);
    color: var(--pdp-brand);
    box-shadow: 0 12px 28px rgba(17, 133, 216, 0.22);
}

.pdp-stage-btn:active {
    transform: translateY(0);
}

.pdp-stage-btn[aria-pressed="true"] {
    color: var(--pdp-brand);
    box-shadow:
        0 0 0 2px rgba(17, 133, 216, 0.18),
        0 10px 24px rgba(17, 133, 216, 0.2);
}

.pdp-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--pdp-line);
    color: var(--pdp-ink);
    display: grid;
    place-items: center;
    box-shadow: var(--pdp-shadow-sm);
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-icon-btn:hover,
.pdp-icon-btn.is-active {
    background: #fff;
    color: var(--pdp-brand);
}

.pdp-icon-btn.is-active {
    border-color: rgba(17, 133, 216, 0.35);
    background: var(--pdp-brand-soft);
}

.pdp-icon-btn:focus-visible {
    outline: 2px solid rgba(17, 133, 216, 0.45);
    outline-offset: 2px;
}

.pdp-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pdp-line);
    box-shadow: var(--pdp-shadow-sm);
    display: grid;
    place-items: center;
    color: var(--pdp-ink);
    z-index: 2;
}

.pdp-nav.prev { left: 14px; }
.pdp-nav.next { right: 14px; }
.pdp-nav:hover { color: var(--pdp-brand); }

.pdp-media-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.pdp-media-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--pdp-line);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp-ink);
    transition: border-color .15s ease, background .15s ease;
}

.pdp-media-card i { color: var(--pdp-brand); }
.pdp-media-card:hover {
    border-color: rgba(17,133,216,.35);
    background: var(--pdp-brand-soft);
}
.pdp-media-card.is-disabled {
    opacity: .45;
    pointer-events: none;
}

/* Right column */
.pdp-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.pdp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 14px;
}

.pdp-sku {
    font-size: 13px;
    color: var(--pdp-mute);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pdp-sku strong { color: var(--pdp-ink); font-weight: 700; }
.pdp-sku button {
    color: var(--pdp-mute);
    width: 28px;
    height: 28px;
    border-radius: 8px;
}
.pdp-sku button:hover { color: var(--pdp-brand); background: var(--pdp-brand-soft); }

.pdp-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp-ok);
}

.pdp-stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(18, 183, 106, .15);
}

.pdp-meta-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.pdp-meta-actions .pdp-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E6ECF2;
    background: #fff;
    color: #151A22;
    font-size: 0;
    box-shadow: none;
}

.pdp-meta-actions .pdp-icon-btn svg {
    display: block;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-meta-actions .pdp-icon-btn:hover {
    transform: none;
    color: var(--pdp-brand);
    border-color: var(--pdp-brand);
    background: #fff;
    box-shadow: none;
}

.pdp-meta-actions .pdp-icon-btn:hover svg {
    transform: none;
}

.pdp-meta-actions .pdp-icon-btn.is-active {
    color: var(--pdp-brand);
    border-color: var(--pdp-brand);
    background: rgba(17, 133, 216, 0.08);
    box-shadow: none;
}

.pdp-meta-actions .pdp-icon-btn.is-active:hover {
    color: var(--pdp-brand);
    transform: none;
    box-shadow: none;
}

.pdp-meta-actions .pdp-icon-btn--fav.is-active svg {
    animation: pdp-fav-pop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pdp-fav-pop {
    0% { transform: scale(0.72); }
    55% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .pdp-meta-actions .pdp-icon-btn,
    .pdp-meta-actions .pdp-icon-btn svg,
    .pdp-meta-actions .pdp-icon-btn--fav.is-active svg {
        transition: none;
        animation: none;
    }

    .pdp-meta-actions .pdp-icon-btn:hover,
    .pdp-meta-actions .pdp-icon-btn.is-active:hover {
        transform: none;
    }
}

.pdp-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 2.4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.pdp-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 22px;
    font-size: 14px;
}

.pdp-stars { color: #F5A623; letter-spacing: 1px; }
.pdp-stars.is-empty { color: #C5CDD8; }
.pdp-rating-score { font-weight: 700; }
.pdp-rating a { color: var(--pdp-brand); font-weight: 600; }
.pdp-rating a:hover { text-decoration: underline; }

.pdp-lead {
    margin: 0 0 22px;
    color: var(--pdp-mute);
    font-size: 15px;
    line-height: 1.55;
    max-width: 52ch;
}

.pdp-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.pdp-hl {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 16px;
    background: var(--pdp-soft);
    border: 1px solid transparent;
}

.pdp-hl i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--pdp-line);
    color: var(--pdp-brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pdp-hl small {
    display: block;
    font-size: 12px;
    color: var(--pdp-mute);
    margin-bottom: 2px;
}

.pdp-hl strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

/* Configurator */
.pdp-config {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pdp-config-block h3 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pdp-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdp-opt {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--pdp-line);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--pdp-ink);
    transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}

.pdp-opt.is-square {
    min-width: 48px;
    padding: 10px 14px;
    border-radius: 14px;
}

.pdp-opt:hover {
    border-color: rgba(17,133,216,.4);
}

.pdp-opt.is-active {
    border-color: var(--pdp-brand);
    color: var(--pdp-brand);
    background: var(--pdp-brand-soft);
    box-shadow: 0 0 0 3px rgba(17,133,216,.08);
}

.pdp-extras {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--pdp-line);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.pdp-extra:hover,
.pdp-extra.is-on {
    border-color: rgba(17,133,216,.35);
    background: rgba(17,133,216,.03);
}

.pdp-extra input {
    width: 18px;
    height: 18px;
    accent-color: var(--pdp-brand);
}

.pdp-extra span { flex: 1; font-size: 14px; font-weight: 600; }
.pdp-extra em {
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: var(--pdp-brand);
}

.pdp-config-empty {
    padding: 18px;
    border-radius: 16px;
    background: var(--pdp-soft);
    color: var(--pdp-mute);
    font-size: 14px;
    line-height: 1.5;
}

.pdp-brief {
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, #F3F8FD 0%, #EEF5FB 100%);
    border: 1px solid #D7E7F5;
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-line;
}

/* Buy panel — continuous white→blue surface behind offer + logistics/trust */
.pdp-buy {
    position: sticky;
    top: calc(var(--header-height, 184px) + 16px);
    width: 340px;
    padding: 0 24px 24px;
    border-radius: var(--pdp-radius-lg);
    color: #0f2740;
    background:
        linear-gradient(165deg, #ffffff 0%, #f5fbff 38%, #e8f5fc 100%);
    border: 1px solid var(--pdp-line);
    box-shadow: var(--pdp-shadow);
    overflow: hidden;
    isolation: isolate;
}

/* Transparent so aside gradient reads as one surface (no seam) */
.pdp-buy__offer {
    position: relative;
    z-index: 1;
    margin: 0 -24px 4px;
    padding: 16px 24px 18px;
    color: inherit;
    background: transparent;
    box-shadow: none;
}

.pdp-price {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Brand pulsating gradient spot — spans buy aside */
.pdp-price__glow {
    position: absolute;
    top: -8%;
    right: -18%;
    width: 82%;
    height: 58%;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 45%, rgba(58, 174, 240, 0.55) 0%, rgba(17, 133, 216, 0.32) 38%, rgba(11, 108, 181, 0.1) 62%, transparent 74%);
    filter: blur(18px);
    opacity: 0.72;
    transform-origin: 55% 45%;
    animation: pdp-price-glow 4.2s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* Secondary soft brand wash — lower aside */
.pdp-price__shine {
    position: absolute;
    left: -28%;
    bottom: -6%;
    width: 78%;
    height: 48%;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 40%, rgba(17, 133, 216, 0.22) 0%, rgba(58, 174, 240, 0.12) 45%, transparent 70%);
    filter: blur(22px);
    opacity: 0.55;
    animation: pdp-price-shine 6.4s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.pdp-buy__offer > .pdp-wholesale,
.pdp-buy__offer > .pdp-btn {
    position: relative;
    z-index: 1;
}

.pdp-price__top,
.pdp-price__row,
.pdp-price__note {
    position: relative;
    z-index: 1;
}

.pdp-price__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pdp-price__label {
    font-family: Play, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0B6CB5;
}

.pdp-price__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #0B6CB5;
    background: rgba(17, 133, 216, 0.08);
    border: 1px solid rgba(17, 133, 216, 0.18);
    backdrop-filter: blur(6px);
}

.pdp-price__row {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.pdp-price__value {
    font-family: Play, "Segoe UI", sans-serif;
    font-size: clamp(32px, 3.6vw, 40px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #0a1f33;
    text-shadow: none;
    animation: pdp-price-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pdp-price__note {
    margin: 10px 0 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #5a738c;
}

@keyframes pdp-price-glow {
    0% {
        opacity: 0.48;
        transform: translate3d(0, 0, 0) scale(0.92);
    }
    100% {
        opacity: 0.95;
        transform: translate3d(-8%, 5%, 0) scale(1.14);
    }
}

@keyframes pdp-price-shine {
    0% {
        opacity: 0.35;
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        opacity: 0.7;
        transform: translate3d(10%, -6%, 0) scale(1.1);
    }
}

@keyframes pdp-price-pop {
    0% { opacity: 0; transform: translateY(8px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .pdp-price__glow,
    .pdp-price__shine,
    .pdp-price__value {
        animation: none !important;
    }

    .pdp-price__glow {
        opacity: 0.65;
        transform: none;
    }

    .pdp-price__shine {
        opacity: 0.4;
        transform: none;
    }
}

.pdp-wholesale {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--pdp-mute);
}

.pdp-price-match {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0;
    margin: 8px -24px 4px;
    border-radius: 0;
    overflow: hidden;
    background: #121821;
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 24, 33, 0.18);
}

.pdp-price-match__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 14px 6px;
    border-radius: 0;
    background: linear-gradient(180deg, #1a95e8 0%, #0e74be 100%);
    border-right: 1px dashed rgba(255, 255, 255, 0.28);
}

.pdp-price-match__pct {
    font-family: Play, "Segoe UI", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pdp-price-match__rail-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.pdp-price-match__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 14px 12px;
    min-width: 0;
}

.pdp-price-match__title {
    margin: 0;
    font-family: Play, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}

.pdp-price-match__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
}

.pdp-price-match__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    color: #7ec8f5;
    font-family: Play, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color .15s ease, gap .15s ease;
}

.pdp-price-match__cta span {
    transition: transform .15s ease;
}

.pdp-price-match__cta:hover {
    color: #fff;
}

.pdp-price-match__cta:hover span {
    transform: translateX(3px);
}

.pdp-price-match__cta:focus-visible {
    outline: 2px solid #7ec8f5;
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .pdp-price-match__cta,
    .pdp-price-match__cta span {
        transition: none !important;
    }
}

.pdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.pdp-btn-primary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #1a95e8 0%, #1185d8 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(17, 133, 216, 0.28);
    margin-bottom: 10px;
    animation: pdp-cart-pulse 2.8s ease-in-out infinite;
}

.pdp-btn-primary > * {
    position: relative;
    z-index: 1;
}

.pdp-btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: pdp-cart-shimmer 3.6s ease-in-out infinite;
}

.pdp-btn-primary:hover {
    background: linear-gradient(180deg, #1ea0f5 0%, #0e74be 100%);
    transform: translateY(-1px);
    animation-play-state: paused;
}

.pdp-btn-primary:hover::after {
    animation-play-state: paused;
}

.pdp-btn-primary.is-loading {
    opacity: .75;
    pointer-events: none;
    animation: none;
}

.pdp-btn-primary.is-loading::after {
    animation: none;
    content: none;
}

@keyframes pdp-cart-shimmer {
    0%, 22% { background-position: 120% 0; }
    55%, 100% { background-position: -120% 0; }
}

@keyframes pdp-cart-pulse {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(17, 133, 216, 0.26);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 14px 30px rgba(17, 133, 216, 0.42);
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdp-btn-primary,
    .pdp-btn-primary::after {
        animation: none !important;
    }
}

.pdp-btn-secondary {
    background: #EAF4FC;
    color: var(--pdp-brand);
    margin-bottom: 10px;
}

.pdp-btn-secondary:hover { background: #DCECF9; }

.pdp-btn-ghost {
    background: #fff;
    color: var(--pdp-ink);
    border: 1px solid var(--pdp-line);
    margin-bottom: 8px;
    min-height: 48px;
    font-size: 14px;
}

.pdp-btn-ghost:hover {
    border-color: rgba(17,133,216,.4);
    color: var(--pdp-brand);
    background: rgba(17,133,216,.03);
}

.pdp-logistics {
    position: relative;
    z-index: 1;
    margin: 18px 0 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(17, 133, 216, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-log-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: start;
}

.pdp-log-item i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--pdp-soft);
    color: var(--pdp-brand);
    display: grid;
    place-items: center;
}

.pdp-log-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.pdp-log-item span {
    font-size: 12px;
    color: var(--pdp-mute);
    line-height: 1.4;
}

.pdp-trust-mini {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(17, 133, 216, 0.12);
}

.pdp-trust-mini__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px 11px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f4f8fc 0%, #eef4fa 100%);
    border: 1px solid rgba(17, 133, 216, 0.1);
    text-align: center;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.pdp-trust-mini__item:hover {
    border-color: rgba(17, 133, 216, 0.28);
    background: linear-gradient(180deg, #eef6fd 0%, #e6f1fa 100%);
    transform: translateY(-1px);
}

.pdp-trust-mini__ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(155deg, #1a95e8 0%, #0e74be 100%);
    box-shadow: 0 6px 14px rgba(17, 133, 216, 0.28);
    font-size: 13px;
}

.pdp-trust-mini__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pdp-trust-mini__copy strong {
    font-family: Play, "Segoe UI", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--pdp-ink);
}

.pdp-trust-mini__copy em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--pdp-mute);
    text-transform: lowercase;
}

@media (prefers-reduced-motion: reduce) {
    .pdp-trust-mini__item {
        transition: none !important;
    }
}

.pdp-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 12px;
    background: #2C2D2E;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.pdp-toast i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4BB34B;
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pdp-toast-enter {
    transition: opacity .22s ease, transform .22s ease;
}
.pdp-toast-enter-start {
    opacity: 0;
    transform: translateY(12px);
}
.pdp-toast-enter-end {
    opacity: 1;
    transform: translateY(0);
}
.pdp-toast-leave {
    transition: opacity .18s ease, transform .18s ease;
}
.pdp-toast-leave-start {
    opacity: 1;
    transform: translateY(0);
}
.pdp-toast-leave-end {
    opacity: 0;
    transform: translateY(8px);
}

/* Trust strip */
.pdp-trust-strip {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 22px 24px;
    border-radius: var(--pdp-radius-lg);
    border: 1px solid var(--pdp-line);
    background: linear-gradient(180deg, #fff 0%, var(--pdp-soft) 100%);
}

.pdp-trust-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pdp-trust-item i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--pdp-line);
    color: var(--pdp-brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pdp-trust-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.pdp-trust-item span {
    font-size: 12px;
    color: var(--pdp-mute);
    line-height: 1.4;
}

/* Related products reuse catalog cards — need .cat-page CSS vars outside .cat-page */
.pdp-related {
    --cat-primary: #1185D8;
    --cat-primary-deep: #0E74BE;
    --cat-bg: #F8FAFC;
    --cat-text: #151A22;
    --cat-mute: #6B7280;
    --cat-border: #E7EDF4;
    --cat-white: #FFFFFF;
    --cat-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    --cat-shadow-hover: 0 22px 50px rgba(17, 133, 216, 0.12);
    --cat-radius: 22px;
    --cat-gap: 18px;
    color: var(--cat-text);
}

.pdp-related__all {
    color: var(--cat-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.pdp-related__all:hover {
    color: var(--cat-primary-deep);
}

.pdp-related-grid {
    margin-top: 8px;
}

.pdp .cat-grid.pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--cat-gap);
}

.pdp-related .cat-card {
    background: var(--cat-white);
    color: var(--cat-text);
    min-height: 520px;
}

.pdp-related .cat-card__media {
    background: linear-gradient(180deg, #F3F6FA 0%, #EEF2F7 100%);
}

.pdp-related .cat-card__title {
    color: var(--cat-text);
}

.pdp-related .cat-card__meta,
.pdp-related .cat-card__specs {
    color: var(--cat-mute);
}

.pdp-related .cat-card__price {
    color: var(--cat-text);
}

.pdp-related .cat-card__cart {
    background: var(--cat-primary) !important;
    color: #fff !important;
    border: 0 !important;
}

.pdp-related .cat-card:hover .cat-card__cart {
    background: var(--cat-primary-deep) !important;
}

.pdp-related .cat-card__cart:disabled {
    opacity: 0.55;
}

.pdp-related .cat-icon-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--cat-border);
    color: var(--cat-mute);
}

.pdp-related .cat-icon-btn.is-on {
    color: var(--cat-primary);
    border-color: rgba(17, 133, 216, 0.35);
    background: rgba(17, 133, 216, 0.08);
}

@media (max-width: 1200px) {
    .pdp .cat-grid.pdp-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pdp .cat-grid.pdp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .pdp .cat-grid.pdp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pdp-tabs {
    margin-top: 28px;
}

.pdp-tablist {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid var(--pdp-line);
    padding-bottom: 0;
    margin-bottom: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pdp-tablist::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.pdp-tab {
    flex: 0 0 auto;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pdp-mute);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.pdp-tab.is-active {
    color: var(--pdp-brand);
    border-bottom-color: var(--pdp-brand);
}

.pdp-tabpanel {
    min-height: 120px;
}

.pdp-prose {
    max-width: none;
    width: 100%;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
}

.pdp-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.pdp-specs__row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 12px;
    align-items: baseline;
    margin: 0;
    padding: 13px 14px;
    border-bottom: 1px solid var(--pdp-line);
}

.pdp-specs__row:nth-child(-n+2) {
    border-top: 1px solid var(--pdp-line);
}

.pdp-specs dt {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--pdp-mute);
    line-height: 1.4;
}

.pdp-specs dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--pdp-ink);
    line-height: 1.4;
    text-align: right;
    word-break: break-word;
}

@media (max-width: 900px) {
    .pdp-specs {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pdp-specs__row:nth-child(-n+2) {
        border-top: none;
    }

    .pdp-specs__row:first-child {
        border-top: 1px solid var(--pdp-line);
    }
}

.pdp-review {
    padding: 18px 0;
    border-bottom: 1px solid var(--pdp-line);
}

.pdp-review strong { display: block; margin-bottom: 4px; }
.pdp-review .company { color: var(--pdp-mute); font-size: 13px; margin-bottom: 8px; }
.pdp-review p { margin: 0; color: #374151; font-size: 14px; line-height: 1.55; }

.pdp-empty {
    color: var(--pdp-mute);
    font-size: 14px;
    padding: 12px 0;
}

/* Feedback modals */
.pdp-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 20px;
}

.pdp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 31, 0.55);
    backdrop-filter: blur(4px);
}

.pdp-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 28px 24px 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
}

.pdp-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.pdp-modal__dialog h3 {
    margin: 0 28px 8px 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.pdp-modal__hint {
    margin: 0 0 18px;
    color: var(--pdp-mute);
    font-size: 14px;
}

.pdp-modal__form {
    display: grid;
    gap: 12px;
}

.pdp-modal__form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.pdp-modal__form input,
.pdp-modal__form select,
.pdp-modal__form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: #111827;
    background: #fff;
}

.pdp-modal__form input:focus,
.pdp-modal__form select:focus,
.pdp-modal__form textarea:focus {
    outline: none;
    border-color: rgba(17, 133, 216, 0.55);
    box-shadow: 0 0 0 3px rgba(17, 133, 216, 0.12);
}

.pdp-modal__msg {
    margin: 0;
    font-size: 13px;
}

.pdp-modal__msg.is-ok { color: #059669; }
.pdp-modal__msg.is-err { color: #dc2626; }

/* Carousels */
.pdp-section {
    margin-top: 48px;
}

.pdp-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.pdp-section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.pdp-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pdp-card {
    border: 1px solid var(--pdp-line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.pdp-card:hover {
    border-color: rgba(17,133,216,.3);
    box-shadow: var(--pdp-shadow-sm);
    transform: translateY(-2px);
}

.pdp-card-media {
    position: relative;
    aspect-ratio: 1;
    background: var(--pdp-soft);
    overflow: hidden;
}

.pdp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pdp-card-body { padding: 14px 16px 18px; }
.pdp-card-body .sku {
    font-size: 12px;
    color: var(--pdp-mute);
    margin-bottom: 4px;
}
.pdp-card-body h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.7em;
}
.pdp-card-body .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--pdp-ink);
}

@media (max-width: 1200px) {
    .pdp-layout { grid-template-columns: 1fr; }
    .pdp-gallery { position: static; }
    .pdp-right { grid-template-columns: 1fr 300px; }
    .pdp-buy { width: 300px; }
    .pdp-trust-strip { grid-template-columns: repeat(2, 1fr); }
    .pdp-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .pdp-gallery { grid-template-columns: 1fr; }
    .pdp-stage { order: -1; min-height: 360px; }
    .pdp-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .pdp-stage-img { min-height: 360px; }
    .pdp-right { grid-template-columns: 1fr; gap: 12px; }
    /* Flat white buy panel — reset sticky `top` so relative doesn't shift the box down */
    .pdp-buy {
        width: 100%;
        position: relative;
        top: auto;
        background: #fff;
        overflow: hidden;
        contain: paint;
    }
    .pdp-price__glow,
    .pdp-price__shine {
        display: none !important;
    }
    .pdp-brief {
        margin-bottom: 0;
    }
    .pdp-trust-strip {
        position: relative;
        z-index: 1;
        margin-top: 20px;
        background: #fff;
    }
    .pdp-highlights { grid-template-columns: 1fr; }
    .pdp-media-row { grid-template-columns: repeat(2, 1fr); }
    .pdp-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pdp-trust-strip,
    .pdp-cards,
    .pdp-media-row { grid-template-columns: 1fr; }
    .pdp-title { font-size: 26px; }
}

/* Mobile sticky buy bar — hidden on desktop */
.pdp-sticky-bar {
    display: none;
}

@media (max-width: 900px) {
    .pdp-sticky-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--pdp-line);
        box-shadow: 0 -10px 32px rgba(21, 26, 34, 0.1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .pdp-sticky-bar__inner {
        display: flex;
        align-items: center;
        gap: 12px;
        width: min(1480px, 100%);
        margin: 0 auto;
    }

    .pdp-qty {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        border: 1px solid var(--pdp-line);
        border-radius: 14px;
        overflow: hidden;
        background: var(--pdp-soft);
    }

    .pdp-qty__btn,
    .pdp-qty__input {
        height: 48px;
        border: 0;
        background: transparent;
        font: inherit;
        color: var(--pdp-ink);
    }

    .pdp-qty__btn {
        width: 44px;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        color: var(--pdp-mute);
        transition: color .15s ease, background .15s ease;
    }

    .pdp-qty__btn:hover:not(:disabled) {
        color: var(--pdp-brand);
        background: rgba(17, 133, 216, 0.06);
    }

    .pdp-qty__btn:disabled {
        opacity: 0.35;
        cursor: not-allowed;
    }

    .pdp-qty__input {
        width: 44px;
        padding: 0;
        text-align: center;
        font-weight: 700;
        font-size: 15px;
        -moz-appearance: textfield;
    }

    .pdp-qty__input::-webkit-outer-spin-button,
    .pdp-qty__input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .pdp-qty__input:focus {
        outline: none;
        color: var(--pdp-brand);
    }

    .pdp-sticky-bar__cart {
        flex: 1 1 auto;
        margin-bottom: 0;
        min-height: 48px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(17, 133, 216, 0.28);
    }

    .pdp {
        padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    }

    body:has(.pdp-sticky-bar) .sk-float {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
}
