/* CSS Reset & Variables (Original Palette) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

:root {
  --primary-bg: #0a0a0a;
  --accent-yellow: #6a6a6a;
  --whatsapp-green: #10b981;
  --text-gray: #a0a0a0;
  --light-bg: #f8f9fa;
  --border-color: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #111111;
  overflow-x: hidden;
}

/* Helper for Arabic text */
.ar-text {
  font-family: "Montserrat", sans-serif;
}

/* --- 1. HEADER (Left: Menu Square + Search | Center: PHANTOM + Flame P | Right: Cart) --- */
header {
  background-color: var(--primary-bg);
  padding: 14px 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #262626;
  position: sticky;
  top: 0;
  z-index: 50;
  direction: ltr;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.header-icon-box {
  width: 42px;
  height: 42px;
  border: 1px solid #2e2e2e;
  background-color: #141414;
  color: #ffffff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-icon-box:hover {
  background-color: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-logo-title {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, #9ca3af 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-logo-sub {
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  color: #9ca3af;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cart-icon-btn {
  position: relative;
  width: 44px;
  height: 42px;
  border: 1px solid #2e2e2e;
  background-color: #ffffff;
  color: #0a0a0a;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.cart-icon-btn:hover {
  background-color: #e5e7eb;
  transform: translateY(-1px);
}

.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-bg);
}

/* Live Search Dropdown Bar */
.search-bar-overlay {
  display: none;
  background-color: #121212;
  border-bottom: 1px solid #262626;
  padding: 16px 5%;
  position: sticky;
  top: 71px;
  z-index: 45;
}

.search-bar-overlay.open {
  display: block;
}

.search-input-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #1c1c1c;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 6px 14px;
  gap: 10px;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  padding: 8px 4px;
  font-family: "Montserrat", sans-serif;
}

.search-results-list {
  max-width: 720px;
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.search-result-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 0.85rem;
}

.search-result-card button {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Backdrop Overlay for Drawers */
.panel-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 990;
}

.panel-backdrop.open {
  display: block;
}

/* Sidebars (Left Navigation & Right Cart) */
.sidebar-panel {
  position: fixed;
  top: 0;
  left: -420px;
  width: 360px;
  max-width: 88vw;
  height: 100%;
  background: #121212;
  border-right: 1px solid #222;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.8);
  z-index: 999;
  transition:
    left 0.35s ease,
    right 0.35s ease;
  padding: 25px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.sidebar-panel.open {
  left: 0;
}

.sidebar-panel.right-panel {
  left: auto;
  right: -420px;
  border-right: none;
  border-left: 1px solid #222;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
}

.sidebar-panel.right-panel.open {
  right: 0;
  left: auto;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.panel-header h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
}

.close-panel-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.close-panel-btn:hover {
  color: #ffffff;
}

.nav-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.nav-drawer-list li a,
.nav-drawer-list li button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.nav-drawer-list li a:hover,
.nav-drawer-list li button:hover {
  background: #1f1f1f;
  color: #ffffff;
}

/* Cart Item Styling */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  border: 1px solid #262626;
  gap: 10px;
}

.cart-item h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qty-btn {
  background: #262626;
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.qty-btn:hover {
  background: #404040;
}

/* --- 2. HERO SECTION --- */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url("hero.JPG");
  background-color: #151515;
  background-size: cover;
  background-position: center;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 520px;
  color: #ffffff;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-content h1 span {
  color: var(--accent-yellow);
  display: block;
}

.hero-content p {
  font-size: 1.1rem;
  color: #dddddd;
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-shop {
  background-color: #ffffff;
  color: #000000;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.btn-shop:hover {
  background-color: #e5e7eb;
  transform: translateY(-2px);
}

.hero-shoe-img {
  position: absolute;
  right: 8%;
  bottom: 6%;
  height: 84%;
  max-width: 420px;
  object-fit: contain;
  border-radius: 16px;
  z-index: 1;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
}

/* --- 3. TRUST BADGES --- */
.badges-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 5%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
}

.badge-card i {
  font-size: 2.2rem;
  color: #111111;
}

.badge-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.badge-text p {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
}

.before-after-section {
  padding: 44px 5%;
  background: #f8f9fa;
}

.before-after-intro {
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
}

