:root {
    --pd-red: #ef4056;
    --pd-red-dark: #d92f45;
    --pd-cyan: #19bfd3;
    --pd-cyan-soft: #e8f8fb;
    --pd-ink: #0c0c0c;
    --pd-text: #3f4064;
    --pd-muted: #81858b;
    --pd-muted-2: #a1a3a8;
    --pd-border: #e0e0e2;
    --pd-border-soft: #f0f0f1;
    --pd-surface: #f7f7f8;
    --pd-success: #00a049;
    --pd-warning: #f9a825;
    --pd-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 32px rgba(0,0,0,.045);
}

.pd-page {
    direction: rtl;
    color: var(--pd-text);
    background: #fff;
    overflow: clip;
}

.pd-container {
    width: min(100% - 32px, 1676px);
    margin-inline: auto;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 42px;
    padding-top: 8px;
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-breadcrumb__separator {
    color: #c0c2c5;
    transform: translateY(-1px);
}

.pd-breadcrumb a,
.pd-breadcrumb span {
    color: inherit;
    text-decoration: none;
}

.pd-campaign {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 50px;
    margin: 8px 0 18px;
    padding: 10px 18px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(90deg, #fff0f3 0%, #fff7f8 48%, #fff0f3 100%);
    color: var(--pd-red);
}

.pd-campaign::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 88% 50%, rgba(239,64,86,.1), transparent 32%);
}

.pd-campaign__title,
.pd-campaign__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-campaign__title {
    font-size: 15px;
    font-weight: 900;
}

.pd-campaign__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--pd-red);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.pd-campaign__meta {
    color: #8d2736;
    font-size: 12px;
    font-weight: 700;
}

.pd-campaign__meter {
    width: 180px;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #ffd9df;
}

.pd-campaign__meter > span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: var(--pd-red);
}

.pd-hero {
    display: grid;
    grid-template-columns: minmax(390px, .92fr) minmax(440px, 1.18fr) 344px;
    gap: 24px;
    align-items: start;
    padding-bottom: 22px;
}

.pd-gallery {
    position: relative;
    min-width: 0;
}

.pd-gallery__inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
}

.pd-gallery__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
}

.pd-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #424750;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.pd-icon-btn:hover {
    background: #f2f2f2;
    color: #111;
}

.pd-icon-btn:active {
    transform: scale(.94);
}

.pd-icon-btn.is-active {
    color: var(--pd-red);
    background: #fff0f3;
}

.pd-icon-btn svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
}

.pd-gallery__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
    padding: 24px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
}

.pd-gallery__stage::after {
    content: "";
    position: absolute;
    inset: auto 11% 5% 11%;
    height: 20px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .07);
    filter: blur(14px);
    pointer-events: none;
}

.pd-gallery__main-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 410px;
    object-fit: contain;
    transition: opacity .16s ease, transform .28s ease;
    cursor: zoom-in;
}

.pd-gallery__main-image.is-changing {
    opacity: .25;
    transform: scale(.98);
}

.pd-gallery__zoom-hint {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--pd-border-soft);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    color: var(--pd-muted);
    font-size: 11px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

.pd-gallery__zoom-hint svg {
    width: 15px;
    height: 15px;
}

.pd-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-inline: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pd-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--pd-border);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.pd-thumb:hover {
    border-color: #aeb1b5;
    transform: translateY(-1px);
}

.pd-thumb.is-active {
    border: 2px solid var(--pd-cyan);
    box-shadow: 0 0 0 2px rgba(25,191,211,.08);
}

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

.pd-thumb--more {
    font-size: 25px;
    font-weight: 900;
    color: var(--pd-muted);
}

.pd-info {
    min-width: 0;
    padding-top: 8px;
}

.pd-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--pd-muted-2);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1px;
}

.pd-eyebrow__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c7c9cc;
}

.pd-title {
    margin: 0;
    color: var(--pd-ink);
    font-size: clamp(20px, 1.45vw, 24px);
    font-weight: 900;
    line-height: 1.8;
}

