:root {
  /* Dark mode colors (default) */
  --ks-bg: #050608;
  --ks-bg-alt: #0c0d11;
  --ks-bg-elevated: #14151c;
  --ks-accent: #f4c9a6;
  --ks-accent-soft: rgba(244, 201, 166, 0.18);
  --ks-accent-strong: #ffddae;
  --ks-accent-bright: #ffe8cc;
  --ks-cta-bg: linear-gradient(135deg, #fff2df 0%, #ffd7bf 38%, #ffc586 100%);
  --ks-cta-text: #120b08;
  --ks-cta-border: rgba(255, 221, 174, 0.95);
  --ks-text: #f5f5f5;
  --ks-text-muted: #a6a7b3;
  --ks-border-subtle: rgba(255, 255, 255, 0.08);
  --ks-border-strong: rgba(255, 255, 255, 0.18);
  --ks-error: #ff6b81;
  --ks-radius-lg: 32px;
  --ks-radius-md: 18px;
  --ks-radius-sm: 999px;
  --ks-shadow-soft: 0 40px 120px rgba(0, 0, 0, 0.55);
  --ks-shadow-subtle: 0 24px 60px rgba(0, 0, 0, 0.4);
  --ks-nav-height: 80px;
}

/* Light mode colors */
[data-theme="light"] {
  --ks-bg: #ffffff;
  --ks-bg-alt: #f8f9fa;
  --ks-bg-elevated: #ffffff;
  --ks-accent: #d4915c;
  --ks-accent-soft: rgba(212, 145, 92, 0.12);
  --ks-accent-strong: #c67f4a;
  --ks-accent-bright: #b87240;
  --ks-cta-bg: linear-gradient(135deg, #d4915c 0%, #c67f4a 50%, #b87240 100%);
  --ks-cta-text: #ffffff;
  --ks-cta-border: rgba(212, 145, 92, 0.4);
  --ks-text: #1a1a1a;
  --ks-text-muted: #666666;
  --ks-border-subtle: rgba(0, 0, 0, 0.08);
  --ks-border-strong: rgba(0, 0, 0, 0.15);
  --ks-error: #dc3545;
  --ks-shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --ks-shadow-subtle: 0 8px 24px rgba(0, 0, 0, 0.06);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #181927 0, #050608 45%, #050608 100%);
  color: var(--ks-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="light"] body {
  background: radial-gradient(circle at top left, #f8f9fa 0%, #ffffff 50%, #f5f5f5 100%);
}

body[dir="rtl"] {
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

#app-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAVIGATION */

.ks-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.92),
    rgba(5, 6, 8, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ks-nav {
  max-width: 1120px;
  margin: 0 auto;
  height: var(--ks-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}

.ks-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-logo-link {
  text-decoration: none;
  color: inherit;
}

.ks-logo-link:focus-visible {
  outline: 2px solid rgba(244, 201, 166, 0.7);
  outline-offset: 3px;
  border-radius: 10px;
}

.ks-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, #fff7ec 0, #f4c9a6 45%, #f39a7c 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #120b08;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 18px;
}

.ks-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ks-logo-image {
  height: 56px;
  width: auto;
  display: block;
}

.ks-mobile-brand {
  display: none;
}

.ks-mobile-lang-quick {
  display: none;
}

.ks-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.ks-nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ks-text-muted);
  border: 1px solid transparent;
  transition: all 0.2s ease-out;
}

.ks-nav-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.ks-nav-links a.active {
  background: rgba(244, 201, 166, 0.16);
  color: #fff7ec;
  border-color: rgba(244, 201, 166, 0.5);
}

.ks-nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-nav-links-tools {
  display: none;
}

.ks-nav-links-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

.ks-nav-links-tools-row + .ks-nav-links-tools-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-nav-links-tools-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ks-text-muted);
}

.ks-nav-links-tools-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ks-lang-toggle {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  font-size: 11px;
  background: rgba(12, 13, 17, 0.9);
  color: var(--ks-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.ks-lang-toggle.active {
  background: rgba(244, 201, 166, 0.16);
  color: #fff7ec;
  border-color: rgba(244, 201, 166, 0.7);
}

.ks-lang-toggle:hover {
  color: #fff;
}

.ks-currency-toggle {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(12, 13, 17, 0.9);
  color: var(--ks-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
  line-height: 1;
}

.ks-currency-toggle.active {
  background: rgba(255, 242, 223, 0.18);
  color: #fff7ec;
  border-color: rgba(255, 221, 174, 0.8);
}

.ks-currency-toggle:hover {
  color: #fff;
}

.ks-theme-toggle {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  font-size: 18px;
  background: rgba(12, 13, 17, 0.9);
  color: var(--ks-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
}

.ks-theme-toggle:hover {
  color: var(--ks-accent-strong);
  border-color: var(--ks-border-strong);
  background: rgba(244, 201, 166, 0.08);
}

[data-theme="light"] .ks-theme-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ks-theme-toggle:hover {
  background: rgba(212, 145, 92, 0.1);
  border-color: rgba(212, 145, 92, 0.3);
}

.ks-cart-button {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, #fff2df 0, #ffd7bf 44%, #b87a6b 100%);
  width: 46px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.ks-cart-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ks-cart-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #281210;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .ks-cart-icon svg {
  stroke: #ffffff;
}

.ks-cart-count {
  position: absolute;
  top: -6px;
  right: -2px;
  background: #120b08;
  color: #ffe5cc;
  border-radius: 999px;
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid #f4c9a6;
}

.ks-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 8, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.ks-nav-toggle:active {
  transform: scale(0.95);
  background: rgba(244, 201, 166, 0.1);
}

.ks-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  position: relative;
  transition: all 0.3s ease-out;
}

.ks-nav-toggle span + span {
  margin-top: 0;
}

.ks-nav-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.ks-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ks-nav-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */

.ks-hero {
  max-width: 1120px;
  margin: 20px auto 80px;
  padding: 24px 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 36px;
  align-items: center;
}

.ks-hero-media {
  width: 100%;
}

.ks-hero-main-image {
  position: relative;
  display: grid;
  border-radius: var(--ks-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 460px;
  max-height: 640px;
  background: radial-gradient(circle at top left, #fff7ec 0, #c9937d 30%, #1a1010 100%);
  box-shadow: var(--ks-shadow-soft);
}

.ks-hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.ks-hero-slide.is-active {
  opacity: 1;
}

.ks-hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.ks-hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to right,
    rgba(12, 9, 10, 0.94),
    rgba(12, 9, 10, 0.7),
    rgba(244, 201, 166, 0.15)
  );
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ks-hero-stack {
  display: grid;
  grid-template-rows: 1.2fr 0.8fr;
  gap: 12px;
}

.ks-hero-stack img:first-child {
  border-radius: 24px;
  object-fit: cover;
  height: 100%;
}

.ks-hero-stack img:last-child {
  border-radius: 24px;
  object-fit: cover;
  height: 100%;
}

.ks-hero-content {
  width: 100%;
  padding: 0 0 24px;
}

.ks-hero-overline {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ks-text-muted);
  margin: 0 0 12px;
}

.ks-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3.1vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
  text-align: center;
}

.ks-highlight {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(244, 201, 166, 0.12);
  border: 1px solid rgba(244, 201, 166, 0.36);
  font-size: 0.9em;
  margin-left: 4px;
}

.ks-hero-text {
  color: var(--ks-text-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 20px;
}

.ks-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ks-button {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease-out;
}

.ks-button-primary {
  background: var(--ks-cta-bg);
  color: var(--ks-cta-text);
  border: 1px solid var(--ks-cta-border);
  box-shadow: var(--ks-shadow-subtle);
}

.ks-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.7);
}

.ks-button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 242, 223, 0.06);
  color: rgba(255, 255, 255, 0.84);
}

