@font-face {
  font-family: 'Cairo';
  src: url('assets/Cairo.ttf') format('truetype');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --k: #111111;
  --k-2: #181818;
  --k-3: #222222;
  --k-border: #2B2B2B;
  --y: #F4B414;
  --y-hover: #FFBE1F;
  --y-dim: rgba(244, 180, 20, 0.14);
  --w: #F5F3EE;
  --w-2: #ECE8DF;
  --w-card: #FFFFFF;
  --w-border: #D8D2C5;
  --muted-dark: #9B9890;
  --muted-light: #5C5952;
  --green: #22C55E;
  --red: #EF4444;
  --font: 'Cairo', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--k);
  color: var(--w);
  direction: rtl;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.num {
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

/* ===== SIGNATURE DAKAR MOTIFS ===== */
.skew-tag {
  display: inline-flex;
  align-items: center;
  background: var(--y);
  color: var(--k);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 16px 6px;
  transform: skewX(-12deg);
  letter-spacing: 0.2px;
}
.skew-tag > span {
  display: inline-block;
  transform: skewX(12deg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--y);
  color: var(--k);
  font-weight: 900;
  font-size: 15px;
  padding: 12px 26px;
  transform: skewX(-10deg);
  transition: background 0.16s ease, transform 0.16s ease;
}
.btn-primary > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: skewX(10deg);
}
.btn-primary:hover {
  background: var(--y-hover);
  transform: skewX(-10deg) translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--w);
  border: 1.5px solid #444;
  font-weight: 800;
  font-size: 15px;
  padding: 11px 24px;
  transform: skewX(-10deg);
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.btn-secondary > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: skewX(10deg);
}
.btn-secondary:hover {
  border-color: var(--y);
  color: var(--y);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--k);
  color: var(--w);
  font-weight: 900;
  font-size: 14px;
  padding: 11px 20px;
  transition: background 0.16s ease, color 0.16s ease;
}
.btn-dark:hover {
  background: var(--y);
  color: var(--k);
}

.btn-flat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--y);
  color: var(--k);
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  transition: background 0.15s ease;
}
.btn-flat:hover {
  background: var(--y-hover);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--k-3);
  color: var(--w);
  border: 1px solid var(--k-border);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover {
  border-color: var(--y);
  color: var(--y);
}

