/* DimaBio product theme: merchant accent color with readable text contrast */
.product-themed .product-category,.product-themed .detail-price>strong,.product-themed .product-availability.is-available{color:var(--product-accent)}
.product-themed .product-highlights-under-photo{border-color:color-mix(in srgb,var(--product-accent) 22%,#fff);background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--product-accent) 7%,#fff))}
.product-themed .product-highlights-heading h2{color:var(--product-accent)}
.product-themed .product-highlights-under-photo li .highlight-icon{background:color-mix(in srgb,var(--product-accent) 13%,#fff);color:var(--product-accent)}
.product-themed .offer-option.selected{border-color:color-mix(in srgb,var(--product-accent) 48%,#fff);background:color-mix(in srgb,var(--product-accent) 6%,#fff);box-shadow:0 8px 20px color-mix(in srgb,var(--product-accent) 12%,transparent)}
.product-themed .offer-option.selected .offer-label{color:var(--product-accent)}
.product-themed .button-green,.product-themed .order-submit{background:var(--product-accent);color:var(--product-accent-text);border:1px solid color-mix(in srgb,var(--product-accent) 85%,#111)}
.product-themed .product-sticky-cta .button-green{background:var(--product-accent);color:var(--product-accent-text)}
.product-themed .product-badge{background:var(--product-accent);color:var(--product-accent-text)}
.product-themed .product-description-card{border-color:color-mix(in srgb,var(--product-accent) 16%,#e7ece7)}

/* Two compact checkout rows: name+phone, then governorate+address. */
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.checkout-fields>label{min-width:0}
@media(max-width:760px){.checkout-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.checkout-fields input,.checkout-fields select{min-width:0;width:100%;font-size:10px;padding-inline:8px}}
@media(max-width:360px){.checkout-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.checkout-fields input,.checkout-fields select{font-size:9px;padding-inline:6px}}

/* Two-tone product theme v13 */
.product-themed{--product-accent-2:var(--product-accent)}
.product-themed .product-badge,.product-themed .product-highlights-under-photo .highlight-icon,.product-themed .order-submit,.product-themed .product-sticky-cta .button{background:linear-gradient(120deg,var(--product-accent),var(--product-accent-2));color:var(--product-accent-text)}
.product-themed .main-product-image{background:linear-gradient(145deg,color-mix(in srgb,var(--product-accent) 10%,#fff),color-mix(in srgb,var(--product-accent-2) 12%,#fff))}
.product-themed .product-highlights-under-photo{background:linear-gradient(135deg,color-mix(in srgb,var(--product-accent) 8%,#fff),color-mix(in srgb,var(--product-accent-2) 11%,#fff))}
.product-themed .product-description-card{background:linear-gradient(140deg,color-mix(in srgb,var(--product-accent) 4%,#fff),color-mix(in srgb,var(--product-accent-2) 7%,#fff))}

.product-themed .product-category,.product-themed .detail-price>strong,.product-themed .product-info h1,.product-themed .product-highlights-heading h2{color:var(--product-readable-accent,var(--product-accent))}


/* v14: reliable contrast for every surface in merchant-selected product gradients */
.product-themed.product-theme-dark{background:linear-gradient(132deg,var(--product-accent),var(--product-accent-2));color:#fff!important}
.product-themed.product-theme-dark .product-info,
.product-themed.product-theme-dark .product-info h1,
.product-themed.product-theme-dark .product-info .product-category,
.product-themed.product-theme-dark .detail-price,
.product-themed.product-theme-dark .detail-price>strong,
.product-themed.product-theme-dark .product-availability,
.product-themed.product-theme-dark .product-gallery-note,
.product-themed.product-theme-dark .offer-picker>h3,
.product-themed.product-theme-dark .eyebrow{color:#fff!important}
.product-themed.product-theme-dark .product-category{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.32)}
.product-themed.product-theme-dark .detail-price{border-color:rgba(255,255,255,.34)}
.product-themed.product-theme-dark .detail-price del,.product-themed.product-theme-dark .discount-note{color:rgba(255,255,255,.86)!important}
.product-themed.product-theme-dark .main-product-image{background:#f3f7f2;border-color:rgba(255,255,255,.66)}
.product-themed.product-theme-dark .product-description-card,
.product-themed.product-theme-dark .product-highlights-under-photo,
.product-themed.product-theme-dark .product-review-proof{background:#fff;color:#26372b;border-color:#e8eee6;box-shadow:0 12px 30px rgba(0,0,0,.10)}
.product-themed.product-theme-dark .product-description-card .section-heading h2,
.product-themed.product-theme-dark .product-highlights-under-photo .highlight-icon{color:#20382a}
.product-themed.product-theme-dark .product-highlights-under-photo li{background:#f7faf5;border-color:#e5ebe2;color:#293b2e}
.product-themed.product-theme-dark .product-highlights-under-photo li p,
.product-themed.product-theme-dark .description-intro,
.product-themed.product-theme-dark .description-content{color:#3e5144!important}
.product-themed.product-theme-dark .offer-option{background:#fff;color:#26372b;border-color:#dce5da}
.product-themed.product-theme-dark .offer-option.selected{border:2px solid var(--product-accent)}
.product-themed.product-theme-dark .offer-option.selected .offer-label{color:#26372b}
.product-themed.product-theme-dark .order-form-card{background:#fff;color:#26372b;border-color:#e5ebe2;box-shadow:0 18px 45px rgba(0,0,0,.14)}
.product-themed.product-theme-dark .order-form-heading h3{color:#20382a}
.product-themed.product-theme-dark .form-note,.product-themed.product-theme-dark .form-trust{color:#68766d}
.product-themed.product-theme-dark .order-summary{background:#f5f8f2}
.product-themed.product-theme-dark .product-review-proof .eyebrow{color:#a77c25!important}
.product-themed.product-theme-dark .review-proof-heading strong{color:#20382a}
.product-themed.product-theme-dark .product-sticky-cta{background:rgba(255,255,255,.98);color:#1d3427;border-color:#e3ebdf}
.product-themed.product-theme-dark .sticky-product-price,.product-themed.product-theme-dark .sticky-product-price *{color:#1d3427!important}
.product-themed.product-theme-dark .product-sticky-cta .button{color:#fff!important}
.product-themed.product-theme-light{background:linear-gradient(132deg,color-mix(in srgb,var(--product-accent) 14%,#fff),color-mix(in srgb,var(--product-accent-2) 16%,#fff));color:#17231b!important;border:1px solid color-mix(in srgb,var(--product-accent) 15%,#fff);border-radius:26px;padding:clamp(14px,2.5vw,28px)}
.product-themed.product-theme-light .product-info,
.product-themed.product-theme-light .product-info h1,
.product-themed.product-theme-light .product-category,
.product-themed.product-theme-light .detail-price>strong,
.product-themed.product-theme-light .product-availability,
.product-themed.product-theme-light .product-gallery-note,
.product-themed.product-theme-light .offer-picker>h3{color:#17231b!important}
.product-themed.product-theme-light .main-product-image{background:#fff;border-color:#e7ece7}
.product-themed.product-theme-light .product-category{background:rgba(255,255,255,.78);border:1px solid #e4ebe2}
.product-themed.product-theme-light .product-sticky-cta{background:rgba(255,255,255,.98);color:#1d3427}
.product-themed.product-theme-light .sticky-product-price,.product-themed.product-theme-light .sticky-product-price *{color:#1d3427!important}
.product-themed.product-theme-light .product-sticky-cta .button{color:#fff!important}

/* Highlights: compact square cards in one horizontal line; no redundant heading. */
.product-highlights-under-photo{padding:10px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
.product-highlights-under-photo .product-highlights-track{display:flex!important;flex-wrap:nowrap!important;gap:9px!important;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:2px 2px 9px!important;margin:0!important;scrollbar-width:none}
.product-highlights-under-photo .product-highlights-track::-webkit-scrollbar{display:none}
.product-highlights-under-photo .product-highlights-track li{flex:0 0 112px;width:112px;min-height:108px;height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:9px 8px;border:1px solid #e7ece5;border-radius:17px;background:#fff;box-shadow:0 6px 18px rgba(25,60,35,.055);scroll-snap-align:start}
.product-highlights-under-photo .product-highlights-track li .highlight-icon{flex:0 0 34px;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,var(--product-accent),var(--product-accent-2));color:var(--product-foreground,#fff)!important;font-size:16px}
.product-highlights-under-photo .product-highlights-track li p{color:#435449!important;font-size:9px;line-height:1.45;font-weight:700;margin:0;max-width:100%;overflow-wrap:anywhere}
.product-themed.product-theme-dark .product-highlights-under-photo .product-highlights-track li{background:#fff;color:#33463a}

/* Compact customer-review screenshot carousel, managed from product editor. */
.product-review-proof{margin:16px 0 10px;padding:13px 14px;border:1px solid #e9eee7;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(20,54,31,.05)}
.review-proof-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.review-proof-heading .eyebrow{margin:0;font-size:8px}
.review-proof-heading strong{font-size:12px;color:#1d4d30}
.review-proof-track{display:flex;gap:9px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:2px 1px 7px;scrollbar-width:thin}
.review-proof-card{display:block;flex:0 0 112px;width:112px;height:142px;border-radius:12px;overflow:hidden;border:1px solid #e7ece5;background:#f7f9f5;scroll-snap-align:start}
.review-proof-card img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.review-image-admin{margin-top:12px;padding:12px;border:1px solid #e5ece3;border-radius:14px;background:#f8faf7}
.review-image-admin small{display:block;margin-top:5px;color:#77847a;font-size:10px;line-height:1.7}
.review-image-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.review-image-admin-item{display:block!important;min-width:0;padding:6px;border:1px solid #e4eae2;border-radius:10px;background:#fff}
.review-image-admin-item img{display:block;width:100%;height:90px;object-fit:cover;border-radius:7px}
.review-image-admin-item span{display:flex;align-items:center;gap:5px;font-size:10px;margin-top:5px}

/* Related products stay connected to the current category in a small carousel. */
.related-products-track{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:3px 2px 12px;scrollbar-width:thin}
.related-product-item{flex:0 0 205px;width:205px;scroll-snap-align:start}
.related-product-item .product-card{height:100%;border-radius:15px;overflow:hidden}
.related-product-item .product-photo{height:158px}
.related-product-item .product-card-body{padding:11px}
.related-product-item .product-name{font-size:11px}
.related-product-item .product-prices strong{font-size:14px}
@media(max-width:760px){
 .product-themed.product-theme-light{border-radius:19px;padding:12px 12px 20px}
 .product-themed.product-theme-dark{border-radius:19px;padding:12px 12px 20px}
 .product-highlights-under-photo .product-highlights-track li{flex-basis:102px;width:102px;height:104px;min-height:104px}
 .product-highlights-under-photo .product-highlights-track li p{font-size:8px}
 .product-review-proof{padding:10px 11px;border-radius:14px}
 .review-proof-card{flex-basis:98px;width:98px;height:126px}
 .related-products-track{gap:9px}
 .related-product-item{flex-basis:154px;width:154px}
 .related-product-item .product-photo{height:124px}
 .related-product-item .product-card-body{padding:9px}
 .related-product-item .product-name{font-size:9px}
 .related-product-item .product-prices strong{font-size:12px}
}

.product-themed.product-theme-dark .product-description-card .eyebrow,
.product-themed.product-theme-dark .order-form-card .eyebrow{color:#a77c25!important}
.product-sticky-cta.product-themed{background:rgba(255,255,255,.98)!important;color:#1d3427!important;border-color:#e1e9df}
.product-sticky-cta.product-themed .sticky-product-price,
.product-sticky-cta.product-themed .sticky-product-price *{color:#1d3427!important}
.product-sticky-cta.product-themed .button{background:linear-gradient(120deg,var(--product-accent),var(--product-accent-2))!important;color:var(--product-accent-text)!important;border:0!important}
