/**
 * Senior UX Editorial Single Product Page Styles
 * Matching media_1788955308885.png
 */

.ref-single-product-page {
    background-color: #ffffff;
    color: #121212;
    padding-bottom: 70px;
    direction: rtl;
    font-family: inherit;
}

/* Breadcrumbs */
.ref-product-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    padding-bottom: 18px;
    font-size: 12.5px;
    color: #7a746b;
    border-bottom: 1px solid #f0ede6;
    margin-bottom: 32px;
}

.ref-product-breadcrumbs a {
    color: #7a746b;
    text-decoration: none;
    transition: color 0.15s;
}

.ref-product-breadcrumbs a:hover {
    color: #121212;
}

.ref-bc-sep {
    color: #ccc6bd;
    font-size: 11px;
}

.ref-bc-current {
    color: #121212;
    font-weight: 700;
}

/* 1. Hero Purchasing Console */
.ref-product-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* Gallery Column */
.ref-product-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ref-gallery-main-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f7f5f0;
    border: 1px solid #ebe6dd;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.ref-main-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

#ref-main-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: opacity 0.25s ease;
}

/* Floating Badges on Hero Image */
.ref-floating-badge {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(230, 225, 218, 0.8);
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1c1a17;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.ref-badge-model {
    top: 16px;
    right: 16px;
}

.ref-badge-sku {
    top: 16px;
    left: 16px;
}

.ref-badge-counter {
    bottom: 16px;
    left: 16px;
}

/* Thumbnails Row */
.ref-gallery-thumbs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ref-thumb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #ebe6de;
    border-radius: 12px;
    padding: 6px 6px 8px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ref-thumb-btn:hover {
    border-color: #767066;
    transform: translateY(-2px);
}

.ref-thumb-btn.is-active {
    border-color: #121212;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.ref-thumb-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f5f0;
}

.ref-thumb-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ref-thumb-label {
    font-size: 11px;
    font-weight: 700;
    color: #4a453e;
}

/* 3 Specification Pills */
.ref-product-specs-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.ref-spec-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #faf8f5;
    border: 1px solid #ebe6de;
    border-radius: 12px;
    padding: 12px 14px;
}

.ref-spec-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.ref-spec-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ref-spec-text strong {
    font-size: 12px;
    font-weight: 800;
    color: #121212;
}

.ref-spec-text small {
    font-size: 10.5px;
    color: #726c64;
    line-height: 1.4;
}

/* Summary / Purchasing Console Column */
.ref-product-summary-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ref-summary-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ref-edition-badge {
    background: #eef7f1;
    color: #244b36;
    border: 1px solid #cce6d5;
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ref-sku-text {
    font-size: 12px;
    color: #8c867c;
    font-weight: 600;
}

.ref-single-title {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    color: #121212;
    letter-spacing: -0.02em;
}

.ref-single-tagline {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #555048;
}

/* Rating line */
.ref-rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f2eee8;
}

.ref-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ref-star-score {
    font-size: 15px;
    font-weight: 900;
    color: #121212;
}

.ref-star-icons {
    color: #e5a524;
    font-size: 14px;
    letter-spacing: 2px;
}

.ref-reviews-count-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #244b36;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ref-rating-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #7a746b;
    background: #f5f2ec;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Price Card */
