:root {
  --primary: #1f8ff5;
  --primary-dark: #0d5ca8;
  --accent: #ff8f1f;
  --accent-strong: #ff6e00;
  --background: #f6f9fd;
  --surface: #ffffff;
  --surface-alt: #f0f5fb;
  --text: #16213e;
  --muted: #64748b;
  --border: #e4ebf3;
  --shadow: 0 22px 60px rgba(15, 35, 62, 0.09);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Poppins', 'Cairo', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 245, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--background) 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.site-wrapper { min-height: 100vh; }
body { font-size: 16px; }
.topbar {
  height: 28px;
  overflow: hidden;
  background: linear-gradient(90deg, #0d5ca8 0%, #1f8ff5 55%, #ff8f1f 100%);
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  letter-spacing: 0.02em;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 18s linear infinite;
  padding-inline-start: 100%;
  will-change: transform;
}
.topbar:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; font-size: 0.82rem; font-weight: 600; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(228, 235, 243, 0.9);
  box-shadow: 0 10px 30px rgba(15, 35, 62, 0.04);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.2rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.74rem;
  font-weight: 800;
  font-size: 1.15rem;
  transition: transform .2s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 52%, var(--accent) 100%);
  border: 1px solid rgba(255,255,255,0.36);
  color: white;
  box-shadow: 0 14px 30px rgba(18, 67, 122, 0.3);
  font-weight: 800;
  overflow: hidden;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset-inline-end: -12px;
  top: -16px;
  width: 32px;
  height: 76px;
  transform: rotate(33deg);
  background: rgba(255,255,255,0.2);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 12px rgba(255,255,255,0.75);
}
.brand__mark-ring {
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255,255,255,0.34);
  border-radius: 12px;
}
.brand__mark-core {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
.brand__text {
  color: var(--text);
  letter-spacing: -0.01em;
  font-weight: 800;
  font-size: 1.08rem;
  font-family: "Poppins", "Cairo", sans-serif;
}
.brand--footer .brand__text {
  color: #132849;
}
.searchbar {
  flex: 1;
  max-width: 720px;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(20,33,61,0.06);
}
.searchbar i { color: var(--muted); }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.searchbar button { flex-shrink: 0; white-space: nowrap; }
.searchbar i { flex-shrink: 0; }
.searchbar button {
  border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white; padding: 0.7rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.header-actions { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; justify-content: flex-end; }
.header-actions .header-pill {
  min-height: 44px;
}
.header-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 0.9rem; white-space: nowrap;
}
.header-pill strong { color: var(--accent-strong); font-weight: 700; }
.header-pill--cart { background: linear-gradient(90deg, rgba(255,138,0,0.12), rgba(29,155,240,0.08)); }
.header-pill--wishlist { background: linear-gradient(90deg, rgba(255,111,145,0.14), rgba(255,138,0,0.08)); }
.header-pill--wishlist i { color: #ff4d6d; }
.header-pill--wishlist strong { background: #ff4d6d; color: #fff; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 0.72rem; padding: 0 4px; }
.language-switch {
  padding: 0.7rem 0.8rem; border-radius: 999px; background: var(--surface-alt); font-weight: 600;
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 42px; padding-bottom: 0.9rem;
}
.nav-toggle { display: none; }
.category-nav { position: relative; }
.category-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(29, 155, 240, 0.18);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-nav__trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(29, 155, 240, 0.24);
}
.category-nav__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
}
.category-nav__chevron {
  margin-inline-start: auto;
  font-size: 0.8rem;
  opacity: 0.9;
}
.mega-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  inset-inline-start: 0;
  min-width: 360px;
  padding: 0.9rem;
  display: grid;
  gap: 0.45rem;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 20;
}
.category-nav:hover .mega-menu,
.category-nav:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-menu__item {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.92rem;
  transition: background .2s ease, color .2s ease;
}
.mega-menu__item:hover {
  background: linear-gradient(90deg, rgba(29,155,240,0.08), rgba(255,138,0,0.08));
  color: var(--primary-dark);
}
.primary-nav .nav-menu a {
  font-size: 0.95rem; color: var(--muted); font-weight: 600; padding: 0.2rem 0;
}
.primary-nav .nav-menu a:hover { color: var(--primary-dark); }
.primary-nav .nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.primary-nav .nav-menu li {
  margin: 0;
  padding: 0;
}

