/* ==============================================================
   Product Detail Page — Premium CSS (Reference-Image Match 2026)
   Layout: Single main image + thumbnail strip | Clean right sidebar
   ============================================================== */

/* ===== Layout: Two-Column Grid ===== */
.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== Left: Image Column ===== */
.pdp-image-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/* ===== Main Image Wrapper ===== */
.pdp-main-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #f4f4f4;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    width: 100%;
    max-width: 480px;
}

.pdp-main-image-wrap .main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* ===== Overlay buttons on image ===== */
.pdp-img-wishlist,
.pdp-img-share {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, transform 0.2s;
}

.pdp-img-wishlist:hover,
.pdp-img-share:hover {
    background: #f0f0f0;
    transform: scale(1.08);
}

.pdp-img-share {
    top: 14px;
    right: 14px;
    color: #444;
}

.pdp-img-wishlist {
    top: 62px;
    right: 14px;
    color: #444;
}

.pdp-img-wishlist.active {
    color: #e11d48;
}

/* ===== Prev/Next Nav Arrows ===== */
.pdp-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, opacity 0.2s, transform 0.2s;
    color: #222;
}

.pdp-img-prev {
    left: 14px;
}

.pdp-img-next {
    right: 14px;
}

.pdp-img-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

/* ===== Badges ===== */
.pdp-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.pdp-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
}

.pdp-badge-discount {
    background: #ef4444;
    color: #fff;
}

.pdp-badge-trending {
    background: #f97316;
    color: #fff;
}

.pdp-badge-new {
    background: #000;
    color: #fff;
}

/* ===== Carousel Pagination Dots (Aarong style) ===== */
.pdp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    background-color: #9ca3af;
}

.carousel-dot.active {
    background-color: #ef8022; /* Active orange dot */
    transform: scale(1.15);
}

/* ===== Right: Sticky Info Sidebar ===== */
.sticky-info-wrapper {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: none;
    padding-right: 4px;
}

.sticky-info-wrapper::-webkit-scrollbar {
    display: none;
}

