/* ==========================================================================
   AL-SHIFA PERFUMES — COMPACT LUXURY PRODUCT DETAIL PAGE
   Scoped with main.customer-product-detail-page to prevent legacy overrides
   ========================================================================== */

main.customer-product-detail-page {
    background: #FAF6F0 !important;
    color: #1F1212 !important;
    padding: 10px 0 88px !important;
    min-height: 70vh;
}

main.customer-product-detail-page .product-detail-content {
    padding: 0 !important;
    background: transparent !important;
}

main.customer-product-detail-page .product-detail-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Compact Inline Breadcrumb */
main.customer-product-detail-page .alshifa-pdp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px !important;
    padding: 4px 2px !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px;
    font-weight: 600;
    color: #6B5344;
    line-height: 1.3;
}

main.customer-product-detail-page .alshifa-pdp-breadcrumb a {
    color: #2A0808 !important;
    text-decoration: none;
    background: transparent !important;
}

main.customer-product-detail-page .alshifa-pdp-breadcrumb a:hover {
    color: #9A7418 !important;
}

main.customer-product-detail-page .alshifa-pdp-breadcrumb span[aria-hidden="true"] {
    color: #C59B27;
    font-weight: 800;
}

/* Main 2-Column Showcase Grid (Desktop) / Compact Vertical Stack (Mobile) */
main.customer-product-detail-page .product-detail-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
}

/* Left Gallery Column */
main.customer-product-detail-page .alshifa-pdp-gallery {
    position: sticky;
    top: 82px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Clean, Pure Product Image Square Card (No text block inside) */
main.customer-product-detail-page .product-detail-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(197, 155, 39, 0.55) !important;
    border-radius: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 10px 26px -14px rgba(42, 8, 8, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

main.customer-product-detail-page .product-detail-main-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

main.customer-product-detail-page .product-detail-image:hover .product-detail-main-image {
    transform: scale(1.02);
}

main.customer-product-detail-page .product-detail-image-placeholder {
    font-size: 13px;
    font-weight: 700;
    color: #7C6354;
    text-transform: uppercase;
}

/* Floating Wishlist & Share Buttons on Image Corner */
main.customer-product-detail-page .product-detail-image-tools {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

main.customer-product-detail-page .product-detail-icon-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.2px solid rgba(197, 155, 39, 0.65);
    background: rgba(255, 253, 249, 0.94);
    color: #2A0808;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(42, 8, 8, 0.16);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

main.customer-product-detail-page .product-detail-icon-button:hover {
    background: #2A0808;
    color: #F3D06B;
}

main.customer-product-detail-page .product-detail-wishlist.is-wished {
    background: #2A0808;
    border-color: #C59B27;
    color: #F43F5E;
}

main.customer-product-detail-page .product-detail-share.is-shared {
    background: #15803D;
    border-color: #15803D;
    color: #FFFFFF;
}

/* Top-Left Craft Ribbon on Gallery */
main.customer-product-detail-page .alshifa-pdp-gallery-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    padding: 4px 10px;
    border-radius: 999px;
    background: #2A0808;
    border: 1px solid #C59B27;
    color: #F3D06B;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Compact Gallery Thumbnails Row */
main.customer-product-detail-page .product-detail-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

main.customer-product-detail-page .product-detail-thumbnail {
    width: 56px;
    height: 56px;
    padding: 2px;
    border-radius: 10px;
    border: 1.5px solid rgba(197, 155, 39, 0.4);
    background: #FFFFFF;
    overflow: hidden;
    cursor: pointer;
}

main.customer-product-detail-page .product-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    display: block;
}

main.customer-product-detail-page .product-detail-thumbnail.is-active {
    border: 2px solid #2A0808;
    box-shadow: 0 0 0 1.5px #C59B27;
}

/* ==========================================================================
   COMPACT PRODUCT DETAILS CARD (DIRECTLY UNDER IMAGE ON MOBILE / RIGHT ON PC)
   ========================================================================== */
main.customer-product-detail-page .product-detail-info {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(197, 155, 39, 0.45) !important;
    border-radius: 16px !important;
    padding: 16px 18px 18px !important;
    margin: 0 !important;
    box-shadow: 0 10px 26px -16px rgba(42, 8, 8, 0.2) !important;
}

main.customer-product-detail-page .alshifa-pdp-kicker-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

main.customer-product-detail-page .product-detail-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #2A0808;
    border: 1px solid #C59B27;
    color: #F3D06B;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

main.customer-product-detail-page .product-detail-sku {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #786254;
    text-transform: uppercase;
}

main.customer-product-detail-page .product-detail-info h1 {
    margin: 0 0 6px !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
    font-weight: 700;
    line-height: 1.24;
    color: #2A0808 !important;
}

/* Compact Short Description right under Title */
main.customer-product-detail-page .product-detail-short {
    margin: 0 0 10px !important;
    font-size: 13px;
    line-height: 1.48;
    color: #57413B !important;
}

/* Inline Rating + Stock Strip */
main.customer-product-detail-page .alshifa-pdp-meta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

main.customer-product-detail-page .product-detail-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    margin: 0 !important;
    border-radius: 999px;
    background: #FAF6F0;
    border: 1px solid rgba(197, 155, 39, 0.45);
    font-size: 11.5px;
    font-weight: 700;
    color: #2A0808;
}

main.customer-product-detail-page .product-detail-rating span:first-child {
    color: #B45309;
    font-weight: 800;
}

main.customer-product-detail-page .product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
}

