:root {
  --wine-950: #210707;
  --wine-900: #3a0b0d;
  --wine-800: #5a1014;
  --wine-700: #75171c;
  --gold-700: #9a6419;
  --gold-600: #b9832b;
  --gold-400: #d5ac62;
  --green-900: #0d2c1b;
  --green-800: #173d27;
  --cream-100: #fff9ea;
  --cream-200: #f4e8cb;
  --paper: #fffcf4;
  --text: #2a1713;
  --muted: #745f55;
  --shadow: 0 24px 70px rgba(33, 7, 7, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(213, 172, 98, 0.22), transparent 30rem),
    linear-gradient(180deg, var(--cream-100), #fff 45%, var(--cream-100));
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.top-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 8px 16px;
  color: var(--cream-100);
  background: linear-gradient(90deg, var(--green-900), var(--wine-900));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(154, 100, 25, .22);
  background: rgba(255, 252, 244, .86);
  backdrop-filter: blur(14px);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 68px; height: 68px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(33, 7, 7, .12); }
.brand strong { display: block; font-family: Cinzel, serif; font-size: clamp(17px, 2vw, 24px); color: var(--wine-800); letter-spacing: .04em; }
.brand small { color: var(--gold-700); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-link { color: var(--muted); font-weight: 800; font-size: 14px; }
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--cream-100);
  background: linear-gradient(135deg, var(--wine-800), var(--wine-950));
  box-shadow: 0 12px 26px rgba(90, 16, 20, .25);
}
.cart-button strong {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--wine-900);
  background: var(--gold-400);
}

