/* =========================
   GINAAB Design System - Root Variables
   Global tokens used across header, menu, search, etc.
   ========================= */

:root {
  /* ===== Brand Colors ===== */
  --brand-primary: #6b2233; /* Burgundy */
  --brand-primary-soft: rgba(107, 34, 51, 0.08);
  --brand-primary-border: rgba(107, 34, 51, 0.22);

  --brand-dark: #414042; /* Charcoal */
  --brand-light: #d7d3c8; /* Warm gray */
  --brand-white: #ffffff;

  /* ===== Text ===== */
  --text-main: rgba(17, 17, 19, 0.92);
  --text-normal: rgba(17, 17, 19, 0.82);
  --text-muted: rgba(17, 17, 19, 0.55);
  --text-light: rgba(255, 255, 255, 0.92);

  /* ===== Borders ===== */
  --border-light: rgba(17, 17, 19, 0.1);
  --border-soft: rgba(17, 17, 19, 0.06);

  /* ===== Backgrounds ===== */
  --bg-main: #ffffff;
  --bg-page: #f7f7f8; /* General page background */
  --bg-soft: rgba(215, 211, 200, 0.25);
  --bg-overlay: rgba(65, 64, 66, 0.55);

  /* ===== Buttons/Shadows ===== */
  --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 10px 22px rgba(40, 2, 7, 0.08);

  /* ===== Badges ===== */
  --badge-hot-bg: #6b2233;
  --badge-new-bg: rgba(107, 34, 51, 0.1);
  --badge-new-text: #6b2233;

  /* ===== Optional legacy aliases (so old BN styles won't break) ===== */
  --bn-black: var(--brand-dark);
  --bn-ink: var(--text-main);
  --bn-muted: var(--text-muted);
  --bn-line: var(--border-light);
  --bn-soft: var(--border-soft);
  --bn-white: var(--brand-white);

  /* Project accents (keep if used elsewhere) */
  --gold: #b08d57;
  --brand-primary: #383433;
}

/* =========================
   Base
   ========================= */

body {
  font-family: "IBM Plex Sans Arabic";
  background: var(--bg-page);
  color: var(--text-main);
  margin: 0;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
}

input,
textarea,
select {
  font-size: 16px;
  touch-action: manipulation;
}

.bn-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   Tailwind-like custom utilities (keep if used)
   ========================= */
.text-gold {
  color: var(--gold);
}
.text-muted {
  color: var(--text-muted);
}
.text-text-main {
  color: var(--text-main);
}
.border-border {
  border-color: var(--border-light);
}
.shadow-soft {
  box-shadow: var(--shadow-soft);
}
.bg-bg-soft {
  background: var(--bg-soft);
}

.bg-gold\/70 {
  background-color: rgba(176, 141, 87, 0.7);
}
.text-text-main\/70 {
  color: rgba(17, 17, 19, 0.7);
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
}

input,
textarea,
select {
  font-size: 16px;
  touch-action: manipulation;
}

.bn-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Announcement Topbar fixed above header ===== */

/* optional: when hidden */
.bn-topbar.is-hidden {
  display: none;
}

.bn-topbar.show {
  display: block;
}

.bn-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 12px;
  opacity: 0.98;
  text-align: center;
}

.bn-topbar-close {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.bn-topbar-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) translateY(-1px);
}

.bn-topbar-close .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
}

/* =========================
   Header (Sticky)
   ========================= */
.bn-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bn-line);
}

.bn-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.bn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bn-actions.left {
  justify-content: flex-start;
}

.bn-actions.right {
  justify-content: flex-end;
}

.bn-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(206, 206, 205, 0.35);
  background: rgba(243, 240, 237, 0.59);
  box-shadow: 0 10px 22px rgba(40, 2, 7, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  position: relative;
  cursor: pointer;
}

.bn-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.bn-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.bn-icon {
  color: var(--bn-ink);
  font-size: 22px;
}

.bn-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  /* background: var(--bn-black); */
  background: var(--brand-primary);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

/* =========================
   Brand (Logo)
   ========================= */
.bn-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  user-select: none;
}

.bn-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* NOTE: .bn-slogan removed (unused in provided HTML) */

/* =========================
   Search Overlay
   ========================= */
.bn-searchOverlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  z-index: 80;
}

.bn-searchOverlay.open {
  display: block;
}

.bn-searchPanel {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: var(--bn-white);
  border-bottom: 1px solid var(--bn-line);
  padding: 16px;
}

.bn-searchHead {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bn-searchTitle {
  font-weight: 900;
  color: var(--bn-black);
  font-size: 14px;
}

.bn-searchBox {
  max-width: 760px;
  margin: 10px auto 0;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.bn-searchBox input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 14px;
  background: transparent;
  color: var(--bn-ink);
}

.bn-searchGo {
  border: 1px solid rgba(17, 17, 19, 0.18);
  background: var(--bn-black);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 12px;
  transition: 0.2s ease;
  line-height: 1;
  cursor: pointer;
}

.bn-searchGo:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.bn-searchGo:active {
  transform: translateY(0);
}

.bn-searchResults {
  max-width: 760px;
  margin: 12px auto 0;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  max-height: 360px;
  overflow: auto;
  display: none;
}

.bn-searchResults.show {
  display: block;
}

.bn-resultItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.bn-resultItem:hover {
  background: rgba(17, 17, 19, 0.04);
}

.bn-resultImg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: #f2f2f3;
  border: 1px solid rgba(17, 17, 19, 0.1);
  flex: 0 0 auto;
}

.bn-resultMeta {
  flex: 1;
  min-width: 0;
}