/* ===== TOP ANNOUNCEMENT & NAVBAR ===== */
.announcement-bar {
  background: var(--y);
  color: var(--k);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ann-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ann-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
  margin: 0 auto;
}
.ann-dup {
  display: none;
}
.announcement-bar .sep {
  opacity: 0.4;
}
@keyframes ann-marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
@media (max-width: 768px) {
  .announcement-bar {
    padding: 8px 0;
    font-size: 12px;
    justify-content: flex-start;
  }
  .ann-track {
    justify-content: flex-start;
    width: max-content;
    animation: ann-marquee-rtl 18s linear infinite;
  }
  .ann-group {
    gap: 14px;
    padding-left: 28px;
    margin: 0;
  }
  .ann-dup {
    display: flex;
  }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--k-border);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.nav-brand img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #D5D2CA;
  transition: color 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--y);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-switch {
  display: inline-flex;
  border: 1px solid var(--k-border);
  background: var(--k-2);
  padding: 3px;
}
.mode-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted-dark);
  transition: all 0.15s ease;
}
.mode-btn.active {
  background: var(--y);
  color: var(--k);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--k-border);
  background: var(--k-2);
  color: var(--w);
  font-weight: 800;
  font-size: 13px;
  transition: border-color 0.15s ease;
}
.cart-btn:hover {
  border-color: var(--y);
}
.cart-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--y);
  color: var(--k);
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== HERO SECTION (Cat Footwear x Dr. Martens) ===== */
.hero {
  position: relative;
  background: var(--k);
  overflow: hidden;
  border-bottom: 3px solid var(--y);
}
.hero-stripe-1, .hero-stripe-2 {
  position: absolute;
  top: -15%;
  height: 135%;
  background: #221C0D;
  transform: skewX(-20deg);
  pointer-events: none;
}
.hero-stripe-1 { left: 8%; width: 140px; }
.hero-stripe-2 { left: 22%; width: 48px; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 24px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 1000;
  line-height: 1.12;
  margin: 18px 0 16px;
  letter-spacing: -0.5px;
}
.hero-title .accent {
  color: var(--y);
}
.hero-sub {
  font-size: 18px;
  color: #C7C3BA;
  max-width: 540px;
  margin-bottom: 26px;
  font-weight: 500;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid #333;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 800;
  color: var(--w);
}
.hero-chip::before {
  content: '';
  width: 12px;
  height: 4px;
  background: var(--y);
  transform: skewX(-20deg);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--k-border);
}
.hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 1000;
  color: var(--y);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 12px;
  color: var(--muted-dark);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  margin-right: auto;
}
.hero-stage {
  background: var(--w);
  color: var(--k);
  border: 2px solid var(--k);
  box-shadow: 10px 10px 0 var(--y);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.stage-float-top {
  position: absolute;
  top: 14px;
  right: 16px;
  left: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.stage-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stage-sku {
  background: rgba(17, 17, 17, 0.92);
  color: var(--y);
  font-size: 12px;
  font-weight: 900;
  padding: 3px 9px;
  letter-spacing: 0.5px;
}
.stage-sizes {
  font-size: 11px;
  font-weight: 800;
  color: var(--k);
  border: 1px solid rgba(17, 17, 17, 0.25);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.9);
}
.stage-canvas {
  position: relative;
  height: 360px;
  min-height: 360px;
  max-height: 360px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 16px 14px;
  background: #EBE7DF;
  overflow: hidden;
  flex-shrink: 0;
}
.stage-canvas.is-dark-bg {
  background: radial-gradient(circle at 50% 48%, #3A3834 0%, #1B1B1B 100%);
}
.stage-canvas.is-dark-bg .stage-watermark {
  color: rgba(255, 255, 255, 0.06);
}
.stage-canvas.is-dark-bg .stage-sizes {
  background: rgba(17, 17, 17, 0.85);
  color: var(--w);
  border-color: rgba(255, 255, 255, 0.25);
}
.stage-corner-tl, .stage-corner-br {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
}
.stage-corner-tl {
  top: 10px;
  left: 10px;
  border-top: 3px solid var(--y);
  border-left: 3px solid var(--y);
}
.stage-corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 3px solid var(--y);
  border-right: 3px solid var(--y);
}
.stage-watermark {
  position: absolute;
  font-size: 150px;
  font-weight: 1000;
  letter-spacing: 6px;
  color: rgba(17, 17, 17, 0.055);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}
.stage-shoe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 460px;
  max-height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(17, 17, 17, 0.24));
  transition: transform 0.28s ease;
}
.hero-stage:hover .stage-shoe {
  transform: scale(1.04);
}
.stage-floor {
  position: absolute;
  bottom: 18px;
  width: 72%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(17, 17, 17, 0.22), rgba(17, 17, 17, 0) 70%);
  pointer-events: none;
}
.stage-foot {
  background: #161616;
  color: var(--w);
  padding: 16px 18px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 2px solid var(--k);
}
.stage-info {
  min-width: 0;
  flex: 1;
}
.stage-name {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-mat {
  font-size: 12px;
  color: var(--muted-dark);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.stage-price {
  font-size: 24px;
  font-weight: 1000;
  color: var(--y);
  line-height: 1;
}
.stage-price small {
  font-size: 12px;
  font-weight: 800;
  color: var(--w);
}
.stage-cta {
  padding: 9px 18px;
  font-size: 13px;
}
.hero-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero-sw-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  height: 64px;
  background: var(--k-2);
  border: 1.5px solid var(--k-border);
  color: var(--w);
  text-align: right;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hero-sw-btn > div {
  min-width: 0;
  flex: 1;
}
.hero-sw-btn:hover {
  border-color: #555;
}
.hero-sw-btn.active {
  border-color: var(--y);
  background: #1D1A10;
}
.hero-sw-btn img {
  width: 44px;
  height: 44px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-sw-btn strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-sw-btn span {
  display: block;
  font-size: 11px;
  color: var(--y);
  font-weight: 800;
  margin-top: 2px;
}

/* ===== 3-LINE COLLECTIONS BAND (Off-White Editorial) ===== */
.section-light {
  background: var(--w);
  color: var(--k);
  padding: 68px 24px;
}
.section-dark {
  background: var(--k);
  color: var(--w);
  padding: 68px 24px;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 6px;
}
.section-dark .section-kicker {
  color: var(--y);
}
.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 1000;
  line-height: 1.18;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.collection-card {
  background: var(--w-card);
  border: 1.5px solid var(--k);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--y);
}
.collection-img-box {
  position: relative;
  height: 240px;
  background: #EBE7DF;
  border-bottom: 1.5px solid var(--k);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.collection-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(17, 17, 17, 0.18));
  transition: transform 0.25s ease;
}
.collection-card:hover .collection-img-box img {
  transform: scale(1.05);
}
.collection-img-box .skew-tag {
  position: absolute;
  top: 14px;
  right: 14px;
}
.collection-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.collection-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.collection-name {
  font-size: 22px;
  font-weight: 1000;
}
.collection-code {
  font-size: 12px;
  font-weight: 900;
  background: var(--k);
  color: var(--y);
  padding: 2px 8px;
}
.collection-desc {
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 16px;
  flex: 1;
}
.collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--w-border);
}
.collection-price {
  font-size: 20px;
  font-weight: 1000;
}
.collection-price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-light);
}

