body.pdp-page {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    padding-bottom: 118px;
}

body.pdp-page .main-content {
    padding: 0;
}

.pdp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 300;
}

.pdp-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.pdp-topbar-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    color: #9b9b9b;
    text-decoration: none;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.pdp-topbar-back-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.pdp-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
    flex-shrink: 0;
}

.pdp-topbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}

.pdp-topbar-logo svg {
    display: block;
    height: 22px;
    width: auto;
    max-width: 92px;
}

.pdp-topbar-icon {
    color: #353543;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    line-height: 0;
}

.pdp-topbar-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #9f2089;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
}

.pdp {
    max-width: 1100px;
    margin: 0 auto;
}

.pdp-gallery-wrap {
    position: relative;
    background: #f5f5f5;
}

.pdp-gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.pdp-gallery-slider::-webkit-scrollbar {
    display: none;
}

.pdp-gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
}

.pdp-gallery-slide img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pdp-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0;
    background: #fff;
}

.pdp-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #d4d5d9;
    cursor: pointer;
}

.pdp-gallery-dot.active {
    background: #9f2089;
    width: 18px;
    border-radius: 4px;
}

.pdp-gallery-zoom {
    position: absolute;
    right: 0.75rem;
    bottom: 2.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
}

.pdp-variants {
    padding: 0.75rem 0.85rem;
    background: #fff;
    border-bottom: 8px solid #f5f5f5;
}

.pdp-variants-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #353543;
    margin-bottom: 0.5rem;
}

.pdp-variants-list {
    display: flex;
    gap: 0.5rem;
}

.pdp-variant-btn {
    width: 56px;
    height: 56px;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.pdp-variant-btn.active {
    border-color: #9f2089;
}

.pdp-variant-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.pdp-info {
    padding: 0.85rem;
    background: #fff;
}

.pdp-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #353543;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.pdp-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0.65rem 0 0.35rem;
}

.pdp-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.pdp-mrp {
    font-size: 0.85rem;
    font-weight: 500;
    color: #9b9b9b;
    text-decoration: line-through;
}

.pdp-off {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9f2089;
}

.pdp-price-info {
    color: #9b9b9b;
    font-size: 0.85rem;
}

.pdp-offer-line {
    font-size: 0.85rem;
    font-weight: 600;
    color: #038d63;
    margin: 0 0 0.65rem;
}

.pdp-rating-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.pdp-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    background: #038d63;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

.pdp-review-count {
    font-size: 0.8rem;
    color: #9b9b9b;
}

.pdp-trusted-badge {
    height: 20px;
    width: auto;
}

.pdp-section {
    padding: 0.85rem;
    background: #fff;
    border-top: 8px solid #f5f5f5;
}

.pdp-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #353543;
    margin: 0 0 0.65rem;
}

.pdp-sizes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.pdp-size-btn {
    min-width: 44px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #353543;
    border-radius: 6px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #353543;
    cursor: pointer;
}

.pdp-size-btn.active {
    border-color: #9f2089;
    color: #9f2089;
    background: #fdf5fc;
}

.pdp-size-chart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: #353543;
    padding: 0.35rem 0;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.pdp-size-chart-chevron {
    font-size: 0.7rem;
    color: #9b9b9b;
}

body.pdp-size-modal-open {
    overflow: hidden;
}

.pdp-size-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pdp-size-modal-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    padding: 0;
}

.pdp-size-modal-sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    max-height: 88vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 0.5rem 1rem 1.25rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    animation: pdpSizeSheetIn 0.25s ease;
}

@keyframes pdpSizeSheetIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.pdp-size-modal-handle {
    width: 40px;
    height: 4px;
    background: #d4d5d9;
    border-radius: 4px;
    margin: 0.35rem auto 0.75rem;
}

.pdp-size-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.pdp-size-modal-head h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #353543;
    margin: 0;
}

.pdp-size-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    color: #353543;
    cursor: pointer;
    flex-shrink: 0;
}