.bn-resultName {
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bn-resultSub {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(17, 17, 19, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bn-resultPrice {
  font-weight: 900;
  font-size: 13px;
  color: var(--bn-black);
  white-space: nowrap;
}

/* =========================
   Drawers + Overlay
   ========================= */
.dr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.45);
  display: none;
  z-index: 89;
}

.dr-overlay.show {
  display: block;
}

.dr-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 340px;
  max-width: 88vw;
  background: #fff;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
}

.dr-drawer.open {
  transform: translateX(0);
}

.dr-head {
  padding: 14px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dr-title {
  font-weight: 900;
  font-size: 14px;
  color: var(--bn-ink);
}

.dr-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 19, 0.12);
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.dr-close:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 19, 0.22);
}

.dr-body {
  padding: 14px;
  overflow: auto;
  flex: 1;
}

.dr-footer {
  padding: 14px;
  border-top: 1px solid rgba(17, 17, 19, 0.1);
  background: #fff;
}

/* Drawer Items */
.dr-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 19, 0.1);
}

.dr-item:last-child {
  border-bottom: none;
}

.dr-img {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  object-fit: cover;
  background: #f2f2f3;
  border: 1px solid rgba(17, 17, 19, 0.08);
  flex: 0 0 auto;
}

.dr-meta {
  flex: 1;
  min-width: 0;
}

.dr-name {
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dr-muted {
  color: rgba(17, 17, 19, 0.55);
  font-size: 12px;
  margin-top: 4px;
}

.dr-price {
  font-weight: 900;
  color: var(--bn-black);
  font-size: 13px;
  margin-top: 6px;
}

.dr-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.dr-trash {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  background: rgba(17, 17, 19, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.dr-trash:hover {
  transform: translateY(-1px);
  background: rgba(17, 17, 19, 0.05);
}

.dr-colorRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.dr-swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 19, 0.18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

.dr-colorLabel {
  font-size: 11px;
  color: rgba(17, 17, 19, 0.65);
  white-space: nowrap;
}

.dr-primaryBtn {
  width: 100%;
  border-radius: 16px;
  padding: 14px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(17, 17, 19, 0.18);
  transition: 0.2s ease;
  cursor: pointer;
}

.dr-primaryBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.dr-totalRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
}

/* =========================
   Responsive (Header/Search)
   ========================= */
@media (max-width: 640px) {
  .bn-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .bn-logo {
    height: 42px;
  }

  .bn-header-row {
    padding: 10px 0;
  }

  .bn-searchPanel {
    padding: 14px;
  }
}

/* =========================
   Side Menu (Drawer Menu)
   ========================= */
.mn-groupTitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(17, 17, 19, 0.45);
  margin: 8px 0 10px;
}

.mn-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(17, 17, 19, 0.03);
  transition: 0.2s ease;
  text-decoration: none;
  color: #111113;
}

.mn-item:hover {
  background: rgba(17, 17, 19, 0.05);
  transform: translateY(-1px);
}

.mn-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mn-ico {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: rgba(11, 11, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mn-ico .material-symbols-outlined {
  font-size: 20px;
  color: rgba(17, 17, 19, 0.8);
}

.mn-text {
  min-width: 0;
}

.mn-text b {
  display: block;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mn-text span {
  display: block;
  font-size: 11px;
  color: rgba(17, 17, 19, 0.55);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mn-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: rgba(17, 17, 19, 0.45);
}

/* NOTE: .mn-pill removed (unused in provided HTML) */

.mn-accordion {
  margin-top: 8px;
}

.mn-sub {
  display: none;
  margin-top: 8px;
  padding-right: 12px;
  border-right: 2px solid rgba(17, 17, 19, 0.08);
}

.mn-sub.open {
  display: block;
}

.mn-sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(17, 17, 19, 0.8);
  transition: 0.2s ease;
  font-size: 12px;
}

.mn-sub a:hover {
  background: rgba(17, 17, 19, 0.04);
}

.mn-sub small {
  color: rgba(17, 17, 19, 0.5);
  font-size: 11px;
}

/* Drawer width on very small screens */
@media (max-width: 420px) {
  .dr-drawer {
    width: 320px;
  }
}

/* =========================
   Menu Highlight Cards
   ========================= */
.mn-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b0b0c, #1a1a1d);
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.mn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.mn-highlight-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mn-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mn-highlight-icon .material-symbols-outlined {
  font-size: 22px;
  color: #fff;
}

.mn-highlight-text b {
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.mn-highlight-text span {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.75;
}

.mn-highlight-badge {
  font-size: 10px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b0c;
}

.mn-mainCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(17, 17, 19, 0.03);
  text-decoration: none;
  transition: 0.25s ease;
  border: 1px solid rgba(17, 17, 19, 0.08);
}

.mn-mainCard:hover {
  transform: translateY(-2px);
  background: rgba(17, 17, 19, 0.05);
}

.mn-mainLeft {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mn-mainImgWrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(17, 17, 19, 0.08);
  background: #f3f3f4;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.mn-mainImgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mn-mainText {
  min-width: 0;
}

.mn-mainText b {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #111113;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mn-mainText span {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: rgba(17, 17, 19, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mn-highlight + .mn-mainCard {
  margin-top: 14px;
}

/* NOTE: .na-badge-safe removed (unused in provided HTML) */
/* NOTE: .bd-hero/.bd-slide removed (unused in provided HTML) */

/* =========================
   Root + Base
   ========================= */
:root {
  --bn-black: #0b0b0c;
  --bn-ink: #111113;
  --bn-muted: rgba(17, 17, 19, 0.62);
  --bn-line: rgba(17, 17, 19, 0.12);
  --bn-soft: rgba(17, 17, 19, 0.06);
  --bn-white: #ffffff;

  /* Project accents (used by "text-gold" etc.) */
  --gold: #b08d57;
  --bg-soft: #f7f7f8;
  --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.06);
}

body {
  font-family: "IBM Plex Sans Arabic";
  background: var(--bg-soft);
  color: var(--bn-ink);
  margin: 0;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
}

input,
textarea,
select {
  font-size: 16px;
  touch-action: manipulation;
}

.bn-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   Tailwind-like custom utilities (because CDN won't know these)
   ========================= */
.text-gold {
  color: var(--gold);
}
.text-muted {
  color: rgba(17, 17, 19, 0.62);
}
.text-text-main {
  color: var(--bn-ink);
}
.border-border {
  border-color: rgba(17, 17, 19, 0.12);
}
.shadow-soft {
  box-shadow: var(--shadow-soft);
}
.bg-bg-soft {
  background: rgba(17, 17, 19, 0.06);
}

/* Slash classes (Tailwind syntax) need escaping in CSS */
.bg-gold\/70 {
  background-color: rgba(176, 141, 87, 0.7);
}
.text-text-main\/70 {
  color: rgba(17, 17, 19, 0.7);
}

.bn-topbar.show {
  display: block;
}

.bn-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 12px;
  opacity: 0.98;
  text-align: center;
}

.bn-topbar-close {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.bn-topbar-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) translateY(-1px);
}
.bn-topbar-close .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
}

