/* ═══════════════════════════════════════════
   PET Love — Unified Design System
   ═══════════════════════════════════════════ */

:root {
  /* ── Colors ── */
  --teal: #3B999D;
  --teal-dark: #2D7A7D;
  --teal-light: #4DB8BC;
  --pink-bg: #FAEDF6;
  --beige-bg: #f1ebd5;
  --yellow-bg: #FAFBC7;
  --white: #FFFFFF;
  --off-white: #FEFEFE;
  --red: #E72E30;
  --red-dark: #C52026;
  --dark: #05060f;
  --text-main: #05060f;
  --text-muted: #555;
  --text-light: #888;
  --border: #ddd;

  /* ── Typography ── */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* ── Spacing ── */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;

  /* ── Radius ── */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 9999px;

  /* ── Shadows ── */
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-teal: 0 8px 32px rgba(59, 153, 157, 0.3);
  --shadow-neo: 6px 6px 0px #05060f;
  --shadow-neo-sm: 4px 4px 0px #05060f;

  /* ── Transitions ── */
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--beige-bg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 var(--s-24);
}

/* ═══════════════════════════════════════════
   NEO-CARD SYSTEM
   ═══════════════════════════════════════════ */

.neo-card {
  border: 3px solid var(--dark);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-neo);
}

.neo-card-sm {
  border: 2px solid var(--dark);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-neo-sm);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: var(--s-16) var(--s-32);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: var(--white);
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-neo-sm);
}

.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px var(--dark);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: var(--r-pill);
}

.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-neo-sm);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: var(--r-pill);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* CTA Button with SVG shape */
.cta-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: white;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.1s ease-in-out;
}

.cta-btn svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.cta-btn > span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 12px 24px;
  white-space: nowrap;
}

.cta-btn > span span {
  display: inline;
  padding: 0;
}

/* Sticky Add to Cart */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 24px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  display: block;
  text-align: center;
  background: #3B999D;
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border: 3px solid var(--dark);
  border-radius: 14px;
  box-shadow: var(--shadow-neo);
  white-space: nowrap;
  pointer-events: auto;
  transition: transform 0.1s ease;
}

.sticky-cta-btn:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.sticky-cta-btn span {
  display: inline;
  padding: 0;
}

.neo-btn-outline-red {
  display: inline-block;
  text-align: center;
  background: transparent;
  color: var(--red);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border: 3px solid var(--red);
  border-radius: 14px;
  box-shadow: 6px 6px 0px var(--red);
  white-space: nowrap;
  transition: transform 0.1s ease;
  cursor: pointer;
}

.neo-btn-outline-red:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.neo-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: 14px;
  box-shadow: var(--shadow-neo-sm);
  outline: none;
}

.neo-input::placeholder {
  color: #999;
}

.neo-input:focus {
  box-shadow: var(--shadow-neo);
}

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

/* ═══════════════════════════════════════════
   CERTIFICATES STACK
   ═══════════════════════════════════════════ */

.cert-stack {
  margin-top: 32px;
  display: flex;
  margin-left: -8px;
  margin-right: -8px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px 20px;
  scrollbar-width: none;
  justify-content: center;
}

.cert-stack::-webkit-scrollbar { display: none; }

.cert-card {
  flex: 0 0 200px;
  width: 200px;
  margin-left: -10px;
  margin-right: -10px;
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: 12px;
  box-shadow: var(--shadow-neo-sm);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
}

.cert-card:active {
  box-shadow: none;
}

.cert-card img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-label {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  background: var(--white);
  border-top: 2px solid var(--dark);
}

.cert-card-1 { transform: rotate(-3deg); }
.cert-card-2 { transform: rotate(1deg); }
.cert-card-3 { transform: rotate(-2deg); }

/* Lightbox */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
}

.cert-lightbox.active {
  display: flex;
}

.cert-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
}

.cert-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 36px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.cert-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  z-index: 10;
}

.cert-arrow-left { left: 8px; }
.cert-arrow-right { right: 8px; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: transform 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-50%);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  width: 40px;
  flex-shrink: 0;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-nav {
  display: none;
  gap: var(--s-24);
  align-items: center;
}

.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--ease);
}

.header-nav a:hover {
  color: var(--teal);
}

.header-nav a.active {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-12);
}

.header-cart {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--ease);
}

.header-cart:hover {
  background: rgba(0,0,0,0.05);
}

.header-cart svg {
  width: 24px;
  height: 24px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 2;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--beige-bg);
  z-index: 999;
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  transform: translateX(-100%);
  transition: transform var(--ease);
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  padding: var(--s-12) 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-menu a:hover {
  color: var(--teal);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
  background: var(--beige-bg);
  padding: var(--s-48) var(--s-24) var(--s-24);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--s-32);
}

.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--s-8);
  max-width: 280px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-24);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: var(--s-12);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--ease);
}

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

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}

.footer-contacts a {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--s-8);
}