.before-after-kicker {
  color: #737373;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.before-after-intro h2 {
  margin: 8px 0;
  color: #111827;
  font-size: 2rem;
  font-weight: 800;
}

.before-after-intro p {
  color: #6b7280;
  font-size: 1rem;
}

.before-after-frame {
  --split: 50%;
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.1);
  isolation: isolate;
}

.before-after-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 59%;
  user-select: none;
  -webkit-user-drag: none;
}

.before-after-image--dirty {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.before-after-label {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.before-after-label--before {
  left: 18px;
}

.before-after-label--after {
  right: 18px;
}

.before-after-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}

.before-after-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.before-after-range::-webkit-slider-thumb {
  width: 2px;
  height: 100%;
  appearance: none;
  background: transparent;
}

.before-after-range::-moz-range-track {
  height: 100%;
  background: transparent;
}

.before-after-range::-moz-range-thumb {
  width: 2px;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.before-after-frame:focus-within {
  outline: 3px solid #9ca3af;
  outline-offset: 4px;
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 2;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(17, 24, 39, 0.25);
  pointer-events: none;
  transform: translateX(-50%);
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: var(--split);
  z-index: 3;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.25);
  font-size: 1.25rem;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* --- 4. FEATURED PRODUCTS --- */
.products-section {
  padding: 60px 5%;
  background-color: var(--light-bg);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-view-all {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: #111111;
  padding: 10px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-view-all:hover {
  background-color: #111111;
  color: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.product-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.product-img-wrapper {
  background-color: #f1f1f1;
  border-radius: 6px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  padding: 0;
}

.product-img-wrapper > a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img,
.product-img-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.product-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111111;
  text-transform: uppercase;
}

.product-info h3 a {
  color: inherit;
  text-decoration: none;
}

.product-info h3 a:hover {
  text-decoration: underline;
}

.product-info .ar-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 8px;
  display: block;
}

/* Variant Color Selector inside Product Card */
.variant-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.variant-selector span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
}

.variant-pill {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: all 0.2s;
}

.variant-pill.active {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.product-info .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 14px;
}

.product-info .price-original {
  color: #777777;
  font-size: 0.8em;
  font-weight: 600;
}

.product-info .price-discount {
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.65em;
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.btn-add-cart {
  background-color: #0a0a0a;
  color: #ffffff;
  border: none;
  padding: 11px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s;
}

.btn-add-cart:hover {
  background-color: #333333;
}

.btn-order-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  text-decoration: none;
  padding: 11px 10px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-order-whatsapp:hover {
  background-color: #059669;
}

/* --- 5. WHY CHOOSE US --- */
.why-choose-us {
  background-color: var(--primary-bg);
  color: #ffffff;
  padding: 60px 5%;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
  max-width: 220px;
}

/* --- 6. INSTAGRAM SECTION --- */
.instagram-section {
  padding: 60px 5% 40px;
  background-color: #ffffff;
  text-align: center;
}

.instagram-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.insta-item {
  aspect-ratio: 1 / 1;
  background-color: #eaeaea;
  border-radius: 6px;
  overflow: hidden;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.insta-item:hover img {
  transform: scale(1.05);
}

/* --- 7. FOOTER --- */
footer {
  background-color: var(--primary-bg);
  color: #ffffff;
  padding: 56px 6% 24px;
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(145px, 1fr));
  gap: 36px;
  align-items: start;
  border-top: 1px solid #222222;
}

.footer-logo {
  width: fit-content;
  margin-bottom: 16px;
}

.footer-brand .brand-logo-mark {
  width: 44px;
  height: 44px;
}

.footer-brand .brand-logo-title {
  font-size: 1.2rem;
}

.footer-brand .brand-logo-sub {
  font-size: 0.5rem;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 14px;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  margin: 4px 0 18px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links ul li a,
.footer-contact .contact-item a {
  color: var(--text-gray);
  font-size: 0.88rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover,
.footer-contact .contact-item a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.footer-contact .contact-item i {
  width: 18px;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #262626;
  color: #777777;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* --- Order Details Modal (asks for customer data before WhatsApp) --- */
button.btn-order-whatsapp {
  border: none;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.shop-page {
  display: none;
  min-height: 70vh;
}

.shop-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555555;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.shop-back-link:hover {
  color: #111111;
}

.shop-note {
  font-family: "Montserrat", sans-serif;
  color: #555555;
  font-size: 0.9rem;
  margin: -14px 0 26px;
}

.header-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.order-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.order-modal.open {
  display: flex;
}

.order-modal-box {
  background: #ffffff;
  color: #111111;
  width: 100%;
  max-width: 460px;
  border-radius: 10px;
  padding: 22px 20px;
  position: relative;
  font-family: "Montserrat", sans-serif;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.order-modal-box * {
  font-family: "Montserrat", sans-serif;
}

.order-modal-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.order-modal-box .order-sub {
  color: #666666;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.order-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #111111;
}

.order-summary {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  max-height: 130px;
  overflow-y: auto;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
}

.order-summary .order-total {
  border-top: 1px dashed #cfcfcf;
  margin-top: 6px;
  padding-top: 6px;
  font-weight: 700;
}

.order-field {
  margin-bottom: 12px;
}

.order-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.order-field input,
.order-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
  outline: none;
  background: #ffffff;
  color: #111111;
}

.order-field input:focus,
.order-field textarea:focus {
  border-color: #111111;
}

.order-field textarea {
  resize: vertical;
  min-height: 60px;
}

.order-field.invalid input,
.order-field.invalid textarea {
  border-color: #ef4444;
}

.order-error {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 4px;
}

.order-field.invalid .order-error {
  display: block;
}

.order-submit {
  width: 100%;
  background: var(--whatsapp-green);
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.order-submit:hover {
  background: #059669;
}

/* Color options: pure CSS (radio buttons), no JavaScript needed */
.color-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-pill {
  display: inline-block;
}

.product-card .color-visual {
  display: none;
}

.product-card .color-radio.opt-1:checked ~ div .color-visual.opt-1,
.product-card .color-radio.opt-2:checked ~ div .color-visual.opt-2 {
  display: block;
}

.product-card .color-radio.opt-1:checked ~ div .variant-pill.opt-1,
.product-card .color-radio.opt-2:checked ~ div .variant-pill.opt-2 {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.product-img-wrapper img {
  font-size: 0.75rem;
  color: #999999;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .badges-container,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    grid-column: 1 / -1;
  }
  .hero-shoe-img {
    display: none;
  }
}

@media (max-width: 600px) {
  header {
    padding: 12px 4%;
  }
  .brand-logo-title {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }
  .brand-logo-sub {
    font-size: 0.48rem;
    letter-spacing: 1.5px;
  }
  .brand-logo-mark {
    width: 42px;
    height: 42px;
  }
  .header-icon-box,
  .cart-icon-btn {
    width: 38px;
    height: 38px;
  }
  .badges-container,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .before-after-section {
    padding: 34px 4%;
  }
  .before-after-intro h2 {
    font-size: 1.55rem;
  }
  .before-after-intro p {
    font-size: 0.9rem;
  }
  .before-after-frame {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
  .before-after-label {
    top: 12px;
    padding: 7px 11px;
    font-size: 0.72rem;
  }
  .before-after-label--before {
    left: 12px;
  }
  .before-after-label--after {
    right: 12px;
  }
  .before-after-handle {
    width: 50px;
    height: 50px;
  }
  /* Products: two cards per row on phones */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card {
    padding: 10px;
  }
  .product-badge {
    top: 16px;
    left: 16px;
    font-size: 0.6rem;
    padding: 3px 7px;
  }
  .product-img-wrapper {
    height: 130px;
    padding: 0;
    margin-bottom: 10px;
  }
  .product-info h3 {
    font-size: 0.8rem;
  }
  .product-info .ar-subtitle {
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .product-info .price {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .variant-selector {
    flex-wrap: wrap;
    gap: 5px;
  }
  .variant-pill {
    padding: 3px 8px;
  }
  .card-actions {
    grid-template-columns: 1fr;
  }
  .btn-add-cart,
  .btn-order-whatsapp {
    padding: 9px 6px;
    font-size: 0.78rem;
  }
  .section-header h2 {
    font-size: 1.4rem;
  }
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 6% 20px;
  }
  .footer-brand,
  .footer-bottom {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}