/* =========================
   Header (Sticky)
   ========================= */
.bn-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bn-line);
}

.bn-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.bn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bn-actions.left {
  justify-content: flex-start;
}
.bn-actions.right {
  justify-content: flex-end;
}

.bn-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(206, 206, 205, 0.35);
  background: rgba(243, 240, 237, 0.59);
  box-shadow: 0 10px 22px rgba(40, 2, 7, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  position: relative;
  cursor: pointer;
}
.bn-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.bn-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.bn-icon {
  color: var(--bn-ink);
  font-size: 22px;
}

.bn-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.bn-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  user-select: none;
}
.bn-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =========================
   Search Overlay
   ========================= */
.bn-searchOverlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  z-index: 80;
}
.bn-searchOverlay.open {
  display: block;
}

.bn-searchPanel {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: var(--bn-white);
  border-bottom: 1px solid var(--bn-line);
  padding: 16px;
}

.bn-searchHead {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bn-searchTitle {
  font-weight: 900;
  color: var(--bn-black);
  font-size: 14px;
}

.bn-searchBox {
  max-width: 760px;
  margin: 10px auto 0;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}
.bn-searchBox input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 14px;
  background: transparent;
  color: var(--bn-ink);
}

.bn-searchGo {
  border: 1px solid rgba(17, 17, 19, 0.18);
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 12px;
  transition: 0.2s ease;
  line-height: 1;
  cursor: pointer;
}
.bn-searchGo:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.bn-searchGo:active {
  transform: translateY(0);
}

.bn-searchResults {
  max-width: 760px;
  margin: 12px auto 0;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  max-height: 360px;
  overflow: auto;
  display: none;
}
.bn-searchResults.show {
  display: block;
}

.bn-resultItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.bn-resultItem:hover {
  background: rgba(17, 17, 19, 0.04);
}

.bn-resultImg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: #f2f2f3;
  border: 1px solid rgba(17, 17, 19, 0.1);
  flex: 0 0 auto;
}
.bn-resultMeta {
  flex: 1;
  min-width: 0;
}

.bn-resultName {
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bn-resultSub {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(17, 17, 19, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bn-resultPrice {
  font-weight: 900;
  font-size: 13px;
  color: var(--bn-black);
  white-space: nowrap;
}

/* =========================
   Drawers + Overlay
   ========================= */
.dr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.45);
  display: none;
  z-index: 89;
}
.dr-overlay.show {
  display: block;
}

.dr-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 340px;
  max-width: 88vw;
  background: #fff;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.dr-drawer.open {
  transform: translateX(0);
}

.dr-head {
  padding: 14px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dr-title {
  font-weight: 900;
  font-size: 14px;
  color: var(--bn-ink);
}

.dr-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 19, 0.12);
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.dr-close:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 19, 0.22);
}

.dr-body {
  padding: 14px;
  overflow: auto;
  flex: 1;
}
.dr-footer {
  padding: 14px;
  border-top: 1px solid rgba(17, 17, 19, 0.1);
  background: #fff;
}

.dr-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 19, 0.1);
}
.dr-item:last-child {
  border-bottom: none;
}

.dr-img {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  object-fit: cover;
  background: #f2f2f3;
  border: 1px solid rgba(17, 17, 19, 0.08);
  flex: 0 0 auto;
}

.dr-meta {
  flex: 1;
  min-width: 0;
}

.dr-name {
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-muted {
  color: rgba(17, 17, 19, 0.55);
  font-size: 12px;
  margin-top: 4px;
}
.dr-price {
  font-weight: 900;
  color: var(--bn-black);
  font-size: 13px;
  margin-top: 6px;
}

.dr-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.dr-trash {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  background: rgba(17, 17, 19, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.dr-trash:hover {
  transform: translateY(-1px);
  background: rgba(17, 17, 19, 0.05);
}

.dr-colorRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.dr-swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 19, 0.18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}
.dr-colorLabel {
  font-size: 11px;
  color: rgba(17, 17, 19, 0.65);
  white-space: nowrap;
}

.dr-primaryBtn {
  width: 100%;
  border-radius: 16px;
  padding: 14px;
  background: var(--bn-black);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(17, 17, 19, 0.18);
  transition: 0.2s ease;
  cursor: pointer;
}
.dr-primaryBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.dr-totalRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
}

/* =========================
   Side Menu (Drawer Menu)
   ========================= */
.mn-groupTitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(17, 17, 19, 0.45);
  margin: 8px 0 10px;
}