main.customer-product-detail-page .product-detail-stock .in-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #15803D;
    font-size: 11px;
    font-weight: 800;
}

main.customer-product-detail-page .product-detail-stock .in-stock::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #15803D;
}

main.customer-product-detail-page .product-detail-stock .low-stock-tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    color: #92400E;
    font-size: 11px;
    font-weight: 700;
}

main.customer-product-detail-page .product-detail-stock .out-of-stock {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    font-size: 11px;
    font-weight: 800;
}

/* Compact Luxury Price Box */
main.customer-product-detail-page .alshifa-pdp-price-card {
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FAF6F0 0%, #F4ECE0 100%);
    border: 1.2px solid rgba(197, 155, 39, 0.5);
}

main.customer-product-detail-page .product-detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

main.customer-product-detail-page .product-detail-price strong {
    font-size: 1.45rem !important;
    font-weight: 900;
    color: #2A0808 !important;
    line-height: 1.1;
}

main.customer-product-detail-page .product-detail-price del {
    font-size: 13.5px !important;
    font-weight: 600;
    color: #78716C !important;
}

main.customer-product-detail-page .alshifa-pdp-tax-note {
    margin: 4px 0 0;
    font-size: 11px;
    font-weight: 600;
    color: #6B5344;
}

/* Inline Quantity + Add to Cart + Buy Now Row */
main.customer-product-detail-page .alshifa-pdp-purchase-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

main.customer-product-detail-page .alshifa-qty-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

main.customer-product-detail-page .alshifa-qty-stepper {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: 1.5px solid #C59B27;
    border-radius: 10px;
    background: #FAF6F0;
    overflow: hidden;
    flex-shrink: 0;
}

main.customer-product-detail-page .alshifa-qty-stepper button {
    width: 32px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #2A0808;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

main.customer-product-detail-page .alshifa-qty-stepper button:hover {
    background: #2A0808;
    color: #F3D06B;
}

main.customer-product-detail-page .alshifa-qty-stepper span {
    min-width: 28px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    color: #2A0808;
}

main.customer-product-detail-page .product-detail-actions {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 !important;
}

main.customer-product-detail-page .product-detail-cart-form {
    margin: 0;
    display: flex;
}

main.customer-product-detail-page .product-detail-button {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}

main.customer-product-detail-page .product-detail-button.primary {
    background: #2A0808 !important;
    border: 1.5px solid #C59B27 !important;
    color: #F3D06B !important;
}

main.customer-product-detail-page .product-detail-button.secondary {
    background: linear-gradient(135deg, #C59B27 0%, #E0B94B 100%) !important;
    border: 1.5px solid #B0871C !important;
    color: #2A0808 !important;
}

main.customer-product-detail-page .product-detail-button.disabled {
    grid-column: 1 / -1;
    background: #E7E5E4;
    border: 1px solid #D6D3D1;
    color: #78716C;
    cursor: not-allowed;
}

/* Compact 3-Column Trust Strip */
main.customer-product-detail-page .alshifa-pdp-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 10px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #FAF6F0;
    border: 1px solid rgba(197, 155, 39, 0.35);
}

main.customer-product-detail-page .alshifa-pdp-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: left;
}

