﻿:root {
  --gold: #c89b2c;
  --gold-light: #e8ca72;
  --ink: #16171a;
  --ink-soft: #34363b;
  --white: #ffffff;
  --pearl: #fafafa;
  --silver: #d9dce1;
  --silver-light: #f1f2f4;
  --muted: #777b84;
  --line: rgba(44, 47, 53, .11);
  --shadow: 0 18px 45px rgba(38, 41, 46, .09);
}

.trendstore-theme {
  font-family: "Tajawal", "Cairo", system-ui, sans-serif;
  background: var(--pearl);
  color: var(--ink);
  overflow-x: hidden;
}

.trendstore-theme h1,
.trendstore-theme h2,
.trendstore-theme h3,
.trendstore-theme h4,
.brand-font {
  font-family: "Playfair Display", "Cairo", serif;
  font-weight: 700;
}

.trendstore-theme a { text-decoration: none; }
.text-gold { color: var(--gold) !important; }
.gold-line { width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

html.skip-intro .brand-intro { display: none; }

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  background: var(--white);
  overflow: hidden;
  animation: intro-away .8s cubic-bezier(.77,0,.18,1) 2.7s forwards;
}

.brand-intro__halo {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid var(--silver);
  transform: rotate(45deg) scale(.55);
  opacity: 0;
  animation: halo-in 1.2s ease .15s forwards;
}

.brand-intro__logo {
  width: min(330px, 74vw);
  position: relative;
  z-index: 2;
  opacity: 0;
  filter: drop-shadow(0 15px 22px rgba(0,0,0,.1));
  animation: logo-in 1.1s cubic-bezier(.22,1,.36,1) .2s forwards;
}

.brand-intro__line { width: 170px; height: 2px; background: var(--silver-light); margin-top: 24px; overflow: hidden; }
.brand-intro__line span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); animation: line-load 1.8s ease .45s both; }
.brand-intro p { margin: 14px 0 0; color: var(--muted); font-size: .8rem; opacity: 0; animation: soft-in .7s ease 1s forwards; }

@keyframes logo-in { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes halo-in { to { opacity: 1; transform: rotate(45deg) scale(1); } }
@keyframes line-load { from { transform: translateX(110%); } to { transform: translateX(0); } }
@keyframes soft-in { to { opacity: 1; } }
@keyframes intro-away { to { opacity: 0; visibility: hidden; transform: translateY(-3%); } }

.announcement-bar { background: var(--ink); color: var(--white); overflow: hidden; border-bottom: 1px solid rgba(200,155,44,.35); }
.announcement-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.announcement-track:hover { animation-play-state: paused; }
.announcement-set { display: flex; align-items: center; flex: none; gap: 42px; padding: 9px 21px; white-space: nowrap; font-size: .78rem; font-weight: 600; }
.announcement-set i, .announcement-set b { color: var(--gold-light); margin-inline-end: 6px; }
@keyframes ticker { to { transform: translateX(calc(100% / 6)); } }

.navbar-ts {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 25px rgba(30,32,36,.04);
  transition: box-shadow .25s ease, padding .25s ease;
}
.navbar-ts.is-scrolled { box-shadow: 0 10px 30px rgba(30,32,36,.09); }
.navbar-ts.is-scrolled .navbar-brand img { height: 44px; }
.navbar-brand img { transition: height .25s ease; }

.navbar-ts .nav-link { color: var(--ink-soft); font-weight: 600; margin-inline: .35rem; position: relative; }
.navbar-ts .nav-link:hover,
.navbar-ts .nav-link.active,
.navbar-ts .nav-link.is-active { color: var(--gold); }
.navbar-ts .nav-link::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -4px; height: 2px; width: 0; background: var(--gold); transition: width .25s ease; }
.navbar-ts .nav-link:hover::after,
.navbar-ts .nav-link.active::after,
.navbar-ts .nav-link.is-active::after { width: 100%; }
.navbar-brand img { height: 52px; width: auto; }
.navbar-toggler { border-color: var(--silver); }
.navbar-ts .navbar-collapse { align-items: center; }
.navbar-ts .navbar-toggler { margin-inline-start: .6rem; }

