/* RTL control geometry is independent of the surrounding Arabic text. */
.shop-design .product-rail::after,.shop-design .logo-rail::after{content:none;display:none}
.shop-design .carousel-controls{position:static;display:flex;flex-direction:column;align-items:center;gap:7px;direction:rtl;flex:0 0 auto;min-width:96px}
.shop-design .carousel-buttons{display:flex;align-items:center;gap:8px;direction:ltr}
.shop-design .carousel-controls button,.shop-design .slider-controls>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1;padding:0;width:38px;height:38px;border-radius:50%;font-family:Arial,sans-serif;font-size:18px}
.shop-design .carousel-controls svg,.shop-design .slider-controls svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shop-design .carousel-drag-label{display:block;position:static;font-size:11px;line-height:1.4;color:#64748b;white-space:nowrap;background:transparent;border:0;padding:0}
.shop-design .carousel-viewport{mask-image:none!important;-webkit-mask-image:none!important;touch-action:pan-x pan-y;scroll-padding-inline:4px}
.shop-design .carousel-heading{align-items:center;gap:24px;min-height:64px}
.shop-design .catalog-carousel-head{display:grid;grid-template-columns:minmax(220px,auto) minmax(0,1fr) auto;align-items:center;gap:24px;min-height:110px;margin-bottom:22px}
.shop-design .catalog-title-block{grid-column:1;min-width:0}.shop-design .catalog-title-block h2{font-size:23px;line-height:1.45;margin:4px 0 8px}
.shop-design .catalog-carousel-head>.carousel-controls{grid-column:3}
.shop-design .catalog-header-banner{grid-column:2;grid-row:1;width:100%;min-width:0;aspect-ratio:80/11;border-radius:12px;overflow:hidden;background:#f2f5f8}
.shop-design .catalog-header-banner img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0!important}
.shop-design .catalog-header-banner a{display:block;width:100%;height:100%}
.shop-design .slider-controls{inset-inline:24px;bottom:18px;gap:10px;width:max-content;max-width:calc(100% - 48px);margin-inline:auto;padding:8px 12px;border-radius:999px;background:#ffffffee;box-shadow:0 4px 16px #142f4715;direction:ltr}
.shop-design .slider-controls>button{background:#fff;border:1px solid #dbe4e9;box-shadow:none;width:34px;height:34px;color:#0b2d4b}
.shop-design .slider-dots{direction:ltr;display:flex;align-items:center;gap:5px}
.shop-design .slider-dots button{padding:0;min-width:9px;width:9px;height:5px;border-radius:999px;border:0;background:#b5c6cf}
.shop-design .slider-dots button[aria-current=true]{width:24px;background:#0875a2}
.shop-design .product-track .product-body h3{font-size:13px;line-height:1.7}.shop-design .product-track .merchant-link{font-size:11px}
.shop-design #variantStatus[data-stock=out]{color:#9a482d}.shop-design #variantStatus[data-stock=unknown]{color:#64748b}.collection-intro{font-size:14px;line-height:1.8;color:#526a7b;margin:0 0 22px}
.product-update-card{border:1px solid #e0e8ec;background:#fff;border-radius:14px;padding:16px;margin:18px 0;text-align:right}.update-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px}.update-stock{font-size:11px;padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569}.update-stock-in{background:#e8f5ed;color:#146749}.update-stock-out{background:#fff1ec;color:#9a482d}.product-update-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0 0}.product-update-stats dt{font-size:11px;color:#697e8b;font-weight:400}.product-update-stats dd{margin:7px 0 0;font-size:12px;line-height:1.7}.product-update-stats time{display:block;direction:ltr;text-align:right}.update-history-empty{font-size:11px;color:#697e8b;margin:14px 0 0}.price-history{border-top:1px solid #edf1f4;margin-top:16px;padding-top:13px}.price-history summary{cursor:pointer;font-size:12px;font-weight:700}.price-history summary span{font-weight:400;margin-inline-start:8px;color:#64748b;font-size:11px}.price-history figure{margin:16px 0 12px}.price-history-chart{width:100%;display:block;direction:ltr}.price-history-chart text{fill:#64748b;font:12px Arial,sans-serif}.chart-grid{stroke:#e2e8f0;stroke-width:1}.chart-line{fill:none;stroke:#14785b;stroke-width:3;stroke-linejoin:round}.price-history-chart circle{fill:#fff;stroke:#14785b;stroke-width:2}.price-history-chart circle:hover,.price-history-chart circle:focus{fill:#14785b;r:6}.price-history figcaption{font-size:10px;color:#64748b;text-align:center}.price-history-table{max-height:200px;overflow:auto}.price-history-table table{width:100%;border-collapse:collapse;font-size:11px}.price-history-table th,.price-history-table td{text-align:right;padding:8px;border-bottom:1px solid #e2e8f0}.price-history-table th{color:#64748b;background:#f8fafc}.shop-design #variantStatus{font-size:12px;min-height:18px;color:#146749}
@media(max-width:700px){.product-update-stats{grid-template-columns:1fr;gap:10px}.product-update-stats>div{display:flex;justify-content:space-between;gap:12px}.product-update-stats dd{margin:0}.price-history summary span{display:block;margin:7px 0 0}}
@media(max-width:1000px){.shop-design .catalog-carousel-head{grid-template-columns:minmax(0,1fr) auto;gap:16px}.shop-design .catalog-carousel-head>.carousel-controls{grid-column:2;grid-row:1}.shop-design .catalog-header-banner{grid-column:1/-1;grid-row:2}.shop-design .catalog-title-block h2{font-size:21px}}
@media(max-width:700px){.shop-design .carousel-controls{min-width:80px;gap:5px}.shop-design .carousel-controls button{width:34px;height:34px}.shop-design .carousel-drag-label{font-size:10px}.shop-design .catalog-carousel-head{min-height:0}.shop-design .catalog-title-block h2{font-size:19px}.shop-design .catalog-title-block>img{width:50px;height:50px}.shop-design .slider-controls{bottom:12px;gap:6px;padding:6px 8px}.shop-design .slider-controls>button{width:30px;height:30px}.shop-design .carousel-heading{gap:12px}}
.product-update-stats time,.product-update-stats dd:not(:has(time)),.price-history-table td:first-child{direction:ltr;unicode-bidi:isolate}.price-history-table td:nth-child(2){white-space:nowrap}