.ks-button-ghost:hover {
  border-color: rgba(244, 201, 166, 0.5);
  color: #fff;
  background: rgba(255, 242, 223, 0.1);
}

.ks-button-secondary {
  border-color: rgba(244, 201, 166, 0.4);
  background: rgba(244, 201, 166, 0.1);
  color: #fff7ec;
}

.ks-button-secondary:hover {
  border-color: rgba(244, 201, 166, 0.65);
  background: rgba(244, 201, 166, 0.2);
}

.ks-hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-hero-note {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ks-home-banners {
  max-width: 1120px;
  margin: 20px auto 56px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
}

.ks-home-banner {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(100%, 1080px);
  aspect-ratio: 16 / 6;
  min-height: 160px;
  max-height: 280px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  opacity: 0;
  animation-duration: 980ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 0.84, 0.24, 1);
  will-change: transform, opacity, filter;
}

.ks-home-banner:nth-child(odd) {
  animation-name: ksBannerInLeft;
}

.ks-home-banner:nth-child(even) {
  animation-name: ksBannerInRight;
}

.ks-home-banner:nth-child(1) { animation-delay: 80ms; }
.ks-home-banner:nth-child(2) { animation-delay: 240ms; }
.ks-home-banner:nth-child(3) { animation-delay: 400ms; }
.ks-home-banner:nth-child(4) { animation-delay: 560ms; }

.ks-home-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.ks-home-banner-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.48);
  color: #2f3a30;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4.8vw, 76px);
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.ks-home-banner:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--ks-shadow-subtle);
}

.ks-home-banner:hover img {
  transform: scale(1.06);
}

.ks-home-banner:focus-visible {
  outline: 2px solid var(--ks-accent-strong);
  outline-offset: 2px;
}

.ks-home-music-toggle {
  position: fixed;
  right: 20px;
  bottom: 118px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 12, 18, 0.8);
  color: #f8fafc;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ks-home-music-toggle:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(18, 21, 30, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.ks-home-music-toggle.is-playing {
  background: linear-gradient(135deg, #d4915c, #b87240);
  border-color: rgba(255, 255, 255, 0.5);
  animation: ksMusicPulse 1.3s ease-in-out infinite;
}

@keyframes ksMusicPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes ksBannerInLeft {
  from {
    opacity: 0;
    transform: translateX(-120px) scale(0.94);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes ksBannerInRight {
  from {
    opacity: 0;
    transform: translateX(120px) scale(0.94);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ks-home-banner {
    animation: none;
    opacity: 1;
  }

  .ks-home-banner:hover {
    transform: none;
  }

  .ks-home-banner:hover img {
    transform: none;
  }

  .ks-home-music-toggle.is-playing {
    animation: none;
  }
}

.ks-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ks-accent);
}

/* SECTIONS G�0N�0RIQUES */

.ks-section {
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.ks-section-gradient {
  background: radial-gradient(circle at top right, rgba(244, 201, 166, 0.16), transparent 60%);
  padding-top: 40px;
  padding-bottom: 40px;
  border-radius: 32px;
}

.ks-section-dark {
  background: radial-gradient(circle at bottom left, #191827, #050608 60%);
  border-radius: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.ks-section-header {
  max-width: 640px;
  text-align: left;
  margin-bottom: 28px;
}

.ks-section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin: 0 0 8px;
}

.ks-section-header p {
  color: var(--ks-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.ks-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ks-tile {
  border-radius: 26px;
  padding: 10px;
  background: radial-gradient(circle at top left, rgba(244, 201, 166, 0.25), #14151c 46%, #050608 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--ks-shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ks-tile-image {
  border-radius: 20px;
  overflow: hidden;
}

.ks-tile-body h3 {
  margin: 6px 4px 4px;
  font-size: 16px;
}

.ks-tile-body p {
  margin: 0 4px 4px;
  font-size: 13px;
  color: var(--ks-text-muted);
}

.ks-section-cta {
  margin-top: 20px;
}

.ks-link-underline {
  position: relative;
  font-size: 13px;
  color: var(--ks-accent-strong);
}

.ks-link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: linear-gradient(to right, #f4c9a6, transparent);
  transition: width 0.2s ease-out;
}

.ks-link-underline:hover::after {
  width: 100%;
}

.ks-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: flex-start;
}

.ks-section-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin: 0 0 8px;
}

.ks-section-text p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ks-text-muted);
  line-height: 1.7;
}

.ks-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ks-text-muted);
}

.ks-list li::before {
  content: "� ";
  color: var(--ks-accent);
}

.ks-section-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ks-card-glass {
  border-radius: 24px;
  padding: 16px 18px;
  background: radial-gradient(circle at top left, rgba(244, 201, 166, 0.24), rgba(6, 7, 10, 0.98));
  border: 1px solid rgba(244, 201, 166, 0.45);
  box-shadow: var(--ks-shadow-subtle);
}

.ks-card-glass h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ks-card-glass p {
  margin: 0;
  font-size: 13px;
  color: var(--ks-text-muted);
}

.ks-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ks-stat {
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px dashed rgba(244, 201, 166, 0.5);
  background: rgba(5, 6, 8, 0.9);
}

.ks-stat-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.ks-stat-label {
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-bespoke-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ks-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 201, 166, 0.4);
  background: rgba(5, 6, 8, 0.9);
  font-size: 12px;
}

.ks-step-number {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(244, 201, 166, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* FORMULAIRES */

.ks-form {
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: rgba(6, 7, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--ks-shadow-subtle);
}

.ks-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.ks-form-row label {
  font-size: 12px;
  color: var(--ks-text-muted);
}

.ks-form-row input,
.ks-form-row select,
.ks-form-row textarea {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 8, 0.92);
  color: var(--ks-text);
  font-size: 13px;
  padding: 8px 12px;
}

.ks-form-row textarea {
  border-radius: 18px;
  resize: vertical;
}

.ks-form-row input:focus,
.ks-form-row select:focus,
.ks-form-row textarea:focus {
  outline: none;
  border-color: rgba(244, 201, 166, 0.6);
  box-shadow: 0 0 0 1px rgba(244, 201, 166, 0.3);
}

.ks-form-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .ks-form-row-group {
    grid-template-columns: 1fr;
  }
}

.ks-delivery-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.ks-delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 8, 0.5);
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.ks-delivery-option:hover {
  border-color: rgba(244, 201, 166, 0.4);
  background: rgba(5, 6, 8, 0.7);
}