/* ===== CATALOG FILTER BAR & PRODUCT GRID (Carhartt WIP x Dr. Martens) ===== */
.catalog-section {
  background: var(--w);
  color: var(--k);
  padding: 20px 24px 80px;
  border-top: 1px solid var(--w-border);
}
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  border-bottom: 2px solid var(--k);
  margin-bottom: 28px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  border: 1.5px solid var(--k);
  background: transparent;
  color: var(--k);
  transition: all 0.15s ease;
}
.filter-tab:hover {
  background: var(--w-2);
}
.filter-tab.active {
  background: var(--k);
  color: var(--y);
}
.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-input, .select-input {
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--k);
  background: #fff;
  color: var(--k);
  font-size: 14px;
  font-weight: 700;
  outline: none;
}
.search-input:focus, .select-input:focus {
  border-color: var(--y);
  box-shadow: 0 0 0 2px rgba(244, 180, 20, 0.35);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--w-card);
  border: 1.5px solid #222;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--k);
}
.product-media {
  position: relative;
  height: 230px;
  background: #EBE7DF;
  border-bottom: 1px solid var(--w-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  overflow: hidden;
}
.product-media.is-dark-bg {
  background: radial-gradient(circle at 50% 48%, #3A3834 0%, #1B1B1B 100%);
  border-bottom-color: #2B2B2B;
}
.product-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(17, 17, 17, 0.18));
}
.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.sku-pill {
  background: var(--k);
  color: var(--w);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
}
.tag-pill {
  background: var(--y);
  color: var(--k);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  transform: skewX(-10deg);
}
.tag-pill span {
  display: inline-block;
  transform: skewX(10deg);
}
.out-badge {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.58);
  color: var(--w);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted-light);
  margin-bottom: 4px;
}
.product-title {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 4px;
  cursor: pointer;
}
.product-title:hover {
  text-decoration: underline;
}
.product-mat {
  font-size: 12px;
  color: var(--muted-light);
  margin-bottom: 12px;
}
.swatch-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.swatch-dot {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  transition: transform 0.14s ease;
}
.swatch-dot.active {
  outline: 2px solid var(--k);
  outline-offset: 2px;
}
.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--w-border);
}
.product-price {
  font-size: 20px;
  font-weight: 1000;
  line-height: 1;
}
.product-price small {
  font-size: 12px;
  font-weight: 800;
}