.pd-subtitle {
    margin: 6px 0 0;
    color: var(--pd-muted-2);
    font-size: 12px;
    line-height: 2;
}

.pd-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pd-border-soft);
    font-size: 12px;
}

.pd-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pd-text);
    font-weight: 800;
}

.pd-rating svg {
    width: 16px;
    height: 16px;
    fill: var(--pd-warning);
    color: var(--pd-warning);
}

.pd-link {
    color: var(--pd-cyan);
    text-decoration: none;
    font-weight: 700;
}

.pd-link:hover {
    text-decoration: underline;
}

.pd-badge-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f7f7f8;
    color: var(--pd-muted);
    font-size: 11px;
}

.pd-color {
    margin-top: 24px;
}

.pd-section-label {
    margin: 0 0 12px;
    color: var(--pd-ink);
    font-size: 15px;
    font-weight: 900;
}

.pd-color__chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-color-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 5px 8px 5px 12px;
    border: 1px solid var(--pd-border);
    border-radius: 999px;
    background: #fff;
    color: #424750;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: .16s ease;
}

.pd-color-chip:hover,
.pd-color-chip.is-selected {
    border-color: var(--pd-cyan);
    box-shadow: 0 0 0 2px rgba(25,191,211,.08);
}

.pd-color-chip__swatch {
    width: 27px;
    height: 27px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
}

.pd-key-specs {
    margin-top: 28px;
}

.pd-key-specs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pd-spec-card {
    min-height: 83px;
    padding: 13px 14px;
    border-radius: 11px;
    background: #f0f0f1;
}

.pd-spec-card__label {
    margin-bottom: 7px;
    color: var(--pd-muted);
    font-size: 11px;
}

.pd-spec-card__value {
    color: var(--pd-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.pd-more-specs {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pd-cyan);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.pd-more-specs svg {
    width: 16px;
    height: 16px;
}

.pd-return-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 13px 14px;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    color: #62666d;
    font-size: 12px;
    line-height: 2;
}

.pd-return-note__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #f0f0f1;
    color: var(--pd-muted);
    font-size: 12px;
    font-weight: 900;
}

.pd-seller-wrap {
    position: sticky;
    top: 16px;
}

.pd-seller {
    overflow: hidden;
    border: 1px solid var(--pd-border);
    border-radius: 18px;
    background: #f7f7f8;
    box-shadow: var(--pd-shadow);
}

.pd-seller__head {
    padding: 17px 16px 11px;
}

.pd-seller__title {
    margin: 0 0 13px;
    color: var(--pd-ink);
    font-size: 16px;
    font-weight: 900;
}

.pd-seller__identity {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.pd-seller__avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4056, #d42641);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(239,64,86,.18);
}

.pd-seller__name {
    color: #23254e;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.7;
}

.pd-seller__score {
    margin-top: 2px;
    color: var(--pd-muted);
    font-size: 11px;
    line-height: 1.8;
}

.pd-seller__score strong {
    color: var(--pd-success);
}

.pd-seller__rows {
    padding-inline: 16px;
}

.pd-seller-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    border-top: 1px solid var(--pd-border-soft);
    color: #424750;
    font-size: 12px;
}

.pd-seller-row svg {
    width: 21px;
    height: 21px;
    color: var(--pd-muted);
    stroke: currentColor;
}

.pd-seller-row__secondary {
    display: block;
    margin-top: 3px;
    color: var(--pd-muted);
    font-size: 10px;
}

.pd-seller-row__chevron {
    color: var(--pd-muted);
    font-size: 20px;
}

.pd-price {
    padding: 18px 16px 16px;
    border-top: 1px solid var(--pd-border-soft);
    background: #fff;
}

.pd-price__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 24px;
}

.pd-price__club {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #b12b43;
    font-size: 10px;
    font-weight: 800;
}