.ks-delivery-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.ks-delivery-option input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--ks-accent);
}

.ks-showroom-info {
  margin: 16px 0;
}

.ks-info-box {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(212, 145, 92, 0.3);
  background: rgba(212, 145, 92, 0.08);
  font-size: 13px;
  line-height: 1.6;
}

.ks-info-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ks-accent);
}

.ks-info-box p {
  margin: 4px 0;
  color: var(--ks-text);
}

[data-theme="light"] .ks-delivery-option {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .ks-delivery-option:hover {
  border-color: rgba(198, 127, 74, 0.4);
  background: rgba(255, 255, 255, 1);
}

[data-theme="light"] .ks-info-box {
  border-color: rgba(212, 145, 92, 0.4);
  background: rgba(212, 145, 92, 0.1);
}

.ks-checkout-summary {
  margin: 12px 0 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 8, 0.75);
  font-size: 13px;
}

.ks-checkout-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}

.ks-checkout-summary strong {
  font-weight: 600;
}

.ks-form-error {
  font-size: 11px;
  color: var(--ks-error);
}

/* FOOTER */

.ks-footer {
  margin-top: auto;
  padding: 32px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, rgba(244, 201, 166, 0.11), #030305 45%);
}

.ks-footer-grid {
  max-width: 1120px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
  gap: 24px;
  font-size: 13px;
}

.ks-footer-text {
  margin: 10px 0 0;
  color: var(--ks-text-muted);
}

.ks-footer .ks-logo-image {
  height: 44px;
}

.ks-footer h4 {
  font-size: 13px;
  margin: 0 0 8px;
}

.ks-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ks-footer li {
  margin-bottom: 6px;
  color: var(--ks-text-muted);
}

.ks-footer a:hover {
  color: #fff;
}

.ks-footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ks-text-muted);
}

/* PANIER */

.ks-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  transform: translateX(100%);
  transition: transform 0.26s ease-out;
  z-index: 60;
}

.ks-cart-drawer.open {
  transform: translateX(0);
}

.ks-cart-drawer-inner {
  height: 100%;
  background: radial-gradient(circle at top left, rgba(244, 201, 166, 0.2), #050608 60%);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.75);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
}

.ks-cart-close {
  align-self: flex-end;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 6, 8, 0.9);
  color: #fff;
  cursor: pointer;
}

.ks-cart-items {
  margin-top: 10px;
  flex: 1;
  overflow: auto;
  padding-right: 4px;
}

.ks-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(6, 7, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ks-cart-item img {
  border-radius: 14px;
  object-fit: cover;
  height: 64px;
}

.ks-no-photo {
  width: 100%;
  height: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: var(--ks-text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.ks-no-photo-thumb {
  width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 10px;
  border: 1px dashed var(--ks-border-subtle);
  font-size: 10px;
  line-height: 1.25;
}

.ks-cart-item-title {
  font-size: 13px;
  margin-bottom: 4px;
}

.ks-cart-item-meta {
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.ks-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 2px 6px;
  font-size: 11px;
}

.ks-qty-control button {
  border: none;
  background: transparent;
  color: #fff;
  padding: 0 4px;
  cursor: pointer;
}

.ks-cart-remove {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 10, 10, 0.9);
  color: #ffd0c0;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.16s ease-out;
}

.ks-cart-remove:hover {
  border-color: rgba(255, 152, 138, 0.9);
  background: rgba(40, 15, 15, 0.95);
  color: #ffe5dd;
}

.ks-cart-summary {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 10px;
  font-size: 13px;
}

.ks-cart-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ks-cart-note {
  font-size: 11px;
  color: var(--ks-text-muted);
  margin: 0 0 10px;
}

.ks-admin-advanced {
  display: none;
}

/* MODAL CHECKOUT */

.ks-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
  z-index: 70;
  padding: 20px;
  overscroll-behavior: contain;
}

body.ks-no-scroll {
  overflow: hidden;
}

.ks-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ks-modal-content {
  max-width: 420px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 26px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top left, rgba(244, 201, 166, 0.22), #050608 56%);
  border: 1px solid rgba(244, 201, 166, 0.6);
  box-shadow: var(--ks-shadow-soft);
}

.ks-modal-close {
  border-radius: 999px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 6, 8, 0.9);
  color: #fff;
  cursor: pointer;
  float: right;
}

.ks-modal h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.ks-modal p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ks-text-muted);
}

/* POPUP PRODUIT */

.ks-product-modal .ks-modal-content {
  max-width: 980px;
}

.ks-product-modal-content {
  padding: 16px 16px 14px;
}

.ks-product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: start;
}

.ks-product-modal-media {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(6, 7, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ks-product-modal-media img,
.ks-product-modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ks-creator-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ks-creator-video {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
}

/* Créatrice page */

.ks-creator-section {
  padding-top: 48px;
  padding-bottom: 96px;
}

.ks-creator-layout {
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.ks-creator-text h1 {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.ks-creator-overline {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ks-text-muted);
  margin-bottom: 10px;
}

.ks-creator-text p + p {
  margin-top: 10px;
}

.ks-creator-media {
  position: relative;
  min-height: 340px;
}

.ks-creator-card {
  position: absolute;
  inset: 0;
  max-width: 360px;
  margin: auto;
  cursor: pointer;
  transition: transform 0.26s ease-out, box-shadow 0.26s ease-out,
    opacity 0.22s ease-out;
  --card-rotation: 0deg;
  transform: translateY(4px) scale(0.94) rotate(var(--card-rotation));
  opacity: 0.8;
}

.ks-creator-card--photo {
  left: -8%;
  --card-rotation: -6deg;
}

.ks-creator-card--video {
  right: -8%;
  --card-rotation: 6deg;
}

.ks-creator-card--photo:not(.is-front) {
  transform: translate(-32px, 10px) scale(0.9) rotate(-6deg);
}

.ks-creator-card--video:not(.is-front) {
  transform: translate(32px, 10px) scale(0.9) rotate(6deg);
}

.ks-creator-card.is-front {
  z-index: 3;
  transform: translateY(-10px) scale(1.06) rotate(0deg);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);
  opacity: 1;
}

.ks-creator-card:not(.is-front) {
  z-index: 1;
  opacity: 0.7;
}

.ks-creator-photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(
    circle at top left,
    #fff7ec 0,
    #c78b6e 32%,
    #130a0a 100%
  );
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.ks-creator-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ks-creator-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(9, 7, 6, 0.88);
  border: 1px solid rgba(244, 201, 166, 0.55);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}

.ks-creator-badge span:first-child {
  font-weight: 600;
}

.ks-creator-video-card {
  width: 100%;
  border-radius: 24px;
  background: rgba(12, 13, 17, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ks-creator-video-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(244, 201, 166, 0.16);
  border: 1px solid rgba(244, 201, 166, 0.6);
}

.ks-creator-video-wrapper {
  border-radius: 18px;
  overflow: hidden;
}

.ks-creator-video-wrapper .ks-creator-video {
  border-radius: 16px;
}

@media (max-width: 900px) {
  .ks-creator-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
    gap: 32px;
  }

  .ks-creator-media {
    max-width: 460px;
    margin: 0 auto;
  }

  .ks-creator-card {
    position: relative;
    max-width: none;
    left: 0;
    right: 0;
    transform: rotate(0deg);
    margin-bottom: 18px;
  }

  .ks-creator-card--photo,
  .ks-creator-card--video {
    --card-rotation: 0deg;
  }
}

.ks-product-modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ks-thumb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 7, 10, 0.9);
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease-out;
}