/* ===== Header search ===== */
.ts-search { position: relative; display: flex; align-items: center; flex: 0 0 auto; width: 320px; height: 42px; background: var(--silver-light); border: 1px solid transparent; border-radius: 999px; padding-inline: .85rem .25rem; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ts-search:focus-within { background: var(--white); border-color: rgba(200,155,44,.55); box-shadow: 0 0 0 4px rgba(200,155,44,.13), 0 10px 26px rgba(30,32,36,.07); }
.ts-search__icon { color: var(--muted); font-size: .95rem; pointer-events: none; transition: color .2s ease; }
.ts-search:focus-within .ts-search__icon { color: var(--gold); }
.ts-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: .88rem; font-weight: 500; color: var(--ink); padding-inline: .6rem .3rem; }
.ts-search input::placeholder { color: var(--muted); font-weight: 400; }
.ts-search input::-webkit-search-cancel-button { display: none; }
.ts-search__clear { border: 0; background: transparent; color: var(--muted); font-size: .7rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ts-search__clear:hover { background: var(--silver); color: var(--ink); }
.ts-search__go { flex: none; border: 0; background: var(--ink); color: var(--gold-light); font-size: .78rem; font-weight: 700; height: 32px; padding-inline: .95rem; border-radius: 999px; margin-inline-start: .25rem; transition: background .2s ease, color .2s ease; }
.ts-search__go:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #241d06; }

.ts-suggest { position: absolute; top: calc(100% + .6rem); inset-inline: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 55px rgba(28,30,34,.15); overflow: hidden auto; max-height: 68vh; z-index: 1040; animation: ts-drop .18s ease; }
@keyframes ts-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ts-suggest__group { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); padding: .7rem .95rem .35rem; text-transform: uppercase; }
.ts-suggest__cat { display: flex; align-items: center; gap: .55rem; padding: .5rem .95rem; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.ts-suggest__cat i { color: var(--gold); font-size: .8rem; }
.ts-suggest__item { display: flex; align-items: center; gap: .7rem; padding: .55rem .95rem; color: var(--ink); }
.ts-suggest__item img { width: 46px; height: 58px; object-fit: cover; border-radius: 3px; background: var(--silver-light); flex: none; }
.ts-suggest__body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; flex: 1; }
.ts-suggest__name { font-size: .86rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-suggest__cat-name { font-size: .72rem; color: var(--muted); }
.ts-suggest__price { display: flex; flex-direction: column; align-items: flex-end; font-size: .85rem; font-weight: 800; color: var(--ink); flex: none; }
.ts-suggest__price small { font-size: .7rem; font-weight: 500; color: var(--muted); text-decoration: line-through; }
.ts-suggest__cat:hover, .ts-suggest__item:hover,
.ts-suggest__cat.is-active, .ts-suggest__item.is-active { background: var(--silver-light); color: var(--ink); }
.ts-suggest__none { padding: 1.35rem .95rem; text-align: center; font-size: .85rem; color: var(--muted); }
.ts-suggest__none i { color: var(--gold); display: block; font-size: 1.3rem; margin-bottom: .4rem; }
.ts-suggest__all { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem; font-size: .82rem; font-weight: 700; color: var(--ink); background: var(--silver-light); border-top: 1px solid var(--line); }
.ts-suggest__all:hover, .ts-suggest__all.is-active { background: var(--ink); color: var(--gold-light); }

/* ===== Header cart ===== */
.ts-tools { display: flex; align-items: center; gap: .5rem; flex: none; margin-inline-start: .65rem; }
.ts-account { width: 42px; height: 42px; border: 1px solid var(--silver); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.15rem; display: grid; place-items: center; text-decoration: none; transition: .22s ease; }
.ts-account:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.ts-cart { position: relative; flex: none; margin-inline-start: 0; }
.ts-cart__btn { position: relative; width: 42px; height: 42px; border: 1px solid var(--silver); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.1rem; display: grid; place-items: center; transition: .22s ease; }
.ts-cart__btn:hover, .ts-cart.is-open .ts-cart__btn { background: var(--ink); color: var(--gold-light); border-color: var(--ink); transform: translateY(-1px); }
.ts-cart__count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding-inline: .28rem; border-radius: 999px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #241d06; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--white); }
.ts-cart__count.is-empty { background: var(--silver); color: var(--muted); }
.ts-cart__count.is-bump { animation: ts-bump .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes ts-bump { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
.ts-cart.is-busy .ts-cart__panel { opacity: .55; pointer-events: none; }

.ts-cart__panel { position: absolute; top: calc(100% + .65rem); inset-inline-end: 0; width: 360px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 26px 60px rgba(28,30,34,.18); z-index: 1040; animation: ts-drop .18s ease; transition: opacity .15s ease; }
.ts-cart__panel::before { content: ""; position: absolute; top: -6px; inset-inline-end: 14px; width: 11px; height: 11px; background: var(--white); border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }

.mini-cart__head { display: flex; align-items: center; justify-content: space-between; padding: .8rem .95rem; border-bottom: 1px solid var(--line); }
.mini-cart__title { font-weight: 700; font-size: .92rem; color: var(--ink); }
.mini-cart__title i { color: var(--gold); }
.mini-cart__qty-pill { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--silver-light); border-radius: 999px; padding: .18rem .55rem; }

.mini-cart__ship { padding: .65rem .95rem; background: var(--pearl); border-bottom: 1px solid var(--line); }
.mini-cart__ship p { margin: 0 0 .4rem; font-size: .76rem; color: var(--muted); }
.mini-cart__ship p.is-done { color: #1c7c4a; font-weight: 600; }
.mini-cart__bar { height: 4px; background: var(--silver); border-radius: 999px; overflow: hidden; }
.mini-cart__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .3s ease; }

.mini-cart__list { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow-y: auto; }
.mini-cart__item { display: flex; gap: .65rem; padding: .7rem .95rem; border-bottom: 1px solid var(--line); }
.mini-cart__thumb { flex: none; width: 52px; height: 66px; border-radius: 3px; overflow: hidden; background: var(--silver-light); }
.mini-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-cart__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.mini-cart__name { font-size: .83rem; font-weight: 700; color: var(--ink); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-cart__name:hover { color: var(--gold); }
.mini-cart__opts { font-size: .7rem; color: var(--muted); }
.mini-cart__stepper { display: flex; align-items: center; gap: .3rem; margin-top: .15rem; }
.mini-cart__stepper button { width: 22px; height: 22px; border: 1px solid var(--silver); background: var(--white); border-radius: 3px; color: var(--ink-soft); font-size: .8rem; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.mini-cart__stepper button:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.mini-cart__stepper span { min-width: 20px; text-align: center; font-size: .8rem; font-weight: 700; }
.mini-cart__stepper small { color: var(--muted); font-size: .72rem; margin-inline-start: .2rem; }
.mini-cart__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.mini-cart__line-total { font-size: .85rem; font-weight: 800; color: var(--ink); }
.mini-cart__remove { border: 0; background: transparent; color: var(--muted); font-size: .85rem; padding: 0; transition: color .18s ease; }
.mini-cart__remove:hover { color: #c0392b; }

.mini-cart__foot { padding: .85rem .95rem; }
.mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.mini-cart__total span { font-size: .82rem; color: var(--muted); }
.mini-cart__total strong { font-size: 1.05rem; color: var(--ink); }
.mini-cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mini-cart__actions .btn { padding: .5rem .4rem; font-size: .82rem; }
.btn-outline-ink { border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 4px; font-weight: 700; }
.btn-outline-ink:hover { background: var(--ink); color: var(--gold-light); }

.mini-cart__empty { padding: 2rem 1rem; text-align: center; }
.mini-cart__empty-icon { width: 56px; height: 56px; margin: 0 auto .7rem; border-radius: 50%; background: var(--silver-light); color: var(--gold); font-size: 1.5rem; display: grid; place-items: center; }
.mini-cart__empty p { font-size: .85rem; color: var(--muted); margin-bottom: .9rem; }

.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: 0; color: #241d06; font-weight: 700; border-radius: 4px; padding: .68rem 1.6rem; transition: transform .2s ease, box-shadow .2s ease; }
.btn-gold:hover { color: #241d06; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,155,44,.27); }
.btn-ink { background: var(--ink); color: var(--white); border-radius: 4px; font-weight: 700; padding: .68rem 1.6rem; border: 0; }
.btn-ink:hover { background: var(--ink-soft); color: var(--gold-light); }
.btn-outline-gold { border: 1px solid var(--gold); color: var(--ink); border-radius: 4px; font-weight: 700; background: rgba(255,255,255,.82); }
.btn-outline-gold:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.nav-icon-btn { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.nav-cart-btn { width: 42px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.cart-badge { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--ink); color: var(--gold-light); font-size: .7rem; font-weight: 800; border-radius: 999px; padding: .1rem .38rem; }

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f4efe8;
}
.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.92) 63%, rgba(255,255,255,.98));
}

.hero .container { position: relative; z-index: 2; }
.trendstore-theme .hero > .container {
  max-width: none;
  width: 100%;
  padding-inline: clamp(16px, 2.2vw, 36px);
}
.trendstore-theme .hero-copy {
  width: min(100%, 640px);
  max-width: 640px;
  flex: 0 0 auto;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding-block: 64px;
  animation: hero-rise .9s ease 3s both;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); color: var(--ink); line-height: 1.2; }
.hero p { color: var(--ink-soft); max-width: 32rem; }
.hero-stats { color: var(--muted); }
.eyebrow { letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--gold); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
html.skip-intro .trendstore-theme .hero-copy { animation-delay: .12s; }

.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; height: 100%; box-shadow: 0 8px 30px rgba(35,37,42,.04); transition: .25s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.feature-card i { font-size: 1.7rem; color: var(--gold); }
.cat-card { position: relative; overflow: hidden; border-radius: 4px; min-height: 230px; display: flex; align-items: flex-end; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,17,19,.78), transparent 72%); }
.cat-card span { position: relative; z-index: 2; color: var(--white); font-weight: 700; padding: 1rem 1.2rem; font-size: 1.1rem; }
.cat-card:hover { outline: 2px solid var(--gold); outline-offset: 3px; }

