:root {
  --bg: #05060c;
  --bg-panel: #0a0c17;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f8ff;
  --muted: #a6b2d0;
  --accent: #1fb2ff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max-width: 1200px;
}

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

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
  button,
  a,
  .btn,
  .chip,
  .swatch,
  .product-card,
  input[type="button"],
  input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Smooth scrolling for navigation */
html {
  scroll-behavior: smooth;
}

/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Better tap highlighting on mobile */
* {
  -webkit-tap-highlight-color: rgba(31, 178, 255, 0.2);
}

/* Improve scrolling on iOS */
.page-wrap,
.product-modal-window,
.configurator-grid {
  -webkit-overflow-scrolling: touch;
}

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

body.page {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body.subpage {
  background: #000;
}

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

/* Lazy loading images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(3, 4, 11, 0.4);
  border: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-icon {
  width: 24px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Cart Button */
.mobile-cart-btn {
  display: none;
  position: relative;
  padding: 8px;
  color: var(--text);
  z-index: 1001;
}

.mobile-cart-btn svg {
  display: block;
}

.mobile-cart-btn .cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  background: linear-gradient(135deg, #1fb2ff, #6c7dff);
  color: #000;
  font-weight: 700;
}

/* Mobile Shop Button */
.mobile-shop-btn {
  display: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  z-index: 1001;
}

/* Nav Menu Wrapper */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1fb2ff, #6c7dff);
  color: #0a0c17;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 22px rgba(31, 178, 255, 0.35);
  font-family: "Orbitron", "Inter", sans-serif;
}

.brand-title {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1fb2ff, #6c7dff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

/* Dropdown Menu */
.nav-item {
  position: relative;
  display: inline-block;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 140px;
  background: rgba(3, 4, 11, 0.85);
  border: none;
  border-radius: 0 0 8px 8px;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
  margin-top: 0;
  padding: 12px 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
  position: relative;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn.solid {
  background: linear-gradient(135deg, #1fb2ff, #6c7dff);
  color: #04050c;
}

.btn.ghost {
  border-color: var(--panel);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #b7c8ff;
  font-size: 12px;
}

main {
  overflow: hidden;
}

.hero-banner {
  padding-bottom: 48px;
  position: relative;
}

.hero-visual {
  width: 100%;
  margin: 0;
  position: relative;
  min-height: 520px;
  max-height: 70vh;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
    url('front-view-soldiers-fighting-war.webp');
  background-size: cover;
  background-position: center;
  box-shadow: none;
  border: none;
}

/* Mobile-optimized hero image */
@media (max-width: 768px) {
  .hero-visual {
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
      url('front-view-soldiers-fighting-war-mobile.webp');
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(5, 6, 12, 0), rgba(5, 6, 12, 0.8) 50%, #05060c);
  pointer-events: none;
  z-index: 3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 6, 12, 0.2) 0%, rgba(5, 6, 12, 0.65) 100%);
}

.hero-overlay h1 {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(46px, 9vw, 82px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.hero-intro {
  text-align: center;
  margin-top: 16px;
}

.hero-intro h2 {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(28px, 6vw, 42px);
  margin-bottom: 10px;
}

.hero-intro p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(26px, 5vw, 38px);
  margin-top: 8px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.info {
  padding: 64px 0 44px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.info-card:nth-child(2) {
  background: rgba(255, 255, 255, 0.1);
}

.info-card:nth-child(1)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -18px;
  width: 18px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.info-card:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -18px;
  width: 18px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
}

/* RTL (Hebrew) gradient adjustments */
[dir="rtl"] .info-card:nth-child(1)::after {
  right: auto;
  left: -18px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.1) 100%);
}

[dir="rtl"] .info-card:nth-child(2)::after {
  right: auto;
  left: -18px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
}

@media (max-width: 768px) {
  .info-card:nth-child(1)::after {
    top: auto;
    bottom: -18px;
    right: 0;
    left: 0;
    width: 100%;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.1) 100%);
  }

  .info-card:nth-child(2)::after {
    top: auto;
    bottom: -18px;
    right: 0;
    left: 0;
    width: 100%;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  }
}