/* ===== Brand ===== */
.pdp-brand {
    font-size: 0.82rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* ===== Product Title ===== */
.pdp-title {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin: 0 0 12px;
    letter-spacing: -0.2px;
}

/* ===== Price + Sold + Rating row ===== */
.pdp-price-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.pdp-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.current-price-display {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.current-price-display .currency {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

.current-price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
    line-height: 1;
}

.discount-badge {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

/* ===== Sold + Rating ===== */
.pdp-sold-rating-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pdp-sold-count {
    font-size: 0.8rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdp-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #92400e;
}

.pdp-rating-count {
    font-weight: 400;
    color: #a8783a;
}

/* ===== Divider ===== */
.pdp-divider {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 14px 0;
}

/* ===== Description ===== */
.pdp-desc-section {
    margin-bottom: 4px;
}

.pdp-desc-text {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pdp-desc-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.pdp-see-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    display: inline-block;
    margin-top: 4px;
}

.pdp-see-more:hover {
    color: #000;
}

/* ===== Labels ===== */
.pdp-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.pdp-label strong {
    font-weight: 700;
    color: #111;
}

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

.pdp-label-row .pdp-label {
    margin-bottom: 0;
}

.pdp-label-row .size-guide-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pdp-label-row .size-guide-link:hover {
    color: #000;
}

/* ===== Color Swatches ===== */
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 2px;
    cursor: pointer;
    background: none;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-option .color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.color-option.active {
    border-color: #111;
}

.color-option:hover:not(.active) {
    border-color: #bbb;
}

/* ===== Size Buttons ===== */
.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-option:hover:not(.disabled) {
    border-color: #333;
    color: #111;
}

.size-option.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.size-option.disabled {
    color: #ccc;
    border-color: #eee;
    background: #fafafa;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

/* ===== Quantity Selector ===== */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 44px;
}

.qty-btn {
    width: 40px;
    height: 100%;
    background: #f5f5f5;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #ebebeb;
}

.quantity-selector input[type="number"] {
    width: 56px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #ddd;
    border-right: 1.5px solid #ddd;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    background: #fff !important;
    opacity: 1 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-selector input[type="number"]::-webkit-inner-spin-button,
.quantity-selector input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Primary CTA Buttons ===== */
.pdp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pdp-btn-add-to-cart,
.pdp-btn-checkout-now {
    height: 52px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-btn-add-to-cart {
    background: #111;
    color: #fff;
    border: 2px solid #111;
}

.pdp-btn-add-to-cart:hover {
    background: #333;
    border-color: #333;
}

.pdp-btn-checkout-now {
    background: #fff;
    color: #111;
    border: 2px solid #bbb;
}

.pdp-btn-checkout-now:hover {
    border-color: #111;
    color: #111;
}

/* ===== Delivery T&C ===== */
.pdp-delivery-tc {
    margin-top: 14px;
}

.pdp-tc-link {
    font-size: 0.8rem;
    color: #777;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pdp-tc-link:hover {
    color: #333;
}

/* ===== Secondary Actions (Wishlist / Compare) ===== */
.pdp-secondary-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.pdp-btn-wishlist {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.pdp-btn-wishlist:hover {
    color: #e11d48;
}

.pdp-btn-wishlist.active {
    color: #e11d48;
}

.pdp-compare-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.pdp-compare-btn:hover {
    color: #111;
}

/* ===== Social Share ===== */
.pdp-social-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-share-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    background: #111;
    color: #fff;
}

/* ===== Stock Dots ===== */
.stock-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

.stock-dot.warning {
    background: #f59e0b;
}

.stock-dot.out {
    background: #ef4444;
}

/* ===== Size Guide Drawer ===== */
.size-guide-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
    z-index: 9990;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 40px 28px 40px;
}

.size-guide-drawer.active {
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9980;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.size-guide-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.size-guide-drawer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

#sizeGuideClose {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background 0.2s;
}

#sizeGuideClose:hover {
    background: #f5f5f5;
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.size-guide-table th,
.size-guide-table td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: center;
}

.size-guide-table th {
    background: #f9f9f9;
    font-weight: 700;
}

/* ===== Lightbox ===== */
.pdp-lightbox {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pdp-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
}

#lightboxImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease-out, opacity 0.15s ease;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
}

.lightbox-controls {
    position: fixed;
    top: 14px;
    right: 20px;
    display: flex;
    gap: 12px;
    z-index: 10002;
}

.lightbox-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.lightbox-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.lightbox-control-btn svg {
    display: block;
}

.lightbox-control-btn .pause-icon.d-none,
.lightbox-control-btn .compress-icon.d-none {
    display: none !important;
}

.lightbox-control-btn .d-none {
    display: none !important;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background-color 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

#lightboxPrev {
    left: 20px;
}

#lightboxNext {
    right: 20px;
}

#lightboxCounter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ===== Tabs ===== */
.pdp-tabs {
    margin-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.pdp-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
}

.pdp-tab-btn {
    padding: 14px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.pdp-tab-btn.active {
    color: #111;
    border-bottom-color: #111;
}

.pdp-tab-btn:hover:not(.active) {
    color: #444;
}

.pdp-tab-panel {
    display: none;
    padding: 28px 0;
}

.pdp-tab-panel.active {
    display: block;
}

/* ===== Related Products ===== */
.pdp-related-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #ebebeb;
}

.pdp-related-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ===== Responsive Tablet ===== */
@media (max-width: 1024px) {
    .pdp-layout {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .pdp-title {
        font-size: 1.3rem;
    }

    .current-price-value {
        font-size: 1.35rem;
    }
}

/* ===== Responsive Mobile ===== */
@media (max-width: 768px) {
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pdp-main-image-wrap {
        border-radius: 0;
        aspect-ratio: 1 / 1;
    }

    .sticky-info-wrapper {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 20px 0 0;
    }

    .pdp-title {
        font-size: 1.2rem;
    }

    .pdp-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .pdp-btn-add-to-cart,
    .pdp-btn-checkout-now {
        height: 48px;
        font-size: 0.85rem;
    }

    .pdp-sold-rating-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .pdp-price-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .size-guide-drawer {
        width: 100vw;
        transform: translateX(100%);
    }

    .size-guide-drawer.active {
        transform: translateX(0);
    }

    .thumb-btn {
        width: 60px;
        height: 75px;
    }
}

/* ===== Zoom Lens (desktop) ===== */
.zoom-lens {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.15s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.zoom-lens.active {
    opacity: 1;
}

.zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    width: 400px;
    height: 400px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-repeat: no-repeat;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    background-color: #fff;
}

.zoom-result.active {
    opacity: 1;
}

/* ===== Measurements ===== */
.measurement-text {
    font-size: 0.85rem;
    color: #555;
    font-weight: 400;
}

/* ===== Sticky Bottom Bar (Mobile) ===== */
.pdp-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .pdp-sticky-bar {
        display: flex;
    }
}

.sticky-bar-price {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
}

.sticky-bar-cart {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.sticky-bar-cart:hover {
    background: #333;
}

/* ===== Product Reviews Styling (Premium & Clean) ===== */
.pdp-reviews-header {
    display: flex;
    gap: 64px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 32px;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

.pdp-review-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pdp-review-score .big-rating {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #111;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.pdp-review-score .preview-stars {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 6px;
}

.pdp-review-score .total-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.pdp-review-bars {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #444;
}

.review-bar-row .bar-label {
    min-width: 36px;
    font-weight: 600;
    color: #111;
}

.review-bar-row .bar-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-row .bar-fill {
    height: 100%;
    background: #ef8022; /* Active orange bar to match branding */
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-bar-row .bar-count {
    min-width: 24px;
    text-align: right;
    color: #666;
    font-weight: 500;
}

/* Review Cards List */
.pdp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.pdp-review-card {
    padding: 24px;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.pdp-review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid #e5e7eb;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.review-user-info .review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 2px;
}

.review-user-info .review-date {
    font-size: 0.8rem;
    color: #888;
}

.review-card-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 18px;
}

.review-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f4f4f4;
}

.review-card-footer span {
    font-size: 0.82rem;
    color: #888;
}

.review-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
}

.review-helpful-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111;
}

