/* === ANSKAR.lv - Figma Redesign === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:       #f5f1ec;
  --color-border:   #d4c4b0;
  --color-dark:     #3a3a3c;
  --color-text:     #6b6b6d;
  --color-muted:    #a89379;
  --color-accent:   #c8412b;
  --color-accent-h: #a8361f;
  --color-orange:   #ff9966;
  --color-white:    #ffffff;
  --max-w:          80rem;
  --radius:         0.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── HEADER ── */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8rem;
  gap: 1.5rem;
}

.logo img {
  height: 6rem;
  width: auto;
  object-fit: contain;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 50%, transparent 100%);
}

nav { display: flex; align-items: center; gap: 2.5rem; }

nav a {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color .15s, background .15s;
}

nav a:hover {
  color: var(--color-accent);
  background: rgba(255,255,255,.5);
}
nav a.active {
  color: var(--color-accent);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0.15rem;
  background: rgba(255,255,255,.6);
  border-radius: 9999px;
  padding: 0.2rem;
}
.lang-btn {
  background: none;
  border: none;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
  transition: all .15s;
}
.lang-btn.active {
  background: var(--color-accent);
  color: #fff;
}
.lang-btn:hover:not(.active) {
  color: var(--color-dark);
}

/* Cart icon */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-dark);
  transition: color .15s;
}
.cart-btn:hover { color: var(--color-accent); }
.cart-btn svg { width: 1.75rem; height: 1.75rem; }
.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  width: 1.2rem; height: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--color-dark);
}
.mobile-menu-btn svg { width: 1.75rem; height: 1.75rem; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--color-accent);
  background: rgba(255,255,255,.5);
}

/* ── MAIN ── */
main { flex: 1; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-h); }
.btn-outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.btn-outline:hover { background: var(--color-dark); color: #fff; }
.btn-outline-accent {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-outline-accent:hover { background: var(--color-accent); color: #fff; }
.btn-dark {
  background: var(--color-dark);
  color: #fff;
}
.btn-dark:hover { background: #555; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

/* ── HERO SLIDER (split-screen) ── */
.hero-section {
  background: var(--color-bg);
  padding: 3rem 0;
}
.hero-split {
  /* section wrapper only */
}
.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}
.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}
.hero-text h1 .anskar-highlight {
  color: var(--color-accent);
  font-variant: small-caps;
  letter-spacing: .04em;
}
.hero-text p {
  font-size: 1.15rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 34rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.brand-highlight {
  color: var(--color-accent);
  font-variant: small-caps;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-name-highlight {
  color: #ff9966;
  font-weight: 700;
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-border);
}
.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel arrows */
.hero-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,.95);
  border: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s, background .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  color: var(--color-dark);
}
.carousel-arrow:hover { background: #fff; }
.carousel-arrow.prev { left: 0.75rem; }
.carousel-arrow.next { right: 0.75rem; }
.carousel-arrow svg { width: 1.2rem; height: 1.2rem; }

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.7);
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.carousel-dot.active {
  background: var(--color-accent);
  width: 2.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

/* ── SECTIONS ── */
section { padding: 5rem 1.5rem; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--color-text);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── ADVANTAGES ── */
.advantages-section { background: #fff; padding: 5rem 1.5rem; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.advantage-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  transition: background .2s;
}
.advantage-card:hover { background: var(--color-bg); }
.advantage-icon {
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.advantage-icon svg { width: 2.5rem; height: 2.5rem; }
.advantage-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.advantage-card p { font-size: 0.9rem; color: var(--color-text); line-height: 1.6; }

/* ── COMPANY SECTION ── */
.company-section { background: var(--color-bg); padding: 5rem 1.5rem; }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
}
.company-text h2 { font-size: 2rem; font-weight: 700; color: var(--color-dark); margin-bottom: 1.25rem; }
.company-text p { color: var(--color-text); line-height: 1.7; margin-bottom: 0.75rem; font-size: 1rem; }
.company-img img { border-radius: 0.75rem; box-shadow: 0 8px 32px rgba(0,0,0,.12); width: 100%; }

/* ── TEMPLATE GALLERY ── */

.section-gallery {
  background: #fff;
  padding: 5rem 1.5rem 0;
  position: relative;
}

/* ── Carousel wrap ── */
.gallery-carousel-wrap {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 2rem;
}

/* Arrow buttons */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
}
.gallery-arrow:hover { background: var(--color-accent); }
.gallery-arrow:hover svg { color: #fff; }
.gallery-arrow svg { width: 1.1rem; height: 1.1rem; color: var(--color-dark); transition: color .2s; }
.gallery-arrow.prev { left: 0; }
.gallery-arrow.next { right: 0; }

/* Scrollable track */
.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0 0.5rem;
}
.gallery-track::-webkit-scrollbar { display: none; }

/* Image cards */
.template-item {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  border: 3px solid #ff9966;
  aspect-ratio: 1;
}
.template-item:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.template-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Zoom overlay */
.template-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.template-item:hover .template-zoom { opacity: 1; }
.template-zoom svg { width: 2.5rem; height: 2.5rem; color: #fff; }

/* Progress bar */
.gallery-progress-wrap {
  max-width: var(--max-w);
  margin: 1.25rem auto 0;
  padding: 0 2rem;
}
.gallery-progress-track {
  height: 4px;
  background: #e5ddd4;
  border-radius: 2px;
  position: relative;
}
.gallery-progress-thumb {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  width: 33.333%;
  transition: left .15s;
}

/* Orange bottom accent line */
.gallery-bottom-line {
  height: 4px;
  background: #ff9966;
  margin-top: 2.5rem;
  width: 100%;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  z-index: 101;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 101;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.3); }
.lightbox-arrow.prev { left: 1.5rem; }
.lightbox-arrow.next { right: 1.5rem; }
.lightbox-arrow svg { width: 1.5rem; height: 1.5rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem 2.5rem;
}
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-section p { color: var(--color-muted); margin-bottom: 2rem; font-size: 1.1rem; }

/* ── PRODUCTS PAGE ── */
.products-header {
  background: var(--color-bg);
  padding: 3rem 1.5rem;
  text-align: center;
}
.products-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-dark); }
.products-header p { color: var(--color-text); font-size: 1.05rem; }

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  justify-content: center;
  max-width: var(--max-w);
  margin-inline: auto;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all .15s;
  color: var(--color-dark);
  font-weight: 500;
}
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.filter-btn:hover:not(.active) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.product-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.product-card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
}
.product-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #a89379;
  background: #ede8e2;
}
.product-no-img svg { width: 2.5rem; height: 2.5rem; opacity: 0.5; }
.product-no-img span { font-size: 0.8rem; opacity: 0.7; }
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,153,102,.25), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover .product-card-img-overlay { opacity: 1; }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}
.product-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-card p { font-size: 0.875rem; color: var(--color-text); flex: 1; margin-bottom: 1rem; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: flex-end; margin-top: auto; gap: 0.5rem; }

