/* Color scheme: White, Black & Teal */
:root {
  --bg-primary: #ffffff; /* White */
  --bg-secondary: #ffffff; /* White */
  --accent: #0c8baa; /* Teal */
  --accent-2: #0c8baa; /* Teal */
  --text-primary: #000000; /* Black */
  --text-muted: #000000; /* Black */
  --text-secondary: #333333; /* Dark Gray */
  --cta: #0c8baa; /* Teal */
  --neutral: #f8f8f8;
  --radius: 12px;
  --blue-light: #e8f7fb; /* Very Light Teal */
  --blue-dark: #0c8baa; /* Teal */
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  color: var(--text-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
  padding-bottom: 0;
}

/* Typography - Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.container {
  max-width: 1200px;
  margin: -20px auto;
  padding: 36px 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 28px 20px;
    margin: -15px auto;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 24px 16px;
    margin: -10px auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 12px;
    margin: -5px auto;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  left: auto;
  top: auto;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #002;
  font-weight: 700;
  z-index: 9999;
}

/* --- Navigation --- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #0c8baa;
  box-shadow: 0 2px 8px rgba(12, 139, 170, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px;
  height: 70px;
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0px 16px;
    height: 65px;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0px 12px;
    height: 60px;
  }
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo {
  width: 130px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .logo {
    width: 110px;
    height: 65px;
  }
}

@media (max-width: 600px) {
  .logo {
    width: 95px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 80px;
    height: 50px;
  }
}
.brand:hover .logo {
  transform: scale(1.08);
}

/* Cart placement on small screens: place hamburger immediately left of cart icon */
#cart-toggle-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .nav-inner {
    position: relative;
    padding-right: 64px; /* room for right-side controls */
  }

  /* Wrapper that contains the nav toggle and mobile cart, placed at the right */
  .nav-controls {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px; /* small separation so hamburger sits directly to the left of cart */
    z-index: 60;
  }

  /* Ensure the hamburger is visible and sits to the left of the cart */
  .nav-controls .nav-toggle {
    position: relative;
    z-index: 61;
    margin: 0;
    background: none;
  }

  /* Make the cart visible inside the right-side controls */
  .nav-controls #cart-toggle-mobile {
    display: flex;
    position: relative;
    right: auto;
    transform: none;
    z-index: 60;
  }

  /* Hide the desktop/menu cart inside the collapsed menu to avoid duplication */
  #primary-menu a#cart-toggle {
    display: none !important;
  }

  /* Make sure mobile cart is visible on mobile */
  .nav-controls #cart-toggle-mobile {
    display: flex !important;
  }
}

/* Desktop: ensure only desktop cart is visible */
@media (min-width: 768px) {
  #cart-toggle-mobile {
    display: none !important;
  }
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
.menu li {
  margin: 0;
}
.menu a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
}
.menu a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.menu .cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.menu .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 139, 170, 0.25);
  color: white;
}

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.3s ease;
}
.hamburger:after,
.hamburger:before {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease;
}
.hamburger:before {
  top: -7px;
}
.hamburger:after {
  top: 7px;
}