.homepage { padding-bottom: 3rem; }
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn--ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple__wave {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.5);
  pointer-events: none;
  animation: fk-ripple .6s ease-out;
}
@keyframes fk-ripple {
  to {
    transform: scale(18);
    opacity: 0;
  }
}

.product-sourcing {
  margin-top: 1.2rem;
}
.product-sourcing__shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.6rem;
  align-items: stretch;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid #cae5ff;
  background: linear-gradient(135deg, #dff1ff 0%, #f2f9ff 45%, #eef7ff 100%);
  box-shadow: 0 24px 56px rgba(22, 77, 136, 0.12);
}
.product-sourcing__content h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0d3f76;
}
.product-sourcing__lead {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 700;
  color: #145ca8;
}
.product-sourcing__description {
  margin: 0.75rem 0 1.2rem;
  color: #466388;
}
.product-sourcing__benefits {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.product-sourcing__benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.72rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  color: #2b4f7b;
  border: 1px solid #d5e9fb;
}
.product-sourcing__benefits i {
  color: var(--accent-strong);
}
.btn--sourcing {
  background: linear-gradient(135deg, #ff9f3b, #ff6e00);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 28px rgba(255, 110, 0, 0.25);
  border-radius: 999px;
  cursor: pointer;
}
.btn--sourcing:hover {
  box-shadow: 0 18px 34px rgba(255, 110, 0, 0.31);
}
.btn--block {
  width: 100%;
}

.product-sourcing__visual {
  display: flex;
  align-items: center;
}
.product-sourcing-illustration {
  width: 100%;
  min-height: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d6e8fb;
  box-shadow: 0 18px 38px rgba(21, 63, 116, 0.12);
  padding: 0.55rem;
}
.product-sourcing-illustration svg {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.sourcing-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.sourcing-modal[hidden] {
  display: none;
}
.sourcing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 46, 0.64);
  backdrop-filter: blur(3px);
}
.sourcing-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e8fa;
  box-shadow: 0 30px 70px rgba(9, 30, 58, 0.28);
}
.sourcing-modal__close {
  position: absolute;
  top: 0.7rem;
  inset-inline-end: 0.7rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef5ff;
  color: #0f3d71;
  cursor: pointer;
  z-index: 2;
}
.sourcing-modal__panel {
  padding: 1.55rem;
}
.sourcing-modal__panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  color: #103d70;
}
.sourcing-modal__panel p {
  margin: 0 0 1rem;
  color: #4f6b8b;
}
.sourcing-form__notice {
  background: #fff3f2;
  border: 1px solid #ffd7d4;
  color: #b4241e;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}
.sourcing-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.sourcing-form label {
  display: grid;
  gap: 0.35rem;
  color: #213d5f;
  font-weight: 600;
  font-size: 0.93rem;
}
.sourcing-form input,
.sourcing-form textarea {
  width: 100%;
  border: 1px solid #d4e5f8;
  border-radius: 14px;
  padding: 0.76rem 0.82rem;
  color: #102c4f;
  background: #fcfeff;
}
.sourcing-form input:focus,
.sourcing-form textarea:focus {
  outline: 2px solid rgba(31, 143, 245, 0.28);
  border-color: #8ec0f3;
}
.sourcing-form__full {
  grid-column: 1 / -1;
}
.sourcing-form__consent {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.95rem 0 1rem;
  font-size: 0.92rem;
}
.sourcing-form__consent input {
  width: 18px;
  height: 18px;
}

.sourcing-success {
  min-height: 430px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1rem;
}
.sourcing-success__icon {
  font-size: 2rem;
}

.hero-section {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  padding: 2.6rem 2.2rem;
  margin-top: 1.2rem;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(31, 143, 245, 0.12), rgba(255, 143, 31, 0.12), rgba(255,255,255,0.94));
  border: 1px solid rgba(228, 235, 243, 0.95);
  box-shadow: 0 35px 80px rgba(15, 35, 62, 0.08);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,143,31,0.22), transparent 70%);
  pointer-events: none;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 0.25rem 0 1rem; letter-spacing: -0.03em;
  color: #0c2344;
}
.hero-copy p { color: var(--muted); margin: 0 0 1.2rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.95rem 1.2rem; border-radius: 999px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 14px 28px rgba(31, 143, 245, 0.22); }
.btn--secondary { background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: 0 8px 16px rgba(15, 35, 62, 0.04); }
.hero-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats > div { background: rgba(255,255,255,0.9); border: 1px solid rgba(228, 235, 243, 0.95); padding: 0.9rem 1rem; border-radius: 18px; min-width: 120px; box-shadow: 0 8px 16px rgba(15, 35, 62, 0.04); }
.hero-stats strong { display: block; color: var(--primary-dark); font-size: 1.1rem; }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }
.hero-card {
  position: relative; overflow: hidden; border-radius: 34px; box-shadow: 0 25px 60px rgba(15, 35, 62, 0.12); min-height: 440px;
  border: 1px solid rgba(255,255,255,0.7);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__overlay {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem; background: linear-gradient(180deg, transparent, rgba(20,33,61,0.8));
  color: white;
}
.hero-card__overlay span { display: inline-block; margin-bottom: 0.5rem; padding: 0.35rem 0.7rem; background: rgba(255,138,0,0.15); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; font-size: 0.8rem; }
.hero-card__overlay h3 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.hero-card__overlay p { margin: 0; color: rgba(255,255,255,0.9); }

.section { padding: 2rem 0 0.5rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2 { margin: 0.2rem 0 0; font-size: 1.42rem; font-weight: 800; }
.section-heading__eyebrow { margin: 0; color: var(--primary); text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.73rem; font-weight: 700; }
.section-heading a { color: var(--primary-dark); font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.25rem 0.9rem; border-radius: 24px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20,33,61,0.05); min-height: 132px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(20,33,61,0.09); }
.category-card i { font-size: 1.35rem; color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%); border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: 0 16px 42px rgba(20,33,61,0.06); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(20,33,61,0.1); }
.product-card__image-wrap { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card__image-wrap img { transform: scale(1.04); }
.card-badge { position: absolute; top: 0.8rem; inset-inline-start: 0.8rem; z-index: 2; padding: 0.38rem 0.7rem; border-radius: 999px; font-size: 0.76rem; font-weight: 700; color: white; }
.card-badge--sale { background: var(--accent); }
.card-badge--stock { background: var(--primary-dark); }
.product-card__content { padding: 1rem 1rem 1.2rem; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; font-size: 0.84rem; color: var(--muted); }
.product-card__rating { color: var(--accent); font-weight: 700; }
.product-card__tag { background: var(--surface-alt); padding: 0.25rem 0.6rem; border-radius: 999px; }
.product-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.product-card__price { margin: 0 0 0.9rem; font-size: 1.08rem; font-weight: 800; color: var(--primary-dark); }
.product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.btn--ghost { background: var(--surface-alt); color: var(--text); padding: 0.7rem 0.95rem; }
.icon-btn { border: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-alt); cursor: pointer; color: var(--accent); }
.brand-showcase { padding-top: 2.2rem; }
.brand-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.brand-pill { display: flex; justify-content: center; align-items: center; padding: 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; color: var(--muted); }
.newsletter-section { padding: 2.5rem 0 0; }
.newsletter-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; background: linear-gradient(135deg, rgba(31,143,245,0.18), rgba(255,143,31,0.16)); border: 1px solid rgba(31,143,245,0.16); border-radius: 36px; padding: 2.3rem; box-shadow: 0 28px 60px rgba(15, 35, 62, 0.09); }
.newsletter-card h2 { margin: 0.2rem 0 0.4rem; font-size: 1.6rem; }
.category-hero, .department-banner {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.2rem; align-items: center;
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(31,143,245,0.12), rgba(255,143,31,0.12), #ffffff);
  border: 1px solid var(--border);
  box-shadow: 0 22px 50px rgba(15, 35, 62, 0.07);
  margin-bottom: 1.2rem;
}
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.category-showcase-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(20,33,61,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-showcase-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(20,33,61,0.1); }
.category-showcase-card img { width: 100%; height: 210px; object-fit: cover; }
.category-showcase-card__body { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; padding: 1rem 1.05rem 1.15rem; }
.category-showcase-card__eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
}
.category-showcase-card h3 { margin: 0; font-size: 1.03rem; }
.category-showcase-card p { margin: 0; color: var(--muted); line-height: 1.6; flex: 1; }
.category-showcase-card a { color: var(--primary-dark); font-weight: 700; }
.category-hero__card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(228,235,243,0.95);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(15,35,62,0.05);
}
.vendor-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; align-items: center;
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(31,143,245,0.1), rgba(255,143,31,0.1), #ffffff);
  border: 1px solid var(--border);
  box-shadow: 0 24px 55px rgba(15,35,62,0.07);
}
.vendor-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: 0 14px 35px rgba(15,35,62,0.05);
}
.vendor-stats { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1rem; }
.vendor-stats > div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0.8rem 1rem; min-width: 110px; }
.vendor-stats strong { display: block; color: var(--primary-dark); font-size: 1.05rem; }
.vendor-stats span { color: var(--muted); font-size: 0.85rem; }
.offers-banner {
  padding: 2.1rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,143,31,0.16), rgba(31,143,245,0.14), #ffffff);
  border: 1px solid var(--border);
  box-shadow: 0 22px 50px rgba(15,35,62,0.07);
  margin-bottom: 1.2rem;
}
.product-page, .cart-page, .checkout-page { padding-top: 2rem; }
.product-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.product-gallery img { border-radius: 28px; box-shadow: var(--shadow); }
.product-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 0.8rem; }
.product-thumbs img { border-radius: 18px; height: 90px; object-fit: cover; }
.product-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 30px; padding: 1.5rem; box-shadow: var(--shadow); }
.product-price { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); margin: 0.6rem 0; }
.product-rating { color: var(--accent); font-weight: 700; margin-bottom: 0.8rem; }
.variant-list { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.variant-pill { padding: 0.6rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-alt); }
.variant-pill.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-color: transparent; }
.product-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1rem 0 1.2rem; }
.info-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.info-box > div { background: var(--surface-alt); border-radius: 16px; padding: 0.8rem; }
.info-box strong { display: block; }
.product-tabs { margin-top: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 1.2rem; box-shadow: var(--shadow); }
.product-tabs__head { display: flex; gap: 0.7rem; border-bottom: 1px solid var(--border); padding-bottom: 0.8rem; margin-bottom: 0.8rem; }
.product-tabs__head button { border: 0; background: var(--surface-alt); border-radius: 999px; padding: 0.65rem 0.95rem; font-weight: 700; cursor: pointer; }
.product-tabs__head button.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; }
.cart-page { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.2rem; }
.cart-card, .checkout-card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 1.3rem; box-shadow: var(--shadow); }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 78px; height: 78px; object-fit: cover; border-radius: 16px; }
.qty { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-alt); font-weight: 700; }
.summary-row { display: flex; justify-content: space-between; margin: 0.6rem 0; color: var(--muted); }
.summary-row.total { font-size: 1.1rem; color: var(--text); font-weight: 800; }
.checkout-form { display: grid; gap: 0.8rem; }
.checkout-form input { width: 100%; border: 1px solid var(--border); border-radius: 16px; padding: 0.9rem 1rem; }
.content-stack {
  display: grid;
  gap: 1rem;
}
.info-card,
.policy-block,
.tracking-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 14px 32px rgba(20,33,61,0.06);
}
.info-card h2,
.policy-block h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
}
.info-card p,
.policy-block p {
  margin: 0.35rem 0;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-grid {
  display: grid;
  gap: 0.75rem;
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.82rem 0.95rem;
  background: #fff;
}
.faq-list {
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 26px rgba(20,33,61,0.05);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}
.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}
.tracking-box .form-grid {
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
}
.status-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.status-chip {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px dashed #cdd8e6;
  background: #f8fbff;
  color: #506278;
  font-size: 0.92rem;
}
.status-chip strong {
  margin-inline-end: 0.3rem;
}
.status-chip.is-done {
  border-style: solid;
  border-color: #b8e5cb;
  background: #edf9f2;
  color: #257f4d;
}
.status-chip.is-active {
  border-style: solid;
  border-color: #bfd7f5;
  background: #eef5ff;
  color: #1f5fa8;
}
.newsletter-card p { margin: 0; color: var(--muted); }
.newsletter-form { display: flex; gap: 0.8rem; width: min(420px, 100%); }
.newsletter-form input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 0.9rem 1rem; }
.newsletter-form button { border: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 999px; padding: 0.9rem 1rem; font-weight: 700; cursor: pointer; }
.site-footer { padding: 3rem 0 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--border); background: linear-gradient(180deg, #fdfefe 0%, #f6f9fd 100%); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem; }
.site-footer h4 { margin: 0 0 0.9rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; color: var(--muted); }
.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); }
.whatsapp-float {
  position: fixed;
  inset-inline-end: 1.2rem;
  bottom: 1.2rem;
  z-index: 1200;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.28);
  font-size: 1.55rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 22px 42px rgba(18, 140, 126, 0.32); }