/* ===== BRAND ESSENCE BAND (01 / 02 / 03 from PDF) ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.pillar-card {
  background: var(--k-2);
  border: 1px solid var(--k-border);
  padding: 28px 24px;
  position: relative;
}
.pillar-num {
  font-size: 40px;
  font-weight: 1000;
  color: var(--y);
  line-height: 1;
  margin-bottom: 14px;
}
.pillar-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}
.pillar-card p {
  font-size: 14px;
  color: var(--muted-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: #0B0B0B;
  border-top: 1px solid var(--k-border);
  padding: 40px 24px;
  color: var(--muted-dark);
  font-size: 14px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer img {
  height: 36px;
}

/* ===== MODALS & DRAWERS ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--w);
  color: var(--k);
  border: 2px solid var(--k);
  box-shadow: 10px 10px 0 var(--y);
  position: relative;
}
.modal-dark {
  background: var(--k-2);
  color: var(--w);
  border: 1px solid var(--k-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  max-width: 580px;
}
.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  background: var(--k);
  color: var(--w);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.modal-close:hover {
  background: var(--y);
  color: var(--k);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.pdp-media {
  background: #EBE7DF;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-left: 1.5px solid var(--w-border);
}
.pdp-media.is-dark-bg {
  background: radial-gradient(circle at 50% 48%, #3A3834 0%, #1B1B1B 100%);
}
.pdp-zoom-wrap {
  position: relative;
  width: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}
.pdp-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.16s ease-out;
  will-change: transform;
  filter: drop-shadow(0 16px 20px rgba(17, 17, 17, 0.2));
}
.pdp-zoom-wrap.is-zooming {
  cursor: crosshair;
}
.pdp-zoom-hint {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(17, 17, 17, 0.85);
  color: var(--y);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  pointer-events: none;
  z-index: 3;
}
.pdp-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.pdp-thumb {
  width: 60px;
  height: 48px;
  padding: 3px;
  background: #fff;
  border: 1.5px solid var(--w-border);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-thumb.active {
  border-color: var(--k);
  box-shadow: 0 0 0 2px var(--y);
}

/* Fullscreen Lightbox with Zoom */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-top {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lightbox-stage {
  position: relative;
  width: min(92vw, 1040px);
  height: min(76vh, 720px);
  background: #EBE7DF;
  border: 2px solid var(--y);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.lightbox-stage.is-dark-bg {
  background: radial-gradient(circle at 50% 48%, #3A3834 0%, #1B1B1B 100%);
}
.lightbox-stage img {
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.14s ease-out;
  cursor: zoom-in;
}
.lightbox-stage.zoomed img {
  cursor: grab;
}
.lightbox-stage.zoomed img:active {
  cursor: grabbing;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(17, 17, 17, 0.88);
  color: var(--y);
  border: 1px solid var(--y);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.lightbox-nav.prev { right: 12px; }
.lightbox-nav.next { left: 12px; }
.lightbox-thumbs {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Dashboard Gallery Thumbnails */
.dash-gallery-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dash-gallery-item {
  position: relative;
  width: 68px;
  height: 54px;
  background: #fff;
  border: 1px solid var(--k-border);
  padding: 3px;
}
.dash-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dash-gallery-del {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  background: #EF4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-sku-box {
  margin-top: 18px;
  background: var(--k);
  color: var(--y);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 900;
}
.pdp-body {
  padding: 28px;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 18px;
}
.pdp-price {
  font-size: 32px;
  font-weight: 1000;
}
.pdp-surcharge {
  background: var(--y);
  color: var(--k);
  font-size: 12px;
  font-weight: 900;
  padding: 2px 8px;
}
.size-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 8px 0 16px;
}
.size-btn {
  padding: 8px 4px;
  border: 1.5px solid var(--k);
  background: #fff;
  color: var(--k);
  font-weight: 900;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.size-btn small {
  font-size: 10px;
  font-weight: 800;
  color: #9A6B00;
}
.size-btn.active {
  background: var(--k);
  color: var(--y);
}
.size-btn.active small {
  color: var(--w);
}

/* Cart Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: flex-end;
}
.drawer {
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--k-2);
  color: var(--w);
  border-right: 2px solid var(--y);
  display: flex;
  flex-direction: column;
}
.drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--k-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}
.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--k-border);
  background: var(--k);
}
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--k-border);
  align-items: center;
}
.cart-thumb {
  width: 68px;
  height: 68px;
  background: #fff;
  padding: 6px;
  object-fit: contain;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--k-border);
}
.qty-ctrl button {
  width: 26px;
  height: 26px;
  color: var(--w);
  font-weight: 900;
}
.qty-ctrl span {
  width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

/* Form controls inside dark modals/drawers */
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted-dark);
  margin-bottom: 5px;
}
.dark-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--k);
  border: 1px solid var(--k-border);
  color: var(--w);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.dark-input:focus {
  border-color: var(--y);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== ADMIN DASHBOARD (Linear Dark x Shopify/Salla RTL) ===== */
.dash-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: calc(100vh - 70px);
  background: var(--k);
}
.dash-sidebar {
  background: #0D0D0D;
  border-left: 1px solid var(--k-border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-side-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted-dark);
  padding: 8px 12px 4px;
  letter-spacing: 0.6px;
}
.dash-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  color: #C7C3BA;
  border-right: 3px solid transparent;
  transition: all 0.14s ease;
  text-align: right;
}
.dash-nav-btn:hover {
  background: var(--k-2);
  color: var(--w);
}
.dash-nav-btn.active {
  background: var(--y-dim);
  color: var(--y);
  border-right-color: var(--y);
}
.dash-nav-count {
  font-size: 11px;
  font-weight: 900;
  padding: 1px 7px;
  background: var(--k-3);
  color: var(--w);
}
.dash-nav-btn.active .dash-nav-count {
  background: var(--y);
  color: var(--k);
}

.dash-main {
  padding: 28px 30px 60px;
  min-width: 0;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--k-border);
}
.dash-header h1 {
  font-size: 24px;
  font-weight: 1000;
}
.dash-header p {
  font-size: 13px;
  color: var(--muted-dark);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--k-2);
  border: 1px solid var(--k-border);
  padding: 16px 18px;
  position: relative;
}
.kpi-card.highlight {
  border-color: var(--y);
  background: linear-gradient(180deg, rgba(244, 180, 20, 0.1), var(--k-2));
}
.kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-dark);
  margin-bottom: 8px;
}
.kpi-val {
  font-size: 26px;
  font-weight: 1000;
  line-height: 1.1;
}
.kpi-card.highlight .kpi-val {
  color: var(--y);
}
.kpi-sub {
  font-size: 11px;
  color: var(--muted-dark);
  margin-top: 6px;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  margin-bottom: 24px;
}
.panel {
  background: var(--k-2);
  border: 1px solid var(--k-border);
  padding: 18px 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.panel-title {
  font-size: 16px;
  font-weight: 900;
}

/* Charts */
.bar-row {
  margin-bottom: 14px;
}
.bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}
.bar-track {
  height: 12px;
  background: var(--k);
  border: 1px solid var(--k-border);
  overflow: hidden;
  display: flex;
}
.bar-fill-rev {
  background: var(--y);
  height: 100%;
}
.bar-fill-profit {
  background: var(--green);
  height: 100%;
}