@media (max-width: 900px) {
  .nav-inner {
    padding: 0px 16px;
  }
  .brand .logo {
    width: 110px;
    height: 70px;
  }
  .menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 280px;
    height: 100%;
    flex-direction: column;
    background: white;
    padding: 16px 0;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 9;
    gap: 0;
    overflow-y: auto;
  }
  .menu.show {
    transform: translateX(0);
  }
  .menu li {
    border-bottom: 1px solid #e8f7fb;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .menu li:last-child {
    border-bottom: none;
  }
  .menu a {
    display: block;
    padding: 16px 24px;
    font-weight: 500;
    color: var(--text-primary);
    border: none;
    font-size: 1rem;
  }
  .menu a:hover {
    background: #e8f7fb;
    color: var(--accent);
    border: none;
  }
  .menu .cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    padding: 12px 24px;
    margin: 8px 16px;
    border-radius: 8px;
    display: block;
    font-size: 1rem;
    border: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* Mobile readability improvements */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  body {
    line-height: 1.6;
  }

  /* Ensure container doesn't use negative margins on small screens */
  .container {
    padding: 16px !important;
    margin: 0 auto !important;
  }

  /* Increase paragraph spacing and readable font-size */
  p,
  .product-body p,
  .about-intro {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  /* Make form fields easier to tap */
  .checkout-form .form-group input,
  .checkout-form .form-group textarea,
  .checkout-form .form-group select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* Reduce hero padding so content doesn't crowd the viewport */
  .hero-inner {
    padding: 20px 14px;
    border-radius: 14px;
  }

  /* Make product cards more compact and readable */
  .product-card img {
    height: 140px;
  }
  .product-body {
    padding: 12px;
  }

  /* Stack product actions and make buttons comfortable to tap */
  .product-actions {
    flex-direction: column;
    gap: 10px;
  }
  .product-actions .button {
    padding: 12px;
    font-size: 0.95rem;
    width: 100%;
  }

  /* Slightly smaller nav elements to avoid crowding */
  .menu a {
    font-size: 0.95rem;
  }

  /* Improve spacing in lists and sections */
  .about-values,
  .product-grid,
  .process-list {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .menu {
    width: 75vw;
    max-width: 250px;
  }

  .menu a {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .menu .cta {
    padding: 10px 16px;
    margin: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Mobile nav backdrop overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 8;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-backdrop.show {
  display: block;
  opacity: 1;
}

/* --- Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Poster image fallback plus subtle gradient overlay for no-video cases */
  background-image: url("assets/images/alive.jpg"),
    linear-gradient(
      135deg,
      rgba(15, 31, 46, 0.65) 0%,
      rgba(26, 58, 82, 0.55) 25%,
      rgba(20, 61, 92, 0.45) 50%,
      rgba(13, 36, 56, 0.45) 75%,
      rgba(5, 10, 15, 0.45) 100%
    );
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

/* Water effect with depth layers */
.hero-canvas::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
      ellipse 800px 200px at 20% 30%,
      rgba(96, 165, 250, 0.06),
      transparent 40%
    ),
    radial-gradient(
      ellipse 600px 150px at 80% 70%,
      rgba(12, 139, 170, 0.04),
      transparent 50%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(12, 139, 170, 0.02) 20%,
      transparent 40%
    ),
    linear-gradient(
      90deg,
      transparent 40%,
      rgba(96, 165, 250, 0.02) 60%,
      transparent 80%
    );
  background-size: 400px 200px, 500px 250px, 200px 100px, 300px 150px;
  animation: waterFlow 25s linear infinite;
  opacity: 0.12; /* much subtler */
}

.hero-canvas::after {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(
      ellipse 900px 250px at 70% 40%,
      rgba(74, 144, 226, 0.08),
      transparent 45%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(74, 144, 226, 0.04) 25%,
      transparent 50%
    ),
    linear-gradient(
      90deg,
      transparent 50%,
      rgba(12, 139, 170, 0.05) 75%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(96, 165, 250, 0.02) 50%,
      transparent 100%
    );
  background-size: 500px 250px, 300px 150px, 400px 200px, 100% 100%;
  animation: waterFlow 25s linear infinite reverse;
  opacity: 0.08; /* keep very subtle */
}

/* Video background styling */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Provide a subtle dark overlay above the video but below hero content */
.hero-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  z-index: 1;
  pointer-events: none;
}

/* On small screens we hide the autoplaying video for performance and data-savings */
@media (max-width: 600px) {
  .hero-video {
    display: none;
  }
  .hero-canvas {
    background-attachment: scroll;
  }
}

@keyframes waterFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100px);
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 48px 24px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 58, 82, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 40px 20px;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .hero-inner {
    padding: 32px 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 24px 12px;
    border-radius: 8px;
  }
}

.hero-title {
  font-weight: 900;
  font-size: 3.5rem;
  margin: 0 0 16px;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.15;
}

/* Improve legibility against video background */
.hero-title {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

.hero-sub {
  color: #bfdbfe;
  margin: 0 0 32px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero-note {
  color: #dfeff6;
  font-size: 0.95rem;
  margin-top: 6px;
  margin-bottom: 18px;
}

.hero-ctas .button {
  vertical-align: middle;
}

@media (max-width: 768px) {
  .hero-sub {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-sub {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
}
.button {
  background: linear-gradient(135deg, #0c8baa 0%, #0c8baa 100%);
  color: white;
  display: inline-block;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
  .button {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #0c8baa 0%, #085a6d 100%);
}

.button.add-to-cart-btn {
  position: relative;
  overflow: hidden;
}

.button.add-to-cart-btn::after {
  content: "✓";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
}

.button.add-to-cart-btn:active::after {
  right: 15px;
  opacity: 1;
}

.button.ghost {
  background: linear-gradient(
    135deg,
    rgba(12, 139, 170, 0.1),
    rgba(96, 165, 250, 0.15)
  );
  border: 2px solid var(--accent-2);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(12, 139, 170, 0.2);
  font-weight: 700;
}
.button.ghost:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-color: var(--accent);
  color: white;
  box-shadow: 0 6px 20px rgba(12, 139, 170, 0.4);
  transform: translateY(-2px);
}

/* ripple effect: CSS + simple JS */
.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.08),
    transparent 25%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}

/* click ripple */
.pulse {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.5),
    rgba(12, 139, 170, 0.1)
  );
  pointer-events: none;
  animation: pulseAnim 0.8s linear;
}
@keyframes pulseAnim {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -50%) scale(6);
    opacity: 0;
  }
}