.pd-price__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--pd-red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.pd-price__old {
    min-height: 21px;
    margin-top: 3px;
    color: var(--pd-muted-2);
    font-size: 11px;
    text-align: left;
    text-decoration: line-through;
}

.pd-price__current {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    color: #23254e;
    text-align: left;
}

.pd-price__amount {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.4px;
}

.pd-price__currency {
    font-size: 11px;
    font-weight: 700;
}

.pd-buy-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 11px;
    background: var(--pd-red);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(239,64,86,.16);
    transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.pd-buy-btn:hover {
    background: var(--pd-red-dark);
    box-shadow: 0 9px 22px rgba(239,64,86,.22);
}

.pd-buy-btn:active {
    transform: translateY(1px);
}

.pd-buy-btn--disabled {
    background: #b8b9bd;
    cursor: not-allowed;
    box-shadow: none;
}

.pd-buy-btn--disabled:hover {
    background: #b8b9bd;
}

.pd-price__fineprint {
    margin-top: 9px;
    color: var(--pd-muted);
    font-size: 10px;
    line-height: 1.9;
    text-align: center;
}

.pd-price__fineprint strong {
    color: var(--pd-success);
}

.pd-services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 6px 0 30px;
    border-top: 1px solid var(--pd-border-soft);
    border-bottom: 1px solid var(--pd-border-soft);
}

.pd-service {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 88px;
    padding: 14px 10px;
    color: #62666d;
    text-align: center;
    font-size: 11px;
}

.pd-service svg {
    width: 31px;
    height: 31px;
    color: #7c7f85;
    stroke: currentColor;
}

.pd-service strong {
    display: block;
    margin-bottom: 3px;
    color: #424750;
    font-size: 11px;
    font-weight: 800;
}

.pd-section-card {
    border: 1px solid var(--pd-border);
    border-radius: 18px;
    background: #fff;
}

.pd-related {
    margin-bottom: 30px;
    overflow: hidden;
}

.pd-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 10px;
}

.pd-block-head__title {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    color: var(--pd-ink);
    font-size: 17px;
    font-weight: 900;
}

.pd-block-head__title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 68px;
    height: 3px;
    border-radius: 999px;
    background: var(--pd-red);
}

.pd-carousel-nav {
    display: flex;
    gap: 7px;
}

.pd-carousel-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pd-border);
    border-radius: 50%;
    background: #fff;
    color: #424750;
    cursor: pointer;
}

.pd-carousel-btn:disabled {
    opacity: .35;
    cursor: default;
}

.pd-carousel-btn svg {
    width: 18px;
    height: 18px;
}

.pd-related__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    border-top: 1px solid var(--pd-border-soft);
}

.pd-related__track::-webkit-scrollbar {
    display: none;
}

.pd-related-card {
    min-width: 0;
    min-height: 336px;
    padding: 18px 14px 16px;
    border-left: 1px solid var(--pd-border-soft);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s ease, transform .18s ease;
}

.pd-related-card:hover {
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
    transform: translateY(-2px);
}

.pd-related-card__img {
    width: 100%;
    height: 165px;
    object-fit: contain;
}

.pd-related-card__title {
    height: 49px;
    margin: 12px 0 9px;
    overflow: hidden;
    color: #424750;
    font-size: 12px;
    font-weight: 700;
    line-height: 2;
}

.pd-related-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 24px;
}

.pd-related-card__discount {
    min-width: 35px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--pd-red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.pd-related-card__price {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    color: #23254e;
    font-size: 15px;
    font-weight: 900;
}

.pd-related-card__price small {
    font-size: 9px;
    font-weight: 500;
}

.pd-related-card__old {
    min-height: 18px;
    margin-top: 5px;
    padding-left: 25px;
    color: var(--pd-muted-2);
    font-size: 10px;
    text-align: left;
    text-decoration: line-through;
}

.pd-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
    margin-bottom: 34px;
}

.pd-content-main {
    min-width: 0;
}