main.customer-product-detail-page .alshifa-pdp-trust-icon {
    font-size: 14px;
    color: #9A7418;
    flex-shrink: 0;
}

main.customer-product-detail-page .alshifa-pdp-trust-item strong {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #2A0808;
    line-height: 1.2;
}

main.customer-product-detail-page .alshifa-pdp-trust-item span {
    display: block;
    font-size: 9.5px;
    color: #6B5344;
    line-height: 1.2;
}

/* Compact Fragrance Notes & Description */
main.customer-product-detail-page .alshifa-pdp-desc-card {
    padding-top: 12px;
    border-top: 1px solid rgba(197, 155, 39, 0.35);
}

main.customer-product-detail-page .alshifa-pdp-desc-heading {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #2A0808;
}

main.customer-product-detail-page .product-detail-description {
    font-size: 13.5px;
    line-height: 1.6;
    color: #3D2B27;
}

main.customer-product-detail-page .product-detail-description p {
    margin: 0 0 8px;
}

main.customer-product-detail-page .product-detail-description p:last-child {
    margin-bottom: 0;
}

main.customer-product-detail-page .product-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2A0808;
    text-decoration: none;
    border-bottom: 1.5px solid #C59B27;
    padding-bottom: 1px;
}

/* ==========================================================================
   STICKY BOTTOM ACTION BAR (CRISP HIGH-CONTRAST BURGUNDY & GOLD)
   ========================================================================== */
.alshifa-sticky-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 950 !important;
    background: #2A0808 !important;
    border-top: 1.5px solid #C59B27 !important;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-shadow: 0 -8px 24px rgba(20, 4, 4, 0.35) !important;
}

.alshifa-sticky-price-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.alshifa-sticky-label {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F3D06B !important;
}

.alshifa-sticky-price-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.alshifa-sticky-price {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    line-height: 1.15;
}

.alshifa-sticky-compare-price {
    font-size: 12px !important;
    color: rgba(255, 253, 249, 0.65) !important;
}

.alshifa-sticky-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alshifa-btn-cart,
.alshifa-btn-buy,
.alshifa-btn-disabled {
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}

.alshifa-btn-cart {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1.3px solid #F3D06B !important;
    color: #F3D06B !important;
}

.alshifa-btn-buy {
    background: linear-gradient(135deg, #C59B27 0%, #E5C158 100%) !important;
    border: 1.3px solid #F3D06B !important;
    color: #2A0808 !important;
}

.alshifa-btn-disabled {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 880px) {
    main.customer-product-detail-page .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    main.customer-product-detail-page .alshifa-pdp-gallery {
        position: static !important;
        gap: 8px;
    }

    main.customer-product-detail-page .product-detail-image {
        aspect-ratio: 1 / 1;
        max-height: 360px;
    }
}

@media (max-width: 520px) {
    main.customer-product-detail-page {
        padding: 8px 0 84px !important;
    }

    main.customer-product-detail-page .product-detail-container {
        padding: 0 10px;
    }

    main.customer-product-detail-page .product-detail-image {
        max-height: 330px;
        border-radius: 14px !important;
    }

    main.customer-product-detail-page .product-detail-info {
        padding: 14px 14px 16px !important;
        border-radius: 14px !important;
    }

    main.customer-product-detail-page .alshifa-qty-action-row {
        flex-wrap: wrap;
    }

    main.customer-product-detail-page .alshifa-pdp-trust-grid {
        gap: 4px;
        padding: 7px 6px;
    }

    main.customer-product-detail-page .alshifa-pdp-trust-item {
        flex-direction: column;
        text-align: center;
        gap: 2px;
    }

    .alshifa-btn-cart,
    .alshifa-btn-buy {
        padding: 0 11px;
        font-size: 11px;
    }
}


/* ==========================================================================
   CUSTOMER REVIEWS & SIMILAR PRODUCTS SECTIONS
   ========================================================================== */
main.customer-product-detail-page .alshifa-pdp-section {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(197, 155, 39, 0.35);
}

main.customer-product-detail-page .alshifa-pdp-block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

main.customer-product-detail-page .alshifa-section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #9A7418;
    margin-bottom: 4px;
}

main.customer-product-detail-page .alshifa-pdp-block-head h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    color: #2A0808;
    line-height: 1.25;
}

