@font-face {
  font-family: 'Handicrafts';
  src: url('handicrafts.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IranSansX';
  src: url('iransansx.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ObjectSans';
  src: url('objectsans.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f9e6c0;
  --dark: #222833;
  --org: #ed613b;
  --org2: #c94e2a;
  --brown: #a1683a;
}

/* منع الدارك مود نهائياً */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #f9e6c0;
    --dark: #222833;
    --org: #ed613b;
    --org2: #c94e2a;
    --brown: #a1683a;
  }
  html,
  body {
    background: #f9e6c0 !important;
    color: #222833 !important;
  }
  .hero {
    background: #ed613b !important;
  }
  .prod-sec {
    background: #ed613b !important;
  }
  .brew-sec {
    background: #ed613b !important;
  }
  .story-sec {
    background: #f9e6c0 !important;
    color: #222833 !important;
  }
  .proc-sec {
    background: #f9e6c0 !important;
    color: #222833 !important;
  }
  .reviews-sec {
    background: #f9e6c0 !important;
    color: #222833 !important;
  }
  .numbar {
    background: #f9e6c0 !important;
  }
  .ord-sec {
    background: #222833 !important;
  }
  footer {
    background: #c94e2a !important;
  }
  .marquee {
    background: #c94e2a !important;
  }
  nav.scrolled {
    background: rgba(34, 40, 51, 0.97) !important;
  }
  .mob-menu {
    background: #222833 !important;
  }
  .cart-pnl {
    background: #1a2028 !important;
  }
  .modal {
    background: #1a2028 !important;
  }
  .pcard {
    background: #222833 !important;
  }
  .lightbox-ov {
    background: rgba(0, 0, 0, 0.95) !important;
  }
  #splash {
    background: #f9e6c0 !important;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* منع أي متصفح من تحويل الألوان */
html {
  -webkit-filter: none !important;
  filter: none !important;
}
html {
  scroll-behavior: smooth;
  background: #f9e6c0;
}
body {
  font-family: 'IranSansX', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 70px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s;
}
nav.scrolled {
  background: rgba(34, 40, 51, 0.97);
  border-bottom: 1px solid rgba(237, 97, 59, 0.2);
}
.nav-logo img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
  transition: filter 0.4s;
}

nav.scrolled .nav-logo img {
  filter: brightness(0) invert(1);
}

@media (max-width: 960px) {
  .nav-logo img {
    height: 48px;
  }
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-family: 'IranSansX', sans-serif;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.4s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--org);
}
/* nav بشكل افتراضي فوق الهيرو البرتقالي → كريمي/أبيض */
nav:not(.scrolled) .nav-links a {
  color: var(--cream);
}
nav:not(.scrolled) .cart-trigger {
  color: var(--cream);
}
nav:not(.scrolled) .hamburger span {
  background: var(--cream);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  background: none;
  border: none;
  font-family: 'IranSansX', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cart-trigger:hover {
  opacity: 1;
}
.cart-dot {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--org);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  transition: transform 0.2s;
}
.cart-dot.bump {
  transform: scale(1.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  display: block;
}
.mob-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--dark);
  z-index: 899;
  padding: 2rem 5%;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(237, 97, 59, 0.2);
}
.mob-menu.open {
  display: flex;
}
.mob-menu a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'IranSansX', sans-serif;
  font-size: 1.1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(249, 230, 192, 0.07);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--org);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 70% at 30% 50%,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
}
/* واترمارك الهيرو */
.hero-deco {
  position: absolute;
  left: 10%;
  top: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  opacity: 0.12;
  width: 70vw;
  max-width: 800px;
}

