:root {
  --bg: #eeeeee;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #333333;
  --muted: #666666;
  --accent: #2968c8;
  --accent-dark: #3483fa;
  --line: #e6e6e6;
  --success: #00a650;
  --danger: #cc3d3d;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.catalog-container { width: min(1420px, calc(100% - 32px)); }
.narrow { width: min(760px, calc(100% - 32px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--accent);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.site-footer {
  background: #1f2d3d;
  color: #f4f7fb;
  padding: 36px 0;
  margin-top: 40px;
}
.footer-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.site-footer h3 {
  margin: 10px 0 12px;
  font-size: 1.4rem;
}
.site-footer p {
  margin: 0 0 8px;
  color: rgba(244, 247, 251, 0.82);
}
.footer-credit {
  display: flex;
  align-items: flex-end;
}
.footer-credit a {
  color: rgba(244, 247, 251, 0.62);
  font-size: 0.9rem;
  font-weight: 500;
}
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}
.whatsapp-icon {
  width: 30px;
  height: 30px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ffffff, #dbe8ff);
  color: var(--accent-dark);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.site-logo-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.header-search {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 24px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.header-search input {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 14px 16px;
}
.header-search input:focus {
  outline: none;
}
.header-search-button {
  border-radius: 0;
  background: #f3f4f6;
  color: var(--text);
  border-left: 1px solid var(--line);
  padding: 14px 18px;
  font-weight: 700;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  padding: 8px;
  border-radius: 12px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 999px;
}
.mobile-menu-toggle span + span {
  margin-top: 4px;
}
.main-nav a {
  color: white;
}
.cart-shell {
  position: relative;
}
.cart-trigger {
  color: white;
}
.mini-cart {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: 360px;
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  z-index: 10;
}
.mini-cart.open {
  display: block;
}
.mini-cart-head,
.mini-cart-footer,
.mini-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mini-cart-head {
  margin-bottom: 14px;
}
.mini-cart-head a {
  color: var(--accent-dark);
  font-weight: 700;
}
.mini-cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-cart-item {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.mini-cart-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  background: #f6f7fb;
  flex: 0 0 auto;
}
.mini-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-cart-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-cart-copy span,
.mini-cart-empty {
  color: var(--muted);
  margin: 0;
}
.mini-cart-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.header-inner, .main-nav, .actions, .product-footer, .section-heading, .summary-card, .line-card, .inline-form, .meta-line {
  display: flex;
  align-items: center;
}
.header-inner, .section-heading, .summary-card, .line-card { justify-content: space-between; }
.header-inner { min-height: 72px; }
.brand { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.01em; }
.main-nav, .actions, .inline-form, .meta-line { gap: 16px; }
.hero, .section { padding: 32px 0; }
.hero { padding: 28px 0 18px; background: linear-gradient(180deg, var(--accent) 0, var(--accent) 58%, var(--bg) 58%, var(--bg) 100%); }
.hero-copy { max-width: 760px; }
.hero-shell {
  display: block;
}
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
}
.hero h1, .section-heading h1, .section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin: 10px 0 14px;
}
.hero-copy p {
  margin-top: 24px;
}
.section-heading h2, .panel-card h2 { font-size: 1.6rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  font-size: 0.76rem;
}
.grid { display: grid; gap: 20px; }
.banners, .stats-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.catalog-layout { display: grid; gap: 24px; grid-template-columns: 280px minmax(0, 1fr); }
.account-layout { display: grid; gap: 24px; grid-template-columns: 280px minmax(0, 1fr); }
.detail-layout, .checkout-layout, .admin-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.banner-card, .product-card, .filters-card, .panel-card, .stat-card, .table-card, .summary-card, .line-card, .login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.banner-card, .product-card, .filters-card, .panel-card, .stat-card, .login-card { padding: 20px; }
.product-card, .stack, .compact-stack { display: flex; flex-direction: column; }
.stack { gap: 16px; }
.compact-stack { gap: 10px; }
.product-card {
  gap: 12px;
  height: 100%;
}
.product-card-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.product-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 116px;
}
.product-image, .detail-image {
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
  min-height: 170px;
}
.product-image {
  height: 200px;
}
.product-image img,
.detail-image img {
  height: 100%;
  object-fit: cover;
}
.detail-image {
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--muted);
}
.placeholder.large { min-height: 420px; }
.button, button, input, select, textarea { font: inherit; }
.button, button {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
}
.button.primary, button.primary { background: var(--accent-dark); color: white; }
.button.secondary, button.secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}
.button.small { padding: 9px 16px; }
.text-link, .actions-cell a, .link-button { color: var(--accent-dark); font-weight: 700; }
.price { font-size: 2rem; margin: 18px 0; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 14px 16px;
}
.checkbox { display: flex; align-items: center; gap: 10px; }
.checkbox input { width: auto; }
.table-card { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.actions-cell { display: flex; align-items: center; gap: 12px; }
.link-button { background: none; padding: 0; }
.danger { color: var(--danger); }
.summary-card, .line-card { padding: 18px 22px; }
.line-card.compact { padding: 12px 16px; }
.cart-line-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.cart-line-thumb {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f7fb;
  flex: 0 0 auto;
}
.cart-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel-card pre { white-space: pre-wrap; }
.banner-card {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.banner-copy {
  max-width: 440px;
}
.home-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.home-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
}
.home-carousel-slide {
  min-width: 100%;
  min-height: 320px;
  padding: 36px;
  color: white;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.home-carousel-slide .banner-copy {
  max-width: 520px;
}
.home-carousel-slide h3 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.home-carousel-slide p {
  margin: 0 0 16px;
  font-size: 1.1rem;
  line-height: 1.45;
}
.banner-link {
  color: white;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  padding: 0;
}
.carousel-arrow.prev {
  left: 16px;
}
.carousel-arrow.next {
  right: 16px;
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
}
.carousel-dot.active {
  background: white;
}
.department-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.department-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-weight: 700;
  color: var(--accent-dark);
}
.department-pill.active {
  background: var(--accent-dark);
  color: white;
  border-color: var(--accent-dark);
}
.product-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.product-footer {
  width: 100%;
  margin-top: auto;
}
.footer-action {
  margin-left: auto;
}
.filters-card {
  position: sticky;
  top: 92px;
  align-self: start;
}
.catalog-filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 14px;
}
.detail-copy {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.detail-description {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.detail-description h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.detail-description p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}
.payment-method-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  padding: 16px;
}
.payment-method-card strong {
  display: block;
  margin-bottom: 8px;
}
.payment-method-card p {
  margin: 0;
  color: var(--muted);
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 14px 16px;
}
.payment-option input {
  width: auto;
  margin-top: 3px;
}
.payment-option span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.payment-option small {
  color: var(--muted);
  font-size: 0.92rem;
}
.checkout-account-switch {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-sidebar {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 24px;
}
.account-sidebar h1 {
  margin: 10px 0 8px;
  font-size: 2rem;
}
.account-email {
  margin: 0 0 22px;
  color: var(--muted);
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.account-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8fafc;
  font-weight: 700;
}
.account-nav a.active {
  background: var(--accent-dark);
  color: white;
  border-color: var(--accent-dark);
}
.account-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.account-order-head,
.account-order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.account-order-head p {
  margin: 6px 0 0;
  color: var(--muted);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}
.status-pill.status-pendiente {
  background: #fff4d6;
  color: #9a6b00;
}
.status-pill.status-confirmado,
.status-pill.status-entregado {
  background: #e3f7eb;
  color: var(--success);
}
.status-pill.status-preparado {
  background: #e9f1ff;
  color: var(--accent-dark);
}
.status-pill.status-enviado {
  background: #e8f5ff;
  color: #12639e;
}
.status-pill.status-cancelado {
  background: #fde7e7;
  color: var(--danger);
}
.admin-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.admin-sidebar {
  min-height: 100vh;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, #172030 0%, #22314a 100%);
  color: #edf3ff;
  padding: 24px;
}
.admin-brand-block p {
  margin: 10px 0 0;
  color: rgba(237, 243, 255, 0.72);
  line-height: 1.5;
}
.admin-sidebar-eyebrow {
  color: rgba(237, 243, 255, 0.72);
}
.admin-nav { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-nav-group span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 243, 255, 0.55);
}
.admin-nav-group a {
  padding: 12px 14px;
  border-radius: 12px;
  color: #edf3ff;
}
.admin-nav-group a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.admin-main { padding: 28px; }
.admin-mini-stats .stat-card strong { font-size: 2rem; }
.stat-card strong { display: block; font-size: 2.4rem; margin-top: 12px; }
.admin-quick-links {
  display: grid;
  gap: 14px;
}
.admin-quick-links .line-card {
  color: inherit;
}
.muted-line {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.admin-line-end,
.admin-order-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card { width: min(420px, 100%); }
.helper, .success, .error { margin: 0; }
.success { color: var(--success); }
.error { color: var(--danger); }
.preview-image { width: 180px; border-radius: 16px; }
.table-thumb {
  width: 88px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.table-thumb-square {
  width: 64px;
  height: 64px;
}
.table-thumb-empty {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  background: #f6f7fb;
}
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-filter-bar {
  margin-bottom: 20px;
}
.admin-state-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-group span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #243247;
}
.admin-form-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcfe;
}
.admin-form-section h2 {
  margin: 8px 0 0;
  font-size: 1.3rem;
}
.admin-pricing-note {
  border-radius: 16px;
  background: linear-gradient(180deg, #edf4ff 0%, #f7faff 100%);
  border: 1px solid #d6e4ff;
  padding: 16px;
}
.admin-pricing-note strong {
  display: block;
  margin-bottom: 8px;
  color: #1f4f9d;
}
.admin-pricing-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.admin-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.meta-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.admin-order-card h2 {
  margin: 8px 0 0;
}
.admin-order-header,
.admin-order-status-form {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.admin-order-meta-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-order-meta-grid p {
  margin: 0;
}
.admin-order-item {
  gap: 18px;
}
.admin-order-status-form {
  align-items: center;
}
.admin-supplier-line {
  gap: 18px;
}
.purchase-item-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.8fr) 120px 160px;
  align-items: center;
}
.purchase-item-head {
  padding: 0 4px;
  color: var(--muted);
}
.purchase-line-cost {
  display: flex;
  align-items: center;
  gap: 10px;
}
.purchase-history-card {
  gap: 18px;
}
.purchase-result-card {
  padding: 18px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 30;
}
.modal-card {
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  border: 1px solid var(--line);
  padding: 28px;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.modal-purchase-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.modal-open {
  overflow: hidden;
}
.statistics-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.statistics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.statistics-head h2 {
  margin: 8px 0 0;
}
.profit-chart-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 20px;
}
.profit-chart-card canvas {
  width: 100%;
  display: block;
}
.single-admin-grid {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}
@media (max-width: 900px) {
  .catalog-layout, .account-layout, .detail-layout, .checkout-layout, .admin-grid, .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; position: static; }
  .filters-card { position: static; }
  .account-sidebar { position: static; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-carousel-slide {
    min-height: 260px;
    padding: 24px;
  }
  .three-cols,
  .single-admin-grid {
    grid-template-columns: 1fr;
  }
  .checkout-account-switch {
    grid-template-columns: 1fr;
  }
  .purchase-item-row {
    grid-template-columns: 1fr;
  }
  .purchase-line-cost {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-order-meta-grid {
    grid-template-columns: 1fr;
  }
  .statistics-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 640px) {
  .header-inner, .section-heading, .product-footer, .line-card, .actions, .inline-form, .meta-line {
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 2;
    margin-left: auto;
  }
  .header-search {
    order: 3;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }
  .main-nav.open {
    display: flex;
  }
  .header-search {
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
  }
  .footer-layout,
  .footer-credit {
    align-items: flex-start;
  }
  .footer-layout {
    flex-direction: column;
  }
  .account-order-head,
  .account-order-meta,
  .admin-order-header,
  .admin-order-status-form,
  .admin-line-end,
  .admin-order-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-line-main {
    width: 100%;
  }
  .catalog-filter-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  .filters-card h2 {
    display: none;
  }
  #catalog-filter-form {
    display: none;
  }
  #catalog-filter-form.open {
    display: flex;
  }
  .two-cols, .three-cols, .four-cols { grid-template-columns: 1fr; }
  .hero h1, .section-heading h1, .section-heading h2 { font-size: 2.2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .mini-cart {
    width: min(320px, calc(100vw - 32px));
    right: -10px;
  }
  .home-carousel-slide h3 {
    font-size: 1.5rem;
  }
  .home-carousel-slide p {
    font-size: 0.98rem;
  }
  .carousel-arrow {
    top: auto;
    bottom: 54px;
    transform: none;
  }
}