/* Sections */
.section {
  padding: 20px 0;
  background: #ffffff;
}
.section h2 {
  font-size: 1.875rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.section p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* About Section */
.about {
  background: #f8f8f8;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.section:nth-of-type(2) {
  background: #ffffff;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Main section headers - consistent styling */
.section > .container > h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

/* Products section background */
.products-preview {
  background: #ffffff;
}

/* Process section background */
.process {
  background: #e8f7fb;
}

/* Contact section background */
.contact {
  background: #f0f0f0;
}

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

.value-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.value-item h3 {
  color: var(--text-primary);
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.value-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: linear-gradient(135deg, #ffffff 0%, white 100%);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid #e8f7fb;
}

.highlight {
  padding: 24px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.highlight h4 {
  color: var(--accent);
  margin: 0 0 16px 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.highlight p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* About grid (legacy) */
.about-grid {
  display: none;
}

/* product grid */
.product-grid {
  text-align: center;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(3, auto);
  gap: 20px;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8f7fb;
  box-shadow: 0 2px 12px rgba(12, 139, 170, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(12, 139, 170, 0.12);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  margin: 0 0 8px;
  color: var(--accent);
}

.card-body .button {
  margin-top: auto;
}

.more {
  text-align: center;
  margin-top: 20px;
}

/* Lede text */
.lede {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 0 32px 0 !important;
  line-height: 1.6;
}

/* process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.process-list li {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e8f7fb;
  box-shadow: 0 2px 8px rgba(12, 139, 170, 0.06);
}
.process-list h4 {
  color: var(--accent);
  margin-top: 12px;
  margin-bottom: 8px;
}
.process-list p {
  margin: 0;
  font-size: 0.95rem;
}
.icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e8f7fb;
  box-shadow: 0 4px 12px rgba(12, 139, 170, 0.08);
  align-items: start;
}
.contact-grid h2 {
  grid-column: 1 / -1;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.contact-form {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  grid-column: auto;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #e8f7fb;
  background: white;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  grid-column: auto;
}
.contact-form label[for="message"],
.contact-form textarea {
  grid-column: 1 / -1;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 139, 170, 0.1);
}
.contact-form .button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  grid-column: 1 / -1;
  width: fit-content;
  margin-top: 8px;
}
.map-placeholder {
  grid-column: 2;
  grid-row: 2 / -1;
}
.map-placeholder .map {
  background: linear-gradient(135deg, #ffffff, #e8f7fb);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 24px;
  border: 2px solid #e8f7fb;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid #e8f7fb;
}
.gallery-item img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(12, 139, 170, 0.15);
}
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 12, 18, 0.84);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.show {
  visibility: visible;
  opacity: 1;
}
.lightbox-img {
  max-width: 88%;
  max-height: 88%;
  border-radius: 12px;
}
.lightbox-close {
  position: absolute;
  top: 26px;
  right: 26px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 32px;
}

/* Testimonials */
.carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-track {
  width: 100%;
  overflow: hidden;
}
.testimonial {
  display: none;
  padding: 32px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e8f7fb;
  box-shadow: 0 2px 12px rgba(12, 139, 170, 0.08);
}
.testimonial.active {
  display: block;
}
.testimonial p {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 16px 0;
}
.testimonial cite {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-style: normal;
}
.carousel-btn {
  background: white;
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-btn:hover {
  background: var(--accent);
  color: white;
}

/* Shop */
.product-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .product-listing {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .product-listing {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .product-listing {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .product-listing {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8f7fb;
  box-shadow: 0 2px 12px rgba(12, 139, 170, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 600px) {
  .product-card {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .product-card {
    border-radius: 6px;
  }
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(12, 139, 170, 0.12);
}
.product-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .product-card img {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .product-card img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .product-card img {
    height: 150px;
  }
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 768px) {
  .product-body {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .product-body {
    padding: 12px;
  }
}
.product-body h3 {
  color: var(--accent);
  margin: 0 0 8px;
}
.product-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.product-body .button,
.product-body .product-actions {
  margin-top: auto;
}
.price {
  display: block;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .price {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .price {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .product-actions {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .product-actions {
    flex-direction: column;
    gap: 8px;
  }
}
.product-actions .button {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

@media (max-width: 768px) {
  .product-actions .button {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .product-actions .button {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}
.details {
  display: none;
}

/* small devices */
@media (max-width: 900px) {
  .container {
    padding: 24px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .about-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-listing {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .product-grid,
  .gallery-grid,
  .product-listing {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-header h2 {
    font-size: 1.75rem;
  }
  .about-intro {
    font-size: 1rem;
  }
  .about-values {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }
  .value-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
  .value-item h3 {
    font-size: 1rem;
  }
  .about-highlights {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
  .highlight {
    padding: 20px;
  }
  .highlight h4 {
    font-size: 1.1rem;
  }
  .hero {
    min-height: 65vh;
  }
  .hero-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-inner {
    padding: 32px 16px;
    border-radius: 16px;
  }

  .product-actions {
    flex-direction: column;
    gap: 12px;
  }

  .product-actions .button {
    width: 100%;
  }

  .details {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label[for="message"],
  .contact-form textarea {
    grid-column: auto;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-form .button {
    width: 100%;
    margin-top: 12px;
  }

  .map-placeholder {
    grid-column: auto;
    grid-row: auto;
  }

  .map-placeholder .map {
    min-height: 140px;
    padding: 16px;
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .carousel {
    gap: 8px;
  }

  .carousel-btn {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .testimonial {
    padding: 20px 16px;
  }

  .testimonial p {
    font-size: 0.95rem;
    margin: 0 0 12px 0;
  }

  .testimonial cite {
    font-size: 0.85rem;
  }

  main {
    padding-bottom: 80px;
  }
}

/* small interaction tweaks */
a[data-active] {
  color: var(--accent);
}

/* accessibility & lightweight animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Footer */
.site-footer {
  background: #1a202c;
  color: #e2e8f0;
  margin-top: 0;
  padding: 48px 24px 24px;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 16px 20px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 32px 12px 16px;
  }
}

/* Contact Page */
.contact-main {
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-main {
    padding: 32px 16px;
  }
}

@media (max-width: 480px) {
  .contact-main {
    padding: 24px 12px;
  }
}

.contact-hero {
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .contact-hero {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    margin-bottom: 24px;
  }
}

.contact-hero h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-hero h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.5rem;
  }
}

.contact-hero .lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .contact-hero .lede {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-hero .lede {
    font-size: 0.95rem;
  }
}

.contact-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .contact-grid-main {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-grid-main {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .contact-grid-main {
    gap: 24px;
    margin-bottom: 24px;
  }
}

.contact-form-section,
.contact-info-section {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e8f7fb;
  box-shadow: 0 4px 12px rgba(12, 139, 170, 0.08);
}

@media (max-width: 768px) {
  .contact-form-section,
  .contact-info-section {
    padding: 32px;
    border-radius: 8px;
  }
}

@media (max-width: 600px) {
  .contact-form-section,
  .contact-info-section {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .contact-form-section,
  .contact-info-section {
    padding: 16px;
  }
}

.contact-form-section h2,
.contact-info-section h2 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e8f7fb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 139, 170, 0.1);
}

.info-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8f7fb;
}

.info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-block h3 {
  color: var(--accent);
  margin: 0 0 12px 0;
  font-size: 1.1rem;
}

.info-block p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.info-block a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.info-block a:hover {
  color: var(--accent-2);
}

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

.social-links a {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 6px;
  font-weight: 500;
}

.social-links a:hover {
  background: #e8f7fb;
}

.faq-section {
  margin-top: 40px;
}

.faq-section h2 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.faq-item {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #e8f7fb;
  box-shadow: 0 2px 8px rgba(12, 139, 170, 0.06);
}

.faq-item h3 {
  color: var(--accent);
  margin: 0 0 12px 0;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-grid-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 32px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-main {
    padding: 24px 16px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 20px;
  }

  .contact-hero h1 {
    font-size: 1.75rem;
  }

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

  .contact-form-section .button {
    display: block;
    width: 100%;
    text-align: center;
  }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 20px;
    margin-bottom: 20px;
  }
}
.footer-section h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .footer-section h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .footer-section h3 {
    font-size: 1rem;
  }
}

.footer-section h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0 0 16px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .footer-section h4 {
    font-size: 0.85rem;
  }
}

.footer-section p {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e0;
}

@media (max-width: 768px) {
  .footer-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer-section p {
    font-size: 0.85rem;
  }
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section li {
  margin-bottom: 10px;
}
.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-section a:hover {
  color: #0c8baa;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  color: #a0aec0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-footer {
    margin-top: 0px;
    padding: 48px 16px 24px;
  }
  .footer-content {
    gap: 32px;
  }
  .footer-section h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 40px 16px 20px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Paystack Payment Integration */

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  padding: 20px 0;
}

.modal.show {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  margin: 20px auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 28px;
    margin: 16px auto;
    max-width: 95%;
    width: 95%;
  }
}

@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
    margin: 10px auto;
    max-width: 98%;
    width: 98%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 16px;
    margin: 8px auto;
    max-width: 100%;
    width: 100%;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 30px;
  color: var(--text-primary);
}

/* Checkout Form Styles */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-section {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .form-section {
    padding-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding-bottom: 12px;
  }
}

.form-section h3 {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .form-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .form-section h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .form-group {
    gap: 6px;
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .form-group {
    gap: 6px;
    margin-bottom: 12px;
  }
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

@media (max-width: 768px) {
  .form-group label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .form-group label {
    font-size: 12px;
  }
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.3s;
}

@media (max-width: 768px) {
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 16px; /* Prevents iOS zoom */
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .form-group input,
  .form-group textarea {
    padding: 10px 10px;
    font-size: 16px; /* Prevents iOS zoom */
  }
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 139, 170, 0.1);
}

/* Order Summary */
.order-summary {
  background: #f8f8f8;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

@media (max-width: 768px) {
  .order-summary {
    padding: 12px 16px;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .order-summary {
    padding: 10px 12px;
    border-radius: 4px;
  }
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .summary-item {
    font-size: 13px;
    padding: 6px 0;
  }
}

@media (max-width: 480px) {
  .summary-item {
    font-size: 12px;
    padding: 4px 0;
  }
}

.summary-item.price-summary {
  border-top: 1px solid #ddd;
  padding-top: 12px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .summary-item.price-summary {
    font-size: 14px;
    padding-top: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .summary-item.price-summary {
    font-size: 13px;
    padding-top: 8px;
    margin-top: 8px;
  }
}

.summary-item.price-summary strong {
  color: var(--accent);
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 150px;
}

@media (max-width: 768px) {
  .product-quantity {
    gap: 6px;
    min-width: 130px;
  }
}

@media (max-width: 480px) {
  .product-quantity {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: auto;
    width: 100%;
  }
}

.product-quantity label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .product-quantity label {
    font-size: 13px;
  }
}

.qty-input {
  width: 80px;
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .qty-input {
    width: 70px;
    padding: 6px 8px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .qty-input {
    width: 100%;
    max-width: 150px;
    padding: 8px 10px;
    font-size: 14px;
  }
}

.qty-input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Compact quantity control (plus/minus) */
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-control .qty-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

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

.qty-control .qty-input {
  width: 70px;
  padding: 8px 10px;
  text-align: center;
  border-radius: 6px;
  border: 2px solid #e0e0e0;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .form-actions {
    gap: 10px;
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .form-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .form-actions {
    gap: 8px;
    margin-top: 12px;
  }
}

.form-actions .button {
  flex: 1;
  min-width: 150px;
}

@media (max-width: 600px) {
  .form-actions .button {
    width: 100%;
    min-width: auto;
  }
}

.button-secondary {
  background: #f0f0f0;
  color: var(--text-primary);
  border: 2px solid #ddd;
  transition: all 0.3s;
}

.button-secondary:hover {
  background: #e8e8e8;
}

/* Button States */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button:disabled:hover {
  background: inherit;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

/* Responsive Design - Tablets */
@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
    margin: 20px auto;
    max-width: 95%;
    width: 95%;
  }

  .modal-content h2 {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .form-section {
    padding-bottom: 15px;
  }

  .form-section h3 {
    font-size: 16px;
    margin: 0 0 15px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 10px 12px;
  }

  .order-summary {
    padding: 12px 15px;
  }

  .summary-item {
    font-size: 13px;
    padding: 6px 0;
  }

  .summary-item.price-summary {
    font-size: 15px;
  }

  .checkout-form {
    gap: 20px;
  }

  .product-actions {
    flex-direction: column;
    gap: 10px;
  }

  .product-quantity {
    width: 100%;
    flex-direction: row;
  }

  .product-quantity label {
    font-size: 13px;
    min-width: 100px;
  }

  .qty-input {
    flex: 1;
    width: auto;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .form-actions .button {
    width: 100%;
    padding: 12px 16px;
  }

  .modal-close {
    width: 28px;
    height: 28px;
    font-size: 24px;
    top: 12px;
    right: 12px;
  }
}

/* Extra small screens - Mobile phones */
@media (max-width: 480px) {
  .modal-content {
    padding: 16px;
    margin: 10px auto;
    max-width: 98%;
  }

  .modal-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .form-section {
    padding-bottom: 12px;
  }

  .form-section h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-group label {
    font-size: 12px;
    font-weight: 600;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 16px;
    border-radius: 6px;
  }

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

  .order-summary {
    padding: 10px 12px;
    margin-bottom: 15px;
  }

  .summary-item {
    font-size: 12px;
    padding: 5px 0;
  }

  .summary-item.price-summary {
    font-size: 14px;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 700;
  }

  .checkout-form {
    gap: 15px;
  }

  .product-quantity {
    flex-wrap: wrap;
    align-items: center;
  }

  .product-quantity label {
    font-size: 12px;
    min-width: 90px;
    margin-bottom: 0;
  }

  .qty-input {
    width: 70px;
    padding: 8px;
    font-size: 14px;
    text-align: center;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 8px;
    margin-top: 15px;
  }

  .form-actions .button {
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
  }

  .button {
    font-size: 14px;
    padding: 10px 12px;
  }

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

  .product-actions .button {
    padding: 10px 12px;
    font-size: 13px;
    width: 100%;
  }

  .modal-close {
    width: 26px;
    height: 26px;
    font-size: 22px;
    top: 10px;
    right: 10px;
  }
}

/* Ultra small screens - Below 360px */
@media (max-width: 360px) {
  .modal-content {
    padding: 14px;
    margin: 8px auto;
  }

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

  .form-group label {
    font-size: 11px;
  }

  .form-group input,
  .form-group textarea {
    padding: 8px;
    font-size: 14px;
  }

  .product-quantity label {
    font-size: 11px;
    min-width: 80px;
  }

  .qty-input {
    width: 65px;
    padding: 6px;
    font-size: 13px;
  }

  .summary-item {
    font-size: 11px;
  }

  .form-actions .button {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Shopping Cart System */
.cart-link {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-link:hover {
  background-color: #0a6f8f;
  transform: scale(1.05);
}

.cart-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.cart-count {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
}

/* Cart Panel */
.cart-panel {
  position: fixed;
  right: -400px;
  top: 0;
  width: 380px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 998;
  transition: background 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.cart-backdrop.open {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  pointer-events: auto;
}

.cart-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

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

.cart-header h2 {
  margin: 0;
  font-size: 24px;
  color: var(--text-primary);
}

.cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform 0.2s;
}

.cart-close:hover {
  transform: scale(1.2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  font-size: 14px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  gap: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: var(--text-primary);
}

.cart-item-price {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-input-cart {
  width: 50px;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
}

.cart-item-subtotal {
  min-width: 70px;
  text-align: right;
  font-weight: bold;
  color: var(--accent);
  font-size: 13px;
}

.cart-remove {
  background: #ff4444;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

.cart-remove:hover {
  background: #cc0000;
}

.cart-footer {
  border-top: 2px solid #e0e0e0;
  padding-top: 15px;
  margin-top: auto;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
}

.cart-total span:last-child {
  color: var(--accent);
  font-size: 20px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(12, 139, 170, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 350px;
}

.cart-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Cart responsive adjustments */
@media (max-width: 768px) {
  .cart-panel {
    width: 100%;
    right: -100%;
    height: 85vh;
  }

  .cart-link {
    padding: 6px 10px;
    gap: 5px;
  }

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

  .cart-notification {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 480px) {
  .cart-panel {
    height: 80vh;
  }

  .cart-header h2 {
    font-size: 20px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-controls {
    width: 100%;
    justify-content: space-between;
  }

  .qty-input-cart {
    width: 45px;
    font-size: 12px;
  }

  .cart-notification {
    font-size: 13px;
    padding: 12px 15px;
  }
}

/* Summary Price Styling */
.summary-price {
  margin-left: auto;
  font-weight: bold;
  color: var(--accent);
}
