body {
  font-family: 'Poppins', sans-serif;
  background: #f0f4f8;
  color: #444;
  margin: 0;
}

.pagina-shop {
  padding-top: 40px;
  padding-bottom: 60px;
}

.pagina-shop h1 {
  text-align: center;
  color: #005fa1;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.product {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.prod-main-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
  background-color: #f8f9fa;
}

.prod-title {
  font-weight: 700;
  font-size: 1.4rem;
  color: #003d66;
  margin-bottom: 0.5rem;
  min-height: 50px;
}

.prod-desc {
  font-size: 0.95rem;
  color: #666;
  flex-grow: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.prod-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a0a5c;
  margin: 15px 0;
  text-align: center;
}

.prod-price::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: #FFD700;
  margin: 0 auto 10px;
}

.options label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: block;
  margin-bottom: 0.3rem;
}

.options select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #fff;
}

.stock-info {
  margin-top: 1rem;
  font-weight: 700;
  color: #28a745;
  min-height: 24px;
}

.stock-info.out-of-stock {
  color: #d32f2f;
}

.cart-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-row input[type="number"] {
  flex-basis: 70px;
  padding: 8px 10px;
  text-align: center;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.btn-add-to-cart {
  background: #005fa1;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  flex-grow: 1;
  transition: background-color 0.25s ease;
}

.btn-add-to-cart:hover:not(:disabled) {
  background: #003d66;
}

.btn-add-to-cart:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.pagina-carrello {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.pagina-carrello h1 {
  text-align: center;
  color: #005fa1;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.cart-container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.cart-table th,
.cart-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.cart-table th {
  background-color: #005fa1;
  color: white;
  font-weight: 600;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-table .product-info img {
  width: 65px !important;
  height: 65px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid #ddd !important;
}

.product-options-summary {
  font-size: 0.85em;
  color: #555;
  margin-top: 5px;
}

.remove-btn {
  color: #e74c3c;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s;
  display: inline-block;
}

.remove-btn:hover {
  transform: scale(1.2);
}

.cart-summary {
  text-align: right;
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #333;
}

.cart-summary strong {
  color: #005fa1;
  font-weight: 700;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.btn-shopping {
  border-color: #005fa1;
  color: #005fa1;
}

.btn-shopping:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
}

.btn-checkout {
  background: #28a745;
  color: #fff;
}

.btn-checkout:hover {
  background: #218838;
  transform: translateY(-2px);
}

.cart-empty {
  text-align: center;
  font-size: 1.2rem;
  color: #888;
  padding: 50px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.cart-empty p {
  margin-bottom: 20px;
}

.cart-empty .btn-shopping {
  background: #005fa1;
  color: white;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff3e3e;
  color: white;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(255, 62, 62, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.85rem;
  margin-right: 8px;
}

.new-price {
  color: #d9534f;
  font-weight: 800;
  font-size: 1.2rem;
}

.legal-page {
  padding: 48px 0 72px;
  background: #f6f8fb;
}

.legal-container {
  max-width: 980px;
}

.legal-head {
  margin-bottom: 28px;
}

.legal-head h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem,4vw,3.4rem);
  line-height: 1.08;
  color: #0f4c81;
}

.legal-head p {
  margin: 0;
  max-width: 70ch;
  color: #4d5b6a;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section {
  background: #fff;
  border: 1px solid rgba(15,76,129,.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15,76,129,.06);
}

.legal-content h2 {
  margin: 0 0 10px;
  color: #0f4c81;
  font-size: 1.15rem;
}

.legal-content p {
  margin: 0;
  color: #425266;
  line-height: 1.7;
}

.legal-content p + p {
  margin-top: 10px;
}

:root {
  --color-primary: #054173;
  --color-primary-hover: #06508E;
  --color-secondary: #329BE1;
  --color-accent-green: #005020;
  --color-accent-yellow: #EBBE14;
  --color-background: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #111827;
  --color-text-light: #64748B;
  --shadow-sm: 0 8px 24px rgba(5,65,115,.08);
  --shadow-md: 0 16px 40px rgba(5,65,115,.14);
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: .92rem;
  letter-spacing: .03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: .03em;
}

.brand-copy span {
  display: block;
  font-size: .82rem;
  color: var(--color-text-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--color-text-light);
  font-weight: 600;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(5,65,115,.06);
  border: 1px solid rgba(5,65,115,.12);
  color: var(--color-primary);
  font-size: .92rem;
  font-weight: 700;
  transition: all .2s ease;
}

.account-link:hover,
.account-link.active {
  background: var(--color-primary);
  color: #fff;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-accent-yellow);
  color: var(--color-primary);
  font-size: .72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.site-footer {
  margin-top: 32px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 24px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: var(--color-text-light);
  font-size: .94rem;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: .96rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-text-light);
  font-size: .88rem;
}

.store-home {
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

.store-home .container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.store-home .hero {
  padding: 42px 0 18px;
}

.store-home .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}

.store-home .hero-copy,
.store-home .hero-showcase {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.store-home .hero-copy {
  padding: 44px;
  background: radial-gradient(circle at top right, rgba(50,155,225,.16), transparent 32%), linear-gradient(145deg, #fff, #f5f9fd);
}

.store-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(50,155,225,.12);
  color: var(--color-primary);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  margin-bottom: 20px;
}

.store-home .hero h1 {
  margin: 0 0 16px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 4vw, 5rem);
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.store-home .hero p {
  margin: 0;
  max-width: 58ch;
  color: var(--color-text-light);
  font-size: 1.02rem;
}

.store-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.store-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.store-home .btn:hover {
  transform: translateY(-2px);
}

.store-home .btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.store-home .btn-primary:hover {
  background: var(--color-primary-hover);
}

.store-home .btn-secondary {
  background: rgba(5,65,115,.05);
  color: var(--color-primary);
  border: 1px solid rgba(5,65,115,.12);
}

.store-home .hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.store-home .meta-card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.74);
}

.store-home .meta-card strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.store-home .meta-card span {
  font-size: .88rem;
  color: var(--color-text-light);
}

.store-home .hero-showcase {
  padding: 28px;
  background: linear-gradient(180deg, rgba(5,65,115,.98), rgba(6,80,142,.96));
  color: #fff;
  min-height: 100%;
}

.store-home .showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.store-home .showcase-top h2 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.store-home .showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.store-home .featured-product {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

.store-home .featured-image {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.store-home .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-home .featured-details h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.store-home .featured-details p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

.store-home .price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.store-home .old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}

.store-home .new-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.store-home .mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.store-home .mini-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 14px;
}

.store-home .mini-card strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 4px;
}

.store-home .mini-card span {
  font-size: .82rem;
  color: rgba(255,255,255,.72);
}

.store-home .section {
  padding: 22px 0;
}

.store-home .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.store-home .section-head h2 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: .02em;
}

.store-home .section-head p {
  margin: 8px 0 0;
  max-width: 58ch;
  color: var(--color-text-light);
}

.store-home .section-link {
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

.store-home .category-grid,
.store-home .products-grid,
.store-home .benefits-grid {
  display: grid;
  gap: 16px;
}

.store-home .category-grid,
.store-home .benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-home .products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.store-home .category-card,
.store-home .product-card,
.store-home .benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease;
}

.store-home .category-card {
  border-radius: 22px;
  padding: 22px;
}

.store-home .category-card:hover,
.store-home .product-card:hover,
.store-home .benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.store-home .category-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(50,155,225,.12);
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.store-home .category-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.store-home .category-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--color-text-light);
}