.review-helpful-btn.active {
    background: #ef8022 !important;
    border-color: #ef8022 !important;
    color: #fff !important;
    font-weight: 600;
}

.review-helpful-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Write a Review Section */
.pdp-write-review {
    margin-top: 48px;
    padding: 32px;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

.pdp-write-review h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -0.2px;
}

/* Star Rating Input styling */
.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 20px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s ease;
    margin: 0;
    line-height: 1;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}

/* Form inputs */
.pdp-write-review textarea.form-control {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
    resize: vertical;
}

.pdp-write-review textarea.form-control:focus {
    outline: none;
    border-color: #ef8022;
    box-shadow: 0 0 0 3px rgba(239, 128, 34, 0.1);
}

.pdp-write-review .btn-brand {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.pdp-write-review .btn-brand:hover {
    background: #ef8022;
}

.pdp-reviews-empty {
    padding: 40px;
    text-align: center;
    border: 1px dashed #d1d5db;
    border-radius: 4px;
    color: #666;
    font-size: 0.95rem;
}

/* Media Query for Mobile/Tablet layout */
@media (max-width: 768px) {
    .pdp-reviews-header {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    
    .pdp-review-score .big-rating {
        font-size: 3rem;
    }
    
    .pdp-review-bars {
        width: 100%;
        max-width: 100%;
    }
    
    .pdp-review-card {
        padding: 16px;
    }
    
    .review-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .pdp-write-review {
        padding: 20px;
    }
}