.mn-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(17, 17, 19, 0.03);
  transition: 0.2s ease;
  text-decoration: none;
  color: #111113;
}
.mn-item:hover {
  background: rgba(17, 17, 19, 0.05);
  transform: translateY(-1px);
}

.mn-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mn-ico {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: rgba(11, 11, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.mn-ico .material-symbols-outlined {
  font-size: 20px;
  color: rgba(17, 17, 19, 0.8);
}

.mn-text {
  min-width: 0;
}
.mn-text b {
  display: block;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-text span {
  display: block;
  font-size: 11px;
  color: rgba(17, 17, 19, 0.55);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mn-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: rgba(17, 17, 19, 0.45);
}

.mn-accordion {
  margin-top: 8px;
}

.mn-sub {
  display: none;
  margin-top: 8px;
  padding-right: 12px;
  border-right: 2px solid rgba(17, 17, 19, 0.08);
}
.mn-sub.open {
  display: block;
}

.mn-sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(17, 17, 19, 0.8);
  transition: 0.2s ease;
  font-size: 12px;
}
.mn-sub a:hover {
  background: rgba(17, 17, 19, 0.04);
}

.mn-sub small {
  color: rgba(17, 17, 19, 0.5);
  font-size: 11px;
}

/* Menu Highlight */
.mn-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b0b0c, #1a1a1d);
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.mn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.mn-highlight-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.mn-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mn-highlight-icon .material-symbols-outlined {
  font-size: 22px;
  color: #fff;
}
.mn-highlight-text b {
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.mn-highlight-text span {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.75;
}
.mn-highlight-badge {
  font-size: 10px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b0c;
}

.mn-mainCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(17, 17, 19, 0.03);
  text-decoration: none;
  transition: 0.25s ease;
  border: 1px solid rgba(17, 17, 19, 0.08);
}
.mn-mainCard:hover {
  transform: translateY(-2px);
  background: rgba(17, 17, 19, 0.05);
}

.mn-mainLeft {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.mn-mainImgWrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(17, 17, 19, 0.08);
  background: #f3f3f4;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.mn-mainImgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mn-mainText {
  min-width: 0;
}
.mn-mainText b {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #111113;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-mainText span {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: rgba(17, 17, 19, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-highlight + .mn-mainCard {
  margin-top: 14px;
}

/* =========================
   New Arrivals (na-)
   ========================= */
.na-sec {
  margin-top: 22px;
}

.na-wrap {
  width: 100%;
  padding: 0 12px;
}
@media (min-width: 640px) {
  .na-wrap {
    padding: 0 18px;
  }
}
@media (min-width: 1024px) {
  .na-wrap {
    padding: 0 24px;
  }
}

.na-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.na-title {
  font-size: 16px;
  font-weight: 900;
  color: #111113;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .na-title {
    font-size: 18px;
  }
}

.na-sub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17, 17, 19, 0.6);
}

.na-all {
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  color: #111113;
  opacity: 0.75;
  transition: 0.2s ease;
  white-space: nowrap;
}
.na-all:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.na-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .na-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 1024px) {
  .na-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.na-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 17, 19, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
  text-decoration: none;
  color: #111113;
  width: 100%;
  display: block;
}
.na-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
}

.na-img {
  position: relative;
  height: 160px;
  background: #f3f3f4;
}
@media (min-width: 640px) {
  .na-img {
    height: 190px;
  }
}

.na-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.25s ease;
  transform: scale(1.01);
}
.na-card:hover .na-img img {
  transform: scale(1.05);
}

.na-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.86);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.na-badge-discount {
  background: #111113;
  color: #fff;
}

.na-discountTag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #111113;
  border: 1px solid rgba(17, 17, 19, 0.1);
}

.na-body {
  padding: 12px 12px 14px;
}
@media (min-width: 640px) {
  .na-body {
    padding: 14px 14px 16px;
  }
}

.na-cat {
  font-size: 11px;
  color: rgba(17, 17, 19, 0.55);
}

.na-name {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.na-desc {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(17, 17, 19, 0.6);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.na-priceRow {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.na-priceWrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.na-price {
  font-weight: 950;
  font-size: 14px;
  color: #111113;
}

.na-old {
  font-size: 11px;
  color: rgba(17, 17, 19, 0.45);
  text-decoration: line-through;
}

.na-currency {
  width: 22px;
  height: 24px;
}

.na-cta {
  margin-top: 12px;
  width: 100%;
  height: 42px;
  border-radius: 16px;
  border: 0;
  background: #111113;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}
.na-cta:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

/* Out of stock */
.na-out .na-img img {
  filter: grayscale(1);
}
.na-out .na-cta {
  background: rgba(17, 17, 19, 0.1);
  color: rgba(17, 17, 19, 0.55);
  cursor: not-allowed;
}
.na-outOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 950;
  color: #111113;
}

/* =========================
   Best Sellers helpers (bs-)
   ========================= */
@media (max-width: 640px) {
  .bs-wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .bs-grid {
    gap: 10px !important;
  }
}

.bs-priceWrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bs-currency {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

/* Pregnancy Safe ribbon */
.bs-safe-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 12px 6px 10px;
  border-bottom-right-radius: 14px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.25);
}
.bs-safe-ribbon .material-symbols-outlined {
  font-size: 14px;
  font-variation-settings:
    "FILL" 1,
    "wght" 700;
}

/* =========================
   Trust Boxes (bx-)
   ========================= */
.bx-wrap {
  width: 100%;
  padding: 0 12px;
  margin-top: 46px;
  margin-bottom: 26px;
}
@media (min-width: 640px) {
  .bx-wrap {
    padding: 0 18px;
  }
}
@media (min-width: 1024px) {
  .bx-wrap {
    padding: 0 24px;
  }
}

.bx-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px) {
  .bx-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.bx-item {
  position: relative;
  border-radius: 26px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 19, 0.08);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
  color: #111113;
  text-decoration: none;
  transition: 0.22s ease;
}
@media (min-width: 640px) {
  .bx-item {
    padding: 18px;
  }
}

.bx-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.08);
}

