/* =============================================================
   iKlinik Store — Product UI  (v58 clean rebuild)
   ============================================================= */
:root{--ik-red:#c0392b;--ik-red-soft:#fdecea;--ik-blue:#1673c4;--ik-blue-bg:#eff6ff;--ik-blue-bd:#dbeafe;--ik-green:#16a34a;--ik-ink:#111827;--ik-muted:#6b7280;--ik-border:#e5e7eb;--ik-soft:#f9fafb;--ik-accent:#c92026;--ik-accent-dark:#981b1f;--ik-accent-soft:#fdeced;}

/* ─── Product Cards ───────────────────────────────────────── */
.ik-product-card,.home-product-card,.best-selling-wrap .home-product-card,.home-product-grid .home-product-card{background:#fff !important;border:1px solid var(--ik-border) !important;border-radius:16px !important;box-shadow:0 8px 24px rgba(15,23,42,.05) !important;display:flex !important;flex-direction:column !important;height:100% !important;overflow:hidden !important;padding:0 !important;position:relative !important;}
.ik-product-card__media,.home-product-card__media{display:block !important;padding:8px 8px 0 !important; margin-bottom:-8px !important; text-decoration:none !important;}
.ik-product-card__image-wrap,.home-product-card__image-wrap,.best-selling-wrap .home-product-card__image-wrap,.home-product-grid .home-product-card__image-wrap{background:#ffffff !important;border-radius:12px !important;min-height:300px !important; display:flex !important;align-items:center !important;justify-content:center !important;overflow:hidden !important;padding:0 !important;}
.ik-product-card__image,.home-product-card__image,.best-selling-wrap .home-product-card__image,.home-product-grid .home-product-card__image{width:100% !important;height:290px !important; max-height:290px !important;object-fit:contain !important;display:block !important;}
.ik-product-card__body,.home-product-card__body{padding:0 18px 0 !important; margin-top:-6px !important; display:flex !important;flex-direction:column !important;gap:2px !important;flex:1 !important;text-align:left !important;direction:ltr !important;}
.home-product-card__preowned-badge{display:inline-flex !important;align-items:center !important;gap:7.6px !important;max-width:calc(100% - 32px) !important;margin:0 !important;padding:6.65px 10.45px !important;border:1px solid rgba(192,57,43,.18) !important;border-radius:999px !important;background:linear-gradient(180deg,#fff8f6 0%,#ffffff 100%) !important;box-shadow:0 6px 16px rgba(192,57,43,.08) !important;position:absolute !important;top:14px !important;left:14px !important;z-index:2 !important;}
.home-product-card__preowned-icon{width:17.1px !important;height:17.1px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;flex:0 0 17.1px !important;border-radius:999px !important;background:#ecfdf3 !important;color:#16a34a !important;}
.home-product-card__preowned-icon svg{width:11.4px !important;height:11.4px !important;stroke:currentColor !important;fill:none !important;stroke-width:1.9 !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
.home-product-card__preowned-copy{display:flex !important;flex-direction:column !important;gap:2px !important;min-width:0 !important;line-height:1 !important;align-items:center !important;justify-content:center !important;text-align:center !important;flex:1 1 auto !important;}
.home-product-card__preowned-en{font-size:9.5px !important;line-height:1.05 !important;font-weight:800 !important;letter-spacing:.17em !important;text-transform:uppercase !important;color:#c0392b !important;white-space:nowrap !important;}
.home-product-card__preowned-ar{font-size:9.5px !important;line-height:1.15 !important;font-weight:700 !important;color:#4b5563 !important;direction:rtl !important;text-align:center !important;white-space:nowrap !important;width:100% !important;}
.ik-product-card__title,.home-product-card__title,.best-selling-wrap .home-product-card__title,.home-product-grid .home-product-card__title{color:var(--ik-ink) !important;font-size:.95rem !important;line-height:1.20 !important; /* Reduced line-height drastically to kill whitespace */ font-weight:700 !important;margin-top:0 !important;text-decoration:none !important;display:block !important;text-align:left !important;direction:ltr !important;}
.ik-product-card__title:hover,.home-product-card__title:hover{color:var(--ik-accent-dark) !important;}
.ik-product-card__short,.home-product-card__short{color:var(--ik-muted) !important;font-size:.82rem !important;line-height:1.30 !important;display:-webkit-box !important;-webkit-line-clamp:1 !important;line-clamp:1 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;text-align:left !important;direction:ltr !important;}
.ik-product-card__purchase,.home-product-card__purchase{padding:12px 18px !important;border-top:1px solid #f0f2f6 !important;display:flex !important;flex-direction:row-reverse !important;align-items:center !important;justify-content:space-between !important;gap:8px !important;direction:ltr !important;}
.ik-product-card__prices,.home-product-card__prices{display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:4px !important;min-width:0 !important;}
.home-product-card__price-line,.ik-related-card__prices .home-product-card__price-line{display:flex;align-items:baseline;gap:10px;min-width:0;max-width:100%;flex-wrap:nowrap;}
.ik-price-now{font-size:.99rem !important; /* 1.05 * 0.95 ~= 0.99 */ font-weight:800 !important;color:var(--ik-ink) !important;text-align:left !important;direction:ltr !important;}
.ik-price-old{font-size:.8rem !important; /* 0.85 * 0.95 ~= 0.8 */ color:#9aa1ad !important;text-decoration:line-through !important;text-align:left !important;direction:ltr !important;}
.home-product-card__installment{display:inline-flex;align-items:baseline;flex:0 1 auto;min-width:0;font-size:.72rem;line-height:1.25;font-weight:500;color:var(--ik-accent);white-space:nowrap;}
/* سياسة زر إضافة للسلة في الموقع بالكامل */
.ik-buybox{display:flex !important;align-items:center !important;}
.ik-add-to-cart-btn,.ik-buybox-pill{border:1.5px solid var(--ik-accent) !important;border-radius:999px !important;min-height:34px !important; /* 36 * 0.95 ~= 34 */ background:#fff !important;}
.ik-add-to-cart-btn{padding:0 13px !important; /* 14 * 0.95 ~= 13 */ font-size:.8rem !important; /* 0.85 * 0.95 ~= 0.8 */ font-weight:700 !important;color:#111 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;text-decoration:none !important;white-space:nowrap !important;}
.ik-add-to-cart-btn:hover{background:var(--ik-accent-soft) !important;}
.ik-buybox-pill{display:inline-flex !important;align-items:center !important;justify-content:space-between !important;min-width:132px !important;overflow:hidden !important;}
.ik-buybox-btn,.ik-buybox-value{min-width:52px !important;height:48px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}
.ik-buybox-btn{background:#fff !important;border:0 !important;font-size:1.8rem !important;line-height:1 !important;color:#111 !important;cursor:pointer !important;}
.ik-buybox-btn:hover{background:var(--ik-accent-soft) !important;}
.ik-buybox-btn.is-plus{background:#f2f3f7 !important;border-left:2px solid #cfd4dd !important;}
.ik-buybox-btn.is-minus,.ik-buybox-btn.is-trash{background:#fff !important;}
.ik-buybox-value{font-size:1.2rem !important;font-weight:900 !important;color:#111 !important;}
.ik-buybox-btn svg{width:22px !important;height:22px !important;stroke:currentColor !important;fill:none !important;stroke-width:2.2 !important;}
/* غلاف ثابت لزر إضافة للسلة داخل كروت الموقع بالكامل */
.ik-buybox[data-ik-mode="card"]{--ik-card-buybox-width:132px;--ik-card-buybox-height:36px;display:flex !important;justify-content:flex-end !important;align-items:center !important;width:var(--ik-card-buybox-width) !important;min-width:var(--ik-card-buybox-width) !important;max-width:var(--ik-card-buybox-width) !important;flex:0 0 var(--ik-card-buybox-width) !important;}
.ik-buybox[data-ik-mode="card"] .ik-buybox-shell{width:100% !important;min-width:100% !important;max-width:100% !important;height:var(--ik-card-buybox-height) !important;display:flex !important;align-items:stretch !important;}
.ik-buybox[data-ik-mode="card"] .ik-add-to-cart-btn,
.ik-buybox[data-ik-mode="card"] .ik-buybox-pill{width:100% !important;min-width:100% !important;max-width:100% !important;height:100% !important;min-height:var(--ik-card-buybox-height) !important;box-sizing:border-box !important;}
.ik-buybox[data-ik-mode="card"] .ik-add-to-cart-btn{padding:0 12px !important;font-size:.8rem !important;}
.ik-buybox[data-ik-mode="card"] .ik-buybox-pill{display:grid !important;grid-template-columns:36px minmax(0,1fr) 36px !important;align-items:center !important;}
.ik-buybox[data-ik-mode="card"] .ik-buybox-btn{width:36px !important;min-width:36px !important;height:var(--ik-card-buybox-height) !important;font-size:1.15rem !important;padding:0 !important;}
.ik-buybox[data-ik-mode="card"] .ik-buybox-value{min-width:0 !important;width:auto !important;height:var(--ik-card-buybox-height) !important;font-size:1rem !important;}
.ik-stock-badge{display:inline-flex !important;align-items:center !important;padding:6px 12px !important;border-radius:999px !important;font-size:.82rem !important;font-weight:800 !important;}
.ik-stock-badge.is-in{background:#ecfdf5 !important;color:#166534 !important;border:1px solid #bbf7d0 !important;}
.ik-stock-badge.is-low{background:#fff7ed !important;color:#9a3412 !important;border:1px solid #fdba74 !important;}
.ik-stock-badge.is-out{background:#fff1f2 !important;color:#b42318 !important;border:1px solid #fecdd3 !important;}
.ik-related-card{background:#fff !important;border:1px solid var(--ik-border) !important;border-radius:20px !important;overflow:hidden !important;display:flex !important;flex-direction:column !important;box-shadow:0 4px 16px rgba(15,23,42,.04) !important;}
.ik-related-card__media{display:block !important;padding:16px !important;background:#fff !important;}
.ik-related-card__media img{width:100% !important;height:200px !important;object-fit:contain !important;display:block !important;}
.ik-related-card__body{padding:0 16px 16px !important;display:flex !important;flex-direction:column !important;gap:8px !important;flex:1 !important;}
.ik-related-card__title{font-size:.98rem !important;font-weight:800 !important;color:var(--ik-ink) !important;text-decoration:none !important;line-height:1.4 !important;}
.ik-related-card__desc{font-size:.88rem !important;color:var(--ik-muted) !important;line-height:1.55 !important;}
.ik-related-card__bottom{margin-top:auto !important;display:grid !important;gap:10px !important;}
.ik-related-card__prices{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;}

/* ═══ PRODUCT DETAIL PAGE ══════════════════════════════════ */
html,body{background:#fff !important;}
body:has(#productMount),body:has(.ik-product-page-shell){background:#fff !important;}
#productMount.ik-product-page-shell,.ik-product-page-shell{width:100% !important;max-width:none !important;margin:0 !important;padding:28px 36px 64px !important;background:#fff !important;overflow-x:hidden !important;}
.ik-pdp-page{display:flex !important;flex-direction:column !important;gap:40px !important;background:#fff !important;}

/* Hero grid */
.ik-pdp-hero,.ik-dp-hero{display:grid !important;grid-template-columns:minmax(0,54%) minmax(380px,46%) !important;gap:56px !important;align-items:start !important;}

/* Gallery */
.ik-pdp-gallery,.ik-dp-gallery{display:flex !important;flex-direction:column !important;gap:20px !important;position:sticky !important;top:20px !important;background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;}
.ik-pdp-main-media,.ik-dp-main-media{position:relative !important;background:#fff !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;min-height:640px !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:0 66px !important;}
.ik-pdp-main-media img,.ik-dp-main-media img{width:100% !important;max-height:650px !important;object-fit:contain !important;display:block !important;}
.ik-gallery-arrow{position:absolute !important;top:50% !important;transform:translateY(-50%) !important;width:54px !important;height:54px !important;border-radius:50% !important;border:1px solid #d7dde5 !important;background:#fff !important;color:#646b78 !important;font-size:2rem !important;line-height:1 !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;z-index:2 !important;box-shadow:none !important;}
.ik-gallery-arrow.is-left{left:12px !important;}.ik-gallery-arrow.is-right{right:12px !important;}
.ik-gallery-arrow:hover{background:#fff !important;border-color:#cfd6e0 !important;}
.ik-pdp-thumbs,.ik-dp-thumbs{display:flex !important;gap:18px !important;overflow-x:auto !important;scrollbar-width:none !important;padding:0 !important;align-items:center !important;}
.ik-pdp-thumbs::-webkit-scrollbar,.ik-dp-thumbs::-webkit-scrollbar{display:none !important;}
.ik-pdp-thumb,.ik-dp-thumb{flex:0 0 66px !important;width:66px !important;height:66px !important;border-radius:12px !important;border:1px solid transparent !important;background:#fff !important;padding:4px !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;transition:border-color .15s,box-shadow .15s !important;box-shadow:none !important;}
.ik-pdp-thumb img,.ik-dp-thumb img{width:100% !important;height:100% !important;object-fit:contain !important;border-radius:10px !important;}
.ik-pdp-thumb.is-active,.ik-dp-thumb.is-active,.ik-pdp-thumb:hover,.ik-dp-thumb:hover{border-color:var(--ik-blue) !important;box-shadow:0 0 0 2px rgba(22,115,196,.12) !important;transform:none !important;}

/* Summary panel */
.ik-pdp-summary,.ik-dp-summary{position:sticky !important;top:20px !important;display:flex !important;flex-direction:column !important;gap:20px !important;background:transparent !important;border:0 !important;box-shadow:none !important;padding:12px 0 0 !important;}
.ik-pdp-heading-block{display:flex !important;flex-direction:column !important;gap:10px !important;}
.ik-pdp-brand,.ik-dp-brand{margin:0 !important;font-size:13px !important;line-height:1.2 !important;font-weight:700 !important;letter-spacing:.14em !important;text-transform:uppercase !important;color:#5b6472 !important;}
.ik-pdp-preowned-badge{display:inline-flex !important;align-items:center !important;gap:8px !important;align-self:flex-start !important;max-width:100% !important;margin:0 !important;padding:7px 11px !important;border:1px solid rgba(192,57,43,.18) !important;border-radius:999px !important;background:linear-gradient(180deg,#fff8f6 0%,#ffffff 100%) !important;box-shadow:0 6px 16px rgba(192,57,43,.08) !important;}
.ik-pdp-preowned-icon{width:18px !important;height:18px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;flex:0 0 18px !important;border-radius:999px !important;background:#ecfdf3 !important;color:#16a34a !important;}
.ik-pdp-preowned-icon svg{width:12px !important;height:12px !important;stroke:currentColor !important;fill:none !important;stroke-width:1.9 !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
.ik-pdp-preowned-copy{display:flex !important;flex-direction:column !important;gap:2px !important;min-width:0 !important;line-height:1 !important;align-items:center !important;justify-content:center !important;text-align:center !important;flex:1 1 auto !important;}
.ik-pdp-preowned-en{font-size:10px !important;line-height:1.05 !important;font-weight:800 !important;letter-spacing:.18em !important;text-transform:uppercase !important;color:#c0392b !important;white-space:nowrap !important;}
.ik-pdp-preowned-ar{font-size:10px !important;line-height:1.15 !important;font-weight:700 !important;color:#4b5563 !important;direction:rtl !important;text-align:center !important;white-space:nowrap !important;width:100% !important;}
.ik-pdp-title,.ik-dp-title{font-size:28px !important;line-height:1.32 !important;font-weight:600 !important;color:var(--ik-ink) !important;margin:0 !important;letter-spacing:-.02em !important;}
.ik-pdp-subtitle{margin:0 !important;font-size:14px !important;line-height:1.7 !important;color:#5b6472 !important;max-width:58ch !important;}
.ik-pdp-warranty-row,.ik-dp-warranty-row{display:flex !important;align-items:center !important;gap:10px !important;font-size:15px !important;color:#2d3748 !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;min-height:0 !important;line-height:1.35 !important;}
.ik-pdp-warranty-icon{width:26px !important;height:26px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;color:#6b7280 !important;flex-shrink:0 !important;}
.ik-pdp-warranty-icon svg{width:22px !important;height:22px !important;stroke:currentColor !important;fill:none !important;stroke-width:1.8 !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
.ik-pdp-warranty-months{font-size:21px !important;line-height:1 !important;font-weight:700 !important;color:#e45145 !important;margin-inline-end:4px !important;}
.ik-pdp-inline-link{border:0 !important;background:none !important;padding:0 !important;color:#2b7bc8 !important;font-size:14px !important;font-weight:500 !important;cursor:pointer !important;}
.ik-pdp-price-block{display:flex !important;flex-direction:column !important;gap:12px !important;}
.ik-pdp-price-wrap,.ik-dp-price-wrap{display:flex !important;align-items:baseline !important;gap:10px !important;margin:0 !important;flex-wrap:wrap !important;}
.ik-pdp-price,.ik-dp-price{font-size:38px !important;line-height:1 !important;color:#e45145 !important;font-weight:700 !important;letter-spacing:-.03em !important;margin:0 !important;}
.ik-pdp-price span,.ik-dp-price span{font-size:16px !important;font-weight:600 !important;color:#e45145 !important;margin-inline-start:2px !important;}
.ik-pdp-price-old,.ik-dp-old-price{font-size:15px !important;color:#98a2b3 !important;text-decoration:line-through !important;align-self:center !important;}
.ik-dp-one-price-line{display:flex !important;align-items:center !important;gap:10px !important;font-size:15px !important;color:#1f2937 !important;margin:0 !important;}
.ik-pdp-shield-icon{width:32px !important;height:32px !important;border-radius:50% !important;background:#edf7f0 !important;color:#6b9d7e !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;flex-shrink:0 !important;}
.ik-pdp-shield-icon svg{width:18px !important;height:18px !important;stroke:currentColor !important;fill:none !important;stroke-width:1.8 !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
.ik-pdp-choice-stack{display:flex !important;flex-direction:column !important;gap:18px !important;}

/* Color */
.ik-storage-block{display:flex !important;flex-direction:column !important;gap:0 !important;margin:0 !important;padding:0 !important;border:0 !important;}
.ik-storage-chip-list{display:flex !important;flex-wrap:wrap !important;gap:10px !important;}
.ik-storage-chip{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-height:44px !important;padding:0 16px !important;border-radius:12px !important;border:1px solid #dce2ea !important;background:#fff !important;color:#111827 !important;font-size:14px !important;font-weight:600 !important;cursor:pointer !important;transition:border-color .15s,box-shadow .15s,opacity .15s !important;}
.ik-storage-chip.is-active,.ik-storage-chip:hover{border-color:var(--ik-blue) !important;box-shadow:0 0 0 2px rgba(22,115,196,.10) !important;}
.ik-storage-chip.is-out{opacity:.5 !important;border-color:#f0b3b7 !important;color:#6b7280 !important;}
.ik-color-block{display:flex !important;flex-direction:column !important;gap:0 !important;margin:0 !important;padding:0 !important;border:0 !important;}
.ik-summary-label{font-size:15px !important;font-weight:600 !important;color:var(--ik-ink) !important;margin:0 0 12px !important;display:block !important;}
.ik-color-chip-list{display:flex !important;flex-wrap:wrap !important;gap:10px !important;}
.ik-color-chip{position:relative !important;width:70px !important;height:70px !important;border-radius:12px !important;border:1px solid #dce2ea !important;background:#fff !important;padding:4px !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;transition:border-color .15s,box-shadow .15s !important;overflow:visible !important;}
.ik-color-chip img{width:100% !important;height:100% !important;object-fit:cover !important;border-radius:10px !important;display:block !important;}
.ik-color-chip.is-active,.ik-color-chip:hover{border-color:var(--ik-blue) !important;box-shadow:0 0 0 2px rgba(22,115,196,.10) !important;}
.ik-color-chip.is-out{opacity:.55 !important;border-color:#f0b3b7 !important;}
.ik-color-chip__soldout{position:absolute !important;bottom:-8px !important;left:50% !important;transform:translateX(-50%) !important;background:#fff1f2 !important;color:#b42318 !important;border:1px solid #fecdd3 !important;border-radius:999px !important;padding:1px 8px !important;font-size:10px !important;font-weight:700 !important;line-height:1.6 !important;pointer-events:none !important;}
.ik-color-meta{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:12px !important;font-size:13px !important;color:#374151 !important;margin-top:10px !important;}
.ik-color-clear{background:none !important;border:0 !important;color:#374151 !important;text-decoration:underline !important;text-underline-offset:2px !important;padding:0 !important;font-weight:600 !important;cursor:pointer !important;font-size:13px !important;}

/* Installment bar */
.ik-installment-wrap{display:flex !important;flex-direction:column !important;gap:10px !important;margin:0 !important;}
.ik-installment-bar{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;padding:18px 16px !important;border-radius:12px !important;background:rgba(228,81,69,.08) !important;border:1px solid rgba(228,81,69,.18) !important;}
.ik-installment-bar__left{display:flex !important;align-items:center !important;gap:12px !important;font-size:15px !important;font-weight:500 !important;color:#3f1d1a !important;}
.ik-installment-bar__icon{width:28px !important;height:28px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;color:#d94b40 !important;flex-shrink:0 !important;}
.ik-installment-bar__icon svg{width:24px !important;height:24px !important;stroke:currentColor !important;fill:none !important;stroke-width:1.8 !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
.ik-installment-bar__left strong{font-weight:700 !important;}
.ik-installment-bar__plans{font-size:14px !important;font-weight:600 !important;color:#c63f34 !important;background:none !important;border:0 !important;padding:0 !important;cursor:pointer !important;display:flex !important;align-items:center !important;gap:2px !important;white-space:nowrap !important;}
.ik-installment-bar__plans::after{content:"›" !important;font-size:16px !important;}

/* Buy actions */
.ik-pdp-actions,.ik-dp-actions{display:flex !important;align-items:stretch !important;gap:12px !important;flex-wrap:nowrap !important;margin-top:4px !important;}
.ik-pdp-actions .ik-buybox,.ik-dp-actions .ik-buybox{flex:0 0 auto !important;}
.ik-pdp-actions .ik-buybox--details .ik-buybox-pill,.ik-dp-actions .ik-buybox--details .ik-buybox-pill{min-width:146px !important;width:146px !important;min-height:54px !important;border-radius:28px !important;border:1px solid #d6dce5 !important;background:#fff !important;justify-content:space-between !important;padding:0 10px !important;overflow:hidden !important;box-sizing:border-box !important;}
.ik-pdp-actions .ik-buybox--details .ik-add-to-cart-btn,.ik-dp-actions .ik-buybox--details .ik-add-to-cart-btn{width:180px !important;min-width:180px !important;min-height:54px !important;border-radius:28px !important;border:1.5px solid #d94b40 !important;background:#fff !important;color:#111827 !important;font-size:15px !important;font-weight:600 !important;padding:0 18px !important;}
.ik-pdp-actions .ik-buybox--details .ik-add-to-cart-btn:hover,.ik-dp-actions .ik-buybox--details .ik-add-to-cart-btn:hover{background:rgba(228,81,69,.06) !important;color:#111827 !important;}
.ik-pdp-actions .ik-buybox-value,.ik-dp-actions .ik-buybox-value{font-size:18px !important;font-weight:700 !important;min-width:26px !important;width:auto !important;flex:0 0 auto !important;}
.ik-pdp-actions .ik-buybox-btn,.ik-dp-actions .ik-buybox-btn{width:32px !important;min-width:32px !important;height:32px !important;border-radius:50% !important;background:#fff !important;border:0 !important;flex:0 0 32px !important;padding:0 !important;}
.ik-pdp-actions .ik-buybox-btn.is-cart,.ik-pdp-actions .ik-buybox-btn.is-trash,.ik-dp-actions .ik-buybox-btn.is-cart,.ik-dp-actions .ik-buybox-btn.is-trash{color:#111827 !important;}
.ik-pdp-actions .ik-buybox-btn.is-cart svg,.ik-pdp-actions .ik-buybox-btn.is-trash svg,.ik-dp-actions .ik-buybox-btn.is-cart svg,.ik-dp-actions .ik-buybox-btn.is-trash svg{width:20px !important;height:20px !important;stroke-width:2.1 !important;}
.ik-btn-solid--buy{flex:0 0 250px !important;min-height:54px !important;border-radius:28px !important;background:#17a637 !important;border:0 !important;color:#fff !important;font-size:16px !important;font-weight:700 !important;cursor:pointer !important;display:flex !important;align-items:center !important;justify-content:center !important;box-shadow:none !important;}
.ik-btn-solid--buy:hover{background:#15803d !important;}
.ik-btn-solid--buy:disabled{background:#d1fae5 !important;color:#6b7280 !important;cursor:not-allowed !important;}


/* Installment Drawer */
.ik-installment-drawer{position:fixed !important;inset:0 !important;display:none !important;z-index:1300 !important;}
.ik-installment-drawer.is-open{display:block !important;}
.ik-installment-backdrop{position:absolute !important;inset:0 !important;background:rgba(15,23,42,.22) !important;}
.ik-installment-panel{position:absolute !important;top:0 !important;right:0 !important;height:100% !important;width:min(520px,100vw) !important;background:#fff !important;box-shadow:-14px 0 34px rgba(15,23,42,.10) !important;display:flex !important;flex-direction:column !important;transform:translateX(100%) !important;transition:transform .25s ease !important;}
.ik-installment-drawer.is-open .ik-installment-panel{transform:translateX(0) !important;}
.ik-installment-panel__head{display:flex !important;align-items:flex-start !important;justify-content:space-between !important;gap:16px !important;padding:26px 24px 20px !important;border-bottom:1px solid #e7ebf0 !important;flex-shrink:0 !important;}
.ik-installment-panel__head h3{margin:0 !important;font-size:28px !important;font-weight:700 !important;color:#2b2f39 !important;line-height:1.06 !important;letter-spacing:-.03em !important;}
.ik-installment-panel__head p{margin:8px 0 0 !important;font-size:14px !important;color:#5f636d !important;line-height:1.45 !important;}
.ik-installment-close{width:40px !important;height:40px !important;border-radius:8px !important;border:1.5px solid #7f7f7f !important;background:#fff !important;font-size:24px !important;color:#5f5f5f !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;flex-shrink:0 !important;line-height:1 !important;}
.ik-installment-panel__body{flex:1 !important;overflow-y:auto !important;padding:20px 24px 26px !important;}
.ik-plan-type-title{font-size:12px !important;font-weight:800 !important;color:#2f3542 !important;letter-spacing:0 !important;margin:0 0 10px !important;text-transform:none !important;}
.ik-plan-type-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:12px !important;margin-bottom:18px !important;}
.ik-plan-type-card{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;min-height:74px !important;padding:0 18px !important;border-radius:12px !important;border:1.5px solid #d6dbe3 !important;background:#fff !important;color:#181b22 !important;cursor:pointer !important;}
.ik-plan-type-card__copy{display:inline-flex !important;align-items:center !important;gap:10px !important;}
.ik-plan-type-card__icon{width:18px !important;height:18px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;color:#111827 !important;}
.ik-plan-type-card__icon svg{width:18px !important;height:18px !important;stroke:currentColor !important;stroke-width:1.7 !important;fill:none !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
.ik-plan-type-card strong{font-size:15px !important;font-weight:500 !important;letter-spacing:0 !important;}
.ik-plan-type-card i{width:20px !important;height:20px !important;border-radius:50% !important;border:2px solid #3182da !important;display:block !important;flex-shrink:0 !important;background:#fff !important;}
.ik-plan-type-card.is-active{background:#edf5fd !important;border-color:#3182da !important;}
.ik-plan-type-card.is-active i{border-color:#3182da !important;background:#fff !important;box-shadow:none !important;}
.ik-provider-row{position:relative !important;display:flex !important;align-items:center !important;justify-content:center !important;margin-bottom:18px !important;padding:0 32px !important;min-height:74px !important;}
.ik-provider-nav{position:absolute !important;top:50% !important;transform:translateY(-50%) !important;width:44px !important;height:44px !important;border-radius:50% !important;border:1.5px solid #c3c7ce !important;background:#fff !important;font-size:24px !important;color:#8f939a !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;z-index:2 !important;box-shadow:0 2px 8px rgba(15,23,42,.05) !important;}
.ik-provider-nav[data-provider-nav="prev"]{left:-12px !important;}
.ik-provider-nav[data-provider-nav="next"]{right:-12px !important;}
.ik-provider-nav:disabled{opacity:.35 !important;cursor:not-allowed !important;}
.ik-provider-track{display:flex !important;gap:12px !important;overflow:hidden !important;align-items:stretch !important;justify-content:flex-start !important;width:100% !important;}
.ik-provider-card{flex:0 0 92px !important;width:92px !important;max-width:92px !important;min-width:92px !important;min-height:50px !important;border-radius:12px !important;border:1.5px solid #d7dde5 !important;background:#fff !important;padding:10px 8px !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;}
.ik-provider-card.is-active{border-color:#3182da !important;background:#fff !important;box-shadow:0 0 0 2px rgba(49,130,218,.10) inset !important;}
.ik-provider-card__logo{display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;height:100% !important;}
.ik-provider-card__logo img{max-width:72px !important;max-height:30px !important;object-fit:contain !important;display:block !important;}
.ik-provider-card__name{font-size:11px !important;font-weight:700 !important;color:#20242d !important;text-align:center !important;line-height:1.25 !important;}
.ik-offer-selector{margin:0 0 18px !important;}
.ik-offer-chip-row{display:flex !important;flex-wrap:wrap !important;gap:10px !important;}
.ik-offer-chip{border:0 !important;background:#eef4fb !important;border-radius:999px !important;padding:8px 13px !important;font-size:12px !important;font-weight:700 !important;color:#2c6fc8 !important;cursor:pointer !important;}
.ik-offer-chip.is-active{background:#deebfb !important;color:#1f62be !important;}
.ik-plan-summary{margin:0 0 18px !important;padding:0 !important;background:transparent !important;border:0 !important;}
.ik-plan-summary__title{font-size:18px !important;font-weight:800 !important;color:#101216 !important;margin:0 0 8px !important;line-height:1.2 !important;letter-spacing:-.02em !important;}
.ik-plan-summary__copy{font-size:14px !important;color:#16181d !important;line-height:1.5 !important;display:grid !important;gap:2px !important;}
.ik-plan-table-title{font-size:15px !important;font-weight:800 !important;color:#3a3f4a !important;margin:0 0 8px !important;}
.ik-plan-table{border:1px solid #d9dfe7 !important;border-radius:12px !important;overflow:hidden !important;background:#fff !important;}
.ik-plan-table__head,.ik-plan-table__row{display:grid !important;grid-template-columns:1fr 1fr 1.15fr 1fr !important;}
.ik-plan-table__head{background:#eef1f6 !important;font-size:11px !important;font-weight:500 !important;color:#556070 !important;text-transform:uppercase !important;letter-spacing:.03em !important;}
.ik-plan-table__head span,.ik-plan-table__row span{padding:13px 12px !important;border-bottom:1px solid #e7ebf0 !important;}
.ik-plan-table__row:last-child span{border-bottom:0 !important;}
.ik-plan-table__row{background:#fff !important;font-size:13px !important;color:#2e3440 !important;}
.ik-plan-table__row strong{display:block !important;font-size:13px !important;font-weight:700 !important;color:#2c3140 !important;}
.ik-plan-table__row small{display:block !important;margin-top:3px !important;color:#737b87 !important;font-size:11px !important;line-height:1.35 !important;}
.ik-plan-table__row span:last-child{font-weight:700 !important;color:#2c3140 !important;}
.ik-no-scroll{overflow:hidden !important;}
/* Tabs */
.ik-pdp-tabs-zone{display:flex !important;flex-direction:column !important;gap:16px !important;}
.ik-product-tabs{display:flex !important;gap:28px !important;flex-wrap:wrap !important;align-items:center !important;}
.ik-tab-btn{border:0 !important;background:transparent !important;color:#2f80c8 !important;border-radius:999px !important;padding:14px 20px !important;font-size:18px !important;font-weight:400 !important;cursor:pointer !important;transition:background .15s,border-color .15s,color .15s !important;}
.ik-tab-btn.active{background:#dbe9f7 !important;border:1px solid #2f80c8 !important;color:#2f80c8 !important;}
.ik-tab-pane{display:none !important;}.ik-tab-pane.active{display:block !important;}
.ik-pdp-content-card{background:#fff !important;border:1px solid #e4e7ec !important;border-radius:16px !important;padding:24px 26px !important;color:#1f2937 !important;line-height:1.85 !important;}
.ik-empty-state{color:var(--ik-muted) !important;line-height:1.8 !important;}
.ik-tab-pane[data-ik-pane="specs"]{padding:0 !important;}
.ik-tab-pane[data-ik-pane="box"]{padding:0 !important;}
.ik-spec-table{display:flex !important;flex-direction:column !important;border-radius:16px !important;border:1px solid #eaecf0 !important;overflow:hidden !important;background:#fff !important;}
.ik-spec-row{display:grid !important;grid-template-columns:minmax(160px,220px) 1fr !important;}
.ik-spec-row:nth-child(odd) .ik-spec-row__label,.ik-spec-row:nth-child(odd) .ik-spec-row__value{background:#f5f5f7 !important;}
.ik-spec-row:nth-child(even) .ik-spec-row__label,.ik-spec-row:nth-child(even) .ik-spec-row__value{background:#ffffff !important;}
.ik-spec-row__label,.ik-spec-row__value{padding:26px 26px !important;border-bottom:1px solid #eaecf0 !important;font-size:14px !important;line-height:1.6 !important;}
.ik-spec-row:last-child .ik-spec-row__label,.ik-spec-row:last-child .ik-spec-row__value{border-bottom:0 !important;}
.ik-spec-row__label{font-weight:700 !important;color:#111827 !important;}
.ik-spec-row__value{color:#5a6170 !important;font-size:15px !important;}
.ik-box-card{border:1px solid #e4e7ec !important;border-radius:16px !important;padding:18px 24px !important;background:#fff !important;max-width:1240px !important;}
.ik-box-card h3{font-size:15px !important;font-weight:700 !important;margin:0 0 8px !important;color:#111827 !important;}
.ik-box-list{margin:0 !important;padding-left:24px !important;display:grid !important;gap:10px !important;color:#5a6170 !important;font-size:14px !important;line-height:1.7 !important;}

/* Highlights */
.ik-highlights-zone{display:flex !important;flex-direction:column !important;gap:28px !important;}
.ik-highlight-intro{border-radius:0 !important;overflow:hidden !important;border:0 !important;}
.ik-highlight-intro__head{background:#dbe9f7 !important;padding:54px 28px !important;text-align:center !important;font-size:28px !important;font-weight:700 !important;color:#000 !important;line-height:1.3 !important;}
.ik-highlight-intro__body{display:grid !important;grid-template-columns:1fr 1fr !important;gap:42px !important;align-items:center !important;padding:46px 0 8px !important;background:#fff !important;}
.ik-highlight-overview{padding-left:120px !important;}
.ik-highlight-overview h3{font-size:28px !important;font-weight:400 !important;color:#000 !important;margin:0 0 28px !important;}
.ik-highlight-overview ul{list-style:none !important;padding:0 !important;margin:0 !important;display:grid !important;gap:12px !important;}
.ik-highlight-overview li{font-size:16px !important;line-height:1.8 !important;}
.ik-highlight-overview strong{color:#000 !important;font-weight:700 !important;display:inline-block !important;min-width:100px !important;}
.ik-highlight-overview span{color:#222 !important;}
.ik-highlight-intro__image{background:#fff !important;border-radius:28px !important;overflow:hidden !important;}
.ik-highlight-intro__image img{width:100% !important;height:auto !important;display:block !important;object-fit:cover !important;}
.ik-highlight-story{display:grid !important;grid-template-columns:1fr 1fr !important;gap:48px !important;align-items:center !important;padding:18px 0 12px !important;background:#fff !important;border:0 !important;border-radius:0 !important;}
.ik-highlight-story.is-reverse{grid-template-columns:1fr 1fr !important;}
.ik-highlight-story.is-reverse .ik-highlight-story__image{order:2 !important;}
.ik-highlight-story.is-reverse .ik-highlight-story__copy{order:1 !important;}
.ik-highlight-story__image{background:#fff !important;border-radius:28px !important;overflow:hidden !important;}
.ik-highlight-story__image img{width:100% !important;height:auto !important;display:block !important;object-fit:cover !important;min-height:240px !important;}
.ik-highlight-story__copy{padding-right:110px !important;}
.ik-highlight-story.is-reverse .ik-highlight-story__copy{padding-right:0 !important;padding-left:110px !important;}
.ik-highlight-story__copy h3{font-size:30px !important;font-weight:400 !important;color:#111 !important;margin:0 0 14px !important;line-height:1.2 !important;}
.ik-highlight-story__copy p{font-size:16px !important;line-height:1.75 !important;color:#2f3744 !important;margin:0 !important;}

/* Related */
.ik-related-zone{display:flex !important;flex-direction:column !important;gap:16px !important;}
.ik-related-zone__head h2{font-size:22px !important;font-weight:700 !important;color:var(--ik-ink) !important;margin:0 !important;}
.ik-related-grid{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:13px !important;} /* Gap reduced by ~15% from 16px to 13px */

/* Home Layout / Grids */
.home-product-grid,.home-top-cards-grid{gap:13px !important;} /* Generic grid gap reduction */
.home-section-title{text-align:left !important;direction:ltr !important;}

/* Admin */
.ik-tab-shell{min-height:0 !important;}
.ik-admin-tabs{display:flex !important;gap:8px !important;flex-wrap:wrap !important;margin-bottom:18px !important;}
.ik-admin-tab-btn{border:1px solid #d4d8df !important;background:#eef1f6 !important;color:#4b5563 !important;border-radius:16px !important;padding:10px 18px !important;font-weight:800 !important;cursor:pointer !important;}
.ik-admin-tab-btn.active{background:var(--ik-red-soft) !important;color:var(--ik-accent-dark) !important;border-color:#efb1b6 !important;}
.ik-admin-pane{display:none !important;}.ik-admin-pane.active{display:block !important;}
.ik-admin-card{background:#fff !important;border:1px solid #e6e9ef !important;border-radius:24px !important;padding:20px !important;box-shadow:0 8px 26px rgba(15,23,42,.04) !important;}
.ik-admin-note{border-radius:16px !important;padding:14px 16px !important;margin-bottom:18px !important;}
.ik-admin-note--warn{background:#fff7da !important;border:1px solid #f1de8b !important;color:#7a5c00 !important;}
.ik-admin-note--ok{background:#eaf8ee !important;border:1px solid #b7e0c1 !important;color:#17653b !important;}
.ik-repeatable{display:flex !important;flex-direction:column !important;gap:12px !important;}
.ik-repeat-row{display:grid !important;gap:12px !important;align-items:start !important;background:#f8fafc !important;border:1px solid #e7ebf2 !important;border-radius:16px !important;padding:14px !important;}
.ik-repeat-row--spec{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto !important;}
.ik-repeat-row--box{grid-template-columns:minmax(0,1fr) auto !important;}
.ik-repeat-row--feature{grid-template-columns:minmax(180px,.9fr) minmax(0,1fr) !important;}
.ik-gallery-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) !important;gap:14px !important;}
.ik-gallery-item{background:#f8fafc !important;border:1px solid #e7ebf2 !important;border-radius:20px !important;padding:12px !important;}
.ik-gallery-item img{width:100% !important;height:130px !important;object-fit:contain !important;background:#fff !important;border-radius:12px !important;}

/* Responsive */
@media(max-width:1200px){
  .ik-pdp-hero,.ik-dp-hero{grid-template-columns:1fr !important;gap:28px !important;}
  .ik-pdp-gallery,.ik-dp-gallery,.ik-pdp-summary,.ik-dp-summary{position:static !important;}
  .ik-pdp-main-media,.ik-dp-main-media{min-height:520px !important;}
  .ik-highlight-overview{padding-left:0 !important;}
  .ik-highlight-intro__body{grid-template-columns:1fr !important;}
  .ik-highlight-story,.ik-highlight-story.is-reverse{grid-template-columns:1fr !important;}
  .ik-highlight-story.is-reverse .ik-highlight-story__image,.ik-highlight-story.is-reverse .ik-highlight-story__copy{order:unset !important;}
  .ik-highlight-story__copy,.ik-highlight-story.is-reverse .ik-highlight-story__copy{padding-left:0 !important;padding-right:0 !important;}
  .ik-related-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:520px){
  .home-product-card__preowned-badge{padding:3.8px 7.6px !important;gap:4.75px !important;max-width:calc(100% - 16px) !important;left:8px !important;top:8px !important;border-radius:15px !important;}
  .home-product-card__preowned-icon{width:13.3px !important;height:13.3px !important;flex:0 0 13.3px !important;}
  .home-product-card__preowned-icon svg{width:8.55px !important;height:8.55px !important;}
  .home-product-card__preowned-en{font-size:6.65px !important;letter-spacing:.13em !important;}
  .home-product-card__preowned-ar{font-size:6.65px !important;line-height:1.05 !important;}
}
@media(max-width:520px){
  .home-product-card__preowned-badge{padding:3.8px 7.6px !important;gap:4.75px !important;max-width:calc(100% - 16px) !important;left:8px !important;top:8px !important;border-radius:15px !important;}
  .home-product-card__preowned-icon{width:13.3px !important;height:13.3px !important;flex:0 0 13.3px !important;}
  .home-product-card__preowned-icon svg{width:8.55px !important;height:8.55px !important;}
  .home-product-card__preowned-en{font-size:6.65px !important;letter-spacing:.13em !important;}
  .home-product-card__preowned-ar{font-size:6.65px !important;}
}
@media(max-width:991.98px){
  .ik-product-card__image-wrap,.home-product-card__image-wrap{min-height:180px !important;}
  .home-product-card__preowned-badge{padding:5.7px 9.5px !important;gap:6.65px !important;max-width:calc(100% - 24px) !important;left:12px !important;top:12px !important;}
}
@media(max-width:768px){
  #productMount.ik-product-page-shell,.ik-product-page-shell{padding:14px 14px 44px !important;}
  .ik-pdp-hero,.ik-dp-hero{gap:24px !important;}
  .ik-pdp-main-media,.ik-dp-main-media{min-height:360px !important;padding:0 42px !important;border-radius:0 !important;}
  .ik-pdp-main-media img,.ik-dp-main-media img{max-height:320px !important;}
  .ik-gallery-arrow{width:44px !important;height:44px !important;font-size:1.6rem !important;}
  .ik-gallery-arrow.is-left{left:10px !important;}
  .ik-gallery-arrow.is-right{right:10px !important;}
  .ik-pdp-thumb,.ik-dp-thumb{flex-basis:56px !important;width:56px !important;height:56px !important;border-radius:12px !important;}
  .ik-pdp-title,.ik-dp-title{font-size:24px !important;}
  .ik-pdp-preowned-badge{padding:6px 10px !important;gap:7px !important;max-width:min(100%, 220px) !important;}
  .ik-pdp-preowned-icon{width:16px !important;height:16px !important;flex:0 0 16px !important;}
  .ik-pdp-preowned-icon svg{width:11px !important;height:11px !important;}
  .ik-pdp-preowned-en,.ik-pdp-preowned-ar{font-size:9px !important;}
  .ik-pdp-subtitle{font-size:14px !important;line-height:1.7 !important;}
  .home-product-card__preowned-badge{padding:4.75px 8.55px !important;gap:5.7px !important;max-width:calc(100% - 20px) !important;left:10px !important;top:10px !important;border-radius:16px !important;}
  .home-product-card__preowned-icon{width:14.25px !important;height:14.25px !important;flex:0 0 14.25px !important;}
  .home-product-card__preowned-icon svg{width:9.5px !important;height:9.5px !important;}
  .home-product-card__preowned-en,.home-product-card__preowned-ar{font-size:8.55px !important;}
  .home-product-card__price-line,.ik-related-card__prices .home-product-card__price-line{gap:8px;}
  .home-product-card__installment{font-size:.66rem;}
  .ik-pdp-warranty-row,.ik-dp-warranty-row{flex-wrap:wrap !important;row-gap:6px !important;}
  .ik-pdp-price,.ik-dp-price{font-size:34px !important;}
  .ik-color-chip{width:52px !important;height:52px !important;}
  .ik-pdp-actions,.ik-dp-actions{flex-wrap:wrap !important;}
  .ik-pdp-actions .ik-buybox--details .ik-buybox-pill,.ik-dp-actions .ik-buybox--details .ik-buybox-pill{min-width:146px !important;width:146px !important;}
  .ik-pdp-actions .ik-buybox--details .ik-add-to-cart-btn,.ik-dp-actions .ik-buybox--details .ik-add-to-cart-btn{width:100% !important;min-width:0 !important;flex:1 !important;}
  .ik-btn-solid--buy{flex-basis:100% !important;min-width:100% !important;flex:1 !important;}
  .ik-installment-panel{width:100vw !important;}
  .ik-installment-panel__head{padding:22px 20px 16px !important;}
  .ik-installment-panel__head h3{font-size:26px !important;}
  .ik-installment-panel__head p{font-size:15px !important;}
  .ik-installment-panel__body{padding:18px 20px 24px !important;}
  .ik-plan-type-grid{grid-template-columns:1fr !important;}
  .ik-provider-row{padding:0 28px !important;min-height:64px !important;}
  .ik-provider-nav{width:40px !important;height:40px !important;font-size:22px !important;}
  .ik-provider-nav[data-provider-nav="prev"]{left:-4px !important;}
  .ik-provider-nav[data-provider-nav="next"]{right:-4px !important;}
  .ik-provider-track{gap:10px !important;}
  .ik-provider-card{flex-basis:84px !important;width:84px !important;max-width:84px !important;min-width:84px !important;min-height:46px !important;}
  .ik-plan-summary__title{font-size:20px !important;}
  .ik-plan-summary__copy{font-size:14px !important;}
  .ik-plan-table__head,.ik-plan-table__row{grid-template-columns:1fr 1fr !important;}
  .ik-spec-row{grid-template-columns:1fr !important;}
  .ik-related-grid{grid-template-columns:1fr !important;}
  .ik-highlight-intro__head{font-size:18px !important;padding:22px 18px !important;}
  .ik-highlight-intro__body{gap:22px !important;padding-top:28px !important;}
  .ik-highlight-overview h3{font-size:20px !important;margin-bottom:18px !important;}
  .ik-highlight-overview li,.ik-highlight-story__copy p{font-size:14px !important;}
  .ik-highlight-story{gap:22px !important;padding:8px 0 0 !important;}
  .ik-highlight-story__copy h3{font-size:24px !important;}
  .ik-repeat-row--spec,.ik-repeat-row--box,.ik-repeat-row--feature{grid-template-columns:1fr !important;}
}

/* ═══════════════════════════════════════════════════════
   FIX: override RTL من app.css على صفحة المنتج
   ═══════════════════════════════════════════════════════ */
.ik-product-page-shell,
.ik-product-page-shell * {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: normal !important;
}

/* استثناءات: حاجات لازم تفضل LTR بشكل صريح */
.ik-product-page-shell .ik-pdp-hero,
.ik-product-page-shell .ik-dp-hero { direction: ltr !important; }

/* العمود اليمين محاذاة يسار */
.ik-pdp-brand,.ik-dp-brand,
.ik-pdp-title,.ik-dp-title,
.ik-pdp-warranty-row,.ik-dp-warranty-row,
.ik-pdp-price-wrap,.ik-dp-price-wrap,
.ik-pdp-price,.ik-dp-price,
.ik-dp-one-price-line,
.ik-pdp-delivery,.ik-dp-delivery,
.ik-color-block,
.ik-storage-block,
.ik-summary-label,
.ik-installment-wrap,
.ik-pdp-actions,.ik-dp-actions {
  text-align: left !important;
  direction: ltr !important;
}

/* الـ thumbnails تصطف من الشمال */
.ik-pdp-thumbs,.ik-dp-thumbs { justify-content: flex-start !important; }

/* Installment panel LTR */
.ik-installment-panel,
.ik-installment-panel * { direction: ltr !important; text-align: left !important; }

/* ── Color chips: حجم صح + hex dot ──────────────────── */
.ik-color-chip {
  width: 52px !important;
  height: 52px !important;
  border-radius: 10px !important;
  border: 2px solid #d1d5db !important;
  padding: 3px !important;
  cursor: pointer !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: visible !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.ik-color-chip.is-active,
.ik-color-chip:hover {
  border-color: #1673c4 !important;
  box-shadow: 0 0 0 3px rgba(22,115,196,.15) !important;
}
.ik-color-chip img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 7px !important;
  display: block !important;
}

@media (max-width: 768px) {
  .home-top-cards {
    overflow: hidden !important;
  }

  #home-top-cards.home-top-cards-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-columns: 48.5% !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x proximity !important;
    column-gap: 4px !important;
    row-gap: 4px !important;
    padding: 0 0 14px !important;
    grid-template-columns: none !important;
  }

  #home-top-cards.home-top-cards-grid::-webkit-scrollbar {
    display: none !important;
  }

  #home-top-cards .home-top-col {
    scroll-snap-align: start !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #home-top-cards .card {
    height: 100% !important;
  }
}


/* =============================================================
   Home page only — softer card radius + balanced typography
   ============================================================= */
.home-container .home-product-card{
  border-radius:16px !important;
}
.home-container .home-product-card .home-product-card__image-wrap{
  border-radius:12px !important;
}
.home-container .home-product-card .home-product-card__title{
  font-family:"Almarai",sans-serif !important;
  font-size:0.86rem !important;
  font-weight:500 !important;
  line-height:1.24 !important;
}
.home-container .home-product-card .ik-price-now,
.home-container .home-product-card .ik-price-old,
.home-container .home-product-card .home-product-card__installment{
  font-family:"Almarai",sans-serif !important;
}
.home-container .home-product-card .ik-price-now{
  font-size:0.93rem !important;
  font-weight:700 !important;
  color:#c92026 !important;
  text-shadow:0 0 10px rgba(201,32,38,.14), 0 1px 0 rgba(255,255,255,.28) !important;
}
.home-container .home-product-card .ik-price-old{
  font-weight:500 !important;
}
.home-container .home-product-card .home-product-card__installment{
  font-weight:600 !important;
  color:#c92026 !important;
  text-shadow:0 0 8px rgba(201,32,38,.10) !important;
}