.footer-bottom {
  margin-top: var(--s-32);
  padding-top: var(--s-24);
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--ease);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-20) var(--s-24);
  border-bottom: 1px solid #eee;
}

.cart-drawer-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 24px;
  color: var(--text-main);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-16) var(--s-24);
}

.cart-drawer-empty {
  text-align: center;
  padding: var(--s-48) var(--s-24);
  color: var(--text-light);
}

.cart-drawer-item {
  display: flex;
  gap: var(--s-12);
  padding: var(--s-12) 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-drawer-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.cart-drawer-item-info {
  flex: 1;
  min-width: 0;
}

.cart-drawer-item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-drawer-item-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.cart-drawer-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--s-8);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control button:hover {
  background: #f5f5f5;
}

.qty-control span {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-drawer-item-price {
  font-size: 14px;
  font-weight: 700;
}

.cart-drawer-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  margin-left: var(--s-8);
}

.cart-drawer-item-remove:hover {
  color: var(--red);
}

.cart-drawer-footer {
  padding: var(--s-20) var(--s-24);
  border-top: 1px solid #eee;
}

.cart-drawer-totals {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  margin-bottom: var(--s-16);
}

.cart-drawer-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-drawer-row.total {
  font-weight: 700;
  font-size: 16px;
  padding-top: var(--s-8);
  border-top: 1px solid #eee;
}

/* ═══════════════════════════════════════════
   CLOUD DIVIDERS
   ═══════════════════════════════════════════ */

.cloud-divider {
  position: relative;
  height: 70px;
  overflow: hidden;
  margin-top: -3px;
  margin-bottom: -3px;
  transform: scaleY(-1);
  z-index: 1;
}

.cloud-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat-x;
  background-size: auto 100%;
  will-change: background-position-x;
}

.cloud-back { opacity: 0.4; }
.cloud-front { opacity: 1; }

/* ═══════════════════════════════════════════
   PROBLEM ACCORDION (Horizontal)
   ═══════════════════════════════════════════ */

.problem-cards {
  display: flex;
  gap: 0;
  height: 312px;
  overflow: visible;
  width: 100%;
  padding-bottom: 8px;
}

.problem-strip {
  flex: 0 0 51px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid var(--dark);
  border-radius: var(--r-lg);
  transition: flex-grow 0.4s ease, flex-basis 0.4s ease, box-shadow 0.3s;
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-left: -3px;
  z-index: 2;
  box-shadow: none;
}

.problem-strip:first-child { margin-left: 0; }

.problem-strip.active {
  flex: 1 1 0%;
  z-index: 1;
  box-shadow: var(--shadow-neo);
}

.problem-strip-title-vertical {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  padding: 16px 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.problem-strip.active .problem-strip-title-vertical {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.problem-strip-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 14px;
  gap: 1px;
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  transition: opacity 0.4s ease 0.15s;
  pointer-events: none;
}

.problem-strip.active .problem-strip-inner {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════
   WHY US ACCORDION (Vertical)
   ═══════════════════════════════════════════ */

.h-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.h-strip {
  overflow: hidden;
  cursor: pointer;
  border: 3px solid var(--dark);
  border-radius: 14px;
  background: var(--beige-bg);
  transition: box-shadow 0.3s;
  position: relative;
  margin-top: -3px;
  z-index: 2;
  box-shadow: none;
}

.h-strip:first-child { margin-top: 0; }

.h-strip.active {
  z-index: 1;
  box-shadow: var(--shadow-neo-sm);
}

.h-strip-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  white-space: nowrap;
  overflow: hidden;
}

.h-strip.active .h-strip-title {
  display: none;
}

.h-strip-inner {
  display: none;
  flex-direction: column;
  padding: 12px 14px;
  width: 100%;
}

.h-strip.active .h-strip-inner {
  display: flex;
}

/* ═══════════════════════════════════════════
   REVIEW CAROUSEL
   ═══════════════════════════════════════════ */

.review-card {
  flex: 0 0 calc(100% - 48px);
  cursor: pointer;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s;
}

.review-dot.active {
  background: var(--dark) !important;
}

/* ═══════════════════════════════════════════
   CATALOG
   ═══════════════════════════════════════════ */

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-24);
}

.product-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--ease);
}

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

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: var(--s-16);
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--s-4);
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--s-12);
}

.product-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--s-12);
}

.product-card-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════ */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-24);
}

.blog-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--ease);
}

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

.blog-card-img {
  aspect-ratio: 16/9;
  background: #f5f5f5;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--s-16);
}

.blog-card-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: var(--s-8);
}

.blog-card-tag {
  display: inline-block;
  background: rgba(59,153,157,0.1);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  margin-left: var(--s-8);
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: var(--s-8);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-label .required {
  color: var(--red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--s-12) var(--s-16);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--ease);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #aaa;
}

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

/* ═══════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════ */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: 13px;
  color: var(--text-light);
  padding: var(--s-16) 0;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--teal);
  transition: color var(--ease);
}

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

.breadcrumbs span {
  color: var(--text-light);
}