.hero-deco img {
  width: 60%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* واترمارك الموبايل */
@media (max-width: 960px) {
  .hero-deco {
    width: 50vw;
    opacity: 0.1;
    left: 25%;
    top: 40%;
  }
  .hero-deco img {
    width: 100%;
  }
}
.hero-left {
  position: relative;
  z-index: 2;
}
.hero-pre {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-pre::before {
  content: '';
  width: 36px;
  height: 1px;
  background: white;
  opacity: 0.5;
}
.hero h1 {
  font-family: 'Handicrafts', serif;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 1.8rem;
}
.hero h1 em {
  color: var(--cream);
  font-style: normal;
  display: block;
  line-height: 1.1;
  margin-top: 0.05em;
}
.hero-desc {
  font-family: 'IranSansX', sans-serif;
  font-size: 1rem;
  color: white;
  opacity: 0.75;
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.btn-fill {
  font-family: 'IranSansX', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: white;
  color: var(--org);
  padding: 0.95rem 2.4rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s;
}
.btn-fill:hover {
  background: var(--cream);
}
.btn-line {
  font-family: 'IranSansX', sans-serif;
  color: white;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-line:hover {
  border-color: white;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-val {
  font-family: 'Handicrafts', serif;
  font-size: 3.2rem;
  color: white;
  line-height: 1;
}
.stat-val span {
  color: var(--brown);
}
.stat-lbl {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  opacity: 0.65;
  margin-top: 0.3rem;
}
.hero-scroll {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: white;
  opacity: 0.45;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-scroll::before {
  content: '';
  width: 40px;
  height: 1px;
  background: white;
  opacity: 0.4;
}

/* MARQUEE */
.marquee {
  background: var(--org2);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.mtrack {
  display: inline-flex;
  animation: mq 30s linear infinite;
  will-change: transform;
}

@keyframes mq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.mi {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  padding: 0 2.5rem;
}

/* NUMBERS */
.numbar {
  background: var(--org2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nitem {
  padding: 3rem 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.nitem:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.nval {
  font-family: 'Handicrafts', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  line-height: 1;
}
.nval span {
  color: var(--brown);
}
.nlbl {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  opacity: 0.65;
  margin-top: 0.4rem;
}

/* STORY */
.story-sec {
  background: var(--cream);
  padding: 9rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.slbl {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--org);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.slbl::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--org);
}
.story-sec h2 {
  font-family: 'Handicrafts', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.8rem;
}
.story-sec p {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.62;
  line-height: 2;
  margin-bottom: 0.8rem;
}
.s-tag {
  font-family: 'Handicrafts', serif;
  font-size: 1.5rem;
  color: var(--org);
  margin-top: 1.8rem;
}
.tl {
  display: flex;
  flex-direction: column;
}
.tl-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(34, 40, 51, 0.1);
  align-items: start;
}
.tl-row:first-child {
  padding-top: 0;
}
.tl-row:last-child {
  border-bottom: none;
}
.tl-yr {
  font-family: 'Handicrafts', serif;
  font-size: 1.6rem;
  color: var(--brown);
  line-height: 1;
}
.tl-t {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.tl-d {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  color: var(--dark);
  opacity: 0.52;
  line-height: 1.65;
}

/* PRODUCTS */
.prod-sec {
  background: var(--org);
  padding: 7rem 5%;
}
.sec-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.sec-lbl {
  font-family: 'ObjectSans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.sec-lbl::before {
  content: '';
  width: 22px;
  height: 1px;
  background: white;
}
.sec-lbl.c {
  justify-content: center;
}
.sec-lbl.c::before {
  display: none;
}
.sec-ttl {
  font-family: 'Handicrafts', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}
.sec-ttl.lt {
  color: white;
}
.sec-ttl.dk {
  color: var(--dark);
}
.fbar {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.ftab {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.48rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: white;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.ftab.active,
.ftab:hover {
  opacity: 1;
  background: white;
  border-color: white;
  color: var(--org);
}
.search-wrap {
  position: relative;
  margin-bottom: 2rem;
}
.search-input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 3rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-family: 'IranSansX', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  cursor: text;
}
.search-input::placeholder {
  color: white;
  opacity: 0.55;
}
.search-input:focus {
  border-color: rgba(255, 255, 255, 0.8);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  opacity: 0.65;
  font-size: 1rem;
}

/* PRODUCT CARDS */
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.pcard {
  background: var(--org2);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: rgba(237, 97, 59, 0.2);
  touch-action: manipulation;
}
.pcard:hover {
  background: rgba(200, 65, 25, 0.9);
}
.pimg-wrap {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #1a2028;
  flex-shrink: 0;
  cursor: pointer;
}
.pimg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  background: #1a2028;
  padding: 6px;
  pointer-events: none;
}
.pcard:hover .pimg-wrap img {
  transform: scale(1.03);
}
.pimg-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #1a1208, #2d1f0e);
  pointer-events: none;
}
.pimg-zoom {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  width: 28px;
  height: 28px;
  background: rgba(34, 40, 51, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 2px;
  pointer-events: none;
}
.pcard:hover .pimg-zoom {
  opacity: 1;
}
/* على الموبايل: نظهر أيقونة التكبير دايماً لأنه ما في hover */
@media (hover: none) {
  .pimg-zoom {
    opacity: 0.75;
  }
  /* الـ pimg-wrap يتعامل مع الكليك */
  .pimg-wrap {
    cursor: zoom-in;
  }
}
.pcat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.pbadge {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--org);
  color: white;
  padding: 0.22rem 0.65rem;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.4rem;
}
.pbadge.new-b {
  background: #2a9d5c;
}

.pbody {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcat {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.pname {
  font-family: 'Handicrafts', serif;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.pdesc {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  color: white;
  opacity: 0.72;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.weight-sel {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.wbtn {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.18s;
  text-transform: uppercase;
}
.wbtn.active {
  opacity: 1;
  border-color: white;
  color: var(--org);
  background: white;
}
.wbtn:hover {
  opacity: 1;
  border-color: white;
}
.pfooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pfooter-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pprice {
  font-family: 'Handicrafts', serif;
  font-size: 1.3rem;
  color: white;
}
.pprice small {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.6rem;
  opacity: 0.65;
}
.addbtn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--org);
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: 'IranSansX', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.addbtn:hover {
  background: #943f16;
  transform: scale(1.04);
}
.addbtn:active {
  transform: scale(0.97);
}
.addbtn.done {
  background: #2a9d5c;
  color: white;
}
.no-results {
  text-align: center;
  padding: 5rem 2rem;
  color: white;
  opacity: 0.6;
  grid-column: 1/-1;
}
.loading {
  text-align: center;
  padding: 4rem;
  color: white;
  opacity: 0.7;
  grid-column: 1/-1;
}
.loading-spin {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* IMAGE LIGHTBOX */
.lightbox-ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-ov.open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(249, 230, 192, 0.12);
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(237, 97, 59, 0.4);
}
.lightbox-name {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Handicrafts', serif;
  font-size: 1.3rem;
  color: white;
  opacity: 0.7;
  white-space: nowrap;
}

/* PROCESS */
.proc-sec {
  background: var(--cream);
  padding: 7rem 5%;
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5rem;
  position: relative;
}
.proc-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 97, 59, 0.3),
    transparent
  );
}
.pstep {
  padding: 0 1.5rem;
  text-align: center;
}
.pstep-n {
  width: 56px;
  height: 56px;
  border: 1px solid var(--org);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Handicrafts', serif;
  font-size: 1.1rem;
  color: var(--org);
  margin: 0 auto 2rem;
  background: var(--cream);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.pstep:hover .pstep-n {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}
.pstep-ic {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.9rem;
}
.pstep-t {
  font-family: 'Handicrafts', serif;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.pstep-d {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0.55;
  line-height: 1.8;
}

/* BREW */
.brew-sec {
  background: var(--org);
  padding: 7rem 5%;
}
.btabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin: 3rem 0 2.5rem;
  overflow-x: auto;
}
.btab {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  color: white;
  opacity: 0.55;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.btab.active {
  opacity: 1;
  color: white;
  border-bottom-color: white;
}
.btab:hover {
  opacity: 0.85;
}
.bpanel {
  display: none;
  gap: 5rem;
  align-items: start;
}
.bpanel.active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.bsteps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.bstep {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.bstep:last-child {
  border-bottom: none;
}
.bsn {
  font-family: 'Handicrafts', serif;
  font-size: 1.8rem;
  color: white;
  line-height: 1;
  min-width: 30px;
  opacity: 0.7;
}
.bst {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.9rem;
  color: white;
  opacity: 0.85;
  line-height: 1.8;
  padding-top: 0.3rem;
}
.bspecs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.bspec {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: background 0.25s;
}
.bspec:hover {
  background: rgba(255, 255, 255, 0.2);
}
.bsval {
  font-family: 'Handicrafts', serif;
  font-size: 2rem;
  color: white;
  display: block;
  margin-bottom: 0.3rem;
}
.bskey {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  opacity: 0.65;
}

/* REVIEWS */
.reviews-sec {
  background: var(--cream);
  padding: 7rem 5%;
}
.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(34, 40, 51, 0.08);
}
.rcard {
  background: var(--cream);
  padding: 1.8rem 2rem;
  position: relative;
}
.rcard:hover {
  background: white;
}
.rcard-q {
  font-family: 'Handicrafts', serif;
  font-size: 3rem;
  color: var(--org);
  opacity: 0.1;
  position: absolute;
  top: 0.8rem;
  right: 1.5rem;
  line-height: 1;
}
.rcard-stars {
  color: var(--org);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.rcard-text {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.68;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.rcard-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.rcard-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.rcard-name {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
}
.rcard-city {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.6rem;
  color: var(--org);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pending-badge {
  display: inline-block;
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.55rem;
  background: rgba(237, 97, 59, 0.15);
  color: var(--org);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-top: 0.3rem;
}

/* Review form */
.review-form-wrap {
  position: sticky;
  top: 90px;
}
.review-form {
  background: var(--dark);
  padding: 2rem;
  border: 1px solid rgba(237, 97, 59, 0.15);
}
.rf-title {
  font-family: 'Handicrafts', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.rf-sub {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  color: var(--cream);
  opacity: 0.38;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.rf-stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.rf-star {
  font-size: 1.6rem;
  cursor: pointer;
  color: rgba(249, 230, 192, 0.2);
  transition: color 0.15s;
}
.rf-star.on {
  color: var(--org);
}
.rf-input {
  width: 100%;
  background: rgba(249, 230, 192, 0.06);
  border: 1px solid rgba(249, 230, 192, 0.12);
  color: var(--cream);
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  outline: none;
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
  cursor: auto;
}
.rf-input:focus {
  border-color: rgba(237, 97, 59, 0.4);
}
.rf-input::placeholder {
  color: var(--cream);
  opacity: 0.3;
}
.rf-textarea {
  width: 100%;
  background: rgba(249, 230, 192, 0.06);
  border: 1px solid rgba(249, 230, 192, 0.12);
  color: var(--cream);
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  outline: none;
  margin-bottom: 1.2rem;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.2s;
  cursor: auto;
}
.rf-textarea:focus {
  border-color: rgba(237, 97, 59, 0.4);
}
.rf-textarea::placeholder {
  color: var(--cream);
  opacity: 0.3;
}
.rf-submit {
  width: 100%;
  padding: 1rem;
  background: var(--org);
  color: white;
  border: none;
  font-family: 'IranSansX', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.rf-submit:hover {
  background: var(--org2);
}
.rf-note {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.78rem;
  color: var(--cream);
  opacity: 0.3;
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.5;
}
.rf-success {
  display: none;
  text-align: center;
  padding: 1rem;
  font-family: 'IranSansX', sans-serif;
  color: #2a9d5c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ORDER */
.ord-sec {
  background: var(--dark);
  padding: 7rem 5%;
  position: relative;
  overflow: hidden;
}
.ord-sec::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(237, 97, 59, 0.06);
  pointer-events: none;
}
.ord-inner {
  position: relative;
  z-index: 1;
}
.ord-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.ord-title {
  font-family: 'Handicrafts', serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  color: var(--cream);
  line-height: 1.1;
}
.ord-sub {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.92rem;
  color: var(--cream);
  opacity: 0.6;
  line-height: 1.8;
  max-width: 280px;
}
.omethods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(249, 230, 192, 0.1);
}
.omethod {
  background: rgba(249, 230, 192, 0.04);
  padding: 2.5rem 2rem;
  text-decoration: none;
  transition: background 0.25s;
  display: block;
}
.omethod:hover {
  background: rgba(237, 97, 59, 0.12);
  border-color: var(--org);
}
.omic {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}
.omname {
  font-family: 'Handicrafts', serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.omdesc {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.5;
  line-height: 1.6;
}
.oguars {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.gi {
  font-family: 'IranSansX', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.6;
}

/* FOOTER */
footer {
  background: var(--org2);
  padding: 5rem 5% 2.5rem;
}
.ftop {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 2rem;
}
.fbl img {
  height: 74px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}
.fbl p {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  color: white;
  opacity: 0.65;
  line-height: 1.75;
  max-width: 240px;
}
.fcol-t {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.2rem;
}
.fcol ul {
  list-style: none;
}
.fcol ul li {
  margin-bottom: 0.6rem;
}
.fcol ul li a {
  font-family: 'IranSansX', sans-serif;
  color: white;
  opacity: 0.65;
  text-decoration: none;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.fcol ul li a:hover {
  opacity: 1;
}
.fbot {
  display: flex;
  justify-content: space-between;
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: white;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* CART PANEL */
.cart-ov {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 20, 0.75);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cart-ov.open {
  opacity: 1;
  pointer-events: all;
}
.cart-pnl {
  position: fixed;
  top: 0;
  left: 0;
  width: min(500px, 97vw);
  height: 100vh;
  background: #181e26;
  z-index: 1101;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(249, 230, 192, 0.07);
  will-change: transform;
  pointer-events: none;
}
.cart-pnl.open {
  transform: translateX(0);
  pointer-events: all;
}
.cphead {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(249, 230, 192, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cphead h3 {
  font-family: 'Handicrafts', serif;
  font-size: 1.3rem;
  color: var(--cream);
}
.cpclose {
  width: 36px;
  height: 36px;
  background: rgba(249, 230, 192, 0.06);
  border: none;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cpclose:hover {
  background: rgba(237, 97, 59, 0.2);
}
.cpbody {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 2rem;
}
.cp-empty {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'IranSansX', sans-serif;
  color: var(--cream);
  opacity: 0.22;
  font-size: 0.9rem;
}
.cp-empty .eico {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.ci {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(249, 230, 192, 0.06);
}
.ci-ic {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(249, 230, 192, 0.05);
}
.ci-ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ci-inf {
  flex: 1;
}
.ci-nm {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  color: var(--cream);
  margin-bottom: 0.12rem;
}
.ci-wt {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.35;
  text-transform: uppercase;
  margin-bottom: 0.18rem;
}
.ci-grind {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.72rem;
  color: var(--org);
  opacity: 0.8;
}
.ci-pr {
  font-family: 'Handicrafts', serif;
  font-size: 1rem;
  color: var(--org);
}
.ci-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qb {
  width: 26px;
  height: 26px;
  background: rgba(249, 230, 192, 0.06);
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qb:hover {
  background: rgba(237, 97, 59, 0.2);
}
.qn {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.85rem;
  color: var(--cream);
  min-width: 18px;
  text-align: center;
}

/* Grind selector in cart */
.grind-sel {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.gbtn {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.65rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(249, 230, 192, 0.12);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.15s;
}
.gbtn.active {
  opacity: 1;
  border-color: var(--org);
  color: var(--org);
}
.gbtn:hover {
  opacity: 0.8;
}

/* Delivery form */
.delivery-form {
  background: rgba(249, 230, 192, 0.04);
  border: 1px solid rgba(249, 230, 192, 0.08);
  padding: 1.2rem;
  margin-top: 1rem;
}
.df-title {
  font-family: 'Handicrafts', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.df-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.df-row.full {
  grid-template-columns: 1fr;
}
.df-input {
  width: 100%;
  background: rgba(249, 230, 192, 0.06);
  border: 1px solid rgba(249, 230, 192, 0.1);
  color: var(--cream);
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  cursor: text;
}
.df-input:focus {
  border-color: rgba(237, 97, 59, 0.35);
}
.df-input::placeholder {
  color: var(--cream);
  opacity: 0.28;
}
.df-label {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.72rem;
  color: var(--cream);
  opacity: 0.45;
  margin-bottom: 0.3rem;
  display: block;
}
.df-group {
  margin-bottom: 0.5rem;
}
.df-select {
  width: 100%;
  background: rgba(249, 230, 192, 0.06);
  border: 1px solid rgba(249, 230, 192, 0.1);
  color: var(--cream);
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
}
.df-select option {
  background: var(--dark);
  color: var(--cream);
}
.df-notes {
  width: 100%;
  background: rgba(249, 230, 192, 0.06);
  border: 1px solid rgba(249, 230, 192, 0.1);
  color: var(--cream);
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  resize: none;
  height: 60px;
  transition: border-color 0.2s;
  cursor: text;
}
.df-notes::placeholder {
  color: var(--cream);
  opacity: 0.28;
}

.cpfoot {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(249, 230, 192, 0.07);
}
.cptotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cptlbl {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.3;
}
.cptvl {
  font-family: 'Handicrafts', serif;
  font-size: 1.6rem;
  color: var(--cream);
}
.wabtn {
  width: 100%;
  padding: 1rem;
  background: #25d366;
  border: none;
  color: white;
  font-family: 'IranSansX', sans-serif;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.2s;
}
.wabtn:hover {
  background: #1fb856;
}

/* MODAL */
.modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 20, 0.82);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-ov.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: min(680px, 95vw);
  max-height: 90vh;
  background: #1a2028;
  z-index: 1201;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(249, 230, 192, 0.08);
}
.modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}
.modal-img-wrap {
  width: 100%;
  height: 320px;
  background: #1a2028;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}
.modal-cat {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--org);
  margin-bottom: 0.5rem;
}
.modal-name {
  font-family: 'Handicrafts', serif;
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.modal-desc {
  font-family: 'IranSansX', sans-serif;
  font-size: 0.92rem;
  color: var(--cream);
  opacity: 0.6;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.modal-weight-sel {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.modal-wbtn {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(249, 230, 192, 0.15);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.18s;
  text-transform: uppercase;
}
.modal-wbtn.active {
  opacity: 1;
  border-color: var(--org);
  color: var(--org);
  background: rgba(237, 97, 59, 0.08);
}
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(249, 230, 192, 0.08);
}
.modal-price {
  font-family: 'Handicrafts', serif;
  font-size: 1.8rem;
  color: var(--cream);
}
.modal-add {
  font-family: 'IranSansX', sans-serif;
  background: var(--org);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-add:hover {
  background: var(--org2);
}
.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(34, 40, 51, 0.8);
  border: none;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover {
  background: rgba(237, 97, 59, 0.3);
}

/* REVEAL */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.rv.vis {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 5% 4rem;
  }
  .hero-right {
    display: none;
  }
  .numbar {
    grid-template-columns: 1fr 1fr;
  }
  .story-sec {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 6rem 5%;
  }
  .proc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .omethods {
    grid-template-columns: 1fr;
  }
  .ftop {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .bpanel.active {
    grid-template-columns: 1fr;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .review-form-wrap {
    position: static;
  }
  .df-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .proc-grid {
    grid-template-columns: 1fr;
  }
  .ftop {
    grid-template-columns: 1fr;
  }
  .prod-sec,
  .story-sec,
  .ord-sec,
  .proc-sec,
  .brew-sec,
  .reviews-sec {
    padding-left: 4%;
    padding-right: 4%;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }
  .pgrid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.fcol ul li {
  margin-bottom: 0.6rem;
  text-align: right;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row;
}

.social-link:hover svg,
.social-link:hover {
  opacity: 1;
}

.map-btn {
  display: inline-block;
  font-family: 'IranSansX', sans-serif;
  font-size: 0.82rem;
  color: white !important;
  opacity: 0.9 !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.map-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* VIEW TOGGLE */
.view-toggle {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.vtbtn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.2s;
}
.vtbtn.active,
.vtbtn:hover {
  opacity: 1;
  background: white;
  color: var(--org);
  border-color: white;
}

/* LIST VIEW */
.pgrid.list-view {
  grid-template-columns: 1fr;
  background: transparent;
  gap: 1px;
}
.pgrid.list-view .pcard {
  flex-direction: row;
  min-height: 110px;
  height: auto;
  cursor: pointer;
  overflow: visible;
}
.pgrid.list-view .pimg-wrap {
  width: 110px;
  min-height: 110px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
}
.pgrid.list-view .pbody {
  padding: 0.8rem 1.2rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}
.pgrid.list-view .pdesc {
  display: none;
}
.pgrid.list-view .weight-sel {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .pgrid.list-view .pcard {
    height: auto;
    min-height: 90px;
  }
  .pgrid.list-view .pimg-wrap {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }
  .pgrid.list-view .pimg-zoom {
    display: none;
  }

  .pgrid.list-view .pbody {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.5rem 0.7rem;
    overflow: visible;
  }
  .pgrid.list-view .pname {
    font-size: 0.9rem;
    line-height: 1.15;
  }
  .pgrid.list-view .pcat {
    font-size: 0.48rem;
  }
  .pgrid.list-view .wbtn {
    font-size: 0.5rem;
    padding: 0.25rem 0.5rem;
  }
  .pgrid.list-view .weight-sel {
    margin-bottom: 0;
  }
  .pgrid.list-view .pfooter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.35rem;
    margin-top: 0.35rem;
    width: 100%;
    flex-shrink: 0;
    gap: 0.5rem;
  }
  .pgrid.list-view .pprice {
    font-size: 0.95rem;
  }
  .pgrid.list-view .addbtn {
    font-size: 0.7rem;
    padding: 5px 9px;
    flex-shrink: 0;
  }
}

@media (min-width: 769px) {
  .pgrid.list-view .pcard {
    min-height: 110px;
    height: auto;
  }
  .pgrid.list-view .pbody {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    flex: 1;
    overflow: hidden;
  }
  .pgrid.list-view .pcat {
    white-space: nowrap;
    min-width: 80px;
  }
  .pgrid.list-view .pname {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
  }
  .pgrid.list-view .weight-sel {
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .pgrid.list-view .pfooter {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    margin-right: 0;
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    flex-shrink: 0;
  }
  .pgrid.list-view .pprice {
    white-space: nowrap;
  }
}

/* SPLASH SCREEN */
#splash {
  position: fixed;
  inset: 0;
  background: #f9e6c0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#splash.hide {
  opacity: 0;
  visibility: hidden;
}
#splash-logo {
  width: 52vw;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  animation: splash-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes splash-pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* INSTALL BAR */
#install-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark);
  border: 1px solid rgba(237, 97, 59, 0.3);
  border-radius: 50px;
  padding: 0.55rem 0.55rem 0.55rem 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: install-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@media (max-width: 768px) {
  #install-bar {
    display: none !important;
  }
}
#install-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--org);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  font-family: 'IranSansX', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
#install-btn:hover {
  background: var(--org2);
}
#install-close {
  background: none;
  border: none;
  color: rgba(249, 230, 192, 0.5);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: color 0.2s;
  line-height: 1;
}
#install-close:hover {
  color: var(--cream);
}

/* ============================================================
   التحسينات الجديدة — Bottom Nav + Sticky CTA + Skeleton + Animations
   ============================================================ */

/* ── 1. PROGRESS BAR ── */
#page-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
#page-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--org), #f5a623);
  transition: width 0.3s ease, opacity 0.5s ease;
  border-radius: 0 2px 2px 0;
}

/* ── 2. SKELETON LOADING ── */
.skel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.skel-card {
  background: #1a2028;
  display: flex;
  flex-direction: column;
}
.skel-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #1e2630 25%, #252f3d 50%, #1e2630 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skel-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.skel-line {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1e2630 25%, #252f3d 50%, #1e2630 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skel-line.short {
  width: 45%;
}
.skel-line.medium {
  width: 70%;
}
.skel-line.long {
  width: 90%;
}
.skel-btn {
  height: 36px;
  border-radius: 6px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, #1e2630 25%, #252f3d 50%, #1e2630 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ── 3. MICRO-ANIMATIONS ── */

/* السعر يتغير بـ flash خفيف */
@keyframes price-flash {
  0% {
    color: white;
  }
  40% {
    color: var(--org);
    transform: scale(1.06);
  }
  100% {
    color: white;
    transform: scale(1);
  }
}
.price-changed {
  animation: price-flash 0.35s ease forwards;
}

/* زر أضف للسلة — نبضة */
@keyframes add-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.14);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
.addbtn.pop {
  animation: add-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* رقم السلة — يطير */
@keyframes badge-fly {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5) translateY(-3px);
  }
  100% {
    transform: scale(1);
  }
}
.cart-dot.fly {
  animation: badge-fly 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* الكاردات — slide-up أجمل */
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pcard.rv.vis {
  animation: card-in 0.45s ease forwards;
}

/* hover على الصورة */
.pimg-wrap {
  overflow: hidden;
}
.pimg-wrap img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pcard:hover .pimg-wrap img {
  transform: scale(1.07);
}

/* ── 5. BOTTOM NAVIGATION (موبايل فقط) ── */
.bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  /* إخفاء nav-links الأصلية — bottom nav يحل محلها */
  .nav-links {
    display: none !important;
  }
  /* تعويض ارتفاع الـ bottom nav */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  .cart-pnl {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  /* الـ install-bar يرتفع فوق bottom-nav */
  #install-bar {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--dark);
    border-top: 1px solid rgba(249, 230, 192, 0.12);
    z-index: 901; /* فوق الـ nav الأصلي z-index:900 */
    justify-content: space-around;
    align-items: center;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
  }
  .bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(249, 230, 192, 0.45);
    text-decoration: none;
    font-family: 'IranSansX', sans-serif;
    font-size: 0.58rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem 0.6rem;
    transition: color 0.2s;
    flex: 1;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .bnav-item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s;
    display: block;
  }
  .bnav-item.active,
  .bnav-item:active {
    color: var(--org);
  }
  .bnav-item.active svg {
    transform: translateY(-2px);
  }
  .bnav-badge {
    position: absolute;
    top: 4px;
    left: calc(50% + 6px);
    min-width: 16px;
    height: 16px;
    background: var(--org);
    border-radius: 8px;
    font-size: 0.55rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    transform: scale(0.7);
    pointer-events: none;
  }
  .bnav-badge.show {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── FAB INSTALL — زر تثبيت عائم صغير ── */
#fab-install {
  position: fixed;
  bottom: 1.8rem;
  left: 1.2rem;
  z-index: 890;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid rgba(237, 97, 59, 0.4);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s;
  opacity: 0.85;
}
#fab-install:hover {
  background: var(--org);
  transform: scale(1.1);
  opacity: 1;
}
#fab-install:active {
  transform: scale(0.95);
}
@media (max-width: 768px) {
  #fab-install {
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 0.8rem;
    width: 42px;
    height: 42px;
  }
}

/* ── زر أضف — حالة "تمت الإضافة" ── */
.addbtn.in-cart {
  background: #1a2028;
  color: var(--cream);
  border: 1px solid rgba(249, 230, 192, 0.25);
  gap: 6px;
}
.addbtn.in-cart:hover {
  background: #252f3d;
  transform: none;
}
.addbtn-qty {
  font-family: 'ObjectSans', sans-serif;
  font-size: 0.75rem;
  background: var(--org);
  color: white;
  border-radius: 20px;
  padding: 1px 7px;
  letter-spacing: 0.04em;
}