main.customer-product-detail-page .alshifa-write-review-btn,
main.customer-product-detail-page .alshifa-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.2px solid rgba(197, 155, 39, 0.7);
    background: #FFFDF9;
    color: #2A0808;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

main.customer-product-detail-page .alshifa-write-review-btn:hover,
main.customer-product-detail-page .alshifa-view-all-link:hover {
    background: #2A0808;
    color: #FAF6F0;
}

main.customer-product-detail-page .alshifa-review-alert {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

main.customer-product-detail-page .alshifa-review-alert.is-success {
    background: #ECFDF3;
    border: 1px solid #A6F4C5;
    color: #065F46;
}

main.customer-product-detail-page .alshifa-review-alert.is-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

main.customer-product-detail-page .alshifa-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

main.customer-product-detail-page .alshifa-reviews-leftcol {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

main.customer-product-detail-page .alshifa-rating-overview-card,
main.customer-product-detail-page .alshifa-review-form-card,
main.customer-product-detail-page .alshifa-review-card,
main.customer-product-detail-page .alshifa-reviews-empty {
    background: #FFFFFF;
    border: 1.2px solid rgba(197, 155, 39, 0.42);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 22px -16px rgba(42, 8, 8, 0.25);
}

main.customer-product-detail-page .alshifa-rating-overview-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

main.customer-product-detail-page .alshifa-rating-big {
    text-align: center;
    padding-right: 12px;
    border-right: 1px solid rgba(197, 155, 39, 0.3);
}

main.customer-product-detail-page .alshifa-rating-big strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #2A0808;
    line-height: 1.1;
}

main.customer-product-detail-page .alshifa-rating-stars-row {
    color: #D6CEC2;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 4px 0;
}

main.customer-product-detail-page .alshifa-rating-stars-row .is-filled {
    color: #C59B27;
}

main.customer-product-detail-page .alshifa-rating-big p {
    margin: 0;
    font-size: 11.5px;
    color: #6B5344;
    font-weight: 600;
}

main.customer-product-detail-page .alshifa-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

main.customer-product-detail-page .alshifa-rating-bar-row {
    display: grid;
    grid-template-columns: 30px 1fr 24px;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #4A332A;
}

main.customer-product-detail-page .alshifa-rating-bar-row .bar-track {
    height: 7px;
    background: #F3ECE1;
    border-radius: 999px;
    overflow: hidden;
}

main.customer-product-detail-page .alshifa-rating-bar-row .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #C59B27, #9A7418);
    border-radius: 999px;
}

main.customer-product-detail-page .alshifa-rating-bar-row .bar-count {
    text-align: right;
    color: #7C6354;
}

main.customer-product-detail-page .alshifa-review-form-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    color: #2A0808;
}

main.customer-product-detail-page .alshifa-review-form-sub {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: #6B5344;
    line-height: 1.45;
}

main.customer-product-detail-page .alshifa-verified-pill {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ECFDF3;
    border: 1px solid #A6F4C5;
    color: #065F46;
    font-size: 11px;
    font-weight: 700;
}

main.customer-product-detail-page .alshifa-star-picker-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #2A0808;
    margin-bottom: 4px;
}

main.customer-product-detail-page .alshifa-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
    margin-bottom: 10px;
}

main.customer-product-detail-page .alshifa-star-picker input {
    display: none;
}

main.customer-product-detail-page .alshifa-star-picker label {
    font-size: 26px;
    line-height: 1;
    color: #D8CFC2;
    cursor: pointer;
    margin: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

main.customer-product-detail-page .alshifa-star-picker input:checked ~ label,
main.customer-product-detail-page .alshifa-star-picker label:hover,
main.customer-product-detail-page .alshifa-star-picker label:hover ~ label {
    color: #C59B27;
}

main.customer-product-detail-page .alshifa-review-field {
    margin-bottom: 11px;
}

main.customer-product-detail-page .alshifa-review-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #2A0808;
    margin-bottom: 5px;
}

main.customer-product-detail-page .alshifa-review-field input,
main.customer-product-detail-page .alshifa-review-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1.2px solid rgba(197, 155, 39, 0.55);
    border-radius: 10px;
    background: #FFFDF9;
    color: #1F1212;
    font-family: inherit;
    font-size: 13px;
}