/* ═══════════════════════════════════════════
   PAGE SECTIONS
   ═══════════════════════════════════════════ */

.page-section {
  padding: var(--s-48) 0;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  line-height: 1.2;
  margin-bottom: var(--s-32);
}

.section-title-white {
  color: var(--white);
}

/* ═══════════════════════════════════════════
   STAR RATING + REVIEW FORM
   ═══════════════════════════════════════════ */

.star-rating {
  display: flex;
  gap: 4px;
}

.star-btn {
  font-size: 28px;
  cursor: pointer;
  color: #ddd;
  background: none;
  border: none;
  padding: 2px;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}

.star-btn.active {
  color: #f5b400;
}

.star-btn:hover {
  color: #f5b400;
  transform: scale(1.15);
}

.review-form-wrapper {
  margin-top: var(--s-48);
  padding-top: var(--s-32);
  border-top: 1px solid #eee;
}

.review-form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--s-4);
}

.review-form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: var(--s-24);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.review-success {
  text-align: center;
  padding: var(--s-32) 0;
}

/* ═══════════════════════════════════════════
   PROMO BANNER
   ═══════════════════════════════════════════ */

.promo-banner {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--r-md);
  padding: var(--s-16) var(--s-20);
  display: flex;
  align-items: center;
  gap: var(--s-12);
}

.promo-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.promo-banner-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
}

.promo-banner-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════
   ARTICLE / BLOG POST
   ═══════════════════════════════════════════ */

.article-content {
  max-width: 680px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: var(--s-32) 0 var(--s-12);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: var(--s-24) 0 var(--s-8);
}

.article-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--s-16);
}

.article-content ul,
.article-content ol {
  padding-left: var(--s-24);
  margin-bottom: var(--s-16);
}

.article-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--s-8);
}

.article-content img {
  border-radius: var(--r-lg);
  margin: var(--s-24) 0;
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-teal { color: var(--teal); }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.bg-teal { background: var(--teal); }
.bg-beige { background: var(--beige-bg); }
.bg-pink { background: var(--pink-bg); }
.bg-white { background: var(--white); }
.bg-teal-dark { background: var(--teal-dark); }

.mt-4 { margin-top: var(--s-16); }
.mt-6 { margin-top: var(--s-24); }
.mt-8 { margin-top: var(--s-32); }
.mb-4 { margin-bottom: var(--s-16); }

.px-6 { padding-left: var(--s-24); padding-right: var(--s-24); }
.py-12 { padding-top: var(--s-48); padding-bottom: var(--s-48); }

.hidden { display: none !important; }

/* ═══════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════ */

.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-24);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.checkmark-circle svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.5s ease 0.3s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ═══════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════ */

.checkout-card {
  background: var(--white);
  padding: 24px;
  margin-left: -24px;
  margin-right: -24px;
  border-top: 3px solid var(--dark);
  border-bottom: 3px solid var(--dark);
}

@media (min-width: 768px) {
  .checkout-card {
    margin: 0;
    border: 3px solid var(--dark);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-neo);
  }
}

.cart-page-item {
  display: flex;
  gap: var(--s-16);
  padding: var(--s-16) 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-page-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--r-md);
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-page-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.order-summary {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-24);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .header-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

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

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

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-columns {
    grid-template-columns: repeat(3, auto);
    gap: var(--s-48);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .review-card {
    flex: 0 0 calc(50% - 18px);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }

  /* Hero split layout */
  .hero-desktop {
    display: flex;
    align-items: center;
    min-height: 100vh;
  }

  .hero-desktop .hero-text {
    flex: 1;
    padding-right: var(--s-48);
  }

  .hero-desktop .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  /* Problems: 3 cards row */
  .problem-cards-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-24);
    height: auto;
  }

  .problem-cards-desktop .problem-card-static {
    padding: var(--s-24);
    border-radius: var(--r-lg);
    border: 3px solid var(--dark);
    box-shadow: var(--shadow-neo);
  }

  /* Why Us: 2 columns */
  .whyus-desktop {
    display: flex;
    gap: var(--s-32);
    align-items: stretch;
  }

  .whyus-desktop .whyus-image {
    flex: 0 0 40%;
    border-radius: var(--r-lg);
    overflow: hidden;
  }

  .whyus-desktop .whyus-content {
    flex: 1;
  }

  /* Review: 3 visible */
  .review-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  /* Product page: gallery + details */
  .product-layout {
    display: flex;
    gap: var(--s-48);
    align-items: flex-start;
  }

  .product-gallery {
    flex: 0 0 50%;
    position: sticky;
    top: 100px;
  }

  .product-details {
    flex: 1;
  }

  /* FAQ: 2-column */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-16);
  }

  /* Catalog: 3 columns */
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Blog: 3 columns */
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Cart page: 2 columns */
  .cart-layout {
    display: flex;
    gap: var(--s-32);
  }

  .cart-items-col {
    flex: 0 0 65%;
  }

  .cart-summary-col {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
}