.bx-ico {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #f3f4f6;
  border: 1px solid rgba(17, 17, 19, 0.08);
}
.bx-ico .material-symbols-outlined {
  font-size: 22px;
  color: #111113;
  font-variation-settings:
    "FILL" 1,
    "wght" 650;
}

.bx-text {
  flex: 1;
  min-width: 0;
}

.bx-title {
  font-weight: 900;
  font-size: 14px;
  color: #111113;
}
.bx-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(17, 17, 19, 0.65);
  line-height: 1.5;
}

.bx-chip {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111113;
  border: 1px solid rgba(17, 17, 19, 0.08);
  white-space: nowrap;
}
.bx-chip.green {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* =========================
   Responsive (Header/Search/Drawer)
   ========================= */
@media (max-width: 640px) {
  .bn-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .bn-logo {
    height: 42px;
  }
  .bn-header-row {
    padding: 10px 0;
  }
  .bn-searchPanel {
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .dr-drawer {
    width: 320px;
  }
}

@media (max-width: 640px) {
  .na-wrap {
    padding: 0 8px;
  }
  .na-grid {
    gap: 8px;
  }
}

/* =========================
   Ginaab Header - Minimal Luxury
   Colors:
   - Dark: #414042
   - Burgundy: #6B2233
   - Warm Gray: #D7D3C8
   ========================= */

:root {
  --gn-dark: #414042;
  --gn-burgundy: #6b2233;
  --gn-warm: #d7d3c8;
  --gn-white: #ffffff;
  --gn-text: rgba(17, 17, 19, 0.88);
  --gn-muted: rgba(17, 17, 19, 0.55);
  --gn-border: rgba(17, 17, 19, 0.1);
}

.gn-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Header base */
.gn-header {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--bn-topbar-h, 0px); /* هنا السحر */
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ginaab-border, rgba(0, 0, 0, 0.06));
}

/* Row */
.gn-row {
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

/* Side groups */
.gn-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gn-side-end {
  justify-content: flex-end;
}

/* Brand */
.gn-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.gn-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

/* Icon button (minimal) */
.gn-iconBtn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.gn-iconBtn .material-symbols-outlined {
  font-size: 24px;
  color: var(--gn-text);
  line-height: 1;
}

.gn-iconBtn:hover {
  background: rgba(215, 211, 200, 0.35);
  border-color: rgba(107, 34, 51, 0.14);
}

.gn-iconBtn:active {
  transform: scale(0.98);
}

/* Cart badge */
.gn-cartBtn {
  position: relative;
}

.gn-badge {
  position: absolute;
  top: 6px;
  left: 6px; /* Works in RTL visually as a corner badge */
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gn-burgundy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

/* Mobile tuning */
@media (max-width: 420px) {
  .gn-row {
    height: 58px;
  }
  .gn-logo {
    height: 26px;
  }
  .gn-iconBtn {
    width: 40px;
    height: 40px;
  }
}

/* =========================
   Ginaab Menu Scoped (prevents Baynounah CSS conflicts)
   ========================= */

.gn-drawerMenu .dr-body {
  padding: 18px 14px !important;
}

/* Reset common inherited styles inside drawer only */
.gn-drawerMenu a {
  text-decoration: none !important;
  color: inherit !important;
}

.gn-drawerMenu * {
  box-sizing: border-box;
}

/* Brand */
.gn-drawerMenu .gn-menuBrand {
  padding: 10px 4px 16px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.08);
  margin-bottom: 10px;
}

.gn-drawerMenu .gn-menuTitle {
  font-weight: 800;
  font-size: 18px;
  color: rgba(17, 17, 19, 0.92);
}

.gn-drawerMenu .gn-menuSub {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(17, 17, 19, 0.55);
}

/* Nav */
.gn-drawerMenu .gn-menuNav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 2px 12px;
}

/* Items */
.gn-drawerMenu .gn-menuItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(215, 211, 200, 0.28);
  border: 1px solid rgba(107, 34, 51, 0.1);
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.gn-drawerMenu .gn-menuItem:hover {
  background: rgba(215, 211, 200, 0.42);
  border-color: rgba(107, 34, 51, 0.18);
  transform: translateY(-1px);
}

.gn-drawerMenu .gn-menuText {
  font-size: 15px;
  font-weight: 700;
  color: rgba(17, 17, 19, 0.9);
}

.gn-drawerMenu .gn-chevron {
  font-size: 22px;
  color: rgba(17, 17, 19, 0.45);
}

/* NEW pill */
.gn-drawerMenu .gn-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: #6b2233;
  color: #fff;
}

.gn-drawerMenu .gn-menuItemHot {
  background: rgba(107, 34, 51, 0.08);
  border-color: rgba(107, 34, 51, 0.2);
}

.gn-drawerMenu .gn-menuItemMuted .gn-menuText {
  font-weight: 600;
  color: rgba(17, 17, 19, 0.72);
}

/* Offer item */
.gn-drawerMenu .gn-menuItemOffer {
  background: linear-gradient(135deg, rgba(107, 34, 51, 0.12), rgba(107, 34, 51, 0.05));
  border: 1px solid rgba(107, 34, 51, 0.3);
  position: relative;
  overflow: hidden;
}

.gn-drawerMenu .gn-menuItemOffer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  animation: gnShine 3.5s infinite;
}

@keyframes gnShine {
  100% {
    transform: translateX(100%);
  }
}

