/* OTT WALA — Main Stylesheet
   Based on OTT_WALA_Design_System.md and ottwala_final_design.html */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --red: #E53935;
  --red-hover: #C62828;
  --blue: #00A8E8;
  --blue-dark: #007FB5;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-soft: #EDF6FB;
  --surface-muted: #EEF1F6;
  --text: #172033;
  --muted: #697386;
  --border: #DDE4ED;
  --green: #16844A;
  --wa: #25D366;
  --wa-hover: #1FC45D;
  --shadow: 0 5px 20px rgba(23, 32, 51, .055);
  --radius: 15px;
}

body.dark {
  --bg: #11151C;
  --surface: #1A202B;
  --surface-soft: #182E3A;
  --surface-muted: #242D3A;
  --text: #F2F5F9;
  --muted: #A8B2C1;
  --border: #303A49;
  --green: #58D69A;
  --shadow: 0 5px 22px rgba(0, 0, 0, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  transition: background .18s, color .18s;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

/* Header & Navigation */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.2px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.brand .red { color: var(--red); }
.brand .blue { color: var(--blue); }

.desktop-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.desktop-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color .15s;
}
.desktop-links a:hover, .desktop-links a.active {
  color: var(--red);
}

.tools {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tool {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .15s, background .15s;
}
.tool:hover {
  border-color: var(--blue);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.hamburger svg { width: 22px; height: 22px; stroke: currentColor; }

/* Mobile Drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 29, .54);
  z-index: 50;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(330px, 88vw);
  background: var(--surface);
  z-index: 60;
  padding: 20px;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .22s ease, visibility .22s;
  box-shadow: -15px 0 45px rgba(0, 0, 0, .16);
  overflow-y: auto;
}
body.menu-open .mobile-drawer {
  transform: translateX(0);
  visibility: visible;
}
body.menu-open .mobile-overlay {
  display: block;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  border-radius: 9px;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.drawer-links {
  display: grid;
  gap: 5px;
  padding-top: 15px;
}
.drawer-links a {
  padding: 12px;
  border-radius: 9px;
  font-weight: 700;
  transition: background .15s;
}
.drawer-links a:hover, .drawer-links a.active {
  background: var(--surface-soft);
  color: var(--red);
}
.drawer-note {
  margin-top: 20px;
  padding: 13px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

/* Main Layout */
main {
  flex: 1;
  min-height: 65vh;
}

/* Hero Carousel */
.hero {
  margin-top: 23px;
}
.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  box-shadow: var(--shadow);
}
.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 2.6 / 1;
  max-height: 430px;
  min-height: 185px;
  object-fit: cover;
  object-position: center;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(17, 24, 39, .82);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  transition: background .16s ease, transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  z-index: 10;
  cursor: pointer;
}
.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.hero-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(229, 57, 53, .45);
}
.hero-arrow:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(15, 24, 37, .65);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.hero-dot.active {
  width: 24px;
  background: #ffffff;
}
.hero-dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* State B: Designed Intentional Fallback Hero (When 0 active banners exist) */
.hero-fallback-section {
  margin-top: 24px;
}
.hero-fallback-card {
  padding: clamp(38px, 5.5vw, 64px) clamp(20px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.05) 0%, rgba(0, 168, 232, 0.06) 100%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-fallback-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 0 0 4px 4px;
}
.hero-fallback-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--surface-soft);
  border: 1px solid rgba(0, 168, 232, 0.25);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
body.dark .hero-fallback-badge {
  color: #4DC8FA;
  border-color: rgba(77, 200, 250, 0.25);
}
.hero-fallback-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
}
.hero-fallback-title {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
  max-width: 780px;
}
.hero-fallback-title .dot-red {
  color: var(--red);
}
.hero-fallback-desc {
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 24px;
}
.hero-fallback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Headings & Search Section (Desktop Balanced Composition) */
.store-search-section {
  margin-top: 28px;
  margin-bottom: 22px;
}
.search-bar-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-heading-col {
  flex: 0 1 auto;
  min-width: 220px;
}
.search-heading-col h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.6px;
  margin: 0;
}
.search-heading-col p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 3px 0 0;
}
.mobile-view-all {
  display: none;
}
.search-form-col {
  flex: 1 1 420px;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Universal Searchbox Component */
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  min-height: 44px;
  height: 44px;
  width: 100%;
}
.searchbox:focus-within {
  background: var(--surface);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, .15);
}
.searchbox svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  stroke: var(--muted);
  flex-shrink: 0;
}
.searchbox input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.search-form-col .searchbox {
  background: var(--surface-muted);
}
.search-submit-btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 800;
}
.search-link-col {
  flex-shrink: 0;
}