.pd-sticky-tabs {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 58px;
    padding: 0 4px;
    overflow-x: auto;
    border-top: 1px solid var(--pd-border-soft);
    border-bottom: 1px solid var(--pd-border-soft);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

.pd-sticky-tabs::-webkit-scrollbar {
    display: none;
}

.pd-tab-link {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    color: #62666d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.pd-tab-link::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
}

.pd-tab-link.is-active {
    color: var(--pd-ink);
    font-weight: 900;
}

.pd-tab-link.is-active::after {
    background: var(--pd-red);
}

.pd-detail-section {
    padding: 30px 4px 8px;
    scroll-margin-top: 72px;
}

.pd-detail-section + .pd-detail-section {
    margin-top: 22px;
    border-top: 1px solid var(--pd-border-soft);
}

.pd-detail-section__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pd-detail-section__head h2 {
    position: relative;
    margin: 0;
    padding-bottom: 9px;
    color: var(--pd-ink);
    font-size: 19px;
    font-weight: 900;
}

.pd-detail-section__head h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    border-radius: 999px;
    background: var(--pd-red);
}

.pd-description {
    position: relative;
    overflow: hidden;
    color: #424750;
    font-size: 13px;
    line-height: 2.35;
    white-space: pre-line;
}

.pd-description.is-collapsed {
    max-height: 190px;
}

.pd-description.is-collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.pd-description-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pd-cyan);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.pd-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.pd-specs-table th,
.pd-specs-table td {
    padding: 14px 16px;
    text-align: right;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.9;
}

.pd-specs-table th {
    width: 230px;
    border-radius: 9px;
    background: #f0f0f1;
    color: var(--pd-muted);
    font-weight: 600;
}

.pd-specs-table td {
    border-bottom: 1px solid var(--pd-border-soft);
    color: #424750;
    font-weight: 700;
}

.pd-rating-panel {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--pd-border-soft);
    border-radius: 16px;
    background: #fff;
}

.pd-rating-panel__score {
    text-align: center;
}

.pd-rating-panel__number {
    color: var(--pd-ink);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.pd-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 10px;
}

.pd-stars svg {
    width: 18px;
    height: 18px;
    color: var(--pd-warning);
    fill: currentColor;
}

.pd-rating-panel__caption {
    margin-top: 9px;
    color: var(--pd-muted);
    font-size: 11px;
}

.pd-rating-bars {
    display: grid;
    gap: 9px;
}

.pd-rating-bar {
    display: grid;
    grid-template-columns: 55px 1fr 36px;
    align-items: center;
    gap: 9px;
    color: var(--pd-muted);
    font-size: 11px;
}

.pd-rating-bar__track {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #f0f0f1;
}

.pd-rating-bar__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--pd-cyan);
}

.pd-review-callout,
.pd-question-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--pd-border);
    border-radius: 14px;
    background: #fff;
}

.pd-review-callout__title,
.pd-question-box__title {
    margin: 0 0 5px;
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 900;
}

.pd-review-callout__text,
.pd-question-box__text {
    margin: 0;
    color: var(--pd-muted);
    font-size: 11px;
    line-height: 1.9;
}

.pd-outline-btn {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid var(--pd-red);
    border-radius: 9px;
    background: #fff;
    color: var(--pd-red);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.pd-outline-btn:hover {
    background: #fff6f7;
}

.pd-side-summary {
    position: sticky;
    top: 72px;
    padding: 14px;
    border: 1px solid var(--pd-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0,0,0,.035);
}

.pd-side-summary__product {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--pd-border-soft);
}

.pd-side-summary__product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.pd-side-summary__title {
    max-height: 49px;
    overflow: hidden;
    color: #424750;
    font-size: 11px;
    font-weight: 800;
    line-height: 2.1;
}

.pd-side-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 45px;
    border-bottom: 1px solid var(--pd-border-soft);
    color: var(--pd-muted);
    font-size: 11px;
}

.pd-side-summary__row strong {
    color: #424750;
    font-weight: 800;
}