.gn-drawerMenu .gn-offerLeft {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gn-drawerMenu .gn-fire {
  font-size: 18px;
  animation: gnFire 1.6s infinite;
}

@keyframes gnFire {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

.gn-drawerMenu .gn-offerBadge {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: #6b2233;
  color: #fff;
  animation: gnPulse 2s infinite;
}

@keyframes gnPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(107, 34, 51, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(107, 34, 51, 0);
  }
}

/* Footer mini button */
.gn-drawerMenu .gn-menuFooter {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 19, 0.08);
}

.gn-drawerMenu .gn-menuMiniBtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-weight: 700;
  color: rgba(17, 17, 19, 0.82);
}

.gn-drawerMenu .gn-menuMiniBtn .material-symbols-outlined {
  font-size: 20px;
  color: rgba(17, 17, 19, 0.6);
}

/* =========================
   Ginaab Drawer Menu (Minimal List) - Scoped
   Prevents conflicts with Baynounah CSS
   ========================= */

.gn-drawerMenu .dr-body {
  padding: 18px 16px !important;
}

/* Reset common inherited styles inside drawer only */
.gn-drawerMenu a {
  text-decoration: none !important;
  color: inherit !important;
}

.gn-drawerMenu * {
  box-sizing: border-box;
}

/* Head */
.gn-drawerMenu .gn-menuHead {
  padding: 6px 2px 14px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.1);
  margin-bottom: 10px;
}

.gn-drawerMenu .gn-menuBrand {
  font-weight: 900;
  font-size: 18px;
  color: rgba(17, 17, 19, 0.92);
  letter-spacing: 0.2px;
}

.gn-drawerMenu .gn-menuSub {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(17, 17, 19, 0.55);
}

/* List */
.gn-drawerMenu .gn-menuList {
  display: flex;
  flex-direction: column;
}

/* Link row */
.gn-drawerMenu .gn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.06);
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}

.gn-drawerMenu .gn-link:last-child {
  border-bottom: none;
}

.gn-drawerMenu .gn-link:hover {
  transform: translateX(-2px);
}

.gn-drawerMenu .gn-linkText {
  font-size: 16px;
  font-weight: 800;
  color: rgba(17, 17, 19, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gn-drawerMenu .gn-arr {
  font-size: 22px;
  color: rgba(17, 17, 19, 0.45);
}

/* Offer styling */
.gn-drawerMenu .gn-link-offer {
  padding: 16px 4px;
}

.gn-drawerMenu .gn-link-offer .gn-linkText {
  color: #6b2233;
}

.gn-drawerMenu .gn-fire {
  font-size: 18px;
  animation: gnFire 1.6s infinite;
}

@keyframes gnFire {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.22);
  }
}

.gn-drawerMenu .gn-hot {
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: #6b2233;
  color: #fff;
  animation: gnPulse 2s infinite;
}

@keyframes gnPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(107, 34, 51, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(107, 34, 51, 0);
  }
}

/* NEW badge */
.gn-drawerMenu .gn-new {
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 34, 51, 0.1);
  color: #6b2233;
  border: 1px solid rgba(107, 34, 51, 0.22);
}

/* Muted link */
.gn-drawerMenu .gn-link-muted .gn-linkText {
  font-weight: 700;
  color: rgba(17, 17, 19, 0.72);
}

/* Bottom button */
.gn-drawerMenu .gn-menuBottom {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 19, 0.1);
}

.gn-drawerMenu .gn-mini {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 19, 0.12);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-weight: 800;
  color: rgba(17, 17, 19, 0.82);
}

.gn-drawerMenu .gn-mini .material-symbols-outlined {
  font-size: 20px;
  color: rgba(17, 17, 19, 0.58);
}

/* Top brand lockup (centered boutique style) */
.gn-drawerMenu .gn-menuHead {
  padding: 18px 10px 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.08);
  text-align: center;
}

.gn-drawerMenu .gn-menuBrand {
  font-weight: 900;
  font-size: 20px;
  color: rgba(17, 17, 19, 0.92);
  letter-spacing: 0.2px;
}

.gn-drawerMenu .gn-menuSub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17, 17, 19, 0.55);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* =========================================================
   GINAAB PATCH (append to the END of the old Baynounah CSS)
   - Keep the original 3000 lines as-is
   - This only overrides colors & key components
   ========================================================= */

/* 1) Theme Tokens */
:root {
  --brand-primary: #6b2233; /* Burgundy */
  --brand-dark: #414042; /* Charcoal */
  --brand-light: #d7d3c8; /* Warm gray */
  --brand-white: #ffffff;

  --text-main: rgba(17, 17, 19, 0.92);
  --text-muted: rgba(17, 17, 19, 0.55);

  --border-light: rgba(17, 17, 19, 0.1);
  --border-soft: rgba(17, 17, 19, 0.06);

  --bg-page: #f7f7f8;
  --bg-soft: rgba(215, 211, 200, 0.25);
  --bg-overlay: rgba(65, 64, 66, 0.55);

  /* Legacy BN aliases (so old rules still work) */
  --bn-black: var(--brand-dark);
  --bn-ink: var(--text-main);
  --bn-muted: var(--text-muted);
  --bn-line: var(--border-light);
  --bn-soft: var(--border-soft);
  --bn-white: var(--brand-white);
}

/* 2) Body (light touch) */
body {
  background: var(--bg-page) !important;
  color: var(--bn-ink) !important;
}

/* 3) Topbar color */
.bn-topbar {
  background: var(--brand-primary) !important;
  color: #fff !important;
}

/* 4) Header: keep structure, just color harmony */
.bn-header {
  border-bottom: 1px solid var(--bn-line) !important;
}

/* Buttons in header (bn-btn) - Ginaab soft look */
.bn-btn {
  border: 1px solid rgba(107, 34, 51, 0.14) !important;
  background: rgba(215, 211, 200, 0.28) !important;
  box-shadow: 0 10px 22px rgba(40, 2, 7, 0.08) !important;
}