.ks-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ks-thumb.active {
  border-color: rgba(255, 221, 174, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 221, 174, 0.25);
}

.ks-thumb-video::after {
  content: "��";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 242, 223, 0.92);
  background: rgba(0, 0, 0, 0.25);
}

.ks-product-modal-text h2 {
  margin: 4px 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

.ks-product-modal-sub {
  margin: 0 0 10px;
  color: var(--ks-text-muted);
  font-size: 13px;
}

.ks-product-modal-desc {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.ks-product-modal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ks-product-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ks-qty-control-modal {
  background: rgba(5, 6, 8, 0.92);
}

/* PAGE BOUTIQUE */

body[data-page="shop"] main {
  max-width: 1120px;
  margin: 24px auto 80px;
  padding: 0 20px;
}

.ks-shop-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.ks-shop-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin: 0 0 4px;
}

.ks-shop-header p {
  margin: 0;
  font-size: 13px;
  color: var(--ks-text-muted);
}

.ks-shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ks-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  font-size: 12px;
  color: var(--ks-text-muted);
  background: rgba(5, 6, 8, 0.9);
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.ks-chip.active {
  background: rgba(244, 201, 166, 0.24);
  color: #fff7ec;
  border-color: rgba(244, 201, 166, 0.7);
}

.ks-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ks-product-card {
  position: relative;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(244, 201, 166, 0.3), #14151c 50%, #050608 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  box-shadow: var(--ks-shadow-subtle);
  display: flex;
  flex-direction: column;
}

.ks-product-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.ks-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease-out;
}

.ks-product-card:hover .ks-product-media img {
  transform: scale(1.06);
}

.ks-product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.88);
  font-size: 11px;
}

.ks-product-tag-sale {
  background: linear-gradient(135deg, #ff5c3a, #ff8a3d);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ks-product-body {
  padding: 12px 12px 10px;
}

.ks-product-title {
  font-size: 14px;
  margin-bottom: 4px;
}

.ks-product-meta {
  font-size: 12px;
  color: var(--ks-text-muted);
  margin-bottom: 6px;
}

.ks-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ks-price {
  font-size: 14px;
  font-weight: 500;
}

.ks-price-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.ks-price-original {
  font-size: 12px;
  color: var(--ks-text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 120, 120, 0.85);
}

.ks-price-sale {
  color: #b42318;
  font-weight: 700;
}

.ks-product-cta {
  width: 30px;
  height: 28px;
  min-width: 30px;
  padding: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ks-product-cta-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ks-product-cta-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ks-empty-state {
  text-align: center;
  font-size: 14px;
  color: var(--ks-text-muted);
  margin-top: 28px;
}

/* ADMIN */

body[data-page="admin"] main {
  max-width: 1440px;
  width: 100%;
  margin: 24px auto 80px;
  padding: 0 32px 40px;
}

.ks-admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.ks-admin-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin: 0 0 4px;
}

.ks-admin-header p {
  margin: 0;
  font-size: 13px;
  color: var(--ks-text-muted);
}

.ks-admin-stats {
  max-width: 1440px;
  margin: 0 auto 20px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.ks-admin-stat-card {
  border-radius: 18px;
  padding: 10px 12px;
  background: radial-gradient(circle at top left, rgba(244, 201, 166, 0.16), #050608 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.ks-admin-stat-label {
  color: var(--ks-text-muted);
  margin-bottom: 4px;
}

.ks-admin-stat-value {
  font-size: 16px;
  font-weight: 600;
}

.ks-admin-stat-sub {
  font-size: 11px;
  color: var(--ks-text-muted);
  margin-top: 2px;
}

.ks-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.ks-admin-shipping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.ks-admin-shipping-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 8, 0.75);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.ks-admin-shipping-cell input {
  width: 110px;
}

.ks-admin-shipping-override {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 8px;
  align-items: center;
}

.ks-admin-shipping-overrides {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ks-admin-override-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 16px;
  background: rgba(8, 9, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.ks-admin-override-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 12px;
  color: #fff7ec;
}

.ks-admin-shipping-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-admin-shipping-section:first-child {
  border-top: none;
  padding-top: 0;
}

.ks-admin-shipping-section strong {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ks-accent);
  background: rgba(212, 145, 92, 0.15);
  padding: 6px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(212, 145, 92, 0.3);
}

[data-theme="light"] .ks-admin-shipping-section {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-admin-shipping-section strong {
  background: rgba(212, 145, 92, 0.12);
  border-color: rgba(212, 145, 92, 0.4);
  color: #b87240;
}

.ks-admin-shipping-countries {
  max-height: 500px;
  overflow-y: auto;
}

.ks-admin-shipping-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.ks-admin-country-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(8, 9, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.ks-admin-country-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 11px;
  color: #fff7ec;
  font-weight: 600;
}

.ks-button-small {
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--ks-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.ks-button-small:hover {
  background: rgba(255, 42, 42, 0.2);
  border-color: rgba(255, 42, 42, 0.4);
  color: #ff4444;
}

[data-theme="light"] .ks-admin-country-row {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-admin-country-row code {
  color: #1a1a1a;
}

[data-theme="light"] .ks-button-small {
  border-color: rgba(0, 0, 0, 0.2);
  color: #666;
}

[data-theme="light"] .ks-button-small:hover {
  background: rgba(255, 42, 42, 0.1);
  border-color: rgba(255, 42, 42, 0.3);
  color: #cc0000;
}

/* === Admin Tabs === */
.ks-admin-tabs {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 24px;
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ks-border-subtle);
}

.ks-admin-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--ks-text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -2px;
}

.ks-admin-tab:hover {
  color: var(--ks-text);
}

.ks-admin-tab.active {
  color: var(--ks-accent);
  border-bottom-color: var(--ks-accent);
  font-weight: 600;
}

[data-admin-tab-content] {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Order Filters === */
.ks-admin-order-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.ks-admin-order-filters input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--ks-border-strong);
  background: var(--ks-bg-alt);
  color: var(--ks-text);
  font-size: 14px;
}

/* === Orders Container === */
.ks-admin-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === Order Card === */
.ks-admin-order-card {
  border-radius: 14px;
  background: var(--ks-bg-elevated);
  border: 1px solid var(--ks-border-subtle);
  overflow: hidden;
}

.ks-admin-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  gap: 12px;
  transition: background 0.15s;
}

.ks-admin-order-header:hover {
  background: var(--ks-accent-soft);
}

.ks-admin-order-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.ks-admin-order-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 13px;
}