.pd-side-summary__price {
    padding: 14px 0 2px;
    text-align: left;
}

.pd-side-summary__price strong {
    color: #23254e;
    font-size: 18px;
    font-weight: 900;
}

.pd-side-summary__price small {
    color: #62666d;
    font-size: 10px;
}

.pd-trust-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 6px 0 42px;
}

.pd-trust-item {
    min-height: 116px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--pd-border-soft);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.pd-trust-item__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--pd-cyan-soft);
    color: #1594a5;
}

.pd-trust-item__icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
}

.pd-trust-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--pd-ink);
    font-size: 13px;
    font-weight: 900;
}

.pd-trust-item p {
    margin: 0;
    color: var(--pd-muted);
    font-size: 11px;
    line-height: 1.9;
}

.pd-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 15, 18, .68);
    backdrop-filter: blur(8px);
}

.pd-modal.is-open {
    display: flex;
}

.pd-modal__panel {
    position: relative;
    width: min(1040px, 96vw);
    height: min(780px, 91vh);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.pd-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--pd-border-soft);
}

.pd-modal__title {
    margin: 0;
    overflow: hidden;
    color: var(--pd-ink);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-modal__close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f5f5f6;
    color: #424750;
    cursor: pointer;
    font-size: 24px;
}

.pd-modal__body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 20px;
}

.pd-modal__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-toast {
    position: fixed;
    z-index: 1100;
    right: 50%;
    bottom: 28px;
    max-width: min(92vw, 420px);
    padding: 11px 15px;
    border-radius: 10px;
    background: #23254e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translate(50%, 12px);
    transition: .2s ease;
}

.pd-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(50%, 0);
}

.pd-mobile-buy {
    position: fixed;
    z-index: 70;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pd-border);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 30px rgba(0,0,0,.08);
}

.pd-mobile-buy__price {
    text-align: left;
}

.pd-mobile-buy__price strong {
    display: block;
    color: #23254e;
    font-size: 16px;
    font-weight: 900;
}

.pd-mobile-buy__price span {
    color: var(--pd-muted);
    font-size: 10px;
}

.pd-empty-price {
    color: var(--pd-muted);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1280px) {
    .pd-hero {
        grid-template-columns: minmax(340px, .9fr) minmax(360px, 1.1fr) 315px;
        gap: 18px;
    }

    .pd-gallery__stage {
        min-height: 430px;
    }

    .pd-gallery__main-image {
        height: 365px;
    }

    .pd-key-specs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-content-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 18px;
    }
}