.bn-icon {
  color: var(--bn-ink) !important;
}

/* Cart badge */
.bn-badge {
  background: var(--brand-primary) !important;
  border: 2px solid rgba(255, 255, 255, 0.92) !important;
}

/* 5) Search overlay & box */
.bn-searchOverlay {
  background: var(--bg-overlay) !important;
}

.bn-searchPanel {
  border-bottom: 1px solid var(--bn-line) !important;
}

.bn-searchTitle {
  color: var(--bn-ink) !important;
}

.bn-searchBox {
  border: 1px solid rgba(107, 34, 51, 0.22) !important;
  background: rgba(215, 211, 200, 0.18) !important;
}

.bn-searchBox input {
  color: var(--bn-ink) !important;
}

.bn-searchGo {
  background: var(--brand-primary);
  border: 1px solid rgba(107, 34, 51, 0.25) !important;
}

/* Search results price accent */
.bn-resultPrice {
  color: var(--brand-primary) !important;
}

/* 6) Drawer base colors (no layout change) */
.dr-head {
  border-bottom: 1px solid var(--bn-line) !important;
}

.dr-footer {
  border-top: 1px solid var(--bn-line) !important;
}

.dr-primaryBtn {
  background: var(--brand-primary) !important;
  border: 1px solid rgba(107, 34, 51, 0.25) !important;
}

/* 7) Ginaab Menu Scope (only if you added gn-drawerMenu class) */
.gn-drawerMenu .gn-menuHead {
  text-align: center;
}

.gn-drawerMenu .gn-linkText {
  color: var(--bn-ink);
}

/* Variant block (color + size stacked) */

.dr-variant {
  margin-top: 8px;
}

/* Color row */

.dr-colorRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Size row */

.dr-sizeRow {
  margin-top: 4px;
}

/* Size label */

.dr-sizeLabel {
  font-size: 12px;
  color: var(--bn-muted);

  /* allow long text to wrap */
  white-space: normal;
  line-height: 1.4;
}

.dr-colorLabel,
.dr-sizeLabel {
  font-weight: 600;
}

/* Variant block */
.dr-variant {
  margin-top: 8px;
}

/* Keep color row as-is */
.dr-colorRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Size row */
.dr-sizeRow {
  margin-top: 4px;
}

.dr-sizeLabel {
  font-size: 12px;
  color: var(--bn-muted);
  white-space: normal;
  line-height: 1.4;
}

/* Buttons options row */
.dr-optRow {
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dr-optTitle {
  font-size: 12px;
  font-weight: 700;
  color: rgba(17, 17, 19, 0.72);
  white-space: nowrap;
  margin-top: 2px;
}

/* Chips container: wraps on mobile */
.dr-optChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Chip style */
.dr-chip {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  background: rgba(215, 211, 200, 0.22);
  color: rgba(17, 17, 19, 0.82);
}

/* Notes block */

.dr-noteRow {
  margin-top: 8px;
}

.dr-noteTitle {
  font-size: 12px;
  font-weight: 700;
  color: rgba(17, 17, 19, 0.72);
}

.dr-noteText {
  margin-top: 4px;

  font-size: 12px;
  line-height: 1.5;

  padding: 8px 10px;

  border-radius: 10px;

  background: rgba(215, 211, 200, 0.22);

  border: 1px solid rgba(17, 17, 19, 0.08);

  color: rgba(17, 17, 19, 0.85);

  /* important for long notes */
  white-space: normal;
  word-break: break-word;
}

.dr-noteHead {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dr-noteIcon {
  font-size: 18px;
  color: var(--brand-primary);
}
.dr-noteText {
  background: rgba(56, 52, 51, 0.06);
}

/* =========================
   Mobile-only MP4 Hero
   ========================= */

.bnHeroWrap {
  margin-top: 0 !important;
  padding: 0 !important;
}

/* Base hero (no rounded corners, flush) */
.gn-hero {
  position: relative;
  width: 100%;
  border-radius: 0 !important;
  overflow: hidden;
  background: #000;
}

/* Hide hero by default on desktop */
.gn-hero--mobileVideo {
  display: none;
}

/* Video */
.gn-heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills area without distortion */
  object-position: center; /* adjust if needed: center top */
  display: block;
}

/* Cinematic overlay */
.gn-heroOverlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 35%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

/* Content */
.gn-heroContent {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.gn-heroCard {
  width: min(640px, 100%);
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gn-heroTitle {
  font-size: 18px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.25;
}

.gn-heroSub {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.gn-heroActions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gn-heroBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  transition: 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gn-heroBtn.primary {
  background: var(--brand-primary, #383433);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.gn-heroBtn.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
}

/* Show ONLY on phones */
@media (max-width: 768px) {
  .gn-hero--mobileVideo {
    display: block;
    height: clamp(420px, 72vh, 620px); /* tall hero for vertical video */
  }
}

/* Fine tune for very small screens */
@media (max-width: 420px) {
  .gn-hero--mobileVideo {
    height: clamp(380px, 70vh, 560px);
  }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .gn-heroVideo {
    animation: none !important;
  }
}

.gn-heroVideo {
  pointer-events: none; /* يمنع الضغط اللي يطلع overlay play */
}

.gn-heroVideo::-webkit-media-controls {
  display: none !important; /* يخفي أي controls في iOS */
}
.gn-videoShield {
  position: absolute;
  inset: 0;
  z-index: 1; /* فوق الفيديو */
  background: transparent;
  pointer-events: none; /* ما يمنع ضغط الأزرار حقك */
}

.gn-heroOverlay {
  z-index: 2;
}
.gn-heroContent {
  z-index: 3;
}

.gn-heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* =========================
   GINAAB - Categories (No Tailwind)
   ========================= */

/* Section container */
.gn-cats {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 16px;
}

/* Header */
.gn-cats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gn-cats__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #111;
}

/* Grid: mobile 2 cols, desktop 4 cols */
.gn-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 1024px) {
  .gn-cats {
    padding: 0 32px;
  }
  .gn-cats__title {
    font-size: 24px;
  }
  .gn-cats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Card */
.gn-cat {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateZ(0);
}

/* Media area with fixed aspect ratio (2/3) */
.gn-cat__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

/* Image */
.gn-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
  will-change: transform;
}

/* Overlay gradient for readability */
.gn-cat__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 75%);
  opacity: 0.92;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Badge (glass) */
.gn-cat__badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Title */
.gn-cat__name {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
}
@media (min-width: 640px) {
  .gn-cat__name {
    font-size: 15px;
  }
}

/* Chevron */
.gn-cat__chev {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  transform: translateX(-2px);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  opacity: 0.92;
}

/* Hover / focus */
.gn-cat:hover .gn-cat__img,
.gn-cat:focus-visible .gn-cat__img {
  transform: scale(1.08);
}
.gn-cat:hover .gn-cat__overlay,
.gn-cat:focus-visible .gn-cat__overlay {
  opacity: 1;
}
.gn-cat:hover .gn-cat__chev,
.gn-cat:focus-visible .gn-cat__chev {
  transform: translateX(-6px);
  opacity: 1;
}

/* Keyboard accessibility */
.gn-cat:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .gn-cat__media {
    aspect-ratio: 10 / 15;
  } /* slightly taller */
}

/* =========================
   GINAAB Categories (Hard override)
   Put this at the VERY END of your CSS file
   ========================= */

.gn-cats {
  max-width: 1180px !important;
  margin: 18px auto 0 !important;
  padding: 0 16px !important;
  display: block !important;
}

.gn-cats__head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  margin: 0 0 12px 0 !important;
}

