:root {
  --black: #0b0b0b;
  --ink: #1a1a1a;
  --gold: #c6a15b;
  --gold-dark: #a8843f;
  --cream: #f7f3ec;
  --line: #e6dfd2;
  --muted: #7a7266;
  --white: #ffffff;
  /* ألوان حسب الثيم (فاتح/داكن) — black/white فوق ثابتين للأقسام الداكنة دائماً (hero، footer) */
  --bg: #ffffff;          /* خلفية الصفحة والنوافذ */
  --inv-bg: #0b0b0b;      /* أزرار وعناصر مختارة */
  --inv-fg: #ffffff;
  --cream-2: #f1eadd;
  --ph-from: #f7f3ec; --ph-to: #ece3d3;
  --glass: rgba(255,255,255,.92);
  --text-2: #4a453d;
  --sale: #b3261e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
/* ===== Dark mode ===== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ece6da;
  --gold-dark: #d6b36e;
  --cream: #1c1a16;
  --line: #312c25;
  --muted: #a39a8c;
  --bg: #121110;
  --inv-bg: #ece6da;
  --inv-fg: #121110;
  --cream-2: #26231e;
  --ph-from: #1c1a16; --ph-to: #25211b;
  --glass: rgba(30,28,24,.92);
  --text-2: #c9c1b3;
  --sale: #ff8a7a;
}
/* صور المنتجات خلفيتها بيضا → نخففها شوي بالداكن */
:root[data-theme="dark"] .card-img img, :root[data-theme="dark"] .gal-main img, :root[data-theme="dark"] .gal-thumbs img,
:root[data-theme="dark"] .cart-item .thumb img { filter: brightness(.9); }
html { transition: background-color .25s; }
.theme-btn { font-size: 17px; }
html[lang="ar"] { --serif: "Tajawal", sans-serif; --sans: "Tajawal", sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Announcement */
.announce { background: var(--black); color: var(--gold); text-align: center; font-size: 12px; letter-spacing: .08em; padding: 8px 16px; text-transform: uppercase; }
html[lang="ar"] .announce { letter-spacing: 0; font-size: 13px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 700; letter-spacing: .18em; text-align: center; line-height: 1; }
.logo span { display: block; font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .6em; color: var(--gold); margin-top: 5px; font-weight: 500; }
.logo span.logo-long { letter-spacing: .32em; } /* SAUDI ARABIA */
.header-actions { display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 50%; transition: background .2s; position: relative; }
.icon-btn:hover { background: var(--cream); }
.menu-btn { visibility: hidden; }
.lang-btn { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; font-family: "Tajawal", "Inter", sans-serif; }
.lang-btn:hover { border-color: var(--gold); }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; background: var(--gold); color: var(--black); font-size: 10px; font-weight: 600; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }

.nav { display: flex; justify-content: center; gap: 34px; padding: 0 20px 12px; flex-wrap: wrap; }
.nav button { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
html[lang="ar"] .nav button { letter-spacing: 0; font-size: 15px; }
.nav button:hover { color: var(--gold-dark); border-color: var(--gold); }

.search-bar { max-height: 0; overflow: hidden; transition: max-height .3s; background: var(--cream); }
.search-bar.open { max-height: 80px; }
.search-bar input { display: block; width: calc(100% - 40px); max-width: 640px; margin: 14px auto; padding: 12px 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; outline: none; }
.search-bar input:focus { border-color: var(--gold); }

/* Hero */
.hero { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 80px 20px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(198,161,91,.35), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(198,161,91,.2), transparent 50%),
    linear-gradient(135deg, #0b0b0b 0%, #1d1a15 60%, #0b0b0b 100%); }
.hero-content { max-width: 720px; }
.eyebrow { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; margin-bottom: 18px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.hero h1 { font-family: var(--serif); font-size: clamp(36px, 6vw, 68px); font-weight: 600; line-height: 1.1; margin-bottom: 20px; }
.hero-sub { color: #cfc7b8; font-size: 16px; margin-bottom: 34px; font-weight: 300; }

/* Buttons */
.btn { display: inline-block; padding: 14px 34px; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; transition: all .25s; font-weight: 500; }
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-dark { background: var(--inv-bg); color: var(--inv-fg); }
.btn-dark:hover { background: var(--gold); color: var(--black); }
.btn-block { width: 100%; }

/* Sections */
.section { max-width: 1280px; margin: 0 auto; padding: 70px 20px 20px; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; text-align: center; margin-bottom: 36px; }
.section-title::after { content: ""; display: block; width: 48px; height: 1px; background: var(--gold); margin: 14px auto 0; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { aspect-ratio: 4/3; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; transition: all .25s; }
.cat-card:hover { border-color: var(--gold); background: var(--cream-2); transform: translateY(-3px); }
.cat-card .ico { font-size: 40px; }
.cat-card .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
html[lang="ar"] .cat-card .lbl { letter-spacing: 0; font-size: 16px; }

/* Products */
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.product-row > * { scroll-snap-align: start; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.card { cursor: pointer; }
.card-img { aspect-ratio: 1/1; background: var(--cream); position: relative; overflow: hidden; margin-bottom: 14px; }
.card-img > img:first-child, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img > img:first-child, .card:hover .card-img .ph { transform: scale(1.05); }
.ph { display: flex; align-items: center; justify-content: center; font-size: 64px; background: linear-gradient(145deg, var(--ph-from), var(--ph-to)); }
.ph.big { font-size: 120px; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--black); color: var(--gold); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; }
html[lang="ar"] .badge { letter-spacing: 0; font-size: 12px; }
.quick-add { position: absolute; inset-inline: 12px; bottom: 12px; background: var(--inv-bg); color: var(--inv-fg); padding: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: all .25s; }
.card:hover .quick-add { opacity: 1; transform: none; }
.quick-add:hover { background: var(--gold); color: var(--black); }
.card-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
html[lang="ar"] .card-cat { letter-spacing: 0; font-size: 13px; }
.card-name { font-size: 15px; margin: 4px 0 6px; font-weight: 400; }
.card-price { font-weight: 600; font-size: 14px; }

.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 8px 18px; border: 1px solid var(--line); font-size: 13px; border-radius: 30px; transition: all .2s; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Promo */
.promo { margin: 70px 0 0; background: var(--black); color: var(--white); text-align: center; padding: 90px 20px;
  background-image: radial-gradient(circle at 50% 0%, rgba(198,161,91,.3), transparent 60%); }
.promo h2 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 50px); font-weight: 600; margin-bottom: 10px; }
.promo p { color: #cfc7b8; margin-bottom: 28px; }

/* Features */
.features { max-width: 1280px; margin: 70px auto 0; padding: 50px 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); text-align: center; }
.feature span { font-size: 26px; color: var(--gold); }
.feature h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 8px 0 4px; font-weight: 600; }
html[lang="ar"] .feature h3 { letter-spacing: 0; font-size: 16px; }
.feature p { font-size: 13px; color: var(--muted); }

/* Footer */
.footer { background: var(--black); color: #cfc7b8; padding: 60px 20px 24px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; }
.logo-footer { color: var(--white); text-align: start; margin-bottom: 16px; }
.footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; font-weight: 500; }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: 16px; }
.footer a { display: block; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer p { font-size: 14px; }
.newsletter { display: flex; margin-top: 14px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px; background: transparent; border: 1px solid #3a352d; color: var(--white); font: inherit; outline: none; }
.newsletter input:focus { border-color: var(--gold); }
.newsletter .btn { padding: 12px 18px; }
.copyright { text-align: center; font-size: 12px; margin-top: 50px; padding-top: 20px; border-top: 1px solid #25221d; color: #7a7266; }

/* Drawers */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 90vw); background: var(--bg); z-index: 100; display: flex; flex-direction: column; transition: transform .35s ease; }
.drawer-right { inset-inline-end: 0; transform: translateX(100%); }
.drawer-left { inset-inline-start: 0; transform: translateX(-100%); }
html[dir="rtl"] .drawer-right { transform: translateX(-100%); }
html[dir="rtl"] .drawer-left { transform: translateX(100%); }
.drawer.open { transform: none !important; }
.no-anim .drawer { transition: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); }
.total-row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 16px; }
.small { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
#mobileNav button { display: block; width: 100%; text-align: start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item .thumb { width: 76px; height: 76px; background: var(--cream); overflow: hidden; }
.cart-item .thumb img, .cart-item .thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 30px; }
.cart-item h5 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.qty { display: inline-flex; border: 1px solid var(--line); margin-top: 6px; }
.qty button { width: 28px; height: 28px; }
.qty span { width: 28px; text-align: center; line-height: 28px; font-size: 13px; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 110; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: var(--bg); width: min(960px, 100%); max-height: 92vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; background: var(--bg); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { aspect-ratio: 1/1; background: var(--cream); }
.modal-img img, .modal-img .ph { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 44px 36px; display: flex; flex-direction: column; gap: 14px; }
.modal-info h2 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.2; }
.modal-info .price { font-size: 22px; font-weight: 600; color: var(--gold-dark); }
.modal-info ul { list-style: none; font-size: 14px; color: var(--muted); display: grid; gap: 6px; margin: 6px 0 10px; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--inv-bg); color: var(--inv-fg); padding: 12px 22px; font-size: 14px; opacity: 0; transition: all .3s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-row { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { visibility: visible; }
  .nav { display: none; }
  .logo { font-size: 20px; }
  .lang-btn { padding: 5px 9px; font-size: 12px; }
  .header-inner { padding: 10px 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-card { aspect-ratio: 4/3; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .product-row { grid-auto-columns: 62%; gap: 12px; }
  .quick-add { opacity: 1; transform: none; font-size: 11px; padding: 8px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .modal-body { grid-template-columns: 1fr; }
  .modal-info { padding: 24px 20px; }
  .section { padding: 50px 16px 10px; }
}

/* ===== Collection page ===== */
.center { text-align: center; margin-top: 36px; }
.nav button.active { color: var(--gold-dark); border-color: var(--gold); }
#mobileNav button.active { color: var(--gold-dark); font-weight: 600; }
.coll-hero { background: var(--cream); text-align: center; padding: 44px 20px 40px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--gold-dark); }
.coll-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 48px); font-weight: 600; line-height: 1.15; }
.coll-section { padding-top: 36px; }
.coll-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 130px; }
.sidebar details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.sidebar summary { cursor: pointer; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
html[lang="ar"] .sidebar summary { letter-spacing: 0; font-size: 15px; }
.sidebar summary::-webkit-details-marker { display: none; }
.sidebar summary::after { content: "+"; font-weight: 400; }
.sidebar details[open] summary::after { content: "−"; }
.side-links { display: grid; gap: 2px; margin-top: 10px; }
.side-links a { font-size: 14px; padding: 5px 0; color: var(--ink); transition: color .2s; }
.side-links a small { color: var(--muted); }
.side-links a:hover, .side-links a.active { color: var(--gold-dark); }
.side-links a.active { font-weight: 600; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 10px; cursor: pointer; }
.check input { accent-color: var(--inv-bg); width: 16px; height: 16px; }
.price-range { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.price-range input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); font: inherit; font-size: 14px; outline: none; }
.price-range input:focus { border-color: var(--gold); }
.clear-btn { margin-top: 16px; font-size: 13px; text-decoration: underline; color: var(--muted); }
.clear-btn:hover { color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort select { padding: 8px 10px; border: 1px solid var(--line); font: inherit; font-size: 14px; background: var(--bg); color: var(--ink); outline: none; cursor: pointer; }
.filter-toggle { display: none; border: 1px solid var(--line); padding: 8px 16px; font-size: 13px; color: var(--ink); }
.coll-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination button { min-width: 40px; height: 40px; border: 1px solid var(--line); font-size: 14px; transition: all .2s; }
.pagination button:hover { border-color: var(--gold); }
.pagination button.active { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
html[dir="rtl"] .pagination button[aria-label] { transform: scaleX(-1); }

/* hover second image + sold out */
.card-img .hover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.card:hover .card-img .hover-img { opacity: 1; }
.badge-out { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.card.sold-out .card-img > img:first-child, .card.sold-out .card-img .ph { opacity: .55; }
.btn-disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }

@media (min-width: 1200px) { .coll-main .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .coll-layout { grid-template-columns: 1fr; gap: 0; }
  .sidebar { position: static; display: none; margin-bottom: 20px; }
  .sidebar.open { display: block; }
  .filter-toggle { display: inline-block; }
  .coll-main .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .toolbar #collCount { display: none; }
}

/* ===== Sidebar facets (type / brand) ===== */
.check-list { display: grid; gap: 2px; margin-top: 6px; max-height: 260px; overflow-y: auto; padding-inline-end: 4px; }
.check-list .check { margin-top: 4px; }
.check-list small, .check small { color: var(--muted); }
.pagination .dots { min-width: 24px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }

/* ===== Product modal: gallery + colors ===== */
.gallery { display: flex; flex-direction: column; gap: 10px; background: var(--bg); min-width: 0; }
.gal-main { position: relative; aspect-ratio: 1/1; background: var(--cream); overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--glass); color: var(--ink); font-size: 24px; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: background .2s; }
.gal-arrow:hover { background: var(--gold); }
.gal-prev { inset-inline-start: 12px; }
.gal-next { inset-inline-end: 12px; }
html[dir="rtl"] .gal-arrow { transform: translateY(-50%) scaleX(-1); }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 12px; scrollbar-width: thin; }
.gal-thumbs button { flex: 0 0 64px; height: 64px; border: 1px solid var(--line); background: var(--cream); padding: 0; opacity: .7; transition: all .2s; }
.gal-thumbs button.active, .gal-thumbs button:hover { border-color: var(--gold-dark); opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.opt-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.opt-label strong { color: var(--ink); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { padding: 7px 14px; border: 1px solid var(--line); font-size: 13px; border-radius: 20px; transition: all .2s; }
.swatch:hover:not(:disabled) { border-color: var(--gold); }
.swatch.active { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
.swatch:disabled { color: var(--muted); background: var(--cream); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.sku { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.sku span { color: var(--ink); font-family: monospace; }
.desc { border-top: 1px solid var(--line); padding-top: 12px; }
.desc summary { cursor: pointer; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.desc > div { white-space: pre-line; font-size: 14px; color: var(--text-2); margin-top: 10px; line-height: 1.7; }
.desc > div:lang(ar), html[lang="ar"] .desc > div { direction: ltr; text-align: left; }
.cart-meta { font-size: 12px; color: var(--muted); }
.modal-info h2 { font-size: 28px; }
@media (max-width: 720px) { .gal-thumbs button { flex-basis: 54px; height: 54px; } .modal-info h2 { font-size: 24px; } }

/* ===== Discount price + category counts + sizes ===== */
.was { color: var(--muted); font-weight: 400; font-size: .85em; margin-inline-start: 6px; }
.now.sale { color: var(--sale); }
.modal-info .price .was { font-size: 16px; }
.cart-price .was { font-size: 12px; }
.cat-card .cnt { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: -8px; }
.swatches.sizes .swatch { min-width: 48px; padding: 7px 10px; border-radius: 4px; text-align: center; }

/* ===================================================================
   حساب الزبون + المفضلة + إتمام الطلب + صفحة الطلب (customer.js)
   =================================================================== */
@media (max-width: 720px) {
  .hide-sm { display: none; }
  /* الجوال: اللغة والوضع الداكن بقائمة ☰ حتى الهيدر ما يطلع أعرض من الشاشة */
  .header-actions .theme-btn, .header-actions .lang-btn { display: none; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn { width: 36px; }
}
@media (max-width: 420px) {
  .logo { font-size: 17px; letter-spacing: .12em; }
  .logo span { letter-spacing: .45em; }
  .logo span.logo-long { letter-spacing: .22em; }
}
#mobileNav .m-pref { display: flex; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
#mobileNav .m-pref button { width: auto; flex: 1; border: 1px solid var(--line); padding: 10px; text-align: center; font-size: 14px; border-radius: 20px; }
@media (min-width: 721px) and (max-width: 1000px) {
  .header-actions { gap: 0; }
  .header-actions .icon-btn { width: 34px; }
}
.acct-btn.on { color: var(--gold-dark); }
.fav-head { font-size: 22px; }

/* قلب المفضلة */
.fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: var(--glass); color: var(--ink); font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 6px rgba(0,0,0,.08); transition: transform .15s, color .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.on { color: var(--sale); }
.fav-btn.fav-lg { position: static; width: 50px; height: auto; min-height: 50px; border-radius: 0; border: 1px solid var(--line); background: var(--bg); box-shadow: none; font-size: 22px; flex-shrink: 0; }
.m-actions { display: flex; gap: 10px; align-items: stretch; }
.m-actions #mBtn { flex: 1; }

/* نماذج */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--text-2); }
html[lang="ar"] .field > span { letter-spacing: 0; font-size: 14px; text-transform: none; }
.field small { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; outline: none; border-radius: 0; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px; }
html[dir="rtl"] select.input { background-position: 18px 50%, 13px 50%; }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.6; }
.input:focus { border-color: var(--gold); }
.input.invalid { border-color: var(--sale); }
.phone-in { display: flex; direction: ltr; }
.phone-in .cc { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: none; background: var(--cream); color: var(--muted); font-size: 14px; }
.phone-in .input { flex: 1; min-width: 0; }
.static-val { padding: 12px 14px; background: var(--cream); border: 1px solid var(--line); font-size: 15px; }
html[dir="rtl"] .static-val[dir="ltr"] { text-align: right; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-err { color: var(--sale); background: color-mix(in srgb, var(--sale) 10%, transparent); padding: 10px 14px; font-size: 14px; }
.link-btn { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.link-btn.danger { color: var(--sale); }
.link { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--muted); }
.small-l { font-size: 13px; }
.mt { margin-top: 14px; }
.pre { white-space: pre-line; }
.btn-sm { padding: 10px 18px; font-size: 12px; }
html[lang="ar"] .btn-sm { font-size: 14px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn:disabled { opacity: .6; cursor: default; }
.tag { font-style: normal; font-size: 11px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-dark); padding: 1px 7px; margin-inline-start: 4px; }

/* نافذة الدخول */
.auth-box { width: min(440px, 100%); }
.auth-inner { padding: 40px 32px 30px; }
.auth-inner h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; text-align: center; }
.auth-inner > p.muted { text-align: center; margin: 6px 0 24px; font-size: 14px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-foot { text-align: center; margin-top: 10px; font-size: 13px; }
.auth-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .auth-inner { padding: 36px 20px 24px; } }

/* صفحات */
.page-section { padding-top: 40px; padding-bottom: 40px; min-height: 40vh; }
.page-loading { display: flex; justify-content: center; padding: 60px 0; }
.spin { width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-box { text-align: center; padding: 50px 20px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.box { border: 1px solid var(--line); padding: 22px; background: var(--bg); }
.box + .box { margin-top: 16px; }
.box h3, .co-h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 14px; }
html[lang="ar"] .box h3, html[lang="ar"] .co-h { letter-spacing: 0; font-size: 17px; text-transform: none; }
.co-h small { font-weight: 400; color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 13px; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.box-head h3 { margin: 0; }

/* إتمام الطلب */
.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 48px; align-items: start; max-width: 1100px; margin: 0 auto; }
.co-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.co-main .co-h { margin: 18px 0 0; }
.co-main .co-h:first-of-type { margin-top: 0; }
.co-summary { position: sticky; top: 140px; background: var(--cream); padding: 26px; }
.note-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--cream); font-size: 14px; }
.addr-choices { display: grid; gap: 10px; }
.addr-choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; font-size: 14px; }
.addr-choice:has(input:checked) { border-color: var(--ink); }
.addr-choice input { margin-top: 4px; accent-color: var(--inv-bg); width: 16px; height: 16px; flex-shrink: 0; }
.addr-choice small { color: var(--muted); }
#newAddr { display: flex; flex-direction: column; gap: 14px; }
.loc-row { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.loc-status a { color: #2e7d4f; text-decoration: underline; }
.loc-warn { display: block; margin-top: 4px; color: #b26a00; font-size: 13px; }
:root[data-theme="dark"] .loc-warn { color: #e8a94a; }
.create-acct { border: 1px dashed var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.create-acct .check { margin-top: 0; }
.co-submit { margin-top: 10px; padding: 18px; }
.sum-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.sum-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.sum-item .thumb { position: relative; width: 60px; height: 60px; background: var(--bg); border: 1px solid var(--line); }
.sum-item .thumb img, .sum-item .thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 24px; }
.sum-item .q { position: absolute; top: -8px; inset-inline-end: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--muted); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.sum-item .nm { line-height: 1.4; }
.sum-item .pr { font-weight: 600; white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--text-2); }
.sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .co-summary { position: static; order: -1; padding: 20px; }
}

/* صفحة الطلب */
.success-box { text-align: center; max-width: 620px; margin: 0 auto 36px; padding: 34px 24px; border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 7%, var(--bg)); }
.ok-ico { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--black); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.success-box h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.success-box p { color: var(--text-2); margin-bottom: 22px; }
.btn-wa { background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; align-items: start; }
@media (max-width: 900px) { .order-layout { grid-template-columns: minmax(0, 1fr); } }
.st { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; white-space: nowrap; }
.st-new { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-dark); }
.st-confirmed { background: #e3eefc; color: #1f5fae; }
.st-delivered { background: #e4f4ea; color: #2e7d4f; }
.st-cancelled { background: color-mix(in srgb, var(--sale) 12%, transparent); color: var(--sale); }
:root[data-theme="dark"] .st-confirmed { background: #182638; color: #8db8ef; }
:root[data-theme="dark"] .st-delivered { background: #16291e; color: #7fd3a0; }
.steps { list-style: none; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 14px; position: relative; padding-bottom: 20px; color: var(--muted); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; top: 18px; bottom: 0; inset-inline-start: 7px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--gold); }
.steps li.current::before { background: var(--line); }
.steps .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); flex-shrink: 0; margin-top: 3px; position: relative; z-index: 1; }
.steps li.done .dot { background: var(--gold); border-color: var(--gold); }
.steps small { display: block; color: var(--muted); font-size: 12px; }

/* حسابي */
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 900px; margin: 0 auto 20px; }
.acct-head strong { font-size: 18px; }
html[dir="rtl"] .acct-head .muted[dir="ltr"] { text-align: right; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); max-width: 900px; margin: 0 auto 24px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { padding: 12px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); white-space: nowrap; font-size: 15px; }
.tabs a.active { color: var(--ink); border-color: var(--gold); font-weight: 600; }
#acctBody { max-width: 900px; margin: 0 auto; }
.order-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.order-card { border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.order-card:hover { border-color: var(--gold); }
.oc-top, .oc-bot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.oc-thumbs { display: flex; gap: 6px; }
.oc-thumbs .thumb { width: 48px; height: 48px; background: var(--cream); border: 1px solid var(--line); }
.oc-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.oc-thumbs .more { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--muted); font-size: 13px; }
.addr-list { display: grid; gap: 12px; }
.addr-card { border: 1px solid var(--line); padding: 16px 18px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.addr-card p { margin: 4px 0; font-size: 14px; }
.addr-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.addr-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
@media (max-width: 600px) { .addr-card { flex-direction: column; } .addr-actions { justify-content: flex-start; } }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.settings-grid .box { display: flex; flex-direction: column; gap: 14px; }
.settings-grid .box + .box { margin-top: 0; }
.settings-grid .btn { align-self: flex-start; }
@media (max-width: 720px) { .settings-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   دول الخليج: زر الدولة + نافذة الاختيار + الأعلام (countries.js)
   =================================================================== */
.flag { width: 21px; height: 14px; display: inline-block; vertical-align: middle; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
.flag-lg { width: 48px; height: 32px; border-radius: 3px; }
.country-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border: 1px solid var(--line); border-radius: 20px; font-family: "Inter", sans-serif; }
.country-btn:hover { border-color: var(--gold); }
@media (max-width: 720px) {
  .country-btn { padding: 5px 7px; gap: 0; }
  .country-btn span { display: none; }
}
#mobileNav [data-country-pick] { display: flex; align-items: center; gap: 10px; }

.country-box { width: min(560px, 100%); }
.modal.locked .modal-close { display: none; }
.country-inner { padding: 44px 32px 32px; text-align: center; }
.country-inner .logo { display: inline-block; margin-bottom: 18px; }
.country-inner h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.country-inner > p { margin: 6px 0 26px; font-size: 14px; }
.country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.country-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 14px; border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .15s; }
.country-opt:hover { border-color: var(--gold); background: var(--cream); transform: translateY(-2px); }
.country-opt.active { border-color: var(--ink); background: var(--cream); }
.country-opt .cn { font-size: 15px; font-weight: 600; }
.country-opt .cc { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
@media (max-width: 520px) {
  .country-inner { padding: 36px 16px 24px; }
  .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ===== شريط العروض + الكوبون + تغيير كلمة السر ===== */
.announce.promo-on { background: linear-gradient(90deg, #6b1230, #a01d44 50%, #6b1230); color: #fff; }
.promo-link { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.promo-link b { color: #ffd98a; }
.promo-link .cd { font-variant-numeric: tabular-nums; font-family: "Inter", sans-serif; letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; background: rgba(0,0,0,.25); padding: 1px 7px; border-radius: 3px; }
.promo-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sum-disc { color: var(--sale); }
.coupon-row { display: flex; gap: 8px; margin: 12px 0 4px; align-items: center; }
.coupon-row .input { flex: 1; padding: 10px 12px; font-size: 14px; text-transform: uppercase; }
.coupon-row .input::placeholder { text-transform: none; }
.coupon-row .btn { padding: 10px 16px; }
.coupon-on { flex: 1; font-weight: 600; letter-spacing: .04em; }
#couponErr { margin-top: 6px; font-size: 13px; }
.reset-box { max-width: 440px; margin: 0 auto; }

/* رمز الدولة جنب رقم الجوال */
.phone-in select.cc { border: 1px solid var(--line); border-right: none; background: var(--cream); color: var(--ink); font: inherit; font-size: 14px; padding: 0 8px; outline: none; cursor: pointer; border-radius: 0; }
.phone-in select.cc:focus { border-color: var(--gold); }

/* عناصر الفوتر ما تطلع أعرض من الشاشة */
.footer-grid > * { min-width: 0; }
.newsletter .btn { flex-shrink: 0; }

/* ===== سياسة الخصوصية + حذف الحساب ===== */
.legal { max-width: 760px; margin: 0 auto; line-height: 1.85; font-size: 15px; color: var(--text-2); }
.legal h2 { font-size: 20px; color: var(--ink); margin: 34px 0 10px; font-weight: 700; }
html[lang="en"] .legal h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.legal h3 { font-size: 15px; color: var(--ink); margin: 16px 0 6px; font-weight: 600; }
.legal p { margin-bottom: 10px; }
.legal ul { padding-inline-start: 22px; margin-bottom: 10px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { color: var(--muted); font-size: 13px; }
.danger-box { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--sale) 40%, var(--line)); }
.danger-box h3 { color: var(--sale); }
.btn-danger { background: transparent; color: var(--sale); border: 1px solid var(--sale); }
.btn-danger:hover { background: var(--sale); color: #fff; }

/* ===== التطبيق (PWA): شريط التثبيت/الإشعارات + شرح الآيفون + صناديق الإشعارات ===== */
.app-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95;
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
  background: var(--black); color: #fff; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.app-bar.show { transform: none; }
.app-bar img { flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.app-bar .ab-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.app-bar .ab-txt strong { font-size: 14px; font-weight: 600; color: var(--gold); }
.app-bar .ab-txt span { font-size: 12px; color: #cfc8bb; }
.app-bar .btn { padding: 10px 16px; flex-shrink: 0; letter-spacing: .08em; }
html[lang="ar"] .app-bar .btn { letter-spacing: 0; font-size: 13px; }
.app-bar .ab-x { color: #8d8578; font-size: 16px; width: 28px; height: 28px; flex-shrink: 0; }
@media (min-width: 721px) { .app-bar { left: auto; right: 24px; width: 420px; } html[dir="rtl"] .app-bar { right: auto; left: 24px; } }

.app-box { width: min(440px, 100%); padding: 30px 26px 24px; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-head img { border: 1px solid var(--line); }
.app-head h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; }
.app-head small { color: var(--muted); font-size: 12px; }
.app-lead { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.app-steps { list-style: none; display: grid; gap: 14px; margin-bottom: 22px; }
.app-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.app-steps .n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--black); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.ios-ico { display: inline-flex; vertical-align: -5px; color: #0a84ff; margin: 0 2px; }
.ios-ico.dots { vertical-align: 0; font-size: 11px; letter-spacing: 1px; padding: 0 5px; border: 1.5px solid #0a84ff; border-radius: 10px; line-height: 16px; }
.ios-ico.vdots { vertical-align: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.app-modal .ios-arrow { display: none; }
.app-modal.with-arrow .ios-arrow {
  display: block; position: fixed; bottom: calc(6px + env(safe-area-inset-bottom)); left: 50%; margin-left: -18px;
  width: 36px; text-align: center; font-size: 34px; line-height: 1; color: var(--gold); animation: arrowBob 1.1s ease-in-out infinite;
}
@keyframes arrowBob { 50% { transform: translateY(8px); } }
@media (max-width: 720px) { .app-modal.with-arrow { align-items: flex-start; } }

.push-box {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  max-width: 620px; margin: 0 auto 24px; padding: 16px 18px; border: 1px solid var(--line); background: var(--cream);
}
.push-box strong { font-size: 15px; }
.push-box p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.push-box .btn { flex-shrink: 0; }
.push-box.on { justify-content: center; color: var(--gold-dark); font-size: 14px; border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.push-box.app-mini { max-width: none; margin: 0 0 18px; }
.push-box.app-mini > div { flex: 1; min-width: 0; }
@media (max-width: 520px) { .push-box:not(.on) { flex-wrap: wrap; } .push-box:not(.app-mini) .btn { width: 100%; } }
.app-row { display: flex; gap: 14px; align-items: flex-start; }
.app-row img { flex-shrink: 0; border: 1px solid var(--line); }
.app-row > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.app-notif { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.app-notif h4 { font-size: 13px; font-weight: 600; }
.app-notif .check { margin-top: 0; }
.ok-line { color: var(--gold-dark); font-weight: 500; font-size: 14px; }