.ref-price-container {
    background: #fbfaf7;
    border: 1px solid #ebe6dd;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ref-price-main-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

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

.ref-current-price {
    font-size: 30px;
    font-weight: 900;
    color: #121212;
    font-feature-settings: 'tnum';
}

.ref-old-price {
    font-size: 16px;
    color: #9c968c;
    text-decoration: line-through;
}

.ref-discount-pill {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11.5px;
    font-weight: 800;
}

.ref-vat-text {
    font-size: 11.5px;
    color: #8c867c;
}

.ref-installments-pill {
    background: #ffffff;
    border: 1px solid #e4dfd6;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #4a453e;
}

.ref-bnpl-logos {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bnpl-badge {
    font-size: 9px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bnpl-badge.tabby {
    background: #3effb2;
    color: #0d281e;
}

.bnpl-badge.tamara {
    background: #ffd3b6;
    color: #5d2500;
}

/* Buy Form & Variations */
.ref-buy-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ref-option-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ref-option-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #121212;
}

.ref-active-color-name {
    font-weight: 800;
    color: #244b36;
}

.ref-size-guide-link {
    background: transparent;
    border: 0;
    color: #244b36;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

/* Color Swatches */
.ref-color-swatches {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ref-swatch-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 3px;
    background: transparent;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ref-swatch-item:hover {
    transform: scale(1.1);
}

.ref-swatch-item.is-active,
.ref-swatch-item[aria-pressed="true"] {
    border-color: #121212;
}

.swatch-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Size Pills */
.ref-size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ref-size-pill {
    min-width: 54px;
    min-height: 44px;
    height: auto;
    padding: 6px 12px;
    border: 1px solid #dcd7cd;
    border-radius: 9px;
    background: #ffffff;
    color: #121212;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
}

.ref-size-pill:hover {
    border-color: #121212;
}

.ref-size-pill.is-active,
.ref-size-pill[aria-pressed="true"] {
    background: #121212;
    border-color: #121212;
    color: #ffffff;
}

/* Urgency Stock Notice */
.ref-stock-urgency-notice {
    background: #fffbf0;
    border: 1px dashed #e5c88b;
    border-radius: 10px;
    padding: 10px 14px;
    margin-block: 8px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #8c5b04;
}

/* Cart Buttons Row */
.ref-cart-buttons-row {
    display: grid;
    grid-template-columns: auto 1.25fr 1.05fr auto;
    align-items: stretch;
    gap: 8px;
}

.ref-single-qty-stepper {
    height: 52px;
    border: 1.5px solid #ddd7cd;
    border-radius: 10px;
    background: #faf8f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ref-single-qty-stepper .qty-btn {
    width: 32px;
    height: 100%;
    background: transparent;
    border: 0;
    color: #121212;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ref-single-qty-stepper .qty-btn:hover {
    background: #ede8de;
}

.ref-single-qty-stepper input[type="number"] {
    width: 32px;
    height: 100%;
    text-align: center;
    border: 0;
    background: transparent;
    font-size: 13.5px;
    font-weight: 800;
    color: #121212;
    padding: 0;
    -moz-appearance: textfield;
}

.ref-single-qty-stepper input::-webkit-outer-spin-button,
.ref-single-qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ref-hero-add-btn.button.alt {
    min-height: 52px;
    background: #121212 !important;
    border: 1.5px solid #121212 !important;
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.ref-hero-add-btn.button.alt:hover {
    background: #244b36 !important;
    border-color: #244b36 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 75, 54, 0.25);
}

.ref-product-wish-btn {
    width: 48px;
    height: 52px;
    border: 1.5px solid #ddd7cd;
    border-radius: 10px;
    background: #ffffff;
    color: #121212;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
    padding: 0;
}

.ref-product-wish-btn:hover {
    background: #f7f5f0;
    border-color: #121212;
}

.ref-product-wish-btn svg {
    width: 20px;
    height: 20px;
}

.ref-product-wish-btn[aria-pressed="true"] svg {
    fill: #e53935;
    stroke: #e53935;
}

/* WhatsApp Action Button - Order via WhatsApp / اطلب عبر الواتساب */
.ref-product-whatsapp-btn {
    min-height: 52px;
    padding: 0 14px;
    border: 1.5px solid #25D366;
    border-radius: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    text-decoration: none;
    white-space: nowrap;
}

.ref-product-whatsapp-btn:hover {
    background: linear-gradient(135deg, #1ebe5d 0%, #0e7064 100%);
    border-color: #0e7064;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42);
}

.ref-product-whatsapp-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.ref-product-whatsapp-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    stroke: none;
    flex-shrink: 0;
}

.ref-product-whatsapp-btn .wa-btn-text {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Trust Guarantees */
.ref-delivery-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0ece5;
}

.ref-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ref-trust-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.ref-trust-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ref-trust-meta strong {
    font-size: 11.5px;
    font-weight: 800;
    color: #121212;
}

.ref-trust-meta small {
    font-size: 10px;
    color: #767066;
}

/* 2. The Philosophy & Story Section */
.ref-story-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #eeebe4;
}

.ref-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: flex-start;
}

.ref-story-narrative-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ref-story-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #8c867c;
}

.ref-story-heading {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    color: #121212;
    letter-spacing: -0.02em;
}

.ref-story-body {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: #555048;
}

.ref-fabric-standard-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fbfaf7;
    border: 1px solid #ebe6dd;
    border-radius: 14px;
    padding: 16px 18px;
}

.ref-card-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ref-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ref-card-info strong {
    font-size: 13.5px;
    font-weight: 800;
    color: #121212;
}

.ref-card-info p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #6a645b;
}

/* Accordions */
.ref-story-accordions-col {
    display: flex;
    flex-direction: column;
}