.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.product-card { background: var(--white); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); height: 100%; transition: .3s ease; box-shadow: 0 8px 30px rgba(35,37,42,.035); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 4/5; background: var(--silver-light); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.product-card:hover .product-thumb img { transform: scale(1.045); }
.tag { position: absolute; top: .75rem; inset-inline-start: .75rem; background: var(--ink); color: var(--gold-light); font-size: .72rem; font-weight: 700; padding: .28rem .65rem; border-radius: 2px; }
.tag.sale { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #241d06; }
.product-card.is-featured {
  position: relative;
  border-color: rgba(200, 155, 44, .55);
  box-shadow: 0 14px 36px rgba(200, 155, 44, .16);
}
.product-card.is-featured::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 3;
}
.product-card.is-featured:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 42px rgba(200, 155, 44, .24);
}
.featured-mark {
  position: absolute;
  top: .75rem;
  inset-inline-end: .75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .28rem .62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f3dd95);
  color: #241d06;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(36, 29, 6, .18);
}
.featured-mark i { font-size: .68rem; }
.featured-band {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(232, 202, 114, .34), transparent 48%),
    radial-gradient(ellipse at 0% 100%, rgba(200, 155, 44, .14), transparent 42%),
    linear-gradient(180deg, #fffdf8, #fff);
  border-block: 1px solid rgba(200, 155, 44, .22);
}
.pd-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #f3dd95);
  color: #241d06;
  box-shadow: 0 8px 18px rgba(200, 155, 44, .28);
}
.featured-mini {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  margin-inline-start: .35rem;
  padding: .05rem .4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f3dd95);
  color: #241d06;
  font-size: .68rem;
  font-weight: 800;
  vertical-align: middle;
}
.price { font-weight: 800; color: var(--ink); }
.price-from { font-size: .72rem; font-weight: 700; color: var(--muted); margin-inline-end: 4px; }
.opt-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.opt-color { cursor: pointer; text-align: center; width: 64px; }
.opt-color input { position: absolute; opacity: 0; pointer-events: none; }
.opt-color span {
  display: block; width: 36px; height: 36px; margin: 0 auto 6px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.opt-color input:checked + span { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.opt-color small { display: block; font-size: 11px; font-weight: 700; line-height: 1.3; }
.opt-color.is-off, .opt-chip.is-off { opacity: .4; }
.opt-color.is-off small, .opt-chip.is-off span { text-decoration: line-through; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.stars { color: var(--gold); font-size: .8rem; }
.filter-btn { border: 1px solid var(--silver); background: var(--white); border-radius: 3px; padding: .45rem 1.1rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.filter-btn:hover, .filter-btn.active, .filter-btn.is-on { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }

.promo { background: linear-gradient(115deg, var(--ink), var(--ink-soft)); border-radius: 6px; color: var(--white); padding: 3rem 2rem; position: relative; overflow: hidden; border: 1px solid rgba(200,155,44,.35); }
.promo::before { content: ""; position: absolute; inset-inline-end: 0; top: 0; width: 34%; height: 100%; background: repeating-linear-gradient(135deg, transparent 0 16px, rgba(255,255,255,.035) 16px 17px); }

.trend-footer { background: var(--ink); color: #cfd0d3; border-top: 3px solid var(--gold); }
.trend-footer a { color: #cfd0d3; }
.trend-footer a:hover { color: var(--gold-light); }
.trend-footer h5 { color: var(--white); }
.footer-logo { height: 70px; background: var(--white); border-radius: 12px; padding: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); color: #a8abb1; font-size: .85rem; }
.whatsapp-float { position: fixed; inset-inline-start: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; z-index: 1030; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .2s ease; }
.whatsapp-float:hover { color: var(--white); transform: scale(1.06); }

.page-head {
  background: linear-gradient(135deg, #fff, var(--silver-light));
  border-bottom: 1px solid var(--line);
}

/* ===== Catalog / category screen ===== */
.shop-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 1.1rem 0 1.15rem; }
.shop-hero__title { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.shop-hero h1 { font-family: 'Playfair Display', serif; color: var(--ink); font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0; }
.shop-hero__title span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.shop-crumb { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); margin-bottom: .35rem; flex-wrap: wrap; }
.shop-crumb a { color: var(--muted); }
.shop-crumb a:hover { color: var(--gold); }
.shop-crumb strong { color: var(--ink-soft); font-weight: 600; }

.shop-wrap { padding: 1.75rem 0 4rem; }
.shop-layout { display: grid; grid-template-columns: 274px minmax(0, 1fr); gap: 2rem; align-items: start; }
.shop-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.filter-card { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 1.1rem 1.15rem; box-shadow: 0 8px 26px rgba(35,37,42,.04); }
.filter-card + .filter-card { margin-top: 1rem; }
.filter-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--ink); margin: 0 0 .85rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); position: relative; }
.filter-title::after { content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 38px; height: 2px; background: var(--gold); }

.filter-search { display: flex; border: 1px solid var(--silver); border-radius: 3px; overflow: hidden; }
.filter-search input { flex: 1; border: 0; padding: .55rem .7rem; font-size: .9rem; outline: none; min-width: 0; }
.filter-search button { border: 0; background: var(--ink); color: var(--gold-light); width: 42px; }
.filter-search button:hover { background: var(--gold); color: #241d06; }

.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .6rem; border-radius: 3px; color: var(--ink-soft); font-size: .93rem; font-weight: 600; transition: .2s ease; }
.filter-list a small { background: var(--silver-light); color: var(--muted); font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 20px; }
.filter-list a:hover { background: var(--silver-light); color: var(--ink); }
.filter-list a.is-on { background: var(--ink); color: var(--gold-light); }
.filter-list a.is-on small { background: rgba(255,255,255,.12); color: var(--gold-light); }
.filter-list--sub { margin: .15rem 0 .45rem; padding-inline-start: .85rem; }
.filter-list--sub a { font-size: .86rem; font-weight: 600; }
.shop-subs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.shop-subs a { border: 1px solid rgba(44, 47, 53, .14); border-radius: 999px; padding: .38rem .8rem; font-weight: 700; font-size: .82rem; color: var(--ink-soft); background: #fff; }
.shop-subs a.is-on { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }

.filter-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-tag { border: 1px solid var(--silver); border-radius: 3px; padding: .4rem .8rem; font-size: .84rem; font-weight: 600; color: var(--ink-soft); }
.filter-tag:hover { border-color: var(--gold); color: var(--ink); }
.filter-tag.is-on { background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-color: var(--gold); color: #241d06; }

.filter-price__row { display: flex; gap: .55rem; margin-bottom: .75rem; }
.filter-price label { flex: 1; display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.filter-price input { width: 100%; border: 1px solid var(--silver); border-radius: 3px; padding: .45rem .55rem; font-size: .9rem; margin-top: .2rem; }
.filter-price input:focus { outline: none; border-color: var(--gold); }
.filter-reset { display: block; text-align: center; font-size: .86rem; font-weight: 600; color: var(--muted); padding: .55rem; }
.filter-reset:hover { color: var(--ink); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: .75rem 1.1rem; margin-bottom: 1.25rem; }
.shop-toolbar__count { font-size: .92rem; color: var(--ink-soft); }
.shop-toolbar__count strong { color: var(--ink); font-size: 1.05rem; }
.shop-toolbar__count span { color: var(--muted); font-size: .84rem; }
.shop-toolbar__sort { display: flex; align-items: center; gap: .5rem; }
.shop-toolbar__sort label { font-size: .84rem; color: var(--muted); font-weight: 600; margin: 0; white-space: nowrap; }
.shop-toolbar__sort select { border: 1px solid var(--silver); border-radius: 3px; padding: .42rem 1.9rem .42rem .7rem; font-size: .88rem; font-weight: 600; color: var(--ink); background: var(--white); }
.shop-toolbar__sort select:focus { outline: none; border-color: var(--gold); }

.shop-main .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-active { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; }
.shop-active__chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--silver-light); border: 1px solid var(--line); border-radius: 20px; padding: .3rem .8rem; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.shop-active__chip:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }

.shop-empty { background: var(--white); border: 1px dashed var(--silver); border-radius: 6px; padding: 3.5rem 1.5rem; text-align: center; }
.shop-empty i { font-size: 2.6rem; color: var(--gold); }
.shop-empty h3 { font-family: 'Playfair Display', serif; margin: .9rem 0 .35rem; font-size: 1.35rem; }
.shop-empty p { color: var(--muted); margin-bottom: 1.25rem; }

.shop-pager { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.shop-pager__num, .shop-pager__nav { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--silver); border-radius: 3px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); background: var(--white); }
.shop-pager__num:hover, .shop-pager__nav:hover { border-color: var(--gold); color: var(--ink); }
.shop-pager__num.is-on { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 .5rem; }
  .ts-search { width: 100%; flex: 1 1 auto; }
  .ts-suggest { inset-inline: 0; max-width: 100%; }
  .ts-tools { margin-inline-start: auto; margin-inline-end: 0; }
  .ts-cart { margin-inline-start: 0; margin-inline-end: 0; }
  .ts-cart__panel {
    position: fixed;
    top: 108px;
    inset-inline: 12px;
    width: auto;
    max-height: calc(100vh - 124px);
    overflow: auto;
  }
  .ts-cart__panel::before { display: none; }
  .trendstore-theme .product-page { padding: 18px 14px 36px; }
  .trendstore-theme .checkout-page { padding: 18px 14px 48px; }
  .trendstore-theme .product-layout { gap: 18px; }
  .trendstore-theme .co-card { padding: 16px; }
  .trendstore-theme .co-item { align-items: flex-start; }
  .navbar-ts .container { padding-inline: 12px; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-photo { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center center; }
  .hero::after { display: none; }
  .trendstore-theme .hero-copy { width: 100%; max-width: none; padding: 22px 0 28px; text-align: center; margin-inline: auto; align-items: center; animation-delay: .15s; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.35rem); }
  .hero-copy p { margin-top: .85rem; margin-bottom: .85rem; }
  .hero-stats { margin-top: 1.15rem !important; gap: .75rem !important; font-size: .74rem; flex-wrap: wrap; justify-content: center; }
  .hero-copy .d-flex.flex-wrap { width: 100%; }
  .hero-copy .btn { width: 100%; }
  .hero-copy p { margin-inline: auto; }
  .hero-copy .d-flex { justify-content: center; }
  .grid-products,
  .shop-main .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .shop-side { position: static; top: auto; }
  .shop-side__toggle { margin-bottom: .25rem; }
  .filter-card:first-of-type { margin-top: 1rem; }
}

@media (max-width: 575.98px) {
  .announcement-set { gap: 28px; font-size: .7rem; }
  .navbar-brand img { height: 44px; }
  .hero h1 { font-size: clamp(1.55rem, 7.4vw, 2rem); }
  .feature-card { padding: 1rem .65rem; }
  .feature-card h6 { font-size: .92rem; }
  .cat-card { min-height: 185px; }
  .product-card h6 { font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
  .product-card .p-3 { padding: .8rem !important; }
  .product-card .btn { padding-inline: .4rem; font-size: .76rem; }
  .promo { padding: 2rem 1.2rem; }
  .shop-toolbar { align-items: stretch; }
  .shop-toolbar__sort { width: 100%; justify-content: space-between; }
  .mini-cart__actions { grid-template-columns: 1fr; }
}

.ship-free { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; color: #1c7c4a; font-size: .75rem; font-weight: 800; }
.ship-free-banner { display: flex; align-items: center; gap: .45rem; margin: .75rem 0 0; padding: .6rem .8rem; background: #f3faf6; border: 1px solid #cfe8d8; color: #1c7c4a; font-weight: 800; border-radius: 4px; }
.ts-suggest .ship-free { margin-top: .15rem; }

.trendstore-theme .account-page { font-family: "Tajawal", "Cairo", sans-serif; color: #16171a; }
.trendstore-theme .account-page .acc-hero {
  background: #16171a;
  border-radius: 6px;
  border-top: 3px solid #c89b2c;
  box-shadow: 0 18px 45px rgba(38, 41, 46, .09);
}
.trendstore-theme .account-page .acc-hero h1,
.trendstore-theme .account-page .account-card h3 { font-family: "Playfair Display", "Cairo", serif; }
.trendstore-theme .account-page .btn-pink {
  background: linear-gradient(135deg, #c89b2c, #e8ca72);
  color: #241d06;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}
.trendstore-theme .account-page .btn-ghost,
.trendstore-theme .account-page .btn-danger-outline {
  border-radius: 4px;
  font-weight: 700;
}
.trendstore-theme .account-page .account-card,
.trendstore-theme .account-page .account-stat,
.trendstore-theme .account-page .acc-order {
  border: 1px solid rgba(44, 47, 53, .11);
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(35, 37, 42, .04);
}
.trendstore-theme .account-page .account-stat strong,
.trendstore-theme .account-page .acc-order-main strong,
.trendstore-theme .account-page .acc-order-total { color: #16171a; }
.trendstore-theme .account-page .acc-tabs { background: #f1f2f4; border-radius: 6px; }
.trendstore-theme .account-page .acc-tabs a { color: #34363b; border-radius: 4px; }
.trendstore-theme .account-page .acc-tabs a.is-active {
  color: #16171a;
  border-bottom: 2px solid #c89b2c;
  box-shadow: none;
}
.trendstore-theme .account-page .order-badge { background: #f8f1de; color: #8a6a12; }
.trendstore-theme .account-page .btn-danger {
  background: #9b2c2c;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}
.trendstore-theme .account-page .account-danger {
  border-color: #f0d0d0;
  background: #fff;
}
.trendstore-theme .account-page .order-badge.is-pending { background: #f8f1de; color: #8a6a12; }
.trendstore-theme .account-page .order-badge.is-cancelled { background: #fdecec; color: #9b2c2c; }
.trendstore-theme .account-page .order-badge.is-completed { background: #eef8f2; color: #1c7c4a; }
.trendstore-theme .checkout-page .co-guest-note a { color: #c89b2c; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