/* Products Catalogue Page Search Bar */
.products-search-wrap {
  width: min(640px, 100%);
  margin: 0 0 28px;
}
.products-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.products-search-form .searchbox {
  flex: 1;
}
.products-search-form .search-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.products-search-form .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Action Rows for Info Pages (About Us, 404, etc.) */
.page-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.view-all-link:hover {
  background: rgba(229, 57, 53, 0.08);
  color: var(--red-hover);
}
.link-red {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;
}
.link-red:hover { opacity: .85; }
.link-blue {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}
body.dark .link-blue { color: #4DC8FA; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  transition: background .15s, transform .15s, box-shadow .15s;
  text-decoration: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-blue { background: var(--blue); color: #09283A; }
.btn-blue:hover { background: #24B9F0; }
.btn-soft {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-soft:hover { border-color: var(--blue); }
.btn-whatsapp {
  background: var(--wa);
  color: #07351D;
  border: 1px solid #1EBE5D;
  border-radius: 11px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .18);
}
.btn-whatsapp:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, .25);
}
.btn-sm {
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 7px;
}

/* Product Cards & Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 15px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 168, 232, .12);
}
.product-image-wrap {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .18s;
}
body.dark .product-image-wrap {
  background: #151C27;
}
.product-image {
  display: block;
  max-width: 82%;
  max-height: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform .2s ease;
}
.product-card:hover .product-image {
  transform: scale(1.06);
}
.product-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-content h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  min-height: 42px;
  overflow-wrap: anywhere;
}
.from-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 3px;
}
.price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 32px;
  margin-bottom: 12px;
}
.old-price {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.current-price {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--text);
}
.discount {
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  background: rgba(22, 132, 74, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}
.card-button {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--red);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border: 1px solid var(--red);
  box-shadow: 0 3px 10px rgba(229, 57, 53, .22);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none;
}
.card-button:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, .35);
}
.card-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(229, 57, 53, .2);
}
.card-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 34px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
}

/* 3-Step Explainer */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
}
.step-number {
  font-size: 11px;
  letter-spacing: 1.3px;
  font-weight: 800;
  color: var(--blue-dark);
}
body.dark .step-number { color: #4DC8FA; }
.how h3 { font-size: 15px; margin: 8px 0 5px; }
.how p { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; }

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.blog-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  transition: transform .16s, border-color .16s;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}
.blog-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--surface-muted);
}
.blog-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-date {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.blog-content h3 {
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0 8px;
}
.blog-content p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 13px;
  flex: 1;
}

/* Breadcrumb & Page Headings */
.page-heading {
  padding: 34px 0 20px;
}
.page-heading h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0 0 6px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin: 23px 0 15px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }

/* Product Details Page */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: start;
  margin: 20px 0 44px;
}
.detail-image-frame {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: background .18s;
}
body.dark .detail-image-frame {
  background: #151C27;
}
.detail-image {
  display: block;
  max-width: 82%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.detail-copy h1 {
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -.8px;
  margin: 0 0 10px;
}
.detail-description {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.plan-heading {
  font-weight: 800;
  margin: 23px 0 10px;
}
.plan-list {
  display: grid;
  gap: 9px;
}
.plan-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.plan-option:hover {
  border-color: var(--blue);
}
.plan-option.active {
  padding: 12px;
  border: 2px solid var(--blue);
  background: var(--surface-soft);
}
.plan-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-left input {
  accent-color: var(--red);
  cursor: pointer;
}
.plan-price {
  text-align: right;
  min-width: 0;
}
.plan-price .current-price {
  font-size: 18px;
}
.detail-buy {
  width: 100%;
  margin-top: 16px;
  padding: 15px;
  min-height: 48px;
  font-size: 14px;
}
.notice {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 10px;
}

/* Article & Static Info Pages */
.article {
  max-width: 800px;
  margin: 0 auto 48px;
}
.article h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 10px 0 15px;
}
.article-hero {
  display: block;
  width: 100%;
  max-height: 430px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin: 18px 0 23px;
  border: 1px solid var(--border);
}
.article-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.article-copy {
  font-size: 15px;
  line-height: 1.9;
}
.article-copy h2 {
  font-size: 23px;
  margin-top: 28px;
  letter-spacing: -.5px;
}
.article-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}
.article-copy ul, .article-copy ol {
  color: var(--muted);
  padding-left: 24px;
  margin-bottom: 18px;
}

.info-page {
  max-width: 800px;
  margin: 40px auto 65px;
}
.info-page h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 10px 0 16px;
}
.info-page p {
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}
.info-page h2 {
  font-size: 20px;
  margin-top: 28px;
}