.ref-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ref-accordion-item {
    border: 1px solid #ebe6dd;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s;
}

.ref-accordion-item[open] {
    border-color: #cdc6ba;
}

.ref-accordion-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #faf8f5;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: #121212;
    user-select: none;
}

.ref-accordion-summary::-webkit-details-marker {
    display: none;
}

.ref-acc-chevron {
    font-size: 16px;
    color: #8c867c;
    transition: transform 0.25s ease;
}

.ref-accordion-item[open] .ref-acc-chevron {
    transform: rotate(180deg);
}

.ref-accordion-content {
    padding: 16px 20px;
    font-size: 13px;
    line-height: 1.75;
    color: #555048;
    background: #ffffff;
    border-top: 1px solid #eee9e1;
}

.ref-specs-bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ref-specs-bullet-list li {
    position: relative;
    padding-inline-start: 16px;
}

.ref-specs-bullet-list li::before {
    content: "•";
    position: absolute;
    inset-inline-start: 0;
    color: #244b36;
    font-weight: 900;
}

/* 3. Complete The Look Section */
.ref-complete-look-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #eeebe4;
}

.ref-look-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 36px;
}

.ref-look-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #8c867c;
}

.ref-look-title {
    margin: 0;
    font-size: 27px;
    font-weight: 900;
    color: #121212;
}

.ref-look-subtitle {
    margin: 0;
    font-size: 13.5px;
    color: #6a645b;
    max-width: 560px;
}

.ref-look-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ref-coord-card {
    background: #ffffff;
    border: 1px solid #ebe6dd;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ref-coord-card:hover {
    transform: translateY(-3px);
    border-color: #cdc6ba;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.ref-coord-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f7f5f0;
    overflow: hidden;
}

.ref-coord-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ref-coord-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(230, 225, 218, 0.8);
    border-radius: 99px;
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: #121212;
}

.ref-coord-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ref-coord-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #121212;
}

.ref-coord-desc {
    margin: 0;
    font-size: 12px;
    color: #767066;
    line-height: 1.5;
}

.ref-coord-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
}

.ref-coord-price {
    font-size: 16px;
    font-weight: 900;
    color: #121212;
}

.ref-coord-add-btn {
    background: #121212;
    border: 1px solid #121212;
    color: #ffffff;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.ref-coord-add-btn:hover {
    background: #244b36;
    border-color: #244b36;
}

/* 4. Verified Customer Reviews & Breakdown */
.ref-reviews-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #eeebe4;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ref-reviews-summary-card {
    background: #fcfbfa;
    border: 1px solid #ebe6dd;
    border-radius: 16px;
    padding: 24px 30px;
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1.1fr;
    gap: 30px;
    align-items: center;
}

.ref-rating-hero-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.ref-rating-big-num {
    font-size: 48px;
    font-weight: 900;
    color: #121212;
    line-height: 1;
}

.ref-rating-stars-display {
    color: #e5a524;
    font-size: 18px;
    letter-spacing: 2px;
}

.ref-rating-count-note {
    font-size: 12px;
    color: #767066;
}

.ref-recommend-pill {
    background: #eef7f1;
    color: #244b36;
    border: 1px solid #cce6d5;
    border-radius: 99px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
}

.ref-rating-bars-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ref-star-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    color: #6a645b;
}

.bar-star-label {
    min-width: 44px;
    font-weight: 700;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: #eae5dc;
    border-radius: 99px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #244b36;
    border-radius: 99px;
}

.bar-star-pct {
    min-width: 30px;
    text-align: end;
    font-feature-settings: 'tnum';
    font-weight: 700;
}

.ref-rating-incentive-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e7e2d8;
    border-radius: 12px;
    padding: 14px 16px;
}

.ref-incentive-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ref-incentive-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ref-incentive-meta strong {
    font-size: 12.5px;
    font-weight: 800;
    color: #121212;
}

.ref-incentive-meta p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #6a645b;
}

/* Reviews Cards Grid */
.ref-reviews-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ref-review-card {
    background: #ffffff;
    border: 1px solid #ebe6dd;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.ref-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.ref-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ref-review-stars {
    color: #e5a524;
    font-size: 13px;
    letter-spacing: 2px;
}

.ref-review-date {
    font-size: 11px;
    color: #9c968c;
}

.ref-review-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #121212;
    line-height: 1.4;
}

.ref-review-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: #555048;
    flex: 1;
}

.ref-reviewer-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #f2eee8;
}

.ref-buyer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef7f1;
    color: #244b36;
    font-weight: 900;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ref-reviewer-info strong {
    font-size: 12px;
    font-weight: 800;
    color: #121212;
}