main.customer-product-detail-page .alshifa-review-field input:focus,
main.customer-product-detail-page .alshifa-review-field textarea:focus {
    outline: none;
    border-color: #2A0808;
}

main.customer-product-detail-page .alshifa-review-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: #2A0808;
    color: #FAF6F0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.18s ease;
}

main.customer-product-detail-page .alshifa-review-submit-btn:hover {
    opacity: 0.92;
}

main.customer-product-detail-page .alshifa-review-login-prompt p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #5B4336;
    line-height: 1.45;
}

main.customer-product-detail-page .alshifa-reviews-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

main.customer-product-detail-page .alshifa-reviews-empty {
    text-align: center;
    padding: 32px 18px;
}

main.customer-product-detail-page .alshifa-reviews-empty .empty-star {
    display: inline-block;
    font-size: 22px;
    color: #C59B27;
    margin-bottom: 6px;
}

main.customer-product-detail-page .alshifa-reviews-empty h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #2A0808;
}

main.customer-product-detail-page .alshifa-reviews-empty p {
    margin: 0;
    font-size: 13px;
    color: #6B5344;
}

main.customer-product-detail-page .alshifa-review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

main.customer-product-detail-page .alshifa-reviewer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

main.customer-product-detail-page .alshifa-reviewer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2A0808;
    color: #F6E6B4;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

main.customer-product-detail-page .alshifa-reviewer-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

main.customer-product-detail-page .alshifa-reviewer-name-row strong {
    font-size: 13.5px;
    color: #2A0808;
}

main.customer-product-detail-page .alshifa-verified-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #065F46;
    background: #ECFDF3;
    border: 1px solid #A6F4C5;
    padding: 1px 7px;
    border-radius: 999px;
}

main.customer-product-detail-page .alshifa-review-date {
    display: block;
    font-size: 11.5px;
    color: #7C6354;
}

main.customer-product-detail-page .alshifa-review-card-stars {
    color: #D8CFC2;
    font-size: 14px;
    white-space: nowrap;
}

main.customer-product-detail-page .alshifa-review-card-stars .is-filled {
    color: #C59B27;
}

main.customer-product-detail-page .alshifa-review-title {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 800;
    color: #2A0808;
}

main.customer-product-detail-page .alshifa-review-body {
    margin: 0;
    font-size: 13.5px;
    color: #3A2520;
    line-height: 1.55;
    white-space: pre-line;
}

/* Similar Products Grid */
main.customer-product-detail-page .alshifa-similar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

main.customer-product-detail-page .alshifa-similar-card {
    background: #FFFFFF;
    border: 1.2px solid rgba(197, 155, 39, 0.45);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px -15px rgba(42, 8, 8, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

main.customer-product-detail-page .alshifa-similar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -14px rgba(42, 8, 8, 0.32);
}

main.customer-product-detail-page .alshifa-similar-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #FFFDF9;
    overflow: hidden;
}

main.customer-product-detail-page .alshifa-similar-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

main.customer-product-detail-page .alshifa-similar-card:hover .alshifa-similar-media img {
    transform: scale(1.04);
}

main.customer-product-detail-page .alshifa-similar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #7C6354;
}

main.customer-product-detail-page .alshifa-sim-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #2A0808;
    color: #F6E6B4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

main.customer-product-detail-page .alshifa-sim-badge.is-sale {
    background: #9A7418;
    color: #FFFFFF;
}

main.customer-product-detail-page .alshifa-sim-badge.is-soldout {
    background: #6B7280;
    color: #FFFFFF;
}

main.customer-product-detail-page .alshifa-similar-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

main.customer-product-detail-page .alshifa-similar-rating {
    font-size: 11.5px;
    font-weight: 700;
    color: #9A7418;
    margin-bottom: 4px;
}

main.customer-product-detail-page .alshifa-similar-rating small {
    color: #7C6354;
    font-weight: 600;
}

main.customer-product-detail-page .alshifa-similar-body h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

main.customer-product-detail-page .alshifa-similar-body h3 a {
    color: #2A0808;
    text-decoration: none;
}