/* Upload section on product card */
.upload-section { margin-bottom: 1rem; }
.upload-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.upload-label svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-zone:hover { border-color: var(--color-orange); }
.upload-zone.has-image {
  border-style: solid;
  border-color: var(--color-orange);
  background: #fff;
}
.upload-zone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
}
.upload-zone-placeholder svg { width: 1.75rem; height: 1.75rem; color: #b0a090; margin-bottom: 0.2rem; }
.upload-zone-placeholder span { font-size: 0.8rem; font-weight: 600; color: var(--color-dark); }
.upload-zone-placeholder small { font-size: 0.72rem; color: #b0a090; }
.upload-zone-preview { width: 100%; height: 7rem; position: relative; }
.upload-zone-preview img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.upload-remove-btn {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add to cart button states */
.btn-add-cart {
  background: #999;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: not-allowed;
  transition: all .3s;
}
.btn-add-cart.has-upload {
  background: var(--color-orange);
  cursor: pointer;
}
.btn-add-cart.has-upload:hover { background: #e88855; }
.btn-add-cart.just-added {
  background: #22c55e;
  cursor: default;
}


/* About page – work gallery row */
.about-gallery { padding: 4rem 1.5rem 5rem; }
.about-work-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}
.about-work-row img {
  flex: 1 1 0;
  min-width: 0;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: block;
}

/* ── ABOUT PAGE ── */
.about-hero-section {
  background: #fff;
  padding: 5rem 1.5rem;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
}
.about-hero-text h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--color-dark); }
.about-hero-text p { color: var(--color-text); line-height: 1.7; margin-bottom: 0.75rem; font-size: 1.05rem; }
.about-hero-img img { border-radius: 0.75rem; box-shadow: 0 8px 32px rgba(0,0,0,.1); width: 100%; }

.features-section { background: var(--color-bg); padding: 5rem 1.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.feature-icon {
  color: var(--color-accent);
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 3rem; height: 3rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--color-text); line-height: 1.6; }

.about-gallery-section { background: #fff; padding: 5rem 1.5rem; }
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.about-gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.about-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.about-gallery-item:hover img { transform: scale(1.08); }

/* ── CONTACT PAGE ── */
.contact-section { background: var(--color-bg); padding: 5rem 1.5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--max-w);
  margin-inline: auto;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2.5rem;
}
.contact-card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-item-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.contact-item-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-item h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--color-text); }
.contact-item a:hover { color: var(--color-accent); }