.facts {
  padding: 56px 0 70px;
  background: #05060c;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 32px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.fact {
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 32px 24px;
  min-height: 240px;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.2s ease;
}

.fact:hover {
  transform: translateY(-4px);
}

.fact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #4dd0ff 0%, #3b9fd9 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-icon svg {
  width: 32px;
  height: 32px;
  color: #3b9fd9;
  stroke-width: 2.5;
}

.fact-label {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.3;
}

.fact-copy {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 14px;
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--panel);
  background: #03040b;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--panel);
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
}

.footer-section p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 4px 0;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-info strong {
  color: var(--text);
}

/* Phone links should maintain text appearance */
.contact-info a[href^="tel:"],
.contact-info a[href^="mailto:"] {
  color: var(--muted);
  text-decoration: none;
  display: inline;
}

.footer-bottom {
  padding-top: 24px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--muted);
  margin: 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

/* Phone links in footer should look like regular text */
.footer-contact a[href^="tel:"] {
  font-weight: 400;
  display: inline;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel);
  color: var(--text);
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: rgba(77, 208, 255, 0.1);
  border-color: rgba(77, 208, 255, 0.3);
  color: var(--accent);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-brands {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
}

.site-header.solid {
  position: sticky;
  top: 0;
  background: rgba(5, 6, 12, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  position: relative;
}

.page-hero {
  position: relative;
  min-height: 320px;
  /*background: var(--bg); */
  padding: 140px 20px 48px;
  width: 100%;
}

/* Dark hero section for checkout and cart pages */
.checkout-page .page-hero,
.cart-page .page-hero {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(5, 6, 12, 0.98));
  min-height: 320px;
}

/* Match the body background to the hero */
.checkout-page .page-section,
.cart-page .page-section {
  background: rgba(5, 6, 12, 0.98);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  /* background: linear-gradient(to bottom, rgba(5, 6, 12, 0), rgba(5, 6, 12, 0.8) 50%, #05060c); */
  pointer-events: none;
  z-index: 1;
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.page-hero .section-heading h1 {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(30px, 6vw, 44px);
}

.section-heading h1,
.section-heading h2 {
  line-height: 1.2;
}

.section-intro {
  color: var(--muted);
  margin-top: 12px;
  max-width: 860px;
}

.section-intro.alt {
  opacity: 0.9;
  font-size: 14px;
}

.page-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 20px;
  background: rgba(255, 255, 255, 0.02);
}

.page-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.06);
}

.grid-3,
.panel-grid,
.shop-grid,
.flow-grid,
.media-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel-grid {
  grid-template-columns: 1fr;
}

.duo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.panel-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel);
  border-radius: 0;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-card:nth-child(2) {
  background: rgba(255, 255, 255, 0.1);
}

.panel-card.strong {
  border-color: rgba(31, 178, 255, 0.5);
  background: rgba(31, 178, 255, 0.06);
}