.hero { padding: 72px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; }
.eyebrow { color: var(--gold-700); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .section-heading h2, .drawer-header h2 {
  margin: 10px 0 16px;
  font-family: Cinzel, serif;
  color: var(--wine-900);
  line-height: 1.02;
}
.hero h1 { font-size: clamp(42px, 7vw, 82px); max-width: 780px; }
.hero p { margin: 0; max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.primary-button, .secondary-button, .ghost-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.primary-button { display: inline-flex; justify-content: center; align-items: center; color: var(--cream-100); background: linear-gradient(135deg, var(--wine-700), var(--wine-950)); box-shadow: 0 15px 35px rgba(90, 16, 20, .25); }
.secondary-button { color: var(--wine-800); background: #fff; border: 1px solid rgba(154, 100, 25, .24); }
.ghost-button { color: var(--wine-800); background: transparent; border: 1px solid rgba(90, 16, 20, .18); }
.primary-button:hover, .secondary-button:hover, .ghost-button:hover { transform: translateY(-2px); }
.full { width: 100%; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges span { padding: 10px 13px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(154, 100, 25, .2); color: var(--wine-900); font-weight: 800; }
.hero-card {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  border-radius: 40px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(90,16,20,.92), rgba(33,7,7,.98)),
    radial-gradient(circle at center, rgba(213,172,98,.28), transparent 26rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(213,172,98,.42); border-radius: 30px; }
.hero-card img { position: relative; width: min(370px, 80%); border-radius: 50%; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.hero-card-info { position: absolute; left: 34px; right: 34px; bottom: 34px; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 22px; color: var(--cream-100); background: rgba(13,44,27,.88); border: 1px solid rgba(213,172,98,.35); }
.hero-card-info span { color: var(--cream-200); font-weight: 700; }
.hero-card-info strong { color: var(--gold-400); }

.features { padding: 22px 0 52px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features article, .product-card {
  border: 1px solid rgba(154, 100, 25, .18);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, .86);
  box-shadow: 0 14px 40px rgba(33, 7, 7, .08);
}
.features article { padding: 24px; }
.features span { color: var(--gold-700); font-family: Cinzel, serif; font-weight: 900; }
.features h2 { margin: 10px 0 8px; color: var(--wine-900); font-size: 20px; }
.features p { margin: 0; color: var(--muted); line-height: 1.6; }

.catalog-section { padding: 42px 0 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 0; }
.search-box input, .customer-box input, .customer-box textarea {
  width: 100%;
  border: 1px solid rgba(154, 100, 25, .24);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.search-box input { min-width: min(360px, 100%); }
.search-box input:focus, .customer-box input:focus, .customer-box textarea:focus { border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(213, 172, 98, .18); }
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.category-tabs button {
  border: 1px solid rgba(154, 100, 25, .25);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--wine-800);
  background: #fff;
  font-weight: 900;
}
.category-tabs button.active { color: var(--cream-100); background: var(--green-900); border-color: var(--green-900); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-image { min-height: 190px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, var(--cream-200)); }
.product-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-icon { font-size: 64px; filter: drop-shadow(0 16px 20px rgba(33, 7, 7, .14)); }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-category { width: fit-content; padding: 6px 10px; border-radius: 999px; color: var(--gold-700); background: rgba(213,172,98,.16); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-body h3 { margin: 0; color: var(--wine-900); font-size: 18px; }
.product-body p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { color: var(--green-900); font-size: 20px; font-weight: 900; }
.add-button { border: 0; border-radius: 14px; padding: 11px 13px; color: var(--cream-100); background: var(--wine-800); font-weight: 900; }

.products-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pagination-pages { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination-button,
.pagination-page {
  border: 1px solid rgba(154, 100, 25, .24);
  border-radius: 999px;
  padding: 11px 16px;
  background: #fff;
  color: var(--wine-800);
  font-weight: 900;
}
.pagination-page.active {
  color: var(--cream-100);
  background: var(--green-900);
  border-color: var(--green-900);
}
.pagination-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.cart-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.cart-drawer.open { pointer-events: auto; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(33,7,7,.48); opacity: 0; transition: opacity .25s ease; }
.cart-drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--paper);
  box-shadow: -24px 0 70px rgba(33,7,7,.24);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(154, 100, 25, .2); }
.drawer-header h2 { margin: 4px 0 0; font-size: 30px; }
.icon-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--wine-900); color: #fff; font-size: 28px; line-height: 1; }
.cart-items { flex: 1; overflow: auto; padding: 18px 0; }
.empty-cart { padding: 24px; text-align: center; color: var(--muted); border: 1px dashed rgba(154,100,25,.32); border-radius: 18px; }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(154, 100, 25, .14); }
.cart-item-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #fff; font-size: 28px; }
.cart-item h3 { margin: 0 0 4px; color: var(--wine-900); font-size: 15px; }
.cart-item small { color: var(--muted); }
.quantity-control { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.quantity-control button { width: 28px; height: 28px; border: 1px solid rgba(154,100,25,.3); border-radius: 9px; background: #fff; color: var(--wine-900); font-weight: 900; }
.remove-button { border: 0; color: var(--wine-700); background: transparent; font-weight: 900; }
.customer-box { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(154, 100, 25, .2); }
.customer-box label { color: var(--wine-900); font-size: 13px; font-weight: 900; }
.cart-summary { padding-top: 16px; border-top: 1px solid rgba(154, 100, 25, .2); display: grid; gap: 12px; }
.cart-summary > div { display: flex; justify-content: space-between; align-items: center; }
.cart-summary span { color: var(--muted); font-weight: 800; }
.cart-summary strong { color: var(--green-900); font-size: 24px; }
.cart-summary small { color: var(--muted); text-align: center; line-height: 1.5; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--cream-100);
  background: var(--green-900);
  box-shadow: 0 14px 30px rgba(13,44,27,.28);
  font-weight: 900;
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-footer {
  padding: 34px 0;
  color: var(--cream-100);
  background:
    radial-gradient(circle at top left, rgba(213, 172, 98, .14), transparent 22rem),
    linear-gradient(135deg, var(--wine-950), #2b090c 55%, var(--wine-900));
  border-top: 1px solid rgba(213, 172, 98, .14);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}
.footer-brand {
  display: grid;
  gap: 10px;
}
.footer-brand strong {
  font-family: Cinzel, serif;
  letter-spacing: .04em;
  font-size: 22px;
}
.footer-brand p {
  margin: 0;
  max-width: 46ch;
  color: var(--cream-200);
  line-height: 1.7;
}
.footer-legal {
  color: var(--gold-400);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
.footer-panel {
  display: grid;
  gap: 14px;
  justify-items: end;
}
.footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--cream-100);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(213, 172, 98, .16);
  backdrop-filter: blur(10px);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(33, 7, 7, .14);
}
.footer-chip:hover { color: var(--gold-400); }
.footer-chip-whatsapp { background: rgba(13, 44, 27, .36); }
.footer-secondary-actions { display: flex; justify-content: flex-end; }
.footer-grid a { color: inherit; }
.admin-login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--cream-100) !important;
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  border: 1px solid rgba(213, 172, 98, .26);
  box-shadow: 0 12px 24px rgba(13, 44, 27, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.admin-login-button:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(13, 44, 27, .3); }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at top left, rgba(213, 172, 98, 0.25), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(90, 16, 20, 0.16), transparent 30rem),
    linear-gradient(180deg, var(--cream-100), #fff 55%, var(--cream-100));
}
.login-shell { width: min(1120px, 100%); }
.login-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  overflow: hidden;
  border-radius: 36px;
  background: rgba(255, 252, 244, .94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(154, 100, 25, .18);
}
.login-branding {
  padding: 56px;
  color: var(--cream-100);
  background:
    linear-gradient(135deg, rgba(90, 16, 20, .96), rgba(33, 7, 7, .98)),
    radial-gradient(circle at center, rgba(213, 172, 98, .2), transparent 22rem);
}
.login-branding .eyebrow { color: var(--gold-400); }
.login-branding h1 {
  margin: 12px 0 16px;
  font-family: Cinzel, serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
}
.login-branding p { margin: 0; max-width: 520px; color: var(--cream-200); font-size: 18px; line-height: 1.7; }
.login-panel { padding: 56px; display: grid; align-items: center; }
.login-form { display: grid; gap: 12px; }
.login-form label { color: var(--wine-900); font-size: 13px; font-weight: 900; }
.login-form input {
  width: 100%;
  border: 1px solid rgba(154, 100, 25, .24);
  border-radius: 18px;
  padding: 15px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.login-form input:focus { border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(213, 172, 98, .18); }
.login-alert {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.5;
}
.login-success { color: var(--green-900); background: rgba(13, 44, 27, .08); border: 1px solid rgba(13, 44, 27, .18); }
.login-error { color: var(--wine-800); background: rgba(90, 16, 20, .08); border: 1px solid rgba(90, 16, 20, .18); }
.login-back-link { display: inline-flex; justify-content: center; align-items: center; }

.admin-page {
  padding: 0 0 72px;
}
.admin-topbar {
  position: relative;
  padding: 34px 0 22px;
  color: var(--cream-100);
  background:
    linear-gradient(135deg, rgba(33, 7, 7, .98), rgba(58, 11, 13, .95)),
    radial-gradient(circle at top right, rgba(213, 172, 98, .18), transparent 26rem);
  border-bottom: 1px solid rgba(213, 172, 98, .16);
  box-shadow: 0 18px 40px rgba(33, 7, 7, .16);
}
.admin-topbar-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.admin-brand-block { max-width: 760px; }
.admin-brand-block h1 {
  margin: 10px 0 12px;
  font-family: Cinzel, serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}
.admin-brand-block p { margin: 0; max-width: 60ch; color: var(--cream-200); font-size: 17px; line-height: 1.7; }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.admin-link-button, .admin-logout-button { display: inline-flex; align-items: center; justify-content: center; }
.admin-link-button { color: var(--cream-100) !important; border-color: rgba(213,172,98,.24); }
.admin-logout-button { background: rgba(255,255,255,.92); color: var(--wine-900); }

.admin-content { margin-top: 28px; }
.admin-alert {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--green-900);
  background: rgba(13, 44, 27, .08);
  border: 1px solid rgba(13, 44, 27, .18);
  font-weight: 800;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.admin-summary-card {
  padding: 20px 22px;
  border-radius: 24px;
  color: var(--cream-100);
  background: linear-gradient(135deg, var(--wine-800), var(--wine-950));
  box-shadow: var(--shadow);
  border: 1px solid rgba(213, 172, 98, .16);
}
.admin-summary-card strong {
  display: block;
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
  margin-bottom: 8px;
}
.admin-summary-card span { color: var(--cream-200); font-weight: 700; }
.admin-summary-card-soft {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
}
.admin-summary-card-dark {
  background: linear-gradient(135deg, #1d1110, #381012);
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.admin-tab {
  border: 1px solid rgba(154, 100, 25, .24);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 252, 244, .88);
  color: var(--wine-800);
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.admin-tab:hover { transform: translateY(-1px); }
.admin-tab.active {
  color: var(--cream-100);
  background: linear-gradient(135deg, var(--green-900), var(--wine-900));
  border-color: transparent;
}

.admin-panel-stack { display: grid; gap: 18px; }
.admin-panel { display: none; }
.admin-panel.active { display: grid; gap: 18px; }
.admin-section-note {
  margin: -6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.admin-card {
  border: 1px solid rgba(154, 100, 25, .18);
  border-radius: 28px;
  background: rgba(255, 252, 244, .94);
  box-shadow: 0 14px 40px rgba(33, 7, 7, .08);
  overflow: hidden;
}
.admin-card-feature { padding: 24px; }
.admin-card-form, .admin-card-table { padding: 24px; }
.admin-form { display: grid; gap: 12px; }
.admin-form label { color: var(--wine-900); font-size: 13px; font-weight: 900; }
.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(154, 100, 25, .24);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.admin-form input:focus,
.admin-form textarea:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(213, 172, 98, .18);
}
.admin-form small { color: var(--muted); line-height: 1.6; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-span-2 { grid-column: 1 / -1; }
.admin-product-form .primary-button,
.admin-form .primary-button { justify-self: start; }

.admin-search-box { margin: 18px 0 16px; }
.admin-search-box input {
  width: 100%;
  border: 1px solid rgba(154, 100, 25, .24);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.admin-search-box input:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(213, 172, 98, .18);
}

.admin-table { display: grid; gap: 10px; }
.admin-table-row {
  display: grid;
  grid-template-columns: 1.4fr .8fr .5fr .9fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(154, 100, 25, .14);
}
.admin-table-head {
  padding-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.admin-table-row strong { display: block; color: var(--wine-900); }
.admin-table-row small { color: var(--muted); display: block; margin-top: 4px; }
.admin-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.admin-actions form { margin: 0; }

.admin-card-table { overflow: hidden; }

@media (max-width: 1100px) {
  .admin-panel.active { gap: 16px; }
  .admin-metrics, .admin-grid { grid-template-columns: 1fr; }
  .admin-topbar-inner { flex-direction: column; align-items: flex-start; }
  .admin-topbar-actions { width: 100%; justify-content: flex-start; }
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-panel, .footer-secondary-actions { justify-items: start; justify-content: start; }
  .footer-actions { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-table-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }
  .admin-actions { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .login-card { grid-template-columns: 1fr; }
  .login-branding, .login-panel { padding: 32px; }
}

@media (max-width: 980px) {
  .hero-grid, .features-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 420px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .top-strip { flex-direction: column; gap: 4px; align-items: center; text-align: center; font-size: 11px; }
  .navbar { align-items: flex-start; gap: 14px; }
  .brand img { width: 56px; height: 56px; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .nav-link { display: none; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 40px; }
  .hero-card-info { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin-top: 18px; flex-direction: column; align-items: flex-start; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-box input { min-width: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