@media (max-width: 1024px) {
  .product-sourcing__shell { grid-template-columns: 1fr; }
  .hero-section { grid-template-columns: 1fr; padding: 1.8rem; }
  .product-hero, .cart-page { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-box { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-main { flex-wrap: wrap; gap: 0.8rem; }
  .searchbar { max-width: 100%; }
}

@media (max-width: 780px) {
  .product-sourcing__shell { padding: 1.2rem; border-radius: 22px; }
  .product-sourcing__benefits { grid-template-columns: 1fr; }
  .sourcing-modal__panel { padding: 1.05rem; }
  .sourcing-form__grid { grid-template-columns: 1fr; }
  .header-main { flex-wrap: wrap; padding: 0.8rem 0 0.4rem; }
  .searchbar { order: 3; width: 100%; max-width: none; }
  .header-actions { width: 100%; justify-content: space-between; gap: 0.5rem; }
  .header-pill { padding: 0.6rem 0.75rem; }
  .nav-bar { padding-bottom: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; border: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 999px; padding: 0.75rem 0.95rem; box-shadow: 0 10px 20px rgba(31,143,245,0.18); }
  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: block;
    width: 100%;
    margin-top: 0.7rem;
  }
  .primary-nav.is-open .nav-menu {
    display: grid;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.8rem;
    box-shadow: 0 14px 28px rgba(20,33,61,0.08);
  }
  .primary-nav.is-open .nav-menu a {
    display: block;
    padding: 0.45rem 0.35rem;
  }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .category-showcase-grid { grid-template-columns: 1fr; }
  .category-hero--premium { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-card, .section-heading { flex-direction: column; align-items: flex-start; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .tracking-box .form-grid { grid-template-columns: 1fr; }
  .status-timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 54px; height: 54px; inset-inline-end: 0.9rem; bottom: 0.9rem; }
}

@media (max-width: 520px) {
  .product-sourcing__shell { padding: 1rem; }
  .sourcing-modal { padding: 0.5rem; }
  .sourcing-modal__dialog { border-radius: 14px; }
  .topbar { height: auto; padding: 0.35rem 0; }
  .ticker-track { gap: 1.2rem; font-size: 0.74rem; }
  .header-pill span { display: none; }
  .brand__text { font-size: 1rem; }
  .hero-stats { flex-direction: column; }
  .category-grid, .brand-row { grid-template-columns: 1fr; }
  .container { width: min(100%, calc(100% - 20px)); }
  .hero-section { padding: 1.2rem; }
  .section { padding: 1.4rem 0 0.5rem; }
  .category-hero, .department-banner { padding: 1.2rem; border-radius: 24px; }
  .category-showcase-card img { height: 180px; }
  .newsletter-card { padding: 1.4rem; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