.pdp-size-modal-note {
    font-size: 0.78rem;
    color: #666;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.pdp-size-table-wrap {
    overflow-x: auto;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.pdp-size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.pdp-size-table th,
.pdp-size-table td {
    padding: 0.55rem 0.65rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.pdp-size-table th {
    background: #fdf5fc;
    color: #9f2089;
    font-weight: 700;
    font-size: 0.75rem;
}

.pdp-size-table tbody tr:last-child td {
    border-bottom: none;
}

.pdp-size-table td:first-child {
    font-weight: 700;
    color: #353543;
    background: #fafafa;
}

.pdp-size-measure h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #353543;
    margin: 0 0 0.5rem;
}

.pdp-size-measure ol {
    margin: 0 0 0.65rem;
    padding-left: 1.15rem;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.45;
}

.pdp-size-measure li + li {
    margin-top: 0.25rem;
}

.pdp-size-tip {
    font-size: 0.78rem;
    color: #038d63;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.pdp-seller {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem;
    border-top: 8px solid #f5f5f5;
    border-bottom: 8px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.pdp-seller-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f4fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pdp-seller-info {
    flex: 1;
    min-width: 0;
}

.pdp-seller-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.pdp-sold-by-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 500;
    color: #666;
    background: #f0f0f0;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    line-height: 1.2;
}

.pdp-seller-brand {
    font-size: 0.82rem;
    font-weight: 700;
    color: #353543;
    letter-spacing: 0.02em;
}

.pdp-seller-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pdp-seller-rating-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.1rem 0.4rem;
    border: 1px solid #038d63;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #038d63;
    background: #fff;
    line-height: 1.2;
}

.pdp-seller-trusted {
    height: 20px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.pdp-seller-chevron {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #9b9b9b;
    line-height: 1;
}

.pdp-highlights-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.pdp-copy-btn {
    border: none;
    background: none;
    color: #9f2089;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.pdp-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1rem;
}

.pdp-highlight-item .label {
    font-size: 0.72rem;
    color: #9b9b9b;
    margin-bottom: 0.15rem;
}

.pdp-highlight-item .value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #353543;
}

.pdp-reviews-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pdp-reviews-score {
    flex-shrink: 0;
    width: 100px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.pdp-reviews-score-top {
    background: #038d63;
    color: #fff;
    padding: 0.65rem 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.pdp-reviews-score-bottom {
    padding: 0.45rem;
    font-size: 0.65rem;
    color: #9b9b9b;
    line-height: 1.35;
}

.pdp-reviews-bars {
    flex: 1;
}

.pdp-review-bar-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    color: #666;
}

.pdp-review-bar-row .bar-wrap {
    flex: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.pdp-review-bar-row .bar-fill {
    height: 100%;
    border-radius: 3px;
}

.pdp-review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.pdp-review-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #e8f5ef;
    color: #038d63;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
}

.pdp-real-photos-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pdp-real-photos {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.pdp-real-photos img,
.pdp-real-photos .more {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.pdp-real-photos .more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.pdp-review-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee;
}

.pdp-review-item-head {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.pdp-review-item-badge {
    background: #038d63;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
}

.pdp-review-item-meta {
    color: #9b9b9b;
}

.pdp-review-item-body {
    display: flex;
    gap: 0.65rem;
}

.pdp-review-item-text {
    flex: 1;
    font-size: 0.85rem;
    color: #353543;
    line-height: 1.4;
}

.pdp-review-item-author {
    font-size: 0.75rem;
    color: #9b9b9b;
    margin-top: 0.35rem;
}

.pdp-review-item-img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.pdp-helpful-btn {
    margin-top: 0.5rem;
    border: none;
    background: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pdp-sticky-trust {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 64px;
    z-index: 250;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 0.72rem;
    color: #666;
}

.pdp-sticky-trust img {
    height: 20px;
    width: auto;
}

.pdp-sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.08);
}

.pdp-footer-form {
    flex: 1;
    display: flex;
    min-width: 0;
    margin: 0;
}

.pdp-btn-cart,
.pdp-btn-buy {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s ease;
}

.pdp-btn-cart:active,
.pdp-btn-buy:active {
    opacity: 0.88;
}

.pdp-btn-cart {
    background: #ffffff;
    color: #9f2089;
    border: 1.5px solid #9f2089;
}

.pdp-btn-buy {
    background: #9f2089;
    color: #ffffff;
    border: 1.5px solid #9f2089;
}

.pdp-btn-cart-icon {
    flex-shrink: 0;
}

.pdp-btn-buy-icon {
    flex-shrink: 0;
}

.pdp-hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .pdp-gallery-wrap {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .pdp-gallery-slide,
    .pdp-gallery-slide img {
        aspect-ratio: 1 / 1;
    }

    .pdp-sticky-trust,
    .pdp-sticky-footer {
        max-width: 1100px;
        left: 50%;
        transform: translateX(-50%);
    }
}
