/* Store front — colors come from the admin (Appearance) as --gold / --black / --soft */
:root {
  --gold: #e0a84a;
  --black: #0f1115;
  --soft: #fbf4f1;
  --ink: #1b1d22;
  --gray: #6d6f76;
  --line: #ececef;
  --bg2: #f7f7f8;
  --red: #e0413a;
  --green: #1f9d55;
  --shadow: 0 8px 26px rgba(20, 20, 30, .07);
  --font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body, main { overflow-x: clip; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 780px; }
.muted { color: var(--gray); }
.small { font-size: 13px; }
.center { text-align: center; }
.ic { flex-shrink: 0; }
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: .2s; white-space: nowrap; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover:not(:disabled) { filter: brightness(1.35); }
.btn-gold { background: var(--gold); color: #1d1405; }
.btn-gold:hover:not(:disabled) { filter: brightness(.93); }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-light:hover { border-color: var(--ink); }
.btn-lg { padding: 13px 30px; font-size: 16px; border-radius: 30px; }
.btn-pill { border-radius: 30px; padding: 9px 26px; }
.btn-block { width: 100%; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: .2s; }
.icon-btn:hover { background: var(--bg2); }
.badge { position: absolute; top: 2px; left: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--black); color: #eee; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-item .ic { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-main { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--black); flex-shrink: 0; }
.logo img { height: 74px; width: auto; }
.logo-icon { width: 46px; height: 46px; color: var(--gold); }
.logo-words { display: flex; flex-direction: column; line-height: 1; direction: ltr; }
.logo-text { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--black); letter-spacing: .3px; }
.logo-text em { font-style: normal; color: var(--gold); }
.logo-tag { font-size: 11px; color: var(--gold); margin-top: 5px; letter-spacing: .5px; }
.search-box { flex: 1; max-width: 480px; margin: 0 auto; display: flex; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.search-box input { flex: 1; border: 0; background: transparent; padding: 12px 20px; outline: none; font-size: 14px; min-width: 0; }
.search-box button { background: var(--black); color: #fff; width: 54px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 28px; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.nav-row { border-top: 1px solid var(--line); }
.main-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14.5px; padding: 8px 14px; border-radius: 22px; white-space: nowrap; transition: .2s; }
.nav-link:hover { color: var(--gold); }
.nav-link.active { background: var(--black); color: var(--gold); padding: 9px 30px; }
.flame { color: #f05a28; display: inline-flex; }
.has-drop { position: relative; }
.dropdown { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; min-width: 210px; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 5; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.dropdown a:hover { background: var(--soft); color: var(--gold); }
.dropdown .drop-all { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 700; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-head, .only-mobile, .main-nav > a.only-mobile, .menu-toggle, .search-toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.nav-overlay.show { opacity: 1; visibility: visible; }
.nav-open .site-header { z-index: 95; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--black); color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 500; z-index: 200; opacity: 0; visibility: hidden; transition: .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.error { background: var(--red); }
.toast a { color: var(--gold); text-decoration: underline; margin-inline-start: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 470px; overflow: hidden; background: var(--black); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; display: flex; align-items: center; background: radial-gradient(circle at 30% 40%, #2a2016, var(--black) 70%); }
.slide.active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; background-size: cover; background-position: center; }
.slide-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,0) 48%); }
/* Text block sits on the left like the design (flex-end = left in RTL); the photo is on the right */
.slide-content { position: relative; color: #fff; display: flex; flex-direction: column; align-items: flex-end; }
.slide-box { width: 480px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.slide-box .slide-kicker, .slide-box h1, .slide-box p { align-self: stretch; }
.slide-kicker { display: block; font-size: 17px; color: #eee; margin-bottom: 8px; letter-spacing: .5px; }
.slide h1 { font-size: 54px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.slide h1 span { display: block; color: var(--gold); }
.slide p { font-size: 17px; color: #e9e9e9; margin-bottom: 26px; line-height: 1.8; }
.slide.active .slide-box > * { animation: rise .8s both; }
.slide.active .slide-box > *:nth-child(2) { animation-delay: .1s; }
.slide.active .slide-box > *:nth-child(3) { animation-delay: .2s; }
.slide.active .slide-box > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; gap: 12px; justify-content: flex-end; z-index: 3; pointer-events: none; }
.hero-nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); color: #fff; display: flex; align-items: center; justify-content: center; transition: .2s; pointer-events: auto; }
.hero-nav:hover { background: rgba(255,255,255,.15); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 5px; background: rgba(255,255,255,.4); transition: .25s; }
.hero-dots button.active { width: 24px; background: #fff; }

/* ---------- Category strip ---------- */
.cats-section { padding-top: 26px; }
.cat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cat-thumb { width: 100%; aspect-ratio: 11 / 8; background: var(--soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--gold); transition: .3s; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover .cat-thumb { box-shadow: var(--shadow); }
.cat-tile:hover .cat-thumb img { transform: scale(1.06); }
.cat-tile strong { font-size: 15.5px; margin-top: 6px; }
.cat-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gray); }
.cat-tile:hover .cat-more { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 24px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.section-head h2 small { font-size: 14px; font-weight: 500; color: var(--gray); display: inline-flex; gap: 6px; align-items: center; }
.sh-icon { color: var(--gold); display: inline-flex; }
.see-all { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.see-all:hover { color: var(--gold); }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.products-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid.grid-6 { grid-template-columns: repeat(6, 1fr); }
.product-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.p-img { position: relative; display: block; aspect-ratio: 1 / .88; background: var(--bg2); overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .p-img img { transform: scale(1.05); }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: .2s; }
.wish-btn:hover { color: var(--red); }
.wish-btn.active, .wish-btn-lg.active { color: var(--red); }
.wish-btn.active svg, .wish-btn-lg.active svg { fill: currentColor; }
.p-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.p-badge.sale { background: var(--gold); color: #1d1405; }
.p-badge.out { background: #777; }
.p-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-name { font-size: 15px; font-weight: 500; line-height: 1.45; }
.p-name:hover { color: var(--gold); }
.p-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray); }
.stars { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: middle; }
.star { fill: currentColor; }
.star.empty { fill: #dedede; }
.star.half { fill: url(#hs); }
.p-colors { display: flex; gap: 5px; margin: 2px 0; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 2px #fff; vertical-align: middle; }
.p-price { font-weight: 800; font-size: 18px; margin: 6px 0 10px; margin-top: auto; padding-top: 4px; }
.p-price del { font-size: 12.5px; color: #999; font-weight: 400; margin-inline-start: 6px; }
.btn-cart { padding: 10px; font-size: 13.5px; border-radius: 8px; }
.p-cat { font-size: 12px; color: var(--gold); }

/* ---------- Banners ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.banners.one { grid-template-columns: 1fr; }
.banner { position: relative; display: flex; align-items: center; min-height: 170px; border-radius: 14px; overflow: hidden; padding: 24px 30px; box-shadow: var(--shadow); transition: transform .3s; }
.banner:hover { transform: translateY(-3px); }
.banner.dark { background: var(--black); color: #fff; }
.banner.light { background: linear-gradient(90deg, #fbe3e6, var(--soft)); color: var(--ink); }
.banner-img { position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background-size: cover; background-position: center; }
.banner.dark .banner-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, var(--black), rgba(0,0,0,0) 45%); }
.banner.light .banner-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, #fbe7ea, rgba(255,255,255,0) 45%); }
.banner-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 55%; }
.banner-text strong { font-size: 27px; font-weight: 800; line-height: 1.3; }
.banner-text > span:not(.btn) { font-size: 17px; opacity: .9; }
.banner-text .btn { margin-top: 10px; }

/* ---------- Why us ---------- */
.why-box { background: var(--soft); border-radius: 16px; padding: 22px 20px 26px; }
.why-box h2 { text-align: center; font-size: 21px; font-weight: 800; margin-bottom: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); }
.why-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 6px 12px; }
.why-item + .why-item { border-inline-start: 1px solid rgba(0,0,0,.08); }
.why-item .ic { color: var(--black); margin-bottom: 4px; }
.why-item strong { font-size: 15px; }
.why-item span { font-size: 13px; color: var(--gray); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #cfcfd3; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 34px; padding: 42px 16px 30px; }
.f-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.f-col h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.f-col a:hover { color: var(--gold); }
.f-logo { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.f-logo img { height: 96px; width: auto; }
.f-logo span { font-family: var(--serif); font-size: 24px; color: #fff; line-height: 1; direction: ltr; display: flex; flex-direction: column; }
.f-logo small { font-family: var(--font); font-size: 10.5px; color: var(--gold); margin-top: 4px; }
.f-social { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.f-social a { width: 36px; height: 36px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.f-social a:hover { border-color: var(--gold); }
.news-form { display: flex; background: #fff; border-radius: 26px; overflow: hidden; margin-top: 4px; }
.news-form input { flex: 1; border: 0; padding: 12px 18px; outline: none; color: var(--ink); min-width: 0; }
.news-form button { background: var(--gold); color: var(--black); width: 50px; display: flex; align-items: center; justify-content: center; }
.f-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pay { background: #fff; color: var(--ink); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.footer-bottom { border-top: 1px solid #23252b; padding: 14px 0; font-size: 13px; color: #9a9ba1; }
.fb-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fb-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); }
.wa-float { position: fixed; bottom: 22px; left: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; }

/* ---------- Page head ---------- */
.page-head { background: var(--soft); padding: 26px 0; }
.page-head.slim { padding: 14px 0; }
.page-head h1 { font-size: 28px; font-weight: 800; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--gold); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { padding: 6px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chip.active, .chip:hover { background: var(--black); color: var(--gold); border-color: var(--black); }
.page-content p { margin-bottom: 16px; font-size: 16px; color: #3a3c42; line-height: 1.9; }
.page-content .owner { color: var(--ink); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: 12px; padding: 18px; position: sticky; top: 160px; max-height: calc(100vh - 180px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 16px; }
.filters form { display: flex; flex-direction: column; gap: 10px; }
.f-group { border-bottom: 1px solid var(--line); padding-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.f-group h4 { font-size: 14px; margin-bottom: 2px; }
.f-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.f-group label.sub { padding-inline-start: 22px; font-size: 13.5px; color: var(--gray); }
.f-group input[type=radio], .f-group input[type=checkbox] { accent-color: var(--black); width: 16px; height: 16px; }
.price-range { display: flex; gap: 8px; }
select, input[type=text], input[type=tel], input[type=number], input[type=email], input[type=search], input[type=password], textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; outline: none; transition: border .2s; }
select:focus, input:focus, textarea:focus { border-color: var(--ink); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sort-form select { width: auto; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; }
.pagination a.active { background: var(--black); color: #fff; border-color: var(--black); }
.empty-state { text-align: center; padding: 60px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--gray); }
.empty-state h3 { color: var(--ink); font-size: 20px; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.product-layout > * { min-width: 0; }
.gallery { position: sticky; top: 160px; }
.gallery-main { position: relative; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 1 / .9; overflow: hidden; background: var(--bg2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 78px; height: 70px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; }
.gallery-thumbs button.active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pi-cat { color: var(--gold); font-weight: 700; font-size: 14px; }
.product-info h1 { font-size: 30px; font-weight: 800; line-height: 1.3; margin: 4px 0 6px; }
.pi-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray); }
.pi-rating b { color: var(--ink); }
.pi-price { font-size: 30px; font-weight: 800; margin: 12px 0 4px; }
.pi-price del { font-size: 17px; color: #999; font-weight: 400; }
.pi-stock { color: var(--green); font-weight: 500; font-size: 14px; }
.pi-stock.out { color: var(--red); }
.pi-form { margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.pi-colors .lbl { display: block; margin-bottom: 8px; font-size: 14px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 3px #fff; outline: 2px solid transparent; outline-offset: 2px; transition: .15s; }
.swatch input:checked + span { outline-color: var(--black); }
.swatch input:focus-visible + span { outline-color: var(--gold); }
.pi-actions { display: flex; gap: 10px; align-items: center; }
.pi-actions .btn-lg { flex: 1; }
.wish-btn-lg { border: 1px solid var(--line); width: 50px; height: 50px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; height: 50px; }
.qty button { width: 38px; height: 100%; font-size: 20px; }
.qty button:hover { background: var(--bg2); }
.qty input { width: 44px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 38px; }
.qty-sm button { width: 32px; }
.qty-sm input { width: 36px; }
.form-error { background: #fdecec; color: var(--red); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.pi-perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; background: var(--soft); border-radius: 12px; }
.pi-perks li { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.pi-perks .ic { color: var(--gold); }
.pi-desc { margin-top: 22px; }
.pi-desc h3 { font-size: 18px; margin-bottom: 6px; }
.pi-desc p { color: #444; line-height: 1.9; }

/* Reviews */
.reviews-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.review p { color: #444; }
.review-form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.review-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.star-input { position: relative; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { color: #d6d6d6; cursor: pointer; transition: .15s; }
.star-input label svg { fill: currentColor; stroke: none; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 4px; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cart-item { width: 100%; display: grid; grid-template-columns: 96px 1fr auto auto auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.ci-img img { width: 96px; height: 86px; object-fit: cover; border-radius: 8px; }
.ci-info { display: flex; flex-direction: column; gap: 2px; }
.ci-name { font-weight: 700; }
.ci-color { font-size: 13px; color: var(--gray); display: inline-flex; gap: 6px; align-items: center; }
.ci-price { font-size: 14px; color: var(--gray); }
.ci-total { min-width: 100px; text-align: left; }
.ci-remove:hover { color: var(--red); }
.summary { border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: sticky; top: 160px; display: flex; flex-direction: column; gap: 12px; }
.summary h3 { font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; }
.free-note { background: #fff8e8; color: #8a6414; padding: 9px 12px; border-radius: 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.free-note.ok { background: #e8f7ef; color: var(--green); }
.sum-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.sum-item img { width: 60px; height: 54px; object-fit: cover; border-radius: 8px; }
.sum-item div { display: flex; flex-direction: column; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.card + .card { margin-top: 18px; }
.checkout-form, .contact-form, .track-form { position: relative; display: flex; flex-direction: column; gap: 14px; }
.checkout-form h3 { font-size: 20px; }
.checkout-form label, .contact-form label, .track-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.delivery-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dt { cursor: pointer; }
.dt input { position: absolute; opacity: 0; }
.dt span { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px; font-size: 14px; flex-wrap: wrap; }
.dt b { margin-inline-start: auto; color: var(--gold); }
.dt input:checked + span { border-color: var(--black); background: var(--bg2); }
.gift-box { background: var(--soft); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.gift-box h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.gift-box h4 .ic { color: var(--gold); }
.checkout-form label.check-line { flex-direction: row; align-items: center; gap: 10px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--black); }
.check-line b { margin-inline-start: auto; color: var(--gold); }
.gift-msg { color: var(--gray); font-style: italic; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 10px; }
.alert-error { background: #fdecec; color: #a61b1b; }
.alert-success { background: #e8f7ef; color: #13693a; }
.success-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: #e8f7ef; color: var(--green); display: flex; align-items: center; justify-content: center; }
.success-card h1 { font-size: 26px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: right; }
.order-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.order-table td:last-child { text-align: left; white-space: nowrap; }
.order-table td.gift-msg { text-align: right; white-space: normal; }
.order-table tr.total td { font-weight: 800; font-size: 16px; border-bottom: 0; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.status-pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: #eee; vertical-align: middle; margin-inline-start: 8px; }
.st-new { background: #e8f0fe; color: #1a56db; }
.st-confirmed { background: #fff4d6; color: #8a6414; }
.st-shipped { background: #efe8fe; color: #6b3fd4; }
.st-delivered { background: #e8f7ef; color: var(--green); }
.st-cancelled, .st-returned { background: #fdecec; color: var(--red); }
.steps { list-style: none; display: flex; margin: 20px 0; counter-reset: s; }
.steps li { flex: 1; text-align: center; font-size: 13px; color: var(--gray); position: relative; padding-top: 38px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: #eee; display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 1; }
.steps li + li::after { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: #eee; }
.steps li.done { color: var(--ink); font-weight: 700; }
.steps li.done::before { background: var(--black); color: var(--gold); }
.steps li.done + li.done::after { background: var(--black); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-info h2 { font-size: 24px; }
.ci-line { display: flex; gap: 10px; align-items: center; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .products-grid, .products-grid.grid-6 { grid-template-columns: repeat(4, 1fr); }
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .nav-link.active { padding: 8px 18px; }
}
@media (max-width: 1024px) {
  .menu-toggle, .search-toggle { display: inline-flex; }
  .header-main { min-height: 70px; gap: 10px; position: relative; }
  .logo { margin-inline-end: auto; }
  .logo-text { font-size: 24px; }
  .logo img { height: 58px; }
  .logo-icon { width: 38px; height: 38px; }
  .search-box { display: none; position: absolute; top: 100%; right: 0; left: 0; margin: 0; max-width: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); padding: 10px 16px; background: #fff; z-index: 4; }
  .search-box.open { display: flex; }
  .search-box input { background: var(--bg2); border-radius: 0 24px 24px 0; }
  .search-box button { border-radius: 24px 0 0 24px; }
  .nav-row { border: 0; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85%; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0 0 20px; z-index: 100; transform: translateX(100%); transition: transform .3s; overflow-y: auto; min-height: 0; }
  .main-nav.open { transform: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .nav-link, .nav-link.active { padding: 14px 18px; border-bottom: 1px solid var(--line); justify-content: space-between; width: 100%; border-radius: 0; }
  .nav-link.active { background: var(--soft); color: var(--ink); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 12px 8px; display: none; min-width: 0; background: var(--bg2); border-radius: 0; }
  .has-drop.open .dropdown { display: block; }
  .only-mobile, .main-nav > a.only-mobile { display: flex; }
  .hero { height: 420px; }
  .slide h1 { font-size: 40px; }
  .slide-img { width: 100%; }
  .slide-img::after { background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.55)); }
  .slide-content { align-items: flex-start; }
  .products-grid, .products-grid.grid-4, .products-grid.grid-6 { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; right: 0; width: 300px; max-width: 88%; max-height: none; z-index: 100; background: #fff; border-radius: 0; transform: translateX(100%); transition: transform .3s; }
  .filters.open { transform: none; }
  .product-layout, .cart-layout, .checkout-layout, .contact-layout, .reviews-layout { grid-template-columns: 1fr; }
  .gallery, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .why-item:nth-child(4) { border-inline-start: 0; }
}
@media (max-width: 768px) {
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: center; }
  .hero { height: 400px; }
  .slide h1 { font-size: 32px; }
  .slide p { font-size: 15px; }
  .hero-controls { display: none; }
  .cat-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .cat-strip::-webkit-scrollbar { display: none; }
  .products-grid, .products-grid.grid-4, .products-grid.grid-6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-info { padding: 10px; }
  .p-name { font-size: 14px; }
  .banners { grid-template-columns: 1fr; }
  .banner { min-height: 150px; padding: 20px; }
  .banner-text strong { font-size: 22px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(3), .why-item:nth-child(5) { border-inline-start: 0; }
  .why-item:nth-child(4) { border-inline-start: 1px solid rgba(0,0,0,.08); }
  .cart-item { grid-template-columns: 76px 1fr auto; grid-template-areas: 'img info rm' 'img qty total'; gap: 8px 12px; }
  .ci-img { grid-area: img; } .ci-img img { width: 76px; height: 70px; }
  .ci-info { grid-area: info; } .qty-sm { grid-area: qty; justify-self: start; }
  .ci-total { grid-area: total; } .ci-remove { grid-area: rm; }
  .form-row, .delivery-types { grid-template-columns: 1fr; }
  .pi-perks { grid-template-columns: 1fr; }
  .pi-actions { flex-wrap: wrap; }
  .pi-actions .btn-lg { flex: 1 1 100%; order: 3; padding: 13px 16px; }
  .product-info h1 { font-size: 24px; }
  .page-head h1 { font-size: 22px; }
}
@media (max-width: 480px) {
  .logo-text { font-size: 21px; }
  .logo-tag { font-size: 9.5px; }
  .icon-btn { width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cat-strip { grid-auto-columns: 38%; }
  .banner-text { max-width: 62%; }
  .card { padding: 18px; }
}

/* ==========================================================================
   Perfume Palace — luxury dark & gold theme
   Colours still come from the admin (الواجهة والمظهر): --gold, --black, --soft
   ========================================================================== */
:root {
  --gold-hi: #f6dc95;
  --gold-lo: #b8862f;
  --gold-grad: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, var(--gold-lo) 100%);
  --panel: #131313;
  --panel-line: rgba(255, 255, 255, .09);
  --card: #f3efe9;
  --card-line: #e3dcd1;
  --display: 'Reem Kufi', 'Tajawal', sans-serif;
  --latin: 'Cinzel', 'Times New Roman', serif;
}
body { background: #faf8f4; }

/* ---------- Buttons ---------- */
.btn-gold { background: var(--gold-grad); color: #1a1206; box-shadow: 0 6px 22px rgba(212, 169, 79, .25); }
.btn-gold:hover:not(:disabled) { filter: brightness(1.06); }
.btn-dark { background: #111; color: #fff; }
.btn-lg { padding: 12px 46px; font-size: 16px; border-radius: 30px; }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: #ece6db; box-shadow: none; border-bottom: 1px solid rgba(212, 169, 79, .35); }
.header-main {
  display: grid; grid-template-columns: auto 1fr minmax(260px, 330px) auto;
  grid-template-areas: "logo . search actions" "logo nav nav nav";
  align-items: center; column-gap: 26px; min-height: 0; padding-top: 14px;
}
.logo { grid-area: logo; flex-direction: column; gap: 2px; color: var(--gold); padding-bottom: 10px; }
.logo img { height: 86px; }
.logo-icon { width: 58px; height: 50px; }
.logo-words { align-items: center; }
.logo-text {
  font-family: var(--latin); font-size: 21px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-tag { font-family: var(--latin); font-size: 9.5px; letter-spacing: 1.4px; color: var(--gold); margin-top: 3px; }
.search-box { grid-area: search; max-width: none; margin: 0; background: #151515; border: 1px solid #353535; }
.search-box input, .search-box input:focus { color: #eee; padding: 10px 6px 10px 18px; background: transparent; border: 0; }
.search-box input::placeholder { color: #8d8a85; }
.search-box button { order: -1; background: transparent; color: #eee; width: 48px; height: 42px; }
.header-actions { grid-area: actions; gap: 10px; }
.icon-btn { color: #f1ece3; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--gold); }
.badge { background: var(--gold); color: #1a1206; border-color: var(--black); top: 0; left: -2px; }
.main-nav { grid-area: nav; display: flex; align-items: stretch; justify-content: flex-start; gap: 4px; min-height: 50px; padding: 0; }
.nav-link { position: relative; color: #e9e4da; font-weight: 500; padding: 12px 16px; border-radius: 0; }
.nav-link:hover { color: var(--gold); }
.nav-link.active, .nav-link.active:hover { background: none; color: var(--gold); padding: 12px 16px; }
.nav-link.active::after { content: ''; position: absolute; right: 14px; left: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold-grad); }
.dropdown { background: #151515; border-color: #2a2a2a; }
.dropdown a:hover { background: #1f1f1f; }
.dropdown .drop-all { border-color: #2a2a2a; }

/* ---------- Hero ---------- */
.hero {
  height: 450px;
  background: radial-gradient(40% 70% at 30% 45%, rgba(212, 169, 79, .16), transparent 70%),
              radial-gradient(35% 60% at 85% 20%, rgba(212, 169, 79, .08), transparent 70%), #080808;
}
.slide { background: none; }
.slide-img {
  left: 17%; right: auto; width: 52%;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 24%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 24%, #000 80%, transparent 100%);
}
.slide-img::after { background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 30%); }
.slide-content { flex-direction: row; align-items: center; justify-content: space-between; height: 100%; padding-inline: 70px 40px; }
.slide-box { width: 470px; align-items: center; text-align: center; }
.slide-box h1 {
  font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1.3; color: #f4efe6; margin-bottom: 16px; align-self: stretch;
}
.gold-word {
  display: block; font-size: 92px; font-weight: 500; line-height: 1.25; margin-top: 2px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(212, 169, 79, .25));
}
.slide p { font-size: 18px; color: #efe9df; line-height: 1.9; margin-bottom: 26px; }
.slide-kicker {
  align-self: flex-start; margin-top: 80px; max-width: 170px; text-shadow: 0 2px 12px #000; font-size: 18px; line-height: 1.7; color: #e9dcc2; text-align: start;
}
.slide-kicker::after { content: ''; display: block; width: 46px; height: 1.5px; background: var(--gold); margin-top: 14px; }
.slide.active .slide-kicker { animation: rise .8s .35s both; }
.hero-nav {
  position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px;
  border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .35); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.hero-nav:hover { border-color: var(--gold); color: var(--gold); }
.hero-nav.next { right: 18px; }
.hero-nav.prev { left: 18px; }
.hero-dots { bottom: 18px; gap: 10px; align-items: center; }
.hero-dots button { width: 9px; height: 9px; border-radius: 6px; background: transparent; border: 1.5px solid #fff; }
.hero-dots button.active { width: 22px; background: var(--gold-grad); border-color: transparent; }

/* ---------- Trust strip (المزايا) ---------- */
.trust-strip { background: #121212; color: #fff; border-top: 1px solid var(--panel-line); }
.trust-strip h2 { text-align: center; font-size: 20px; padding-top: 20px; }
.trust-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); padding: 22px 0; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 16px; }
.trust-item + .trust-item { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.ti-icon { color: var(--gold); display: inline-flex; }
.ti-icon .ic { stroke-width: 1.4; }
.ti-text { display: flex; flex-direction: column; line-height: 1.5; }
.ti-text strong { font-size: 15.5px; font-weight: 700; }
.ti-text span { font-size: 13px; color: #a9a39a; }

/* ---------- Category cards ---------- */
.cats-section { background: #121212; padding: 26px 0 22px; border-top: 1px solid var(--panel-line); }
.cats-section .section-head h2 { color: #fff; }
.center-head { justify-content: center; text-align: center; }
.cat-strip { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 18px; overflow: visible; grid-auto-flow: row; }
.cat-card {
  position: relative; display: block; aspect-ratio: 1.6; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); background: #1a1a1a; isolation: isolate;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; z-index: -2; }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 8, 8, .92) 0%, rgba(8, 8, 8, .35) 38%, transparent 62%); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover { border-color: rgba(212, 169, 79, .5); }
.cat-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--gold); z-index: -2; }
.cat-cap { position: absolute; bottom: 14px; right: 22px; left: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cat-cap strong { color: #fff; font-size: 17px; font-weight: 700; }
.cat-go { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-size: 13.5px; font-weight: 500; }
.cat-card:hover .cat-go { gap: 8px; }

/* ---------- Product carousel ---------- */
.products-section { background: var(--soft); padding: 26px 0 30px; }
.carousel-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 20px; }
.ch-title { text-align: center; }
.ch-title h2 { font-size: 23px; font-weight: 800; color: #151515; }
.ch-title p { font-size: 15px; color: #3d3a36; margin-top: 4px; }
.ch-arrows { display: flex; gap: 10px; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; background: #e4ddd2; color: #151515; display: flex; align-items: center; justify-content: center; transition: .2s; }
.round-btn:hover { background: #151515; color: var(--gold); }
.carousel-head .see-all { justify-self: end; color: #8f6d2c; font-size: 13.5px; }
.p-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 1px 6px;
}
.p-track::-webkit-scrollbar { display: none; }
.p-track > * { scroll-snap-align: start; }

/* ---------- Product cards ---------- */
.product-card { background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; text-align: center; }
.product-card:hover { box-shadow: 0 12px 30px rgba(60, 45, 20, .12); border-color: #d6c9b4; }
.p-img { aspect-ratio: 1 / .78; background: transparent; }
.p-img img { object-fit: contain; padding: 16px 16px 4px; mix-blend-mode: multiply; }
.wish-btn { background: transparent; box-shadow: none; color: #6f6a63; top: 8px; right: 8px; }
.wish-btn:hover { color: var(--red); background: rgba(0, 0, 0, .04); }
.p-badge { top: 10px; left: 10px; }
.p-badge.sale { background: var(--gold-grad); color: #1a1206; }
.p-info { align-items: center; padding: 6px 12px 16px; gap: 2px; }
.p-name { font-size: 14.5px; font-weight: 600; color: #161616; font-family: 'Tajawal', sans-serif; }
.p-cat { font-size: 12.5px; color: #6e6a64; }
.p-rating { margin: 2px 0; }
.stars { color: #e5a92a; }
.p-price { font-size: 15px; margin: 6px 0 10px; color: #111; }
.btn-cart {
  background: #111; color: var(--gold-hi); font-size: 12.5px; font-weight: 700;
  padding: 8px 18px; border-radius: 20px; width: 84%; margin-top: auto;
}
.btn-cart:hover:not(:disabled) { background: #000; filter: none; color: #fff; }
.products-grid { gap: 16px; }

/* ---------- Quote band (بانر العبارة) ---------- */
.quote-band {
  position: relative; background-color: #140c0a; background-size: cover; background-position: center;
  color: #fff; min-height: 96px; display: flex; align-items: center;
}
.quote-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.45) 50%, rgba(0,0,0,.1)); }
.qb-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; text-align: center; }
.qb-title { display: flex; align-items: center; gap: 22px; font-family: var(--display); font-weight: 400; font-size: 24px; color: #ecd08a; }
.qb-title::before, .qb-title::after { content: ''; width: 60px; height: 1px; background: var(--gold); flex: none; }
.quote-band p { color: #e6ddcf; font-size: 15px; }
.qb-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.qb-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #eee; }
.qb-points .ic { color: var(--gold); }
.promo-pill { display: inline-block; background: var(--gold-grad); color: #1a1206; border-radius: 20px; padding: 4px 16px; font-size: 13px; font-weight: 700; }

/* ---------- Generic sections on the cream background ---------- */
.section-head h2 { font-family: 'Tajawal', sans-serif; }
.sh-kicker { display: block; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 2px; }
.section-head { flex-wrap: wrap; row-gap: 2px; }
.section-head .see-all { margin-inline-start: auto; }
.section-head .section-sub { flex-basis: 100%; order: 3; font-size: 14px; color: var(--gray); margin: -2px 0 0; }
.reviews-section { background: #faf8f4; padding: 34px 0; }

/* ---------- Inner pages ---------- */
.page-head { background: #121212; color: #fff; border-bottom: 1px solid var(--panel-line); }
.page-head h1 { font-family: var(--display); font-weight: 500; }
.breadcrumb { color: #a9a39a; }
.breadcrumb a:hover { color: var(--gold); }
.chip { background: #1b1b1b; color: #ddd; border-color: #333; }
.chip.active, .chip:hover { background: var(--gold-grad); color: #1a1206; border-color: transparent; }
.page-head .muted { color: #a9a39a; }
.gallery-main { background: var(--card); }
.gallery-main img { object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs button { background: var(--card); }
.gallery-thumbs img { object-fit: contain; mix-blend-mode: multiply; }
.ci-img img, .sum-item img { object-fit: contain; background: var(--card); }
.filters, .summary, .card, .cart-item { background: #fff; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; border-top: 1px solid rgba(212, 169, 79, .35); }
.f-logo span { font-family: var(--latin); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.news-strip { margin-top: 0 !important; }

/* ---------- Kept from the previous theme: hero pills, why band, testimonials, newsletter ---------- */
.hero-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 24px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.hero-pill svg { width: 17px; height: 17px; color: var(--gold); }
.hero-pill + .hero-pill::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); margin-inline-end: 7px; flex: none;
}
/* ---------- "Why choose us" — optional dark band ---------- */
.why-dark { background: var(--black); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.why-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(214, 165, 106, .13), transparent 70%);
}
.why-dark > .container { position: relative; }
.why-dark h2 { text-align: center; font-size: 26px; margin: 0 0 34px; }
.why-dark-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 26px; }
.wd-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wd-icon {
  width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(214, 165, 106, .55); background: rgba(214, 165, 106, .08); color: var(--gold); margin-bottom: 6px;
}
.wd-item strong { font-size: 16px; }
.wd-item > span:last-child { font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* ---------- Customer testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi {
  margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm, 0 1px 4px rgba(0,0,0,.05));
}
.testi-stars { display: flex; gap: 2px; color: #d8d8d8; }
.testi-stars .on { color: var(--gold); }
.testi-stars svg { fill: currentColor; }
.testi blockquote { margin: 0; font-size: 14.5px; line-height: 1.85; color: #3d3d3d; }
.testi figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--gold); font-weight: 800; font-size: 17px;
}
.testi-who { display: flex; flex-direction: column; line-height: 1.4; }
.testi-who strong { font-size: 14px; }
.testi-who span { font-size: 12px; color: var(--gray); }

/* ---------- Newsletter strip above the footer ---------- */
.news-strip { background: #1b1f20; color: #fff; margin-top: 34px; position: relative; overflow: hidden; }
.news-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 160% at 20% 50%, rgba(214, 165, 106, .16), transparent 65%);
}
.news-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 26px 16px;
}
.news-copy { display: flex; flex-direction: column; gap: 3px; }
.news-copy strong { font-size: 19px; font-weight: 800; }
.news-copy span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.news-strip .news-form { margin: 0; flex: 1; min-width: 280px; max-width: 520px; }
.news-strip .news-form button { width: auto; gap: 7px; padding: 0 22px; font-weight: 700; white-space: nowrap; }

/* ---------- Footer contact column ---------- */
.f-line { display: inline-flex; align-items: center; gap: 8px; }
.f-line svg { color: var(--gold); flex: none; }
.f-contact .pay-badges { margin-top: 10px; }
.news-strip { background: #141414; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .p-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .slide-content { padding-inline: 60px; }
  .nav-link, .nav-link.active, .nav-link.active:hover { padding: 12px 11px; }
}
@media (max-width: 1024px) {
  .header-main {
    grid-template-columns: auto 1fr auto; grid-template-areas: "toggle logo actions";
    padding: 8px 16px; column-gap: 8px;
  }
  .menu-toggle { grid-area: toggle; }
  .search-box, .main-nav { grid-area: auto; }
  .logo { grid-area: logo; }
  .logo { flex-direction: row; gap: 8px; padding: 0; margin: 0; justify-self: start; }
  .logo img { height: 52px; }
  .logo-icon { width: 40px; height: 36px; }
  .logo-words { align-items: flex-start; }
  .logo-text { font-size: 16px; letter-spacing: 1px; white-space: nowrap; }
  .logo-tag { font-size: 8px; }
  .search-box { background: #111; border: 0; border-bottom: 1px solid #2a2a2a; padding: 10px 16px; }
  .search-box input { background: #1b1b1b; border-radius: 0 24px 24px 0; }
  .search-box button { order: 0; background: var(--gold-grad); color: #1a1206; height: 44px; }
  .main-nav { background: #0f0f0f; min-height: 0; }
  .nav-head { border-color: #222; color: #fff; }
  .nav-link, .nav-link.active, .nav-link.active:hover { padding: 14px 18px; border-bottom: 1px solid #1f1f1f; }
  .nav-link.active { background: #161616; color: var(--gold); }
  .nav-link.active::after { display: none; }
  .dropdown { background: #161616; }
  .hero { height: 440px; }
  .slide-img { left: 0; right: 0; width: 100%; -webkit-mask-image: none; mask-image: none; background-position: 30% center; }
  .slide-img::after { background: linear-gradient(0deg, rgba(0,0,0,.85) 10%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.35)); }
  .slide-content { justify-content: center; padding-inline: 16px; }
  .slide-kicker { display: none; }
  .slide-box h1 { font-size: 32px; }
  .gold-word { font-size: 68px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-item { justify-content: flex-start; }
  .trust-item:nth-child(odd) { border-inline-start: 0; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .p-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 768px) {
  .hide-xs { display: none; }
  .hero { height: 420px; }
  .hero-nav { display: none; }
  .slide-box h1 { font-size: 26px; }
  .gold-word { font-size: 56px; }
  .slide p { font-size: 15px; }
  .slide p br { display: none; }
  .trust-item { gap: 10px; padding: 4px 10px; }
  .ti-icon .ic { width: 30px; height: 30px; }
  .ti-text strong { font-size: 14px; }
  .ti-text span { font-size: 12px; }
  .cat-strip { gap: 12px; }
  .cat-cap { right: 14px; left: 14px; bottom: 10px; }
  .cat-cap strong { font-size: 15px; }
  .carousel-head { grid-template-columns: 1fr auto; grid-template-areas: "title title" "arrows all"; row-gap: 10px; }
  .ch-title { grid-area: title; }
  .ch-arrows { grid-area: arrows; }
  .carousel-head .see-all { grid-area: all; }
  .p-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .qb-title { font-size: 18px; gap: 12px; }
  .qb-title::before, .qb-title::after { width: 28px; }
}
@media (max-width: 420px) {
  .logo-tag { display: none; }
  .logo-text { font-size: 13px; letter-spacing: .4px; }
  .logo-icon { width: 32px; height: 30px; }
  .header-actions { gap: 0; }
  .btn-cart { width: 100%; padding: 8px 10px; }
}

/* ==========================================================================
   "اطلب الآن" — card buttons + order popup
   ========================================================================== */
.p-actions { display: flex; align-items: center; gap: 6px; width: 92%; margin-top: auto; }
.btn-order { flex: 1; padding: 9px 12px; font-size: 13px; border-radius: 20px; box-shadow: 0 4px 14px rgba(212, 169, 79, .3); }
.btn-cart-ic { flex: none; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: #111; color: var(--gold-hi); }
.btn-cart-ic:hover:not(:disabled) { background: #000; color: #fff; }
.btn-cart-ic:disabled { opacity: .5; }

.om { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.om-backdrop { position: absolute; inset: 0; background: rgba(10, 8, 5, .55); opacity: 0; transition: opacity .2s; }
.om-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .2s;
}
.om.show .om-backdrop { opacity: 1; }
.om.show .om-dialog { opacity: 1; transform: none; }
.om-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #faf8f4; }
.om-head h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.om-head h3 .ic { color: var(--gold); }
.om-x { width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; color: #555; }
.om-x:hover { background: var(--bg2); color: #000; }
.om-body { overflow-y: auto; padding: 18px 20px 20px; gap: 12px; overscroll-behavior: contain; }
.om-product { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--card-line); border-radius: 12px; padding: 10px; }
.om-product img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; border-radius: 8px; }
.om-pinfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.om-pinfo strong { font-size: 15px; line-height: 1.4; }
.om-unit { font-weight: 800; color: #8a6414; font-size: 14px; }
.om-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.om-clabel { font-size: 12.5px; color: var(--gray); flex-basis: 100%; }
.om-sw { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; outline: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.om-sw.active { outline-color: #111; }
.om-qty { background: #fff; }
.om-sec { font-size: 15px; margin-top: 4px; }
.om-summary { display: flex; flex-direction: column; gap: 8px; background: #faf8f4; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.om-summary .sum-row { font-size: 14px; }
.om-summary .sum-row.total { font-size: 16px; padding-top: 8px; }
.om .delivery-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.om .dt span { padding: 11px 12px; font-size: 13.5px; }
@media (max-width: 560px) {
  .om { padding: 0; align-items: flex-end; }
  .om-dialog { max-width: none; max-height: 94vh; max-height: 94dvh; border-radius: 16px 16px 0 0; transform: translateY(40px); }
  .om-body { padding: 14px 16px 18px; }
  .om-product { grid-template-columns: 60px 1fr; }
  .om-product img { width: 60px; height: 60px; }
  .om-qty { grid-column: 1 / -1; justify-self: start; }
  .om .delivery-types { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .p-actions { width: 100%; gap: 5px; }
  .btn-order { padding: 8px 6px; font-size: 12px; }
  .btn-order .ic { display: none; }
  .btn-cart-ic { width: 34px; height: 34px; }
}

/* ==========================================================================
   Hero — brighter, clearer image
   ========================================================================== */
.hero {
  background: radial-gradient(45% 75% at 30% 45%, rgba(212, 169, 79, .22), transparent 70%),
              radial-gradient(35% 60% at 85% 20%, rgba(212, 169, 79, .12), transparent 70%), #17140f;
}
.slide-img {
  left: 12%; width: 62%;
  filter: brightness(1.12) contrast(1.06) saturate(1.08);
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.slide-img::after { background: linear-gradient(0deg, rgba(0, 0, 0, .12), transparent 25%); }
/* A slide with only a picture (no title / text / button): the whole image, centred, sharp and bright,
   over a soft blurred copy of itself instead of a dark background. */
.slide-blur { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(40px) brightness(1.08) saturate(1.2); opacity: .9; }
.slide-photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: brightness(1.08) contrast(1.04) saturate(1.06); }
.hero-img { height: 480px; }
@media (max-width: 1024px) {
  .slide-img { filter: brightness(1.08) contrast(1.05); }
  .slide-img::after { background: linear-gradient(0deg, rgba(0,0,0,.7) 5%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1)); }
}
.toast { z-index: 400; }

/* Phones / tablets: an image-only hero takes the picture's full width with no side cropping */
@media (max-width: 1024px) {
  .hero-img { height: min(100vw, 78vh); }
}

/* Floating "تسوق الآن" button — fixed like the WhatsApp button (which is bottom-left), on the opposite side */
.float-cta {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 26px;
  border-radius: 30px; background: var(--gold-grad); color: #1a1206; font-weight: 800; font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 0 rgba(212, 169, 79, .55);
  animation: ctaPulse 2.4s ease-out infinite; transition: transform .2s;
}
.float-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.float-cta:active { transform: scale(.97); }
@keyframes ctaPulse {
  0% { box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 0 rgba(212, 169, 79, .55); }
  70% { box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 14px rgba(212, 169, 79, 0); }
  100% { box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 0 rgba(212, 169, 79, 0); }
}
@media (prefers-reduced-motion: reduce) { .float-cta { animation: none; } }
body.nav-open .float-cta { display: none; }
@media (max-width: 768px) {
  .float-cta { bottom: 22px; right: 16px; height: 56px; padding: 0 22px; font-size: 15px; }
  .toast { bottom: 92px; }
}