/* Data Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--k-border);
  background: var(--k-2);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: right;
  padding: 11px 12px;
  background: #141414;
  color: var(--muted-dark);
  font-weight: 800;
  font-size: 12px;
  border-bottom: 1px solid var(--k-border);
  white-space: nowrap;
}
td {
  padding: 11px 12px;
  border-bottom: 1px solid #202020;
  vertical-align: middle;
}
tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.status-select {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid currentColor;
  background: var(--k);
  cursor: pointer;
}
.table-thumb {
  width: 42px;
  height: 42px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}
.toggle-pill {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid var(--k-border);
}
.toggle-pill.on {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border-color: #22C55E;
}
.toggle-pill.off {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border-color: #EF4444;
}

/* Bulk Action Bar & Checkboxes */
.bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: rgba(244, 180, 20, 0.12);
  border: 1.5px solid var(--y);
}
.bulk-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chk {
  width: 17px;
  height: 17px;
  accent-color: var(--y);
  cursor: pointer;
}
tr.row-selected td {
  background: rgba(244, 180, 20, 0.08) !important;
}

/* Image Upload Box & Auto Sizes Preview */
.upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--k);
  border: 1.5px dashed var(--k-border);
}
.upload-preview {
  width: 78px;
  height: 78px;
  background: #fff;
  padding: 5px;
  object-fit: contain;
  flex-shrink: 0;
}
.auto-sizes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding: 8px;
  background: var(--k);
  border: 1px solid var(--k-border);
}
.auto-size-pill {
  padding: 6px 8px;
  border: 1px solid var(--k-border);
  background: var(--k-2);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.auto-size-pill.special {
  border-color: rgba(244, 180, 20, 0.5);
}
.cms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Section Layout Manager in Dashboard */
.layout-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.layout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--k);
  border: 1px solid var(--k-border);
}
.layout-row.is-hidden {
  opacity: 0.52;
  border-style: dashed;
}
.layout-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.layout-order-num {
  width: 26px;
  height: 26px;
  background: var(--y);
  color: var(--k);
  font-size: 12px;
  font-weight: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.layout-row.is-hidden .layout-order-num {
  background: var(--k-3);
  color: var(--muted-dark);
}
.layout-row-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.size-seg {
  display: inline-flex;
  border: 1px solid var(--k-border);
  background: var(--k-2);
}
.size-seg button {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted-dark);
}
.size-seg button.active {
  background: var(--y);
  color: var(--k);
}

