/* Kuwait Print — main.css */
:root {
  --navy:   #08152E;
  --coral:  #FF7F40;
  --coral2: #e06a2e;
  --green:  #3FE980;
  --blue:   #3FA9F5;
  --white:  #ffffff;
  --bg:     #f7f8fa;
  --bg2:    #eef0f4;
  --text:   #1a1f2e;
  --text2:  #555e72;
  --text3:  #8892a4;
  --border: #e2e6ed;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(8,21,46,.08);
  --shadow-lg: 0 8px 32px rgba(8,21,46,.13);
  --font-ar: 'Tajawal', 'Cairo', sans-serif;
  --font-en: 'Inter', 'Segoe UI', sans-serif;
  --coral-light: #fff4ef;
  --coral-border: #ffd4bc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}
body.rtl { font-family: var(--font-ar); direction: rtl; text-align: right; }
body.ltr { direction: ltr; text-align: left; }

/* ── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&family=Cairo:wght@400;600&family=Inter:wght@400;500;600&display=swap');

/* ── NAV ───────────────────────────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  padding: 0 16px;
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 16px rgba(8,21,46,.25);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--coral);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.nav-logo-text .name { font-size: 16px; font-weight: 600; color: #fff; line-height: 1.1; }
.nav-logo-text .sub  { font-size: 10px; color: rgba(255,255,255,.5); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 20px;
  padding: 4px 12px; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: background .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.2); }
.nav-wa {
  width: 34px; height: 34px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.nav-wa svg { width: 18px; height: 18px; fill: #fff; }
.nav-orders {
  background: var(--coral); color: #fff;
  border: none; border-radius: 8px;
  padding: 6px 12px; font-size: 12px; font-weight: 500;
  cursor: pointer; text-decoration: none; display: flex; align-items: center; gap: 5px;
}

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 32px 16px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 24px; background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-badge {
  display: inline-block;
  background: rgba(255,127,64,.15);
  border: 1px solid rgba(255,127,64,.35);
  color: var(--coral); border-radius: 20px;
  padding: 4px 14px; font-size: 12px; font-weight: 500;
  margin-bottom: 14px;
}
.hero h1 {
  color: #fff; font-size: clamp(22px, 5vw, 32px);
  font-weight: 700; line-height: 1.3; margin-bottom: 10px;
}
.hero p {
  color: rgba(255,255,255,.65); font-size: 14px;
  margin-bottom: 22px; max-width: 340px; margin-inline: auto;
}
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--coral); color: #fff;
  border: none; border-radius: 10px;
  padding: 11px 22px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, transform .1s;
}
.btn-primary:hover  { background: var(--coral2); }
.btn-primary:active { transform: scale(.97); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 10px;
  padding: 11px 22px; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.6); }

/* ── TRUST BADGES ──────────────────────────────────────────────────────────── */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 16px 16px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-card {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 0;
}
.trust-icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2.2; }
.trust-label { font-size: 12px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.trust-sub   { display: none; }

/* ── SECTION ───────────────────────────────────────────────────────────────── */
.section { padding: 20px 16px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.section-title { font-size: 17px; font-weight: 600; color: var(--text); }
.section-link  { font-size: 13px; color: var(--coral); text-decoration: none; font-weight: 500; }

/* ── CATEGORY PILLS ────────────────────────────────────────────────────────── */
.cat-pills {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 4px;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  padding: 9px 20px;
  border-radius: 20px;
  border: 2px solid #e06a2e;
  background: #FF7F40;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  text-decoration: none;
  display: block;
  min-width: 0;
}
.cat-pill:hover, .cat-pill.active {
  background: #e06a2e;
  border-color: #c55a22;
  color: #fff;
}

/* ── PRODUCT GRID ──────────────────────────────────────────────────────────── */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}
.product-card {
  display: block !important;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.product-img {
  display: block !important;
  width: 100% !important;
  overflow: hidden;
  text-decoration: none;
}
.product-img img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}
.product-img-placeholder {
  display: block;
  width: 100%;
  height: 120px;
  background: var(--bg2);
  text-align: center;
  padding-top: 40px;
}
.product-img-placeholder svg {
  width: 40px; height: 40px; stroke: var(--text3); fill: none; stroke-width: 1.2;
  display: inline-block;
}
.product-type-badge {
  position: absolute; top: 8px; z-index: 2;
  background: var(--navy); color: #fff;
  font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 10px;
}
.product-img { position: relative; }
.rtl .product-type-badge { right: 8px; }
.ltr .product-type-badge { left: 8px; }
.badge-pkg  { background: #7c3aed; }
.badge-mfg  { background: var(--navy); }
.product-body {
  display: block !important;
  padding: 8px 10px 10px !important;
}
.product-name-ar {
  font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3;
  text-decoration: none; display: block;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-name-en {
  font-size: 10px; color: var(--text3); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-price {
  padding-top: 6px;
  font-size: 12px; font-weight: 600; color: var(--coral);
}
.price-from { font-size: 9px; font-weight: 400; color: var(--text3); margin-left: 4px; }
.product-card-btns {
  display: flex !important; gap: 6px; margin-top: 8px; align-items: center;
}
.product-order-btn {
  display: block; flex: 1; padding: 7px 6px; text-align: center;
  background: var(--coral, #FF7F40); color: #fff;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .15s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.product-order-btn:hover { background: var(--navy, #08152E); transform: translateY(-1px); }

/* ── SEARCH BAR ────────────────────────────────────────────────────────────── */
.search-wrap {
  padding: 12px 16px 4px;
  position: relative;
}
.search-input {
  width: 100%; padding: 11px 16px 11px 44px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 14px; font-family: inherit; background: var(--white);
  color: var(--text); outline: none; transition: border-color .2s;
}
.rtl .search-input { padding: 11px 44px 11px 16px; }
.search-input:focus { border-color: var(--coral); }
.search-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--text3); fill: none; stroke-width: 2;
  pointer-events: none;
}
.ltr .search-icon { left: 30px; }
.rtl .search-icon { right: 30px; }

/* ── PRODUCT DETAIL ────────────────────────────────────────────────────────── */
.detail-photos { position: relative; }
.detail-main-img {
  width: 100%; aspect-ratio: 1; background: var(--bg2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumbs {
  display: flex; gap: 8px; padding: 10px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.photo-thumbs::-webkit-scrollbar { display: none; }
.photo-thumb {
  width: 56px; height: 56px; border-radius: 8px;
  border: 2px solid transparent; overflow: hidden; cursor: pointer; flex-shrink: 0;
  transition: border-color .15s;
}
.photo-thumb.active { border-color: var(--coral); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 16px; }
.detail-name-ar { font-size: 20px; font-weight: 700; color: var(--text); }
.detail-name-en { font-size: 13px; color: var(--text3); margin-top: 2px; }
.detail-desc    { font-size: 14px; color: var(--text2); line-height: 1.7; margin-top: 12px; }
.detail-price-box {
  background: var(--coral-light); border: 1px solid var(--coral-border);
  border-radius: var(--radius); padding: 14px 16px; margin: 16px 0;
}
.detail-price-label { font-size: 11px; color: var(--text3); margin-bottom: 4px; }
.detail-price-big   { font-size: 26px; font-weight: 700; color: var(--coral); }

/* ── QTY TIERS (manufactured) ──────────────────────────────────────────────── */
.qty-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.qty-tier {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 6px; text-align: center; cursor: pointer; transition: all .15s;
}
.qty-tier.active { border-color: var(--coral); background: var(--coral-light); }
.qty-tier .qty-num  { font-size: 15px; font-weight: 700; color: var(--text); }
.qty-tier .qty-pcs  { font-size: 10px; color: var(--text3); }
.qty-tier .qty-price { font-size: 13px; font-weight: 600; color: var(--coral); margin-top: 4px; }

/* ── ORDER FORM ────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
}
.form-label { font-size: 12px; font-weight: 500; color: var(--text2); margin-bottom: 6px; display: block; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--white); outline: none; transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--coral); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-group { margin-bottom: 14px; }
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--coral); background: var(--coral-light);
}
.upload-icon svg { width: 36px; height: 36px; stroke: var(--text3); fill: none; stroke-width: 1.5; margin: 0 auto 8px; display: block; }
.upload-text  { font-size: 14px; color: var(--text2); font-weight: 500; }
.upload-sub   { font-size: 11px; color: var(--text3); margin-top: 4px; }
.upload-ok    { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #e8fdf3; border-radius: var(--radius-sm); margin-top: 8px; }
.upload-ok svg { width: 16px; height: 16px; stroke: #0f6e56; fill: none; stroke-width: 2; flex-shrink: 0; }
.upload-ok span { font-size: 12px; color: #0f6e56; font-weight: 500; }

/* ── ORDER SUMMARY ─────────────────────────────────────────────────────────── */
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--text2); }
.summary-val   { font-weight: 500; color: var(--text); }
.summary-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 0; font-size: 16px;
}
.summary-total .label { font-weight: 600; color: var(--text); }
.summary-total .val   { font-size: 20px; font-weight: 700; color: var(--coral); }
.pay-method {
  display: flex; gap: 8px; margin: 12px 0;
}
.pay-opt {
  flex: 1; border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 8px; text-align: center; cursor: pointer; transition: all .15s;
}
.pay-opt.active { border-color: var(--coral); background: var(--coral-light); }
.pay-opt .pay-name { font-size: 13px; font-weight: 600; color: var(--text); }
.pay-opt .pay-sub  { font-size: 10px; color: var(--text3); }
.knet-badge {
  width: 36px; height: 20px; background: #00b0a0; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #fff; letter-spacing: .05em;
  margin: 0 auto 4px;
}

/* ── FOLLOW-UP / MY ORDERS ─────────────────────────────────────────────────── */
.status-steps {
  display: flex; align-items: center;
  padding: 16px; gap: 0;
}
.step-item { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.step-item:not(:last-child)::after {
  content: ''; position: absolute; top: 13px;
  width: 100%; height: 2px; background: var(--border); z-index: 0;
}
.rtl .step-item:not(:last-child)::after { right: 50%; }
.ltr .step-item:not(:last-child)::after { left: 50%; }
.step-item.done::after, .step-item.active::after { background: var(--coral); }
.step-dot {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; transition: all .2s;
}
.step-item.done   .step-dot { background: var(--coral); border-color: var(--coral); }
.step-item.active .step-dot { background: var(--white); border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,127,64,.2); }
.step-dot svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.5; }
.step-label { font-size: 9px; color: var(--text3); margin-top: 5px; text-align: center; line-height: 1.2; }
.step-item.done .step-label, .step-item.active .step-label { color: var(--coral); font-weight: 500; }

.inv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin: 0 16px 16px;
}
.inv-head {
  background: var(--navy); padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.inv-head .ref   { font-size: 13px; font-weight: 600; color: #fff; }
.inv-head .date  { font-size: 11px; color: rgba(255,255,255,.5); }
.inv-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 16px; border-bottom: 1px solid var(--border); font-size: 13px;
}
.inv-line:last-child { border-bottom: none; }
.inv-line .desc { color: var(--text2); flex: 1; }
.inv-line .amt  { font-weight: 500; color: var(--text); flex-shrink: 0; }
.inv-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: var(--coral-light); border-top: 1px solid var(--coral-border);
}
.inv-total-label { font-size: 13px; color: var(--text2); }
.inv-total-val   { font-size: 18px; font-weight: 700; color: var(--coral); }
.pay-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 20px;
}
.badge-pending { background: #fef9c3; color: #854d0e; }
.badge-paid    { background: #dcfce7; color: #166534; }

/* ── CONFIRMATION PAGE ─────────────────────────────────────────────────────── */
.confirm-wrap { padding: 40px 16px; text-align: center; }
.confirm-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #dcfce7; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.confirm-icon svg { width: 36px; height: 36px; stroke: #166534; fill: none; stroke-width: 2.5; }
.confirm-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.confirm-sub   { font-size: 14px; color: var(--text2); margin-bottom: 24px; }
.wa-notify {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.wa-notify svg  { width: 24px; height: 24px; fill: #25D366; flex-shrink: 0; }
.wa-notify-text .t { font-size: 13px; font-weight: 500; color: var(--text); }
.wa-notify-text .s { font-size: 11px; color: var(--text3); }

/* ── EMPTY / LOADING ───────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 16px; }
.empty-state svg { width: 48px; height: 48px; stroke: var(--text3); fill: none; stroke-width: 1.2; margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: var(--text3); }
.skeleton { background: linear-gradient(90deg, var(--bg2) 25%, #e8eaf0 50%, var(--bg2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy); color: rgba(255,255,255,.55);
  padding: 32px 16px 24px; text-align: center; font-size: 12px; margin-top: 32px;
}
.footer .logo-area { margin-bottom: 14px; }
.footer .footer-tagline { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer .footer-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.footer .footer-links a {
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .15s, background .15s;
}
.footer .footer-links a:hover { border-color: var(--coral); color: var(--coral); }
.footer .footer-bottom { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.footer a { color: var(--coral); text-decoration: none; }

/* ── TOAST ─────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff;
  padding: 11px 20px; border-radius: 24px; font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg); z-index: 999;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.toast.show { opacity: 1; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */

@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 768px) {
  body { max-width: 480px; margin: 0 auto; box-shadow: 0 0 40px rgba(0,0,0,.1); }
  .nav { border-radius: 0; }
}

/* ── CART ──────────────────────────────────────────────────────────────────── */
/* card btns moved to product section */
.btn-cart {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 2px solid var(--coral, #FF7F40);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.btn-cart svg { width: 20px; height: 20px; stroke: var(--coral, #FF7F40); fill: none; stroke-width: 2; }
.btn-cart svg path, .btn-cart svg line { fill: none; stroke: inherit; }
.btn-cart:hover { background: var(--coral); border-color: var(--coral); }
.btn-cart:hover svg { stroke: #fff; }
.btn-cart.added { background: var(--coral); border-color: var(--coral); }
.btn-cart.added svg { stroke: #fff; }
.cart-empty { text-align: center; padding: 48px 16px; }
.cart-empty svg { width: 52px; height: 52px; stroke: var(--text3); fill: none; stroke-width: 1.2; margin-bottom: 12px; }
.cart-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.cart-item-img { width: 56px; height: 56px; min-width: 56px; max-width: 56px; border-radius: 8px; background: var(--bg2); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; max-width: 56px; max-height: 56px; display: block; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.cart-item-desc { font-size: 11px; color: var(--text3); margin-top: 2px; }
.cart-item-price { font-size: 13px; font-weight: 600; color: var(--coral); margin-top: 4px; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.cart-qty button:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.cart-qty span { font-size: 14px; font-weight: 600; color: var(--text); min-width: 24px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text3); cursor: pointer; font-size: 16px; padding: 2px 4px; margin-left: auto; flex-shrink: 0; }
.cart-remove:hover { color: #ef4444; }
.cart-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; color: var(--text); padding-top: 10px; border-top: 1px solid var(--border); }
.cart-total span:last-child { color: var(--coral); font-size: 20px; }


/* ── FLOATING CART BUTTON ──────────────────────────────────── */
.kp-float-cart {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--coral, #FF7F40);
  box-shadow: 0 4px 20px rgba(255,127,64,.4);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.kp-float-cart:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(255,127,64,.5); }
.rtl .kp-float-cart { right: auto; left: 24px; }

/* ── NAV CART ICON ─────────────────────────────────────────── */
.nav-cart { display: flex; align-items: center; justify-content: center; padding: 4px; }

/* ── TOAST NOTIFICATION ────────────────────────────────────── */
.kp-toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1a2e; color: #fff; padding: 10px 20px; border-radius: 12px;
  font-size: 13px; font-weight: 600; z-index: 1000;
  opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.kp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── LAYOUT FIXES (consolidated) ──────────────────────────── */
.btn-cart { width: 34px; height: 34px; min-width: 34px; border-radius: 8px; }
.btn-cart svg { width: 16px; height: 16px; }
.btn-cart svg path, .btn-cart svg line, .btn-cart svg rect, .btn-cart svg circle, .btn-cart svg polyline {
  fill: none !important; stroke: inherit !important;
}
.nav-cart svg { width: 22px; height: 22px; }