/* Footer Styles */
footer {
  margin-top: auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 34px 0 24px;
  width: 100%;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-top > .brand {
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.footer-links a:hover {
  color: var(--red);
}
.footer-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-align: right;
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 12px;
  color: var(--muted);
}
.footer-copyright strong {
  color: var(--text);
  font-weight: 700;
}
.growstation-credit {
  font-size: 12px;
  color: var(--muted);
}
.growstation-credit a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
.growstation-credit a:hover {
  color: var(--red);
}

/* Admin Styles */
.admin-wrap {
  width: min(1240px, calc(100% - 36px));
  margin-inline: auto;
  padding: 25px 0 60px;
}
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 15px;
}
.admin-page-header h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 5px;
  color: var(--text);
  line-height: 1.2;
}
.admin-page-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.admin-stat {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.admin-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.2;
}
.admin-stat .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.admin-table th, .admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
}
.admin-table th {
  background: var(--surface-muted);
  color: var(--muted);
  font-weight: 700;
}
.admin-table tr:hover td {
  background: var(--surface-soft);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}
.form-control:focus {
  border-color: var(--blue);
  outline: 0;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.badge-green { background: #E6F7ED; color: #16844A; }
.badge-red { background: #FDE8E8; color: #E53935; }
.badge-blue { background: #EDF6FB; color: #007FB5; }
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}
.alert-success { background: #E6F7ED; color: #16844A; border: 1px solid #B8E8CB; }
.alert-danger { background: #FDE8E8; color: #E53935; border: 1px solid #FAC2C2; }

/* Responsive Queries */
@media(min-width: 1400px) {
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media(max-width: 980px) {
  .desktop-links { gap: 13px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .product-image-wrap { aspect-ratio: 1.4 / 1; }
  .hero-image { aspect-ratio: 2.15 / 1; }
  .search-bar-layout {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 18px;
  }
  .search-heading-col {
    flex: 1 1 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .mobile-view-all {
    display: inline-flex;
  }
  .search-link-col {
    display: none;
  }
  .search-form-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
@media(max-width: 700px) {
  .wrap, .admin-wrap { width: calc(100% - 28px); }
  .nav { height: 66px; gap: 8px; }
  .brand { font-size: 21px; }
  .desktop-links { display: none; }
  .hamburger { display: flex; }
  .tools { margin-left: auto; gap: 6px; }
  .tool { padding: 8px 10px; font-size: 11px; }
  .hero { margin-top: 15px; }
  .hero-image { aspect-ratio: 1.85 / 1; min-height: 170px; max-height: 320px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-dots { bottom: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-image-wrap { aspect-ratio: 1.3 / 1; padding: 12px 14px; }
  .product-content { padding: 11px; }
  .product-content h3 { font-size: 13px; line-height: 1.4; min-height: 36px; }
  .price-line { gap: 6px; margin-bottom: 10px; }
  .current-price { font-size: 18px; }
  .old-price { font-size: 11px; }
  .discount { font-size: 9px; }
  .card-button { font-size: 12px; padding: 10px 8px; }
  .how { grid-template-columns: 1fr; gap: 17px; padding: 19px; margin: 29px 0; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .blog-content { padding: 12px; }
  .blog-content h3 { font-size: 13px; }
  .blog-content p { font-size: 12px; }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-image-frame { aspect-ratio: 1.25 / 1; max-height: 380px; padding: 24px; }
  .detail-copy h1 { font-size: 27px; }
  .page-heading h1 { font-size: 28px; }
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-bottom: 18px;
  }
  .footer-links {
    justify-content: center;
    gap: 12px 18px;
  }
  .footer-links a {
    font-size: 12px;
  }
  .footer-note {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-top: 16px;
  }
  .detail-buy { width: 100%; }
}
@media(max-width: 580px) {
  .products-search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .products-search-form .search-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .products-search-form .search-actions .btn {
    flex: 1;
    width: 100%;
  }
  .page-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .page-action-row .btn {
    width: 100%;
    text-align: center;
  }
}
@media(max-width: 480px) {
  .search-form-col {
    flex-direction: column;
    align-items: stretch;
  }
  .search-submit-btn {
    width: 100%;
  }
}
@media(max-width: 380px) {
  .wrap, .admin-wrap { width: calc(100% - 20px); }
  .brand { font-size: 19px; }
  .tool { padding: 6px 8px; font-size: 10px; }
  .product-grid { gap: 8px; }
  .product-content { padding: 9px; }
  .product-content h3 { font-size: 12px; }
  .current-price { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-image { aspect-ratio: 16 / 9; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