/* ===== STOREFRONT SECTION SIZE VARIANTS (Normal / Compact / Mini) ===== */
.sec-compact {
  padding-top: 34px !important;
  padding-bottom: 38px !important;
}
.sec-compact .section-head {
  margin-bottom: 18px !important;
}
.sec-compact .section-title {
  font-size: clamp(20px, 2.4vw, 28px) !important;
}
.sec-compact .collection-img-box {
  height: 165px !important;
}
.sec-compact .product-media {
  height: 170px !important;
}
.sec-compact .pillar-card {
  padding: 18px 16px !important;
}
.sec-compact .hero-inner {
  padding-top: 34px !important;
  padding-bottom: 38px !important;
  gap: 24px !important;
}
.sec-compact .hero-title {
  font-size: clamp(28px, 3.8vw, 46px) !important;
}
.sec-compact .stage-canvas {
  height: 215px !important;
}
.sec-compact .stage-shoe {
  max-height: 180px !important;
}

.sec-mini {
  padding-top: 18px !important;
  padding-bottom: 22px !important;
}
.sec-mini .section-head {
  margin-bottom: 12px !important;
}
.sec-mini .section-title {
  font-size: clamp(18px, 2vw, 22px) !important;
}
.sec-mini .collection-img-box {
  height: 115px !important;
  padding: 10px !important;
}
.sec-mini .collection-body {
  padding: 12px !important;
}
.sec-mini .collection-desc {
  display: none !important;
}
.sec-mini .product-media {
  height: 130px !important;
}
.sec-mini .product-info {
  padding: 10px 12px !important;
}
.sec-mini .pillar-card {
  padding: 12px 14px !important;
}
.sec-mini .pillar-num {
  font-size: 24px !important;
  margin-bottom: 6px !important;
}
.sec-mini .hero-inner {
  padding-top: 20px !important;
  padding-bottom: 22px !important;
  gap: 18px !important;
}
.sec-mini .hero-title {
  font-size: clamp(24px, 3vw, 34px) !important;
  margin: 8px 0 8px !important;
}
.sec-mini .hero-sub,
.sec-mini .hero-chips,
.sec-mini .hero-stats {
  display: none !important;
}
.sec-mini .stage-canvas {
  height: 155px !important;
}
.sec-mini .stage-shoe {
  max-height: 130px !important;
}
.sec-mini .hero-switcher {
  display: none !important;
}

@media (max-width: 900px) {
  .cms-grid { grid-template-columns: 1fr; }
  .auto-sizes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  background: var(--y);
  color: var(--k);
  font-weight: 900;
  font-size: 14px;
  padding: 12px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .collections-grid, .pillars-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar { flex-direction: row; overflow-x: auto; border-left: none; border-bottom: 1px solid var(--k-border); }
  .nav-links { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-visual {
    margin: 0 auto;
  }
  .stage-canvas {
    height: 290px;
    min-height: 290px;
    max-height: 290px;
  }
  .stage-shoe {
    max-height: 235px;
  }
  .stage-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 112px;
  }
  .stage-action {
    justify-content: space-between;
  }
  .hero-switcher {
    gap: 8px;
  }
  .hero-sw-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 9px 6px;
    height: 104px;
  }
  .hero-sw-btn > div {
    width: 100%;
  }
  .hero-sw-btn img {
    width: 54px;
    height: 44px;
  }
  .hero-sw-btn strong {
    font-size: 11px;
  }
  .hero-sw-btn span {
    font-size: 11px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }
  .filter-tab {
    width: 100%;
    text-align: center;
    padding: 10px 8px;
    font-size: 13px;
  }
  .filter-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .filter-controls .select-input {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
}
