/* القوالب البريميوم (2026-11-17n): a whole website look instead of the app-like page - a top menu, a big hero, sections,
   a footer with the shop's details. Same page underneath (shop-store.css / shop-store.js): only the frame and the skin
body.prem { --maxw: 1240px; }
.prem #app { max-width: none; padding-bottom: 0; }
.prem .pm-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.prem .tools, .prem #home, .prem .all, .prem .notice, .prem .mine { max-width: var(--maxw); margin-inline: auto; }
.prem .notice { margin-top: 14px; }

/* ---- the top bar + menu */
.pm-ann { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; padding: 7px 12px; }
.pm-ann span + span::before { content: "•"; margin: 0 10px; opacity: .5; }
.pm-nav { position: sticky; top: 0; z-index: 12; background: var(--pm-nav, #fff); border-bottom: 1px solid var(--line); }
.pm-nav .pm-wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.pm-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; min-width: 0; }
.pm-logo { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; flex: none;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 22px; }
.pm-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pm-brand b { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.pm-brand small { display: block; font-size: 12px; color: var(--mut); }
.pm-links { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pm-links::-webkit-scrollbar { display: none; }
.pm-links button { border: 0; background: none; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.pm-links button:hover, .pm-links button.on { color: var(--brand); }
.pm-acts { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
.pm-ic, .pm-cart { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center; color: var(--ink); }
.pm-ic svg, .pm-cart svg { width: 21px; height: 21px; }
.pm-cart i { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  background: var(--brand); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.pm-cart i:empty, .pm-cart i[data-n="0"] { display: none; }

/* ---- the hero */
.pm-hero { position: relative; overflow: hidden; }
.pm-hero .pm-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: 440px; padding-block: 56px; }
.pm-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.pm-kick i { width: 8px; height: 8px; border-radius: 50%; background: #2BD07F; }
.pm-kick.off i { background: #FF8A65; }
.pm-hero h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.12; font-weight: 800; margin: 16px 0 12px; letter-spacing: -.5px; }
.pm-hero p { font-size: 17px; line-height: 1.75; max-width: 520px; opacity: .85; }
.pm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pm-btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; background: var(--brand); color: #fff; border: 0; }
.pm-btn svg { width: 19px; height: 19px; }
.pm-btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.pm-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin-top: 26px; font-size: 13.5px; font-weight: 600; opacity: .85; }
.pm-trust li::before { content: "✓"; margin-inline-end: 6px; color: var(--brand); font-weight: 800; }
.pm-art { position: relative; aspect-ratio: 1; max-height: 420px; justify-self: center; width: 100%; max-width: 420px; }
.pm-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-art .pm-mono { position: absolute; inset: 0; display: grid; place-items: center; font-size: 140px; font-weight: 800; color: var(--brand); }
.pm-art .pm-mono img { width: 62%; height: 62%; object-fit: contain; }

/* ---- the products area */
.prem .tools { background: transparent; backdrop-filter: none; position: relative; padding: 26px 20px 4px; }
.prem .srch { height: 54px; border-radius: 14px; }
.prem .sec-h { padding-inline: 20px; } .prem .row { padding-inline: 20px; } .prem .cats, .prem .list { padding-inline: 20px; }
.prem .bn { margin-inline: 20px; }
.prem .sec-h h2, .prem .all-h h2 { font-size: 24px; font-weight: 800; }
.prem .all-h { padding-inline: 20px; padding-bottom: 16px; }
.prem .all { margin-top: 36px; }
.prem .sec { margin-top: 40px; }
@media (min-width: 760px) {
  .prem .list.grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
  .prem .row > .pc { flex-basis: 220px; }
  .prem .list.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; }
}

/* ---- why us + the footer */
.pm-feats { margin-top: 60px; padding: 40px 0; }
.pm-feats .pm-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.pm-feat { display: flex; gap: 14px; align-items: flex-start; }
.pm-feat > svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px; flex: none; background: var(--brand-soft); color: var(--brand); }
.pm-feat b { display: block; font-size: 15.5px; font-weight: 800; } .pm-feat span { font-size: 13.5px; color: var(--mut); }
.pm-foot { background: var(--pm-foot, #111318); color: #E7E9EE; padding: 52px 0 120px; }
.pm-foot .pm-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pm-foot h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; color: #fff; }
.pm-foot p, .pm-foot li { font-size: 14px; line-height: 1.9; color: #B9BEC8; }
.pm-foot ul { list-style: none; }
.pm-foot a { color: #fff; text-decoration: none; font-weight: 600; }
.pm-foot .pm-brand b { color: #fff; } .pm-foot .pm-brand small { color: #9AA0AA; }
.pm-soc { display: flex; gap: 9px; margin-top: 16px; }
.pm-soc a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.pm-soc svg { width: 19px; height: 19px; }
.pm-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; margin-top: 10px; font-size: 12.5px; color: #8D93A0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pm-copy a { color: #B9BEC8; font-weight: 500; }
.prem .credit { display: none; }

@media (max-width: 760px) {
  .pm-nav .pm-wrap { height: 62px; gap: 10px; }
  .pm-links { display: none; }
  .pm-brand b { font-size: 16px; max-width: 170px; }
  .pm-logo { width: 40px; height: 40px; }
  .pm-hero .pm-wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 34px 30px; gap: 22px; }
  .pm-hero p { font-size: 15px; }
  .pm-art { max-width: 280px; }
  .pm-btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .pm-foot .pm-wrap { grid-template-columns: 1fr; gap: 24px; }
  .prem .sec-h h2, .prem .all-h h2 { font-size: 19px; }
  .prem .tools { padding: 16px 14px 4px; } .prem .sec-h, .prem .row, .prem .cats, .prem .list, .prem .all-h { padding-inline: 14px; }
}

/* =============================================================== 1. «فخم» (t-luxe): black and gold, a full picture hero */
body.t-luxe { --bg: #0D0D0F; --card: #17171A; --line: #2A2A2F; --ink: #F4EFE6; --mut: #A39C90; --gold: #C9A45C; --pm-nav: rgba(13, 13, 15, .92); --pm-foot: #070708;
  --shadow: none; background: var(--bg); }
.t-luxe .pm-ann { background: var(--gold); color: #111; }
.t-luxe .pm-nav { backdrop-filter: blur(10px); border-color: #222; }
.t-luxe .pm-logo { background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; }
.t-luxe .pm-brand b { letter-spacing: 1px; }
.t-luxe .pm-links button { color: #D7D1C6; font-weight: 500; letter-spacing: .3px; }
.t-luxe .pm-links button:hover { color: var(--gold); }
.t-luxe .pm-ic, .t-luxe .pm-cart { background: transparent; border-color: #333; color: var(--gold); }
.t-luxe .pm-cart i { background: var(--gold); color: #111; }
.t-luxe .pm-hero { color: #fff; text-align: center; background: radial-gradient(ellipse at 50% 30%, #2A2418, #0D0D0F 70%); }
.t-luxe .pm-hero .pm-wrap { grid-template-columns: 1fr; min-height: 560px; justify-items: center; }
.t-luxe .pm-hero-bg { position: absolute; inset: 0; } .t-luxe .pm-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.t-luxe .pm-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .85)); }
.t-luxe .pm-art { display: none; }
.t-luxe .pm-hero h1 { font-weight: 500; letter-spacing: 2px; font-size: clamp(36px, 6vw, 74px); }
.t-luxe .pm-hero h1::after { content: ""; display: block; width: 70px; height: 2px; background: var(--gold); margin: 22px auto 0; }
.t-luxe .pm-hero p { margin-inline: auto; color: #CFC8BB; }
.t-luxe .pm-cta { justify-content: center; }
.t-luxe .pm-kick { border: 1px solid rgba(201, 164, 92, .55); color: var(--gold); }
.t-luxe .pm-btn { background: var(--gold); color: #111; border-radius: 0; letter-spacing: .5px; }
.t-luxe .pm-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.t-luxe .pm-trust { justify-content: center; color: #CFC8BB; } .t-luxe .pm-trust li::before { color: var(--gold); }
.t-luxe .srch { background: #17171A; border-color: #2A2A2F; border-radius: 0; color: #8E887E; }
.t-luxe .srch input { color: #fff; }
.t-luxe .chip { background: transparent; border-color: #333; color: #D7D1C6; border-radius: 0; }
.t-luxe .chip.on { background: var(--gold); color: #111; border-color: var(--gold); }
.t-luxe .sec-h h2, .t-luxe .all-h h2 { font-weight: 500; letter-spacing: 1px; color: #fff; }
.t-luxe .sec-h h2 svg { color: var(--gold); }
.t-luxe .pc, .t-luxe .it { border-radius: 0; border-color: #232327; background: var(--card); }
.t-luxe .pc:hover { border-color: var(--gold); }
.t-luxe .pc-img, .t-luxe .it .tile { background: #1F1F23; }
.t-luxe .art { background: #1C1B1F; color: var(--gold); } .t-luxe .art em { color: #A39C90; }
.t-luxe .pc-n { color: #F4EFE6; font-weight: 500; }
.t-luxe .price { color: var(--gold); } .t-luxe .price.sale { color: #E57C5D; }
.t-luxe .add, .t-luxe .step { background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 0; }
.t-luxe .step button { color: var(--gold); }
.t-luxe .cat { background: #17171A; color: var(--gold); border: 1px solid #262629; border-radius: 0; }
.t-luxe .all-c select, .t-luxe .vt { background: #17171A; border-color: #2A2A2F; color: #D7D1C6; border-radius: 0; }
.t-luxe .vt button.on { background: var(--gold); color: #111; }
.t-luxe .pm-feats { border-block: 1px solid #222; }
.t-luxe .pm-feat > svg { background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; }
.t-luxe .pm-feat b { color: #fff; font-weight: 500; }
.t-luxe .bar { background: var(--gold); color: #111; border-radius: 0; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8); }
.t-luxe .bar.empty { background: #1B1B1F; color: #fff; }
.t-luxe .notice { background: #1A1712; border-color: #3A3020; color: var(--gold); }
.t-luxe .carf { background: #17171A; border-color: #2A2A2F; } .t-luxe .carf select { background: #0D0D0F; border-color: #2A2A2F; color: #fff; }
.t-luxe .badge.nw { background: var(--gold); color: #111; }


/* =============================================================== 2. «مودرن» (t-vivid): the shop colour as a gradient, soft shapes, floating cards */
body.t-vivid { --bg: #F5F6FB; --line: #E6E8F0; --r-lg: 24px; --r-md: 18px; --pm-nav: rgba(255, 255, 255, .86); --pm-foot: #10132A;
  --shadow: 0 18px 40px -24px rgba(31, 41, 90, .35); background: var(--bg); }
.t-vivid .pm-ann { background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #7C3AED)); }
.t-vivid .pm-nav { backdrop-filter: blur(14px); border: 0; box-shadow: 0 6px 24px -18px rgba(31, 41, 90, .5); }
.t-vivid .pm-logo { border-radius: 14px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #7C3AED)); }
.t-vivid .pm-links button { border-radius: 999px; }
.t-vivid .pm-links button:hover { background: var(--brand-soft); }
.t-vivid .pm-ic, .t-vivid .pm-cart { border: 0; background: #fff; box-shadow: 0 6px 18px -10px rgba(31, 41, 90, .4); border-radius: 50%; }
.t-vivid .pm-hero { color: #fff; background: linear-gradient(125deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 45%, #6D28D9) 100%); }
.t-vivid .pm-hero::before, .t-vivid .pm-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.t-vivid .pm-hero::before { width: 520px; height: 520px; top: -220px; inset-inline-start: -160px; }
.t-vivid .pm-hero::after { width: 300px; height: 300px; bottom: -150px; inset-inline-end: 30%; background: rgba(255, 255, 255, .07); }
.t-vivid .pm-kick { background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.t-vivid .pm-btn { background: #fff; color: var(--brand-deep); border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.t-vivid .pm-btn.ghost { background: transparent; color: #fff; box-shadow: none; }
.t-vivid .pm-trust li::before { color: #fff; }
.t-vivid .pm-art { border-radius: 36px; overflow: hidden; background: rgba(255, 255, 255, .14); transform: rotate(-4deg);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); border: 6px solid rgba(255, 255, 255, .5); }
.t-vivid .pm-art .pm-mono { color: #fff; }
.t-vivid .pm-hero-wave { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 60px;
  background: radial-gradient(120% 60px at 50% 60px, var(--bg) 98%, transparent 100%); }
.t-vivid .tools { margin-top: -6px; }
.t-vivid .srch { border: 0; box-shadow: var(--shadow); border-radius: 999px; padding-inline: 20px; }
.t-vivid .chip { border: 0; box-shadow: 0 6px 16px -12px rgba(31, 41, 90, .5); }
.t-vivid .chip.on { background: var(--brand); }
.t-vivid .pc { border: 0; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.t-vivid .pc:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -26px rgba(31, 41, 90, .55); }
.t-vivid .pc-img { background: linear-gradient(180deg, #fff, #F4F5FA); }
.t-vivid .add { border-radius: 50%; width: 42px; height: 42px; padding: 0; box-shadow: 0 10px 18px -10px var(--brand); }
.t-vivid .add.pick { border-radius: 999px; width: auto; padding: 0 14px; }
.t-vivid .step { border-radius: 999px; }
.t-vivid .it { border: 0; box-shadow: var(--shadow); }
.t-vivid .cat { box-shadow: 0 10px 24px -18px rgba(31, 41, 90, .45); }
.t-vivid .sec-h h2 svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--brand-soft); }
.t-vivid .pm-feats .pm-feat { background: #fff; padding: 18px; border-radius: 22px; box-shadow: var(--shadow); }
.t-vivid .pm-feat > svg { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #7C3AED)); color: #fff; border-radius: 50%; }
.t-vivid .pm-foot { background: linear-gradient(160deg, #141838, #0B0D1F); border-radius: 40px 40px 0 0; }
.t-vivid .bar { border-radius: 999px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #7C3AED)); }

@media (max-width: 760px) {
  .t-vivid .pm-art { transform: none; }
}
.pm-foot .mt-f { margin-top: 12px; max-width: 340px; }

/* the bag in the menu is the cart: the floating bar shows only when something is in it */
.prem .bar.empty { display: none; }
/* the banners in each template's own colours (a text banner) */
.t-luxe .bn-s.txt { background: linear-gradient(120deg, #1C1810, #2B2414); color: var(--gold); border: 1px solid #3A3020; border-radius: 0; }
.t-luxe .bn-s.txt::after { border-color: rgba(201, 164, 92, .14); }
.t-luxe .bn-dots i.on { background: var(--gold); }
.t-vivid .bn-s.txt { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #6D28D9)); }
/* product cards: the grid is the website look */
.prem .pc-n { min-height: 2.8em; }
@media (max-width: 760px) {
  .pm-ann { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .pm-art:has(.pm-mono) { display: none; }
  .pm-art { max-width: 240px; }
}