.nav-btns { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .15s;
  text-decoration: none;
}
.nav-btn-whatsapp { background: #25D366; color: #000; border-color: #25D366; display:inline-flex; align-items:center; gap:0.3rem; margin-top:0.5rem; }
.nav-btn-whatsapp:hover { background: #1ebe5d; }
.footer-nav-btn.whatsapp { background: #25D366; color: #000; }
.footer-nav-btn.whatsapp:hover { background: #1ebe5d; }
.nav-btn-waze { background: var(--color-accent); color: #000; }
.nav-btn-waze:hover { background: var(--color-accent-h); }
.nav-btn-maps { border-color: var(--color-border); color: #000; background: #fff; }
.nav-btn-maps:hover { background: var(--color-bg); }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2.5rem;
}
.contact-form-card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  background: var(--color-bg);
  color: var(--color-dark);
  transition: border-color .15s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-group textarea { resize: vertical; min-height: 8rem; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1rem;
  color: #166534;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ── CART PAGE ── */
.cart-section { padding: 3rem 1.5rem; background: var(--color-bg); min-height: 60vh; }
.cart-section h1 { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; text-align: center; }
.cart-content {
  max-width: var(--max-w);
  margin-inline: auto;
}
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 2rem;
  align-items: start;
}
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  align-items: center;
}
.cart-item-img {
  width: 5rem;
  height: 5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.cart-item-img.custom-upload { border-color: var(--color-orange); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-weight: 700; margin-bottom: 0.25rem; font-size: 1rem; }
.cart-item-info p { font-size: 0.875rem; color: var(--color-text); }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-qty button {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: all .15s;
}
.cart-qty button:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cart-qty span { font-weight: 700; min-width: 1.5rem; text-align: center; }
.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 0.4rem;
  transition: color .15s;
}
.cart-remove:hover { color: var(--color-accent); }
.cart-remove svg { width: 1.25rem; height: 1.25rem; }

.cart-summary {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  position: sticky;
  top: 10rem;
}
.cart-summary h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--color-text); }
.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  border-top: 1.5px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.cart-empty {
  text-align: center;
  padding: 5rem 1.5rem;
}
.cart-empty svg { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; color: var(--color-muted); }
.cart-empty h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.cart-empty p { color: var(--color-text); margin-bottom: 2rem; }

/* ── FOOTER ── */
footer {
  background: var(--color-dark);
  color: #d4c4b0;
  padding: 1.75rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.footer-company { margin-bottom: 2rem; }
.footer-company h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 0.75rem;
}
.footer-company p {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: 40rem;
  margin-inline: auto;
  line-height: 1.7;
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.footer-contact-item svg { color: var(--color-accent); width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.footer-contact-item a:hover { color: #fff; }
.footer-nav-btns { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
.footer-nav-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  transition: all .15s;
}
.footer-nav-btn.waze { background: var(--color-accent); color: #fff; }
.footer-nav-btn.waze:hover { background: var(--color-accent-h); }
.footer-nav-btn.maps { border-color: #6b6b6d; color: #d4c4b0; }
.footer-nav-btn.maps:hover { background: #555; }
.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #555;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.bg-white { background: #fff; }
.bg-cream { background: var(--color-bg); }
.hidden { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-carousel { max-width: 500px; margin-inline: auto; order: -1; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid, .about-hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { height: 5rem; }
  .logo img { height: 4rem; }
  .hero-text h1 { font-size: 1.8rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
  .header-inner { height: 4rem; }
  .logo img { height: 3rem; }
  .hero-text h1 { font-size: 1.5rem; }
}