@media (max-width: 1050px) {
    .pd-hero {
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    }

    .pd-seller-wrap {
        grid-column: 1 / -1;
        position: static;
    }

    .pd-seller {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .pd-seller__head {
        padding-bottom: 16px;
    }

    .pd-seller__rows {
        border-right: 1px solid var(--pd-border-soft);
    }

    .pd-price {
        grid-column: 1 / -1;
    }

    .pd-content-layout {
        grid-template-columns: 1fr;
    }

    .pd-side-summary {
        display: none;
    }

    .pd-services {
        grid-template-columns: repeat(3, 1fr);
    }

    .pd-service:nth-child(n+4) {
        border-top: 1px solid var(--pd-border-soft);
    }
}

@media (max-width: 760px) {
    .pd-container {
        width: min(100% - 24px, 1676px);
    }

    .pd-breadcrumb {
        white-space: nowrap;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pd-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .pd-campaign {
        padding: 9px 12px;
        margin-bottom: 10px;
    }

    .pd-campaign__meta {
        display: none;
    }

    .pd-hero {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pd-gallery,
    .pd-info,
    .pd-seller-wrap {
        width: 100%;
    }

    .pd-gallery__inner {
        grid-template-columns: 1fr;
    }

    .pd-gallery__actions {
        position: absolute;
        z-index: 10;
        top: 7px;
        right: 7px;
        flex-direction: row;
        width: calc(100% - 14px);
        justify-content: flex-start;
        padding: 0;
        pointer-events: none;
    }

    .pd-gallery__actions .pd-icon-btn {
        pointer-events: auto;
        background: rgba(255,255,255,.88);
        backdrop-filter: blur(6px);
    }

    .pd-gallery__actions .pd-icon-btn:nth-child(n+4) {
        display: none;
    }

    .pd-gallery__stage {
        min-height: 360px;
        padding: 12px;
    }

    .pd-gallery__main-image {
        height: 330px;
    }

    .pd-gallery__zoom-hint {
        display: none;
    }

    .pd-thumbs {
        margin-top: 4px;
    }

    .pd-thumb {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .pd-info {
        padding-top: 12px;
    }

    .pd-title {
        font-size: 18px;
        line-height: 1.9;
    }

    .pd-rating-row {
        gap: 8px 10px;
    }

    .pd-key-specs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-spec-card {
        min-height: 76px;
    }

    .pd-seller {
        display: block;
        border-radius: 14px;
        box-shadow: none;
    }

    .pd-seller__rows {
        border-right: 0;
    }

    .pd-price {
        padding-bottom: 13px;
    }

    .pd-price .pd-buy-btn {
        display: none;
    }

    .pd-services {
        grid-template-columns: repeat(2, 1fr);
        margin: 18px 0 24px;
    }

    .pd-service {
        min-height: 82px;
        border-top: 1px solid var(--pd-border-soft);
    }

    .pd-service:nth-child(1),
    .pd-service:nth-child(2) {
        border-top: 0;
    }

    .pd-service:last-child {
        grid-column: 1 / -1;
    }

    .pd-section-card {
        border-radius: 14px;
    }

    .pd-related__track {
        grid-auto-columns: 175px;
    }

    .pd-related-card {
        min-height: 315px;
        padding: 14px 12px;
    }

    .pd-related-card__img {
        height: 150px;
    }

    .pd-sticky-tabs {
        margin-inline: -12px;
        padding-inline: 12px;
        gap: 22px;
        top: 0;
    }

    .pd-detail-section {
        padding-top: 24px;
    }

    .pd-detail-section__head h2 {
        font-size: 17px;
    }

    .pd-specs-table,
    .pd-specs-table tbody,
    .pd-specs-table tr,
    .pd-specs-table th,
    .pd-specs-table td {
        display: block;
        width: 100%;
    }

    .pd-specs-table {
        border-spacing: 0;
    }

    .pd-specs-table tr {
        margin-bottom: 12px;
    }

    .pd-specs-table th {
        padding: 10px 12px;
        border-radius: 8px 8px 0 0;
    }

    .pd-specs-table td {
        padding: 10px 12px;
        border: 1px solid var(--pd-border-soft);
        border-top: 0;
        border-radius: 0 0 8px 8px;
    }

    .pd-rating-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }

    .pd-review-callout,
    .pd-question-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .pd-outline-btn {
        width: 100%;
    }

    .pd-trust-panel {
        grid-template-columns: 1fr;
        margin-bottom: 90px;
    }

    .pd-trust-item {
        min-height: 98px;
    }

    .pd-mobile-buy {
        display: grid;
    }

    .pd-toast {
        bottom: 88px;
    }

    .pd-modal {
        padding: 10px;
    }

    .pd-modal__panel {
        width: 100%;
        height: 92vh;
    }
}

@media (max-width: 420px) {
    .pd-container {
        width: min(100% - 20px, 1676px);
    }

    .pd-gallery__stage {
        min-height: 330px;
    }

    .pd-gallery__main-image {
        height: 300px;
    }

    .pd-key-specs__grid {
        grid-template-columns: 1fr;
    }

    .pd-campaign__title {
        font-size: 13px;
    }

    .pd-rating-panel__number {
        font-size: 36px;
    }
}

.pd-cart-form {
    width: 100%;
    margin: 0;
}

.pd-cart-form .pd-buy-btn {
    width: 100%;
}