/* ==========================================================================
   Awan Trading & Mills — Premium Pet Foods
   Stylesheet: custom, framework-free, responsive, accessible.
   Brand colours: #2E7D32 #388E3C #F57C00 #FBC02D #263238 #FFFFFF
   ========================================================================== */

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #388E3C;
  --green-bg: #E8F5E9;
  --orange: #F57C00;
  --orange-dark: #E65100;
  --orange-deep: #B33E00;
  --amber: #FBC02D;
  --ink: #263238;
  --ink-soft: #455A64;
  --muted: #546E7A;
  --line: #ECEFF1;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(38, 50, 56, 0.12);
  --shadow-md: 0 6px 18px rgba(38, 50, 56, 0.10);
  --shadow-lg: 0 16px 40px rgba(38, 50, 56, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

/* Accessibility: skip link + focus states */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 860px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-orange {
  background: var(--orange);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-orange:hover {
  background: var(--orange);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green-bg);
  color: var(--green-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #1EBE5A;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.btn svg {
  flex-shrink: 0;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--amber);
  color: #4A3500;
}

.badge-green {
  background: var(--green);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.brand-name span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink-soft);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green);
  background: var(--green-bg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, var(--green) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 72px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-paw {
  width: 100%;
  max-width: 380px;
  opacity: 0.95;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(251, 192, 45, 0.18), transparent 55%);
  pointer-events: none;
}

/* Section helpers */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--green-bg);
}

.section-tight {
  padding: 40px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-deep);
  margin-bottom: 8px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

/* Grids */
.grid {
  display: grid;
  gap: 22px;
}

.grid-cards {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-features {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cats {
  grid-template-columns: repeat(4, 1fr);
}

.grid-cats-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Category cards */
.cat-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
  color: var(--ink);
}

.cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.cat-card h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.cat-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-media {
  position: relative;
  background: var(--green-bg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 16px;
}

.product-card-body h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 2px;
}

.product-card-body h3 a {
  color: var(--ink);
}

.product-card-body h3 a:hover {
  color: var(--green);
}

.card-category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-price {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green);
}

.card-price small {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.card-actions .btn {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.card-actions .btn-whatsapp {
  flex: 1;
}

/* Feature bullets */
.feature-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--green-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* About band */
.about-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-band-text p {
  color: var(--ink-soft);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 12px;
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1.2;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Steps (how to order) */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 24px 64px;
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.grid-steps {
  grid-template-columns: repeat(3, 1fr);
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #C2410C 0%, #A4370A 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
  border-radius: var(--radius);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 24px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

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

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* Page hero (small) */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 40px 0;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 6px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.filter-bar .search-wrap {
  flex: 1 1 260px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--green);
  color: var(--green);
}

.chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.chip-count {
  font-size: 0.75rem;
  margin-left: 2px;
  opacity: 0.85;
}

.sort-select {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

/* Search input */
.search-wrap {
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
}

.search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state svg {
  width: 56px;
  height: 56px;
  color: var(--muted);
  margin: 0 auto 14px;
}

.empty-state h3 {
  margin-bottom: 6px;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 18px;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--green-bg);
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-info h1 {
  margin-bottom: 8px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.detail-price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.detail-total {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--green-bg);
  border: 1px solid #C8E6C9;
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.detail-desc {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* Size selector */
.size-group {
  margin-bottom: 20px;
}

.size-group legend {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.size-option small {
  font-weight: 500;
  color: var(--muted);
}

.size-option:hover {
  border-color: var(--green);
}

.size-option.is-active {
  border-color: var(--green);
  background: var(--green-bg);
  color: var(--green-dark);
}

/* Quantity stepper */
.qty-group {
  margin-bottom: 20px;
}

.qty-group legend {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  margin-bottom: 10px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.qty-stepper button {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-stepper button:hover {
  background: var(--green-bg);
}

.qty-stepper input {
  width: 60px;
  height: 46px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.detail-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.detail-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orange-deep);
}

/* Info boxes */
.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.info-box ul li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.info-box ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--green-bg);
  border: 1px solid #C8E6C9;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.req {
  color: var(--danger, #C62828);
  font-weight: 700;
}

.field-error {
  font-size: 0.85rem;
  color: #C62828;
  min-height: 1.1em;
  margin: 0;
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #C62828;
}

.form-field input.is-invalid:focus,
.form-field textarea.is-invalid:focus {
  border-color: #C62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

#customerForm {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#customerForm legend {
  margin-bottom: 0;
}

/* Order review summary */
.order-summary {
  scroll-margin-top: 20px;
}

.order-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 28px;
}

.order-summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.order-summary-card-wide {
  grid-column: 1 / -1;
}

.order-summary-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list div {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list div:last-child {
  border-bottom: 0;
}

.summary-list dt {
  flex: 0 0 38%;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.summary-list dd {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink);
  word-break: break-word;
  text-align: right;
}

.order-summary-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .order-summary-grid {
    grid-template-columns: 1fr;
  }
  .summary-list dt {
    flex-basis: 42%;
  }
  .order-summary-actions .btn {
    width: 100%;
  }
}

.form-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 1px;
}

/* Contact info cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}

.contact-card .feature-icon {
  width: 44px;
  height: 44px;
}

.contact-card h3 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  word-break: break-word;
}

.contact-card a {
  color: var(--green);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #B0BEC5;
  padding: 56px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #B0BEC5;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #B0BEC5;
}

.footer-bottom a {
  color: #B0BEC5;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: #1EBE5A;
  color: var(--ink);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-cards-4,
  .grid-cats {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-features,
  .grid-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 20px;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-badges {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .main-nav.is-open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
  .grid-cards,
  .grid-cards-4,
  .grid-cats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-band {
    grid-template-columns: 1fr;
  }
  .grid-steps,
  .grid-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .grid-cards,
  .grid-cards-4,
  .grid-cats,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field.full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .sort-select {
    width: 100%;
  }
  .btn-lg {
    width: 100%;
  }
}

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