.ks-admin-order-date {
  font-size: 12px;
  color: var(--ks-text-muted);
}

.ks-admin-order-total {
  font-weight: 600;
}

.ks-admin-order-chevron {
  font-size: 10px;
  color: var(--ks-text-muted);
  transition: transform 0.2s;
}

.ks-admin-order-chevron.open {
  transform: rotate(180deg);
}

/* Status badges */
.ks-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ks-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.ks-status-processing {
  background: #dbeafe;
  color: #1e40af;
}

.ks-status-shipped {
  background: #ede9fe;
  color: #5b21b6;
}

.ks-status-delivered {
  background: #d1fae5;
  color: #065f46;
}

.ks-status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* Order details (expandable) */
.ks-admin-order-details {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--ks-border-subtle);
}

.ks-admin-order-details.open {
  display: block;
}

.ks-admin-order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.ks-admin-order-info h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ks-text-muted);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.ks-admin-order-info p {
  margin: 2px 0;
  font-size: 13px;
}

.ks-admin-order-items-section {
  margin: 12px 0;
}

.ks-admin-order-items-section h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ks-text-muted);
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.ks-admin-order-items {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ks-admin-order-items th {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--ks-border-subtle);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ks-text-muted);
}

.ks-admin-order-items td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--ks-border-subtle);
}

.ks-admin-order-item-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-admin-order-item-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--ks-border-subtle);
  background: var(--ks-bg-alt);
  flex-shrink: 0;
}

.ks-admin-order-item-cell .ks-no-photo-thumb {
  width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 8px;
}

.ks-admin-order-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
  padding: 10px 0;
  border-top: 1px solid var(--ks-border-subtle);
  font-size: 13px;
}

.ks-admin-order-manage {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ks-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ks-admin-order-manage-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-admin-order-manage-row label {
  min-width: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ks-text-muted);
}

.ks-admin-order-manage-row select,
.ks-admin-order-manage-row input,
.ks-admin-order-manage-row textarea {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--ks-border-strong);
  background: var(--ks-bg-alt);
  color: var(--ks-text);
  font-size: 13px;
}

.ks-admin-order-manage-row textarea {
  resize: vertical;
}

.ks-admin-order-manage > .ks-button {
  align-self: flex-end;
}

.ks-ui-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 10, 14, 0.55);
  backdrop-filter: blur(3px);
}

.ks-ui-dialog {
  width: min(480px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(16, 18, 24, 0.98), rgba(26, 29, 36, 0.98));
  color: #f8fafc;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  padding: 18px 18px 16px;
}

.ks-ui-dialog h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.ks-ui-dialog p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
  font-size: 14px;
}

.ks-ui-dialog-input {
  width: 100%;
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 14, 0.85);
  color: #f8fafc;
  padding: 10px 12px;
  font-size: 14px;
}

.ks-ui-dialog-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 640px) {
  .ks-ui-dialog-overlay {
    padding: 14px;
    align-items: end;
  }

  .ks-ui-dialog {
    border-radius: 14px;
    padding: 16px 14px 14px;
  }

  .ks-ui-dialog-actions {
    flex-direction: column-reverse;
  }

  .ks-ui-dialog-actions .ks-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ks-admin-tabs {
    overflow-x: auto;
    padding: 0 12px;
  }

  .ks-admin-tab {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  [data-admin-tab-content] {
    padding: 0 12px;
  }

  .ks-admin-order-details-grid {
    grid-template-columns: 1fr;
  }

  .ks-admin-order-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ks-admin-order-manage-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ks-admin-order-manage-row label {
    min-width: auto;
  }

  .ks-admin-order-manage-row select,
  .ks-admin-order-manage-row input,
  .ks-admin-order-manage-row textarea {
    width: 100%;
  }
}

.ks-admin-panel,
.ks-admin-list {
  border-radius: 22px;
  padding: 16px 16px 18px;
  background: rgba(6, 7, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--ks-shadow-subtle);
}

.ks-admin-panel h2,
.ks-admin-list h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.ks-admin-actions {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
}

.ks-admin-list-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}

.ks-admin-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ks-admin-categories-manager {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.ks-admin-categories-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ks-admin-categories-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ks-admin-categories-add input {
  flex: 1;
  min-width: 180px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 8, 0.9);
  color: var(--ks-text);
  font-size: 13px;
  padding: 7px 12px;
}

.ks-admin-category-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ks-admin-filters input[type="search"] {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 8, 0.9);
  color: var(--ks-text);
  font-size: 13px;
  padding: 7px 12px;
}

.ks-admin-filters input[type="search"]::placeholder {
  color: var(--ks-text-muted);
}

.ks-admin-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ks-admin-products {
  margin-top: 8px;
}