.ref-reviewer-info small {
    font-size: 10.5px;
    color: #244b36;
    font-weight: 700;
}

/* Expand Reviews Button */
.ref-expand-reviews-wrap {
    display: flex;
    justify-content: center;
}

.ref-expand-reviews-btn {
    background: #faf9f6;
    border: 1.5px solid #dcd7cd;
    border-radius: 10px;
    color: #121212;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.15s;
}

.ref-expand-reviews-btn:hover {
    background: #121212;
    color: #ffffff;
    border-color: #121212;
}

/* Saudi Craft Guarantee Banner */
.ref-saudi-craft-guarantee-banner {
    background: #fbfaf7;
    border: 1px solid #ebe6dd;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #555048;
    text-align: center;
}

.ref-guarantee-icon {
    font-size: 18px;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
    .ref-product-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ref-story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ref-look-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ref-reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ref-reviews-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ref-product-specs-pills {
        grid-template-columns: 1fr;
    }
    .ref-look-grid {
        grid-template-columns: 1fr;
    }
    .ref-single-title {
        font-size: 25px;
    }
    .ref-delivery-trust-row {
        grid-template-columns: 1fr;
    }
    .ref-cart-buttons-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 8px;
    }
    .ref-single-qty-stepper {
        grid-column: 1;
        grid-row: 1;
        height: 48px;
    }
    .ref-hero-add-btn.button.alt {
        grid-column: 2;
        grid-row: 1;
        min-height: 48px;
        font-size: 13px !important;
        padding: 0 10px;
        letter-spacing: normal;
    }
    .ref-product-wish-btn {
        grid-column: 3;
        grid-row: 1;
        width: 48px;
        height: 48px;
        min-height: 48px;
    }
    .ref-product-whatsapp-btn {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-height: 48px;
        font-size: 13.5px;
        padding: 0 14px;
    }
    .ref-product-whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }
    .ref-product-whatsapp-btn .wa-btn-text {
        font-size: 13.5px;
    }
}

/* English/LTR product-page compatibility. The base editorial layout is RTL-first. */
html[lang^="en"] .ref-single-product-page,
body.ltr .ref-single-product-page {
    direction: ltr;
    text-align: left;
}

html[lang^="en"] .ref-product-hero-grid,
body.ltr .ref-product-hero-grid,
html[lang^="en"] .ref-product-summary-col,
body.ltr .ref-product-summary-col,
html[lang^="en"] .ref-buy-form-wrapper,
body.ltr .ref-buy-form-wrapper {
    direction: ltr;
    text-align: left;
}

html[lang^="en"] .ref-summary-meta-top,
body.ltr .ref-summary-meta-top,
html[lang^="en"] .ref-rating-line,
body.ltr .ref-rating-line,
html[lang^="en"] .ref-price-main-row,
body.ltr .ref-price-main-row,
html[lang^="en"] .ref-installments-pill,
body.ltr .ref-installments-pill,
html[lang^="en"] .ref-option-label-row,
body.ltr .ref-option-label-row,
html[lang^="en"] .ref-delivery-trust-row,
body.ltr .ref-delivery-trust-row {
    direction: ltr;
}

html[lang^="en"] .ref-single-title,
body.ltr .ref-single-title,
html[lang^="en"] .ref-single-tagline,
body.ltr .ref-single-tagline,
html[lang^="en"] .ref-stock-urgency-notice,
body.ltr .ref-stock-urgency-notice {
    direction: ltr;
    text-align: left;
}

html[lang^="en"] .ref-color-swatches,
body.ltr .ref-color-swatches,
html[lang^="en"] .ref-size-pills,
body.ltr .ref-size-pills,
html[lang^="en"] .ref-gallery-thumbs-row,
body.ltr .ref-gallery-thumbs-row,
html[lang^="en"] .ref-cart-buttons-row,
body.ltr .ref-cart-buttons-row {
    direction: ltr;
}

html[lang^="en"] .ref-current-price,
body.ltr .ref-current-price,
html[lang^="en"] .ref-old-price,
body.ltr .ref-old-price,
html[lang^="en"] .ref-sku-text,
body.ltr .ref-sku-text,
html[lang^="en"] .ref-floating-badge,
body.ltr .ref-floating-badge {
    direction: ltr;
    unicode-bidi: isolate;
}

html[lang^="en"] .ref-product-whatsapp-btn svg,
body.ltr .ref-product-whatsapp-btn svg {
    order: 0;
}