main.customer-product-detail-page .alshifa-similar-desc {
    margin: 0 0 10px;
    font-size: 12px;
    color: #6B5344;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

main.customer-product-detail-page .alshifa-similar-bottom {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(197, 155, 39, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

main.customer-product-detail-page .alshifa-similar-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
}

main.customer-product-detail-page .alshifa-similar-price strong {
    font-size: 14px;
    font-weight: 800;
    color: #2A0808;
}

main.customer-product-detail-page .alshifa-similar-price del {
    font-size: 11.5px;
    color: #8C7568;
}

main.customer-product-detail-page .alshifa-similar-cta {
    padding: 5px 11px;
    border-radius: 8px;
    background: #FAF6F0;
    border: 1px solid rgba(197, 155, 39, 0.65);
    color: #2A0808;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

main.customer-product-detail-page .alshifa-similar-cta:hover {
    background: #2A0808;
    color: #FAF6F0;
}

@media (max-width: 900px) {
    main.customer-product-detail-page .alshifa-reviews-layout {
        grid-template-columns: 1fr;
    }
    main.customer-product-detail-page .alshifa-similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

main.customer-product-detail-page .alshifa-similar-bottom {
    background: transparent !important;
    background-color: transparent !important;
}
main.customer-product-detail-page .alshifa-similar-price strong {
    color: #2A0808 !important;
    -webkit-text-fill-color: #2A0808 !important;
}


/* Disable draggable resize handle on review textarea to preserve mobile responsiveness */
main.customer-product-detail-page .alshifa-review-field textarea,
main.customer-product-detail-page #reviewTextInput {
    resize: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}


/* Single Unified Card for All Customer Reviews */
main.customer-product-detail-page .alshifa-unified-reviews-card {
    background: #FFFFFF !important;
    border: 1.2px solid rgba(197, 155, 39, 0.45) !important;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px -16px rgba(42, 8, 8, 0.25);
}

main.customer-product-detail-page .alshifa-unified-reviews-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    background: #FFFDF9;
    border-bottom: 1px solid rgba(197, 155, 39, 0.3);
    font-size: 13px;
    font-weight: 800;
    color: #2A0808;
}

main.customer-product-detail-page .alshifa-unified-reviews-top small {
    font-size: 12px;
    font-weight: 600;
    color: #6B5344;
}

main.customer-product-detail-page .alshifa-review-items-list {
    display: flex;
    flex-direction: column;
}

main.customer-product-detail-page .alshifa-review-item {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(197, 155, 39, 0.22);
    background: transparent !important;
}

main.customer-product-detail-page .alshifa-review-item[hidden] {
    display: none !important;
}

main.customer-product-detail-page .alshifa-review-item:last-child {
    border-bottom: 0;
}

main.customer-product-detail-page .alshifa-reviews-expand-bar {
    padding: 12px 16px;
    background: #FFFDF9;
    border-top: 1px solid rgba(197, 155, 39, 0.3);
    text-align: center;
}

main.customer-product-detail-page .alshifa-view-all-reviews-btn {
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1.3px solid #C59B27 !important;
    background: #FAF6F0 !important;
    color: #2A0808 !important;
    -webkit-text-fill-color: #2A0808 !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

main.customer-product-detail-page .alshifa-view-all-reviews-btn:hover {
    background: #2A0808 !important;
    color: #FAF6F0 !important;
    -webkit-text-fill-color: #FAF6F0 !important;
}


/* Compact Fragrance Notes & Details with View All Toggle */
main.customer-product-detail-page .alshifa-pdp-desc-card .product-detail-description.is-collapsed {
    position: relative;
    max-height: 132px;
    overflow: hidden;
}

main.customer-product-detail-page .alshifa-pdp-desc-card .product-detail-description.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255, 253, 249, 0), #FFFDF9 92%);
    pointer-events: none;
}

main.customer-product-detail-page .alshifa-desc-toggle-btn {
    margin-top: 10px;
    width: 100%;
    padding: 8px 14px;
    border-radius: 9px;
    border: 1.2px solid #C59B27 !important;
    background: #FAF6F0 !important;
    color: #2A0808 !important;
    -webkit-text-fill-color: #2A0808 !important;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

main.customer-product-detail-page .alshifa-desc-toggle-btn[hidden] {
    display: none !important;
}

main.customer-product-detail-page .alshifa-desc-toggle-btn:hover {
    background: #2A0808 !important;
    color: #FAF6F0 !important;
    -webkit-text-fill-color: #FAF6F0 !important;
}