.panel-card.strong:nth-child(2) {
  background: rgba(31, 178, 255, 0.1);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.pill.accent {
  background: linear-gradient(135deg, #1fb2ff, #6c7dff);
  color: #05060c;
  border: none;
}

.pill.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.card-list {
  list-style: disc;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.muted {
  color: var(--muted);
}

.stacked-cards {
  display: grid;
  gap: 14px;
}

.meta-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.contact-grid,
.shop-cta {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-info {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.contact-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-label {
  font-weight: 700;
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--panel);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 16px; /* Prevents zoom on iOS */
  font-family: inherit;
}

.field-input:focus,
.field-textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

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

.btn.full {
  width: 100%;
  text-align: center;
}

/* Form Status Messages */
.form-message {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  display: flex;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: flex;
}

.form-message::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-message.success::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.form-message.error::before {
  content: '✕';
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

/* Cart Notification Toast */
.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(16, 185, 129, 0.95);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  z-index: 10000;
  animation: slideInRight 0.3s ease-out;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-notification.hide {
  animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

.cart-notification::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cart-notification {
    top: 80px;
    right: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
  }
}

.shop-hero {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.shop-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  color: var(--muted);
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
  color: #b7c8ff;
}

.meta-value {
  font-weight: 700;
}

.shop-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.shop-hero-card,
.feature-card,
.shop-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.shop-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title-xl {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 26px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 178, 255, 0.15);
  border: 1px solid rgba(31, 178, 255, 0.5);
  font-weight: 700;
  color: #8ed8ff;
}

.chip.active {
  background: rgba(14, 165, 233, 0.9);
  border-color: rgba(14, 165, 233, 0.8);
  color: #0b1222;
}

.shop-browser-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 100%;
}

/* Single card centering */
.shop-browser-grid[data-card-count="1"] {
  grid-template-columns: 1fr;
  justify-items: center;
}

.shop-browser-grid[data-card-count="1"] .product-card {
  max-width: calc(33.333% - 10px);
  width: 100%;
}

/* Two cards */
.shop-browser-grid[data-card-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .shop-browser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .shop-browser-grid[data-card-count="1"] .product-card {
    max-width: 50%;
  }
}

@media (max-width: 600px) {
  .shop-browser-grid {
    grid-template-columns: 1fr;
  }
  
  .shop-browser-grid[data-card-count="1"] .product-card {
    max-width: 100%;
  }
}

.show-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.show-more-btn {
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.show-more-btn.hidden {
  display: none;
}

.product-card {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card.hidden {
  display: none;
}

.product-card.active {
  border-color: rgba(14, 165, 233, 0.8);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

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

/* Coming Soon Styles */
.product-card[data-coming-soon="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.7);
}

.product-card[data-coming-soon="true"]:hover {
  transform: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.coming-soon-banner {
  position: absolute;
  top: 24px;
  right: -36px;
  background: linear-gradient(135deg, var(--accent), #6c7dff);
  color: #000;
  padding: 6px 40px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.sale-badge {
  position: absolute;
  top: 24px;
  right: -36px;
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: #fff;
  padding: 6px 40px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.product-card[data-coming-soon="true"] .product-card-body {
  pointer-events: none;
}

.product-card[data-coming-soon="true"] .btn {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.product-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--panel);
}

.product-thumb.bundle-thumbs-wrapper {
  background: none;
  padding: 0;
  overflow: hidden;
}

.product-thumb .bundle-thumbs {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-thumb .bundle-thumb-item {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-thumb .bundle-thumb-item:not(:last-child) {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  margin-right: -10px;
  z-index: 2;
}

.product-thumb .bundle-thumb-item:last-child {
  z-index: 1;
}

.product-thumb .bundle-thumb-item::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--panel);
  transform: skewX(-15deg);
  z-index: 1;
}

.product-thumb .bundle-thumb-item:last-child::after {
  display: none;
}

.product-thumb .bundle-thumbs.single .bundle-thumb-item {
  clip-path: none;
  margin-right: 0;
}

.product-thumb .bundle-thumbs.single .bundle-thumb-item::after {
  display: none;
}

.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.product-card-body > .btn,
.product-card-body > a.btn {
  margin-top: auto;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.product-card-title {
  margin: 0;
}

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

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

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.product-modal-window {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--panel);
  border-radius: 14px;
  padding: 18px;
  width: min(420px, calc(100% - 24px));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.configurator-modal-window {
  width: min(1300px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: rgba(10, 12, 23, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.product-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-modal-body {
  margin-top: 0;
  margin-bottom: 0;
}

.configurator-modal-body {
  margin: 0;
  padding: 0;
}

.bundle-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 24px 0;
  border-bottom: 1px solid var(--panel);
  overflow-x: auto;
}

.bundle-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}

.bundle-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.bundle-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.configurator-modal-body .configurator-grid {
  margin-top: 24px;
}

.product-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.icon-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  padding: 6px;
  border-radius: 8px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.product-open {
  justify-self: start;
  margin-top: 4px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--panel-strong);
  font-size: 12px;
  color: var(--text);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.qty-input {
  width: 60px;
  padding: 8px 6px;
  border-radius: 2px;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
  font-weight: 600;
  font-size: 15px;
}

/* Remove spinner arrows in Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.qty-btn:active {
  transform: scale(0.95);
}

.checkout-preview {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  border: 1px solid var(--panel);
  box-shadow: var(--shadow);
  margin-top: 12px;
}

.config-summary {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.config-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--panel);
  border-radius: 10px;
  background: var(--bg-panel);
}

.config-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.config-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.config-value code {
  color: var(--text);
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--panel);
  display: inline-block;
}

.pattern-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--panel);
  background: var(--bg-panel);
  font-size: 12px;
}

.shop-hero-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-value {
  font-weight: 800;
  font-size: 22px;
}

.stat-sub {
  color: var(--muted);
  font-size: 13px;
}

.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shop-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 12px;
}

.price {
  font-weight: 800;
  font-size: 18px;
}

.price-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.regular-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
}

.sale-price {
  color: #ff4444;
  font-weight: 800;
  font-size: 1.2em;
}

.shop-feature {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-content h2 {
  line-height: 1.3;
  margin: 0;
}

.feature-content p {
  line-height: 1.6;
  margin: 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  position: relative;
}

.feature-card-row:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

.feature-card-row:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

.feature-card-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.feature-card-row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.shop-cta {
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid var(--panel);
  padding: 20px;
}

.shop-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.flow-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.flow-step {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--panel);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.media-placeholder {
  border: 1px dashed var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.viewer-card,
.control-card {
  display: grid;
  gap: 20px;
}

.viewer-card {
  border: none;
  background: transparent;
  padding: 0;
}

.control-card {
  background: transparent;
  border: none;
  padding: 0;
}

.viewer-header,
.control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border: none;
}

.viewer-card .viewer-header {
  border: none;
  padding-bottom: 0;
  margin-bottom: -8px;
}

/* Hide mobile price on desktop */
.config-mobile-price {
  display: none;
}

.viewer-stage {
  height: 400px;
  border: none;
  border-radius: 4px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.4));
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 3D Viewer Loading Spinner */
.viewer-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.viewer-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.viewer-loading .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent, #4dabf7);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.viewer-loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.control-group {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
}

.control-group:last-of-type {
  padding-bottom: 0;
}

/* Style for parts configured in database but not found in 3D model */
.control-group.part-not-in-model {
  opacity: 0.5;
  position: relative;
}

.control-group.part-not-in-model .control-label::after {
  content: '⚠';
  margin-left: 8px;
  color: #facc15;
  font-size: 14px;
  opacity: 0.7;
}

.control-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.swatch-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.swatch::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.swatch:focus-visible,
.swatch:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.swatch.active {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.4), 0 4px 16px rgba(14, 165, 233, 0.4);
  transform: scale(1.05);
}

.swatch.active::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--accent), transparent);
}

.swatch.pattern {
  width: auto;
  min-width: 90px;
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}

.config-state {
  border: 1px dashed var(--panel);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.config-state pre {
  margin: 0;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: 8px;
  overflow-x: auto;
}

@media (max-width: 980px) {
  .configurator-grid {
    grid-template-columns: 1fr;
  }

  .viewer-stage {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    height: auto;
    padding: 12px 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    min-height: 320px;
  }

  .fact-value {
    font-size: 30px;
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Desktop - Hide mobile menu elements */
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-shop-btn {
    display: none !important;
  }

  .mobile-cart-btn {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    flex-direction: row !important;
  }

  .nav-links {
    flex-direction: row !important;
    border-bottom: none !important;
  }

  .nav-links a {
    padding: 8px 0 !important;
    border-bottom: none !important;
  }

  .nav-actions {
    flex-direction: row !important;
    width: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
  }

  .cart-btn {
    display: inline-flex !important;
  }
}

/* Tablets and Medium Screens (768px - 1024px) */
@media (max-width: 1024px) {
  :root {
    --max-width: 100%;
  }

  .site-nav {
    gap: 10px;
    padding: 0 16px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .page-wrap {
    padding: 100px 16px 60px;
    gap: 48px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 4.5vw, 34px);
  }

  .duo-grid,
  .contact-grid,
  .shop-cta {
    grid-template-columns: 1fr;
  }

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

  .shop-hero-meta {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .info-grid,
  .facts-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobile Landscape and Small Tablets (641px - 900px) */
@media (max-width: 900px) {
  /* Remove nav bar opacity on mobile devices */
  .site-header {
    background: transparent;
    backdrop-filter: none;
  }

  /* Show hamburger menu, mobile shop button, and mobile cart */
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-shop-btn {
    display: flex;
  }

  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden;
  }

  .mobile-cart-btn {
    display: flex;
  }

  .brand-text {
    display: none;
  }

  /* Hide desktop cart button on mobile */
  .cart-btn {
    display: none !important;
  }

  /* Mobile menu overlay */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--panel);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 80px 20px 20px;
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  /* For LTR languages (English) */
  [dir="ltr"] .nav-menu,
  html:not([dir="rtl"]) .nav-menu {
    transform: translateX(-100%);
  }

  [dir="ltr"] .nav-menu.active,
  html:not([dir="rtl"]) .nav-menu.active {
    transform: translateX(0);
  }

  /* For RTL languages (Hebrew) */
  [dir="rtl"] .nav-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }

  [dir="rtl"] .nav-menu.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 1;
  }

  .nav-links a {
    padding: 16px 20px;
    font-size: 16px;
    border-bottom: 1px solid var(--panel);
    transition: background 0.2s ease;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-links a::after {
    display: none;
  }

  /* Mobile dropdown handling */
  .nav-item {
    display: block;
  }

  .nav-item > a {
    padding: 16px 20px;
    border-bottom: 1px solid var(--panel);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu {
    max-height: 200px;
  }

  .dropdown-menu a {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-arrow {
    margin-left: auto;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--panel);
    order: 2;
  }

  .nav-actions .btn {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
  }

  /* Mobile menu backdrop */
  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .nav-menu.active::before {
    opacity: 1;
    pointer-events: auto;
  }

  .btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 12px;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-intro {
    margin-top: 12px;
  }

  .section-heading h2 {
    font-size: clamp(22px, 4vw, 30px);
  }

  .info,
  .facts {
    padding: 48px 0 36px;
  }

  .shop-hero-actions {
    flex-direction: column;
  }

  .shop-hero-actions .btn {
    width: 100%;
  }

  .card-title-xl {
    font-size: 22px;
  }

  .chip-row {
    justify-content: center;
  }

  .stat-value {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .footer-section p {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.5;
  }

  .footer-section a {
    padding: 3px 0;
    font-size: 13px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 12px;
  }

  .footer-contact,
  .footer-social {
    min-width: 100%;
  }
}

/* Mobile Portrait and Small Screens (320px - 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }

  .site-nav {
    height: auto;
    padding: 10px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .nav-links {
    gap: 12px;
    font-size: 12px;
    padding: 8px 0;
  }

  .nav-actions {
    gap: 6px;
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 280px;
    max-height: 50vh;
  }

  .hero-overlay {
    padding: 16px;
  }

  .hero-overlay h1 {
    font-size: clamp(32px, 8vw, 48px);
    letter-spacing: 0.08em;
  }

  .hero-intro h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .hero-intro p {
    font-size: 14px;
  }

  .page-wrap {
    padding: 80px 14px 50px;
    gap: 40px;
  }

  .page-section {
    gap: 18px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading h1 {
    font-size: clamp(24px, 5.5vw, 34px);
  }

  .section-heading h2 {
    font-size: clamp(20px, 4.5vw, 28px);
  }

  .eyebrow {
    font-size: 11px;
  }

  .section-intro {
    font-size: 14px;
    margin-top: 10px;
  }

  .info-grid,
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-card,
  .panel-card {
    padding: 16px;
  }

  .fact {
    min-height: 200px;
    padding: 24px 20px;
    gap: 12px;
  }

  .fact-icon {
    width: 56px;
    height: 56px;
  }

  .fact-icon svg {
    width: 28px;
    height: 28px;
  }

  .fact-label {
    font-size: 16px;
  }

  .fact-copy {
    font-size: 13px;
  }

  .pill-row {
    gap: 8px;
  }

  .pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  .shop-hero {
    gap: 14px;
  }

  .shop-hero-copy {
    order: 2;
  }

  .shop-hero-card {
    order: 1;
  }

  .shop-hero-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .meta-label {
    font-size: 11px;
  }

  .meta-value {
    font-size: 14px;
  }

  .shop-hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .shop-hero-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .card-title-xl {
    font-size: 20px;
  }

  .shop-hero-card-body {
    gap: 12px;
  }

  .stat {
    padding: 10px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-value {
    font-size: 18px;
  }

  .stat-sub {
    font-size: 12px;
  }

  .chip {
    padding: 6px 10px;
    font-size: 11px;
  }

  .chip-row {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .shop-browser-controls {
    overflow-x: visible;
  }

  .shop-browser-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    max-width: 100% !important;
  }

  .product-thumb {
    height: 140px;
  }

  .product-card-body {
    padding: 12px;
    gap: 6px;
  }

  .product-card-body > p.muted {
    display: none;
  }

  .product-card-title {
    font-size: 16px;
  }

  .product-card-meta {
    font-size: 12px;
  }

  .price {
    font-size: 16px;
  }

  .product-modal-window {
    width: calc(100% - 16px);
    padding: 14px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .product-modal-header {
    gap: 10px;
  }

  .product-modal-header h3 {
    font-size: 18px;
  }

  .configurator-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .viewer-stage {
    height: 400px;
  }

  .control-card {
    padding: 14px;
  }

  .control-head h3 {
    font-size: 16px;
  }

  .control-label {
    font-size: 13px;
  }

  .swatch {
    width: 42px;
    height: 42px;
  }

  .swatch.pattern {
    padding: 8px 10px;
    font-size: 11px;
  }

  .qty-control {
    height: 38px;
  }

  .qty-btn,
  .qty-input {
    font-size: 15px;
  }

  .config-actions {
    flex-direction: column;
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .config-mobile-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
  }

  .config-mobile-price .sale-price {
    color: var(--accent);
  }

  .config-mobile-price .original-price {
    font-size: 14px;
    text-decoration: line-through;
    opacity: 0.5;
    font-weight: 400;
  }

  .config-mobile-price .current-price {
    color: var(--text);
  }

  .config-actions > div {
    width: 100%;
  }

  .config-actions .btn {
    width: 100%;
    margin-top: 0 !important;
  }

  .show-more-wrapper {
    margin-top: 16px;
  }

  .show-more-btn {
    width: 100%;
    padding: 10px 24px;
    font-size: 14px;
  }

  .shop-feature {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-content {
    gap: 12px;
  }

  .feature-content h2 {
    font-size: clamp(20px, 4.5vw, 26px);
    line-height: 1.25;
  }

  .feature-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .feature-card {
    border-radius: 10px;
  }

  .feature-card-row {
    padding: 12px 14px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card-row span {
    font-size: 12px;
  }

  .feature-card-row strong {
    font-size: 13px;
    text-align: left;
  }

  .contact-form {
    gap: 10px;
  }

  .field-input,
  .field-textarea {
    padding: 10px;
    font-size: 14px;
  }

  .field-label {
    font-size: 13px;
  }

  .checkout-page {
    padding: 20px 14px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cart-item {
    padding: 12px;
    gap: 10px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-details {
    font-size: 12px;
  }

  .cart-total {
    font-size: 18px;
  }

  .site-footer {
    padding: 20px 0 24px;
  }

  .footer-content {
    gap: 16px;
    padding-bottom: 16px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .footer-section p {
    font-size: 12px;
  }

  .footer-top {
    gap: 12px;
    padding-bottom: 10px;
  }

  .footer-brands {
    font-size: 10px;
    gap: 10px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
  }

  .social-icons svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra Small Screens (< 400px) */
@media (max-width: 400px) {
  .hero-overlay h1 {
    font-size: clamp(28px, 7vw, 40px);
    letter-spacing: 0.06em;
  }

  .section-heading h1 {
    font-size: clamp(22px, 5vw, 30px);
  }

  .section-heading h2 {
    font-size: clamp(18px, 4vw, 24px);
  }

  .btn {
    padding: 7px 10px;
    font-size: 11px;
  }

  .nav-links {
    gap: 10px;
    font-size: 11px;
  }

  .card-title-xl {
    font-size: 18px;
  }

  .viewer-stage {
    height: 350px;
  }

  .product-thumb {
    height: 120px;
  }

  .fact-value {
    font-size: 20px;
  }

  .stat-value {
    font-size: 16px;
  }
}

/* Landscape orientation on mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-visual {
    min-height: 100vh;
  }

  .hero-overlay {
    padding: 10px 20px;
  }

  .page-wrap {
    padding-top: 70px;
  }

  .viewer-stage {
    height: 300px;
  }

  .product-modal-window {
    max-height: 95vh;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-mark {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support (for systems with dark mode preference) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05060c;
    --text: #f5f8ff;
  }
}

/* Utility Classes */
.hide-mobile {
  display: none;
}

@media (min-width: 641px) {
  .hide-mobile {
    display: block;
  }
  
  .hide-desktop {
    display: none;
  }
}

.text-center {
  text-align: center;
}

.overflow-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Accessible focus states */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: var(--bg-panel);
  color: var(--text);
  text-decoration: none;
}

.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
}

/* Promotions Carousel */
.promotions-carousel-container {
  margin: 48px 0;
  padding: 0;
  width: 100%;
}

.promotions-carousel {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: var(--shadow);
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: clamp(300px, 40vw, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.carousel-slide picture {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 1;
}

.carousel-loading {
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.carousel-arrow:hover {
  background: rgba(31, 178, 255, 0.3);
  border-color: var(--accent);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
  left: 16px;
}

.carousel-arrow-right {
  right: 16px;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  border-color: var(--accent);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .carousel-slide {
    height: 280px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .carousel-arrow-left {
    left: 8px;
  }
  
  .carousel-arrow-right {
    right: 8px;
  }
  
  .carousel-dots {
    gap: 8px;
    margin-top: 16px;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .carousel-slide {
    height: 220px;
  }
  
  .promotions-carousel-container {
    margin: 32px auto;
  }
}

/* Cart List Styles */
.cart-list-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.cart-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.cart-item:last-child {
  margin-bottom: 0;
  border-bottom: none !important;
}

#cart-summary {
  position: sticky;
  bottom: 20px;
}

/* Collapsible Cart Item Styles */
.cart-item-header {
  transition: background 0.2s ease;
}

.cart-item-customization {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0;
}

.cart-item-customization.expanded {
  max-height: 2000px;
  opacity: 1;
  padding: 16px;
  padding-top: 12px;
}

.edit-toggle-btn {
  transition: transform 0.3s ease;
}

.edit-toggle-btn.expanded {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .cart-item > div {
    flex-direction: column;
  }
  
  .cart-item > div > div:last-child {
    align-items: flex-start !important;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  
  /* Mobile cart item header fixes - reorder to show info first, image, then customization */
  .cart-item-header {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  /* Product image - move to middle */
  .cart-item-header > div:first-child {
    order: 2;
    width: 100% !important;
    height: 120px !important;
    margin-top: 8px;
  }
  
  /* Product info - move to top */
  .cart-item-header > div:nth-child(2) {
    order: 1;
    width: 100% !important;
  }
  
  /* Price and buttons - fourth row */
  .cart-item-header > div:last-child {
    order: 4;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  
  /* Customization section - move to third position, below image */
  .cart-item > .config-mobile-only {
    order: 3 !important;
  }
  
  .cart-item-header > div:last-child > div:first-child {
    font-size: 18px !important;
    text-align: left;
  }
  
  .cart-item-header > div:last-child > div:last-child {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  
  .cart-item-header .btn {
    padding: 10px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
    flex: 1;
  }
  
  /* Bundle header mobile fixes */
  .bundle-header > div {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .bundle-header > div > div:last-child {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  /* Bundle item cards on mobile */
  .bundle-item-card > div {
    flex-direction: column !important;
    gap: 12px !important;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .nav-actions,
  .btn,
  .product-modal,
  .promotions-carousel-container {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .page-wrap {
    max-width: 100%;
    padding: 20px;
  }
}

/* Show/hide config sections based on screen size */
.config-mobile-only {
  display: none;
}

.config-desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .config-mobile-only {
    display: block;
  }
  
  .config-desktop-only {
    display: none !important;
  }
}