.store-home .product-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.store-home .product-media {
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  display: grid;
  place-items: center;
  padding: 22px;
  position: relative;
}

.store-home .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-home .product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-secondary);
}

.store-home .product-tag.sale {
  background: var(--color-accent-yellow);
  color: var(--color-primary);
}

.store-home .product-tag.new {
  background: var(--color-accent-green);
}

.store-home .product-body {
  padding: 18px 18px 20px;
}

.store-home .product-category {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.store-home .product-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  min-height: 56px;
}

.store-home .product-body p {
  margin: 0 0 14px;
  color: var(--color-text-light);
  font-size: .92rem;
  min-height: 66px;
}

.store-home .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-home .price-stack strong {
  display: block;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.store-home .price-stack span {
  display: block;
  color: var(--color-text-light);
  font-size: .82rem;
}

.store-home .price-stack .old-inline {
  text-decoration: line-through;
  font-size: .84rem;
  margin-bottom: 2px;
}

.store-home .card-link {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,65,115,.08);
  color: var(--color-primary);
  font-weight: 700;
  font-size: .92rem;
}

.store-home .editorial-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0b5a9d 55%, var(--color-secondary) 100%);
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.store-home .editorial-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}

.store-home .editorial-content h2 {
  margin: 0 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.store-home .editorial-content p {
  margin: 0 0 20px;
  max-width: 56ch;
  color: rgba(255,255,255,.82);
}

.store-home .editorial-quote {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 22px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.store-home .benefit-card {
  border-radius: 22px;
  padding: 22px;
}

.store-home .benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, var(--color-primary), var(--color-secondary));
}

.store-home .benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.store-home .benefit-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--color-text-light);
}

@media screen and (max-width: 768px) {
  .cart-container {
    padding: 1rem;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 10px 5px;
    border-bottom: 1px dotted #ccc;
  }

  .cart-table td:last-child {
    border-bottom: none;
  }

  .cart-table td::before {
    content: attr(data-label);
    font-weight: bold;
    text-align: left;
    color: #005fa1;
    margin-right: 10px;
  }

  .product-info {
    gap: 10px;
  }

  .cart-table .product-info img {
    width: 50px !important;
    height: 50px !important;
  }

  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .store-home .hero-grid,
  .store-home .editorial-content {
    grid-template-columns: 1fr;
  }

  .store-home .products-grid,
  .store-home .category-grid,
  .store-home .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-home .featured-product,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .store-home .hero-copy {
    padding: 30px 24px;
  }

  .store-home .hero-showcase {
    padding: 24px;
  }

  .store-home .hero-meta,
  .store-home .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .store-home .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .header-inner {
    gap: 10px;
    padding: 14px 0;
  }

  .brand-copy span {
    display: none;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .account-links {
    gap: 8px;
  }

  .account-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: .86rem;
  }

  .footer-grid,
  .store-home .hero-grid,
  .store-home .products-grid,
  .store-home .category-grid,
  .store-home .benefits-grid {
    grid-template-columns: 1fr;
  }

  .store-home .hero {
    padding-top: 24px;
  }

  .store-home .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-home .editorial-banner {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .store-home .product-body h3,
  .store-home .product-body p {
    min-height: auto;
  }
}