.ks-admin-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  padding: 10px 10px;
  border-radius: 16px;
  margin-bottom: 8px;
  background: rgba(8, 9, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ks-admin-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.ks-admin-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ks-admin-model {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ks-admin-model img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.ks-admin-model-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: normal;
}

.ks-admin-model-name {
  font-weight: 500;
}

.ks-admin-model-sub {
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-admin-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ks-admin-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: var(--ks-text-muted);
}

.ks-admin-row-meta span {
  white-space: nowrap;
}

.ks-admin-row-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.ks-admin-row button {
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 242, 223, 0.12);
  color: rgba(255, 255, 255, 0.92);
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.ks-admin-row button:hover {
  border-color: rgba(255, 221, 174, 0.7);
  background: rgba(255, 242, 223, 0.18);
}

.ks-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.ks-pill-low {
  background: rgba(244, 201, 166, 0.16);
  color: #ffddae;
}

.ks-pill-out {
  background: rgba(255, 107, 129, 0.18);
  color: #ffb3c0;
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */

[data-theme="light"] .ks-shell {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.7)
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ks-nav-links a {
  color: var(--ks-text-muted);
}

[data-theme="light"] .ks-nav-links a:hover {
  color: var(--ks-text);
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .ks-nav-links a.active {
  background: rgba(212, 145, 92, 0.12);
  color: var(--ks-accent-strong);
  border-color: rgba(212, 145, 92, 0.3);
}

[data-theme="light"] .ks-nav-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ks-nav-toggle span {
  background: var(--ks-text);
}

[data-theme="light"] .ks-lang-toggle,
[data-theme="light"] .ks-currency-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--ks-text-muted);
}

[data-theme="light"] .ks-lang-toggle.active,
[data-theme="light"] .ks-currency-toggle.active {
  background: rgba(212, 145, 92, 0.15);
  color: var(--ks-accent-strong);
  border-color: rgba(212, 145, 92, 0.4);
}

[data-theme="light"] .ks-cart-button {
  background: radial-gradient(circle at top left, #d4915c 0, #c67f4a 50%, #b87240 100%);
  border-color: rgba(212, 145, 92, 0.3);
}

[data-theme="light"] .ks-cart-count {
  background: #ffffff;
  color: var(--ks-accent-strong);
  border-color: var(--ks-accent);
}

[data-theme="light"] .ks-card,
[data-theme="light"] .ks-section-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ks-hero-main-image {
  background: radial-gradient(circle at top left, #f8f9fa 0, #e9ecef 30%, #dee2e6 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ks-hero-badge {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85),
    rgba(212, 145, 92, 0.12)
  );
}

[data-theme="light"] .ks-tile {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-stat-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-stat {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(212, 145, 92, 0.3);
}

[data-theme="light"] .ks-highlight {
  background: rgba(212, 145, 92, 0.12);
  border-color: rgba(212, 145, 92, 0.36);
}

[data-theme="light"] .ks-button-primary {
  background: linear-gradient(135deg, #c67f4a 0%, #b87240 50%, #a56535 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-color: rgba(166, 101, 53, 0.4);
}

[data-theme="light"] .ks-button-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

[data-theme="light"] .ks-button-ghost {
  border-color: rgba(198, 127, 74, 0.4);
  background: rgba(212, 145, 92, 0.08);
  color: #a56535;
  font-weight: 500;
}

[data-theme="light"] .ks-button-ghost:hover {
  border-color: rgba(198, 127, 74, 0.6);
  background: rgba(212, 145, 92, 0.15);
  color: #8d5429;
}

[data-theme="light"] .ks-button-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text);
}

[data-theme="light"] .ks-button-secondary:hover {
  background: var(--ks-bg-alt);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .ks-product-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-product-card:hover {
  border-color: rgba(212, 145, 92, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-product-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ks-text);
}

[data-theme="light"] .ks-modal {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .ks-modal-content {
  background: radial-gradient(circle at top left, rgba(248, 249, 250, 0.98), #ffffff 56%);
  border-color: rgba(212, 145, 92, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .ks-modal-close {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text);
}

[data-theme="light"] .ks-form {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ks-form-row input,
[data-theme="light"] .ks-form-row select,
[data-theme="light"] .ks-form-row textarea {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text);
}

[data-theme="light"] .ks-form-row input:focus,
[data-theme="light"] .ks-form-row select:focus,
[data-theme="light"] .ks-form-row textarea:focus {
  border-color: var(--ks-accent);
  background: #ffffff;
}

[data-theme="light"] .ks-form-row input::placeholder,
[data-theme="light"] .ks-form-row textarea::placeholder {
  color: var(--ks-text-muted);
}

[data-theme="light"] .ks-cart-item {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-cart-total {
  background: rgba(248, 249, 250, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-admin-panel,
[data-theme="light"] .ks-admin-list {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ks-admin-stat-card {
  background: radial-gradient(circle at top left, rgba(212, 145, 92, 0.1), rgba(255, 255, 255, 0.9) 70%);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ks-admin-row {
  background: rgba(248, 249, 250, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ks-admin-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .ks-admin-order-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-admin-order-header:hover {
  background: rgba(212, 145, 92, 0.06);
}

[data-theme="light"] .ks-admin-order-details {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-admin-order-filters input[type="search"] {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-order-manage-row select,
[data-theme="light"] .ks-admin-order-manage-row input,
[data-theme="light"] .ks-admin-order-manage-row textarea {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-order-items th {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-admin-order-items td {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ks-admin-tab {
  color: #888;
}

[data-theme="light"] .ks-admin-tab:hover {
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-tab.active {
  color: var(--ks-accent-strong);
  border-bottom-color: var(--ks-accent-strong);
}

[data-theme="light"] .ks-admin-tabs {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-admin-shipping-cell {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ks-admin-filters input[type="search"] {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text);
}

[data-theme="light"] .ks-admin-categories-manager {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-admin-categories-add input {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text);
}

[data-theme="light"] .ks-pill {
  background: rgba(212, 145, 92, 0.15);
  color: var(--ks-accent-strong);
}

[data-theme="light"] .ks-pill-low {
  background: rgba(255, 193, 7, 0.15);
  color: #d39e00;
}

[data-theme="light"] .ks-pill-out {
  background: rgba(220, 53, 69, 0.15);
  color: #c82333;
}

/* Admin light mode - Complete styles with proper contrast */
[data-theme="light"] .ks-admin-header h1 {
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-header p {
  color: #666;
}

[data-theme="light"] .ks-admin-stat-label {
  color: #666;
}

[data-theme="light"] .ks-admin-stat-value {
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-stat-sub {
  color: #888;
}

[data-theme="light"] .ks-admin-shipping-cell {
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-override-row {
  background: rgba(248, 249, 250, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-override-row code {
  color: #333;
}

[data-theme="light"] .ks-admin-order-totals {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-admin-order-manage {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-admin-model-name {
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-model-sub {
  color: #888;
}

[data-theme="light"] .ks-admin-row-meta {
  color: #666;
}

[data-theme="light"] .ks-admin-row button {
  background: rgba(212, 145, 92, 0.12);
  border-color: rgba(198, 127, 74, 0.3);
  color: #8b5a2b;
}

[data-theme="light"] .ks-admin-row button:hover {
  background: rgba(212, 145, 92, 0.2);
  border-color: rgba(198, 127, 74, 0.5);
  color: #6d4522;
}

[data-theme="light"] .ks-admin-filters input[type="search"]::placeholder {
  color: #999;
}

[data-theme="light"] .ks-admin-panel h2,
[data-theme="light"] .ks-admin-list h2 {
  color: #1a1a1a;
}

/* Admin form inputs in light mode */
[data-theme="light"] .ks-admin-shipping-cell input {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-shipping-cell input:focus {
  background: #ffffff;
  border-color: rgba(198, 127, 74, 0.5);
  box-shadow: 0 0 0 2px rgba(212, 145, 92, 0.15);
}

[data-theme="light"] .ks-admin-shipping-override input,
[data-theme="light"] .ks-admin-shipping-override select {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
  color: #1a1a1a;
}

[data-theme="light"] .ks-admin-shipping-override input:focus,
[data-theme="light"] .ks-admin-shipping-override select:focus {
  background: #ffffff;
  border-color: rgba(198, 127, 74, 0.5);
  box-shadow: 0 0 0 2px rgba(212, 145, 92, 0.15);
}

[data-theme="light"] .ks-form-row label {
  color: #666;
}

[data-theme="light"] .ks-admin-chips button {
  background: rgba(212, 145, 92, 0.12);
  border-color: rgba(198, 127, 74, 0.3);
  color: #8b5a2b;
}

[data-theme="light"] .ks-admin-chips button:hover,
[data-theme="light"] .ks-admin-chips button.active {
  background: rgba(212, 145, 92, 0.25);
  border-color: rgba(198, 127, 74, 0.5);
  color: #6d4522;
}

[data-theme="light"] .ks-admin-products,
[data-theme="light"] .ks-admin-orders {
  color: #1a1a1a;
}

[data-theme="light"] .ks-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
  background: radial-gradient(circle at top, rgba(212, 145, 92, 0.08), rgba(248, 249, 250, 0.95) 45%);
}

[data-theme="light"] .ks-footer a:hover {
  color: var(--ks-text);
}

[data-theme="light"] .ks-section-gradient {
  background: radial-gradient(circle at top right, rgba(212, 145, 92, 0.12), transparent 60%);
}

[data-theme="light"] .ks-section-dark {
  background: radial-gradient(circle at bottom left, rgba(248, 249, 250, 0.98), rgba(255, 255, 255, 0.95) 60%);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ks-step {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(212, 145, 92, 0.4);
  color: var(--ks-text);
}

[data-theme="light"] .ks-step-number {
  background: rgba(212, 145, 92, 0.2);
  color: var(--ks-accent-strong);
}

[data-theme="light"] .ks-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text-muted);
}

[data-theme="light"] .ks-chip.active {
  background: rgba(212, 145, 92, 0.15);
  color: var(--ks-accent-strong);
  border-color: rgba(212, 145, 92, 0.4);
}

[data-theme="light"] .ks-chip:hover {
  background: rgba(248, 249, 250, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .ks-cart-drawer-inner {
  background: radial-gradient(circle at top left, rgba(212, 145, 92, 0.08), #ffffff 60%);
  border-left-color: rgba(0, 0, 0, 0.12);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .ks-cart-close {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ks-text);
}

[data-theme="light"] .ks-cart-item {
  background: rgba(248, 249, 250, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ks-qty-control {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .ks-qty-control button {
  color: var(--ks-text);
}

[data-theme="light"] .ks-cart-remove {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

[data-theme="light"] .ks-cart-remove:hover {
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.5);
  color: #c82333;
}

[data-theme="light"] .ks-cart-summary {
  border-top-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ks-checkout-summary {
  background: rgba(248, 245, 240, 0.95);
  border-color: rgba(198, 127, 74, 0.3);
  color: #1a1a1a;
}

[data-theme="light"] .ks-checkout-summary strong {
  color: #1a1a1a;
}

[data-theme="light"] .ks-creator-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .whatsapp-popup {
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Mobile menu light mode */
@media (max-width: 720px) {
  [data-theme="light"] .ks-nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  [data-theme="light"] .ks-nav-links-tools {
    border-top-color: rgba(0, 0, 0, 0.08);
  }

  [data-theme="light"] .ks-nav-links-tools-row + .ks-nav-links-tools-row {
    border-top-color: rgba(0, 0, 0, 0.08);
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .ks-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ks-section-layout,
  .ks-admin-grid {
    grid-template-columns: 1fr;
  }

  .ks-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .ks-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-product-modal-grid {
    grid-template-columns: 1fr;
  }
}

.ks-admin-modal-content {
  max-width: 520px;
}

.ks-admin-toast {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 1300;
  background: rgba(17, 20, 26, 0.94);
  color: #f8f8f8;
  border: 1px solid rgba(215, 153, 98, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ks-admin-toast.open {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="light"] .ks-admin-toast {
  background: rgba(255, 252, 246, 0.98);
  color: #3a2f24;
  border-color: rgba(161, 109, 66, 0.4);
}

@media (max-width: 720px) {
  :root {
    --ks-nav-height: 64px;
  }

  .ks-nav {
    height: var(--ks-nav-height);
    padding: 0 14px;
    gap: 12px;
    position: relative;
  }

  .ks-logo-image {
    height: 44px;
  }

  .ks-logo {
    display: none;
  }

  .ks-mobile-brand {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Playfair Display", serif;
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ks-text);
    pointer-events: auto;
    white-space: nowrap;
    z-index: 2;
    text-decoration: none;
  }

  .ks-mobile-brand-link:focus-visible {
    outline: 2px solid var(--ks-accent-strong);
    outline-offset: 2px;
    border-radius: 8px;
  }

  .ks-mobile-lang-quick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    order: 2;
    margin-left: 6px;
  }

  .ks-mobile-lang-quick .ks-lang-toggle {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 999px;
  }

  .ks-nav-links {
    position: fixed;
    inset: var(--ks-nav-height) 0 auto;
    background: rgba(5, 6, 8, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-out;
    max-height: calc(100dvh - var(--ks-nav-height));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .ks-nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ks-nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid transparent;
  }

  .ks-nav-links a:active {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.98);
  }

  .ks-nav-links a.active {
    background: rgba(244, 201, 166, 0.12);
    border-color: rgba(244, 201, 166, 0.3);
  }

  .ks-nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    order: 1;
  }

  .ks-nav-tools {
    gap: 8px;
    margin-left: auto;
    order: 3;
  }

  .ks-nav-tools .ks-lang-toggle,
  .ks-nav-tools .ks-currency-toggle {
    display: none;
  }

  .ks-cart-button {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .ks-cart-icon {
    width: 20px;
    height: 20px;
  }

  .ks-cart-count {
    font-size: 11px;
    min-width: 18px;
    height: 18px;
  }

  .ks-nav-links-tools {
    display: block;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ks-nav-links-tools-row {
    padding: 12px 0;
  }

  .ks-nav-links-tools-buttons {
    gap: 8px;
  }

  .ks-nav-links-tools .ks-lang-toggle,
  .ks-nav-links-tools .ks-currency-toggle {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Fix RTL mobile header overlap (cart over centered brand) */
  body[dir="rtl"] .ks-nav {
    direction: ltr;
  }

  body[dir="rtl"] .ks-mobile-brand {
    max-width: calc(100% - 140px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[dir="rtl"] .ks-nav-links {
    direction: rtl;
  }

  body[dir="rtl"] .ks-nav-links a {
    text-align: right;
  }

  .ks-hero {
    margin-top: 8px;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ks-hero-media {
    width: 100%;
    order: 2;
    max-width: 250px;
    margin: 0 auto;
  }

  .ks-hero-content {
    order: 1;
    padding-bottom: 0;
  }

  .ks-hero h1 {
    text-align: center;
  }

  .ks-hero-main-image {
    aspect-ratio: 3 / 4;
    max-height: 46vh;
    min-height: 220px;
  }

  .ks-hero-main-image img {
    object-fit: cover;
  }

  .ks-hero-stack {
    display: none;
  }

  .ks-hero-notes {
    grid-template-columns: 1fr;
  }

  .ks-home-banners {
    margin-top: 8px;
    margin-bottom: 40px;
    padding: 0 12px;
    gap: 14px;
  }

  .ks-home-banner {
    aspect-ratio: 16 / 7;
    min-height: 120px;
    max-height: 230px;
  }

  .ks-home-banner-label {
    font-size: clamp(26px, 6vw, 46px);
    padding: 10px 18px;
  }

  .ks-tiles {
    grid-template-columns: 1fr;
  }

  .ks-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-footer-grid {
    grid-template-columns: 1fr;
  }

  .ks-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 8px;
  }

  .ks-product-media {
    max-height: none;
    aspect-ratio: 4/5;
  }

  .ks-product-body {
    padding: 10px 10px 8px;
  }

  .ks-product-title {
    font-size: 13px;
    line-height: 1.25;
  }

  .ks-product-meta {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .ks-price {
    font-size: 13px;
  }

  .ks-product-cta {
    width: 28px;
    height: 26px;
    min-width: 28px;
  }

  .ks-section {
    padding: 32px 12px;
  }

  .ks-section-header h1 {
    font-size: 28px;
  }

  .ks-section-header p {
    font-size: 15px;
  }

  .ks-product-modal-media {
    max-height: 50vh;
  }

  .ks-creator-layout {
    padding: 0 12px;
  }

  .ks-creator-text h1 {
    font-size: 26px;
  }

  .ks-creator-text p {
    font-size: 15px;
  }

  /* Admin mobile optimizations */
  .ks-admin-stats {
    padding: 0 12px;
    gap: 10px;
  }

  .ks-admin-stat-card {
    padding: 12px;
  }

  .ks-admin-actions {
    padding: 0 12px;
    margin-bottom: 12px;
  }

  .ks-admin-grid {
    padding: 0 12px;
    gap: 16px;
  }

  .ks-admin-panel,
  .ks-admin-list {
    padding: 14px;
    border-radius: 16px;
  }

  .ks-admin-shipping-grid {
    grid-template-columns: 1fr;
  }

  .ks-admin-shipping-cell {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .ks-admin-shipping-cell input {
    width: 100%;
  }

  .ks-admin-order-meta {
    grid-template-columns: 1fr;
  }

  .ks-admin-order-actions {
    grid-template-columns: 1fr;
  }

  .ks-admin-row {
    padding: 12px;
  }

  .ks-admin-row-main {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ks-admin-row-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .ks-admin-row button {
    flex: 1;
    min-width: calc(50% - 4px);
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
  }

  .ks-admin-model {
    flex-direction: row;
    gap: 12px;
  }

  .ks-admin-model img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .ks-admin-model-text {
    flex: 1;
    min-width: 0;
  }

  /* Admin modals on tablet */
  .ks-modal {
    padding: 16px;
  }

  .ks-admin-modal-content,
  .ks-product-modal .ks-modal-content {
    max-width: 100%;
  }

  .ks-modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .ks-form-row label {
    font-size: 14px;
  }

  .ks-form-row input,
  .ks-form-row select,
  .ks-form-row textarea {
    font-size: 16px;
    padding: 12px;
    min-height: 44px;
  }

  .ks-button {
    font-size: 15px;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .ks-home-banners {
    padding: 0 10px;
    gap: 12px;
  }

  .ks-home-banner {
    aspect-ratio: 16 / 8;
    min-height: 105px;
    max-height: 185px;
  }

  .ks-home-banner-label {
    font-size: clamp(21px, 9vw, 34px);
    padding: 8px 14px;
  }

  .ks-hero {
    padding: 0 10px;
  }

  .ks-mobile-brand {
    font-size: 16px;
    letter-spacing: 0.07em;
  }

  .ks-hero-media {
    max-width: 220px;
  }

  .ks-hero-main-image {
    max-height: 40vh;
    min-height: 190px;
  }

  .ks-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ks-hero-actions .ks-button {
    width: 100%;
  }

  .ks-section {
    padding: 24px 10px;
  }

  .ks-section-header h1 {
    font-size: 24px;
  }

  .ks-section-header p {
    font-size: 14px;
  }

  .ks-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 8px;
  }

  .ks-product-media {
    max-height: none;
  }

  .ks-product-body {
    padding: 8px 8px 7px;
  }

  .ks-product-title {
    font-size: 12px;
  }

  .ks-price {
    font-size: 12px;
  }

  .ks-product-cta {
    width: 26px;
    height: 24px;
    min-width: 26px;
  }

  .ks-product-modal-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .ks-product-modal-actions {
    justify-content: space-between;
  }

  .ks-product-modal-media {
    max-height: 45vh;
  }

  .ks-stats {
    grid-template-columns: 1fr;
  }

  /* Admin extra small screens */
  .ks-admin-stats {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .ks-admin-actions {
    padding: 0 10px;
  }

  .ks-admin-grid {
    padding: 0 10px;
  }

  .ks-admin-panel,
  .ks-admin-list {
    padding: 12px;
  }

  .ks-admin-header h1 {
    font-size: 20px;
  }

  .ks-admin-shipping-override {
    grid-template-columns: 1fr;
  }

  .ks-admin-override-row {
    flex-direction: column;
    align-items: stretch;
  }

  /* Admin modals on small mobile */
  .ks-modal {
    padding: 12px;
    align-items: flex-start;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
  }

  .ks-modal-content {
    border-radius: 20px;
    padding: 16px;
    max-height: calc(100dvh - 24px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .ks-modal h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .ks-form-row {
    margin-bottom: 16px;
  }

  .ks-button {
    width: 100%;
    justify-content: center;
  }

  .ks-admin-chips {
    gap: 8px;
  }

  .ks-admin-chips button {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Admin product rows on small mobile */
  .ks-admin-model img {
    width: 100px;
    height: 100px;
  }

  .ks-admin-row button {
    min-width: 100%;
    margin-bottom: 4px;
  }

  .ks-admin-row-actions {
    flex-direction: column;
  }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  background: #128C7E;
  transform: scale(1.1);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
}

.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 320px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.whatsapp-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-popup-header {
  background: #25D366;
  color: white;
  padding: 1.25rem;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-popup-header svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.whatsapp-popup-header-text h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.whatsapp-popup-header-text p {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
}

.whatsapp-popup-body {
  padding: 1.5rem;
}

.whatsapp-popup-body p {
  margin: 0 0 1rem 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.whatsapp-form input,
.whatsapp-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-family: inherit;
}

.whatsapp-form textarea {
  min-height: 80px;
  resize: vertical;
}

.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  outline: none;
  border-color: #25D366;
}

.whatsapp-form-submit {
  background: #25D366;
  color: white;
  padding: 0.875rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.whatsapp-form-submit:hover {
  background: #128C7E;
}

.whatsapp-form-submit svg {
  width: 20px;
  height: 20px;
  fill: white;
}

@media (max-width: 768px) {
  /* Améliorer les espaces de touch sur mobile */
  .ks-button {
    min-height: 44px;
    padding: 12px 20px;
  }

  .ks-nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Réduire les marges pour mobile */
  .ks-hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .ks-hero-content p {
    font-size: 15px;
  }

  /* WhatsApp responsive */
  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
  }

  .whatsapp-button {
    width: 56px;
    height: 56px;
  }

  .whatsapp-popup {
    width: calc(100vw - 2rem);
    left: -1rem;
  }

  /* Améliorer la lisibilité des cartes */
  .ks-card {
    padding: 20px;
  }

  /* Optimiser le panier pour mobile */
  .ks-cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ks-cart-item img {
    width: 80px;
    height: 80px;
  }
}

/* Force mini cart button in product cards (override generic .ks-button mobile rules) */
.ks-product-cta.ks-button {
  width: 32px;
  height: 30px;
  min-width: 32px;
  min-height: 30px;
  padding: 0;
  gap: 0;
  border-radius: 8px;
  flex: 0 0 auto;
}

.ks-product-cta.ks-button .ks-product-cta-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .ks-product-cta.ks-button {
    width: 30px;
    height: 28px;
    min-width: 30px;
    min-height: 28px;
    padding: 0;
  }

  .ks-product-cta.ks-button .ks-product-cta-icon {
    width: 13px;
    height: 13px;
  }
}