.gn-cats__title {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* Force grid layout (many themes break it) */
.gn-cats__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

@media (min-width: 1024px) {
  .gn-cats {
    padding: 0 32px !important;
  }
  .gn-cats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

/* Force cards to be block and sizable */
.gn-cat {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

/* Fix tiny images caused by global img rules */
.gn-cat__media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
}

.gn-cat__img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
  transform: scale(1.02) !important;
  transition: transform 0.6s ease !important;
}

.gn-cat__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 75%) !important;
  opacity: 0.92 !important;
  pointer-events: none !important;
}

.gn-cat__badge {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
}

.gn-cat__name {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

.gn-cat__chev {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 18px !important;
  opacity: 0.92 !important;
  transform: translateX(-2px) !important;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease !important;
}

/* Hover */
.gn-cat:hover .gn-cat__img {
  transform: scale(1.08) !important;
}
.gn-cat:hover .gn-cat__chev {
  transform: translateX(-6px) !important;
  opacity: 1 !important;
}

/* Delivery card highlight */
label[data-delivery-card] {
  background: #fff;
}
label[data-delivery-card]._active {
  border-color: rgba(107, 34, 51, 0.35) !important;
  box-shadow: 0 10px 26px rgba(107, 34, 51, 0.1);
  background: rgba(107, 34, 51, 0.04);
}
label[data-delivery-card] input[type="radio"] {
  accent-color: var(--gn-primary);
}
.gn-hours-row {
  border-bottom: 1px dashed rgba(65, 64, 66, 0.12);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

#payBtn:hover {
  box-shadow: 0 14px 30px rgba(107, 34, 51, 0.1);
  border-color: rgba(107, 34, 51, 0.45);
}

label:hover {
  background: rgba(215, 211, 200, 0.28);
}
/* Shake animation for pay button */
@keyframes gnShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.gn-shake {
  animation: gnShake 0.35s ease;
}

/* Accepted style for terms/delivery buttons (still clickable) */
.gn-accepted {
  background: rgba(16, 185, 129, 0.12) !important; /* soft green */
  color: #047857 !important;
}
.gn-accepted span {
  filter: none;
}

#payBtn {
  transition: all 0.25s ease;
}

/* Required field error UI */
.gn-field-error {
  border-color: rgba(220, 38, 38, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}

.gn-field-error-msg {
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 700;
}

@keyframes gnRedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.22);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}
.gn-pulse {
  animation: gnRedPulse 0.7s ease 2;
}

.gn-field-error {
  border-color: rgba(220, 38, 38, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}
.gn-field-error-msg {
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 800;
}
@keyframes gnRedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.22);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.gn-field-error {
  border-color: rgba(220, 38, 38, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}
.gn-field-error-msg {
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 800;
}
@keyframes gnRedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.22);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}
.gn-pulse {
  animation: gnRedPulse 0.7s ease 2;
}


/*new*/ .p-5 { padding: 1.25rem!important; }



/*figital detail*/
 .gnInput{
    width:100%;
    border-radius:16px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    padding:0 14px;
    font-size:15px;
    color:#414042;
    outline:none;
    transition:.2s ease;
  }
  .gnInput:focus{
    box-shadow:0 0 0 5px rgba(107,34,51,.15);
    border-color:#6B2233;
  }
  .gnInputLg{ height:54px; }
  .gnError{ margin-top:8px; font-size:12px; color:#dc2626; }
  
  
  
  
  
  
  
  
  
  
  
  
  
/* Lazy loading wave effect */
.lazy-box {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
}

.lazy-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  animation: lazyWave 1.2s infinite;
  z-index: 2;
  pointer-events: none;
}

.lazy-box.loaded::before {
  display: none;
}

.lazy-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazy-box.loaded .lazy-img {
  opacity: 1;
}

@keyframes lazyWave {
  0% {
    left: -120%;
  }

  100% {
    left: 120%;
  }
}