:root {
  --color-bg: #fbf6e6;
  --color-bg-dark: #1c4a41;
  --color-bg-dark-2: #163a33;
  --color-accent: #f2d478;
  --color-accent-dark: #d9b955;
  --color-text: #22322c;
  --color-text-light: #fbf6e3;
  --color-border: #e4dcc2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-accent);
  letter-spacing: .5px;
}

.logo-img {
  height: 96px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 116px;
  margin-bottom: 6px;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: .95rem;
}

.main-nav a:hover { color: var(--color-accent); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(251, 246, 227, .45);
  border-radius: 8px;
  color: var(--color-text-light);
  padding: 7px 10px;
  font: inherit;
  cursor: pointer;
}

.menu-toggle-icon { font-size: 1.15rem; line-height: 1; }
.menu-toggle-label { font-size: .8rem; margin-left: 5px; }

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-weight: 600;
  white-space: nowrap;
}

.cart-count {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  padding: 0 6px;
}

/* Messages */

.messages { margin-top: 16px; }
.message {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-size: .95rem;
}
.message-success { background: #e3f3e6; color: #1f6a34; }
.message-info { background: #e7f0fb; color: #1f4c8a; }
.message-warning { background: #fbf0d9; color: #8a5a1f; }
.message-error { background: #fbe3e3; color: #8a1f1f; }

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .95rem;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.btn-accent:hover { background: var(--color-accent-dark); }

.btn-outline-light {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline {
  border-color: var(--color-bg-dark);
  color: var(--color-bg-dark);
  background: transparent;
}

.btn-small { padding: 8px 18px; font-size: .85rem; }
.btn-block { width: 100%; text-align: center; }

.btn-link {
  background: none;
  border: none;
  color: #a33;
  text-decoration: underline;
  cursor: pointer;
  font-size: .85rem;
}

button:disabled, .btn:disabled { opacity: .5; cursor: not-allowed; }

/* Hero */

.hero {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.hero-collage-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(22, 58, 51, .8) 0%, rgba(22, 58, 51, .5) 55%, rgba(22, 58, 51, .25) 100%);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  max-width: 780px;
  margin: 0 auto .4em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.hero-subtitle {
  font-size: 1.2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Sections */

.section-title {
  font-size: 1.8rem;
  margin-bottom: 28px;
  text-align: center;
}

.categories {
  position: relative;
  isolation: isolate;
  padding: 70px 0 30px;
  background-image: linear-gradient(rgba(251, 246, 230, .86), rgba(251, 246, 230, .92)), var(--categories-bg);
  background-size: cover;
  background-position: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  border-radius: var(--radius);
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(28, 74, 65, .2); }

.category-card-with-image::before,
.category-card-with-image::after {
  content: '';
  position: absolute;
  inset: 0;
}
.category-card-with-image::before {
  background-image: var(--cat-bg);
  background-size: cover;
  background-position: var(--cat-pos, center);
  transition: transform .5s ease;
}
.category-card-with-image::after {
  background: linear-gradient(180deg, rgba(22, 58, 51, 0) 30%, rgba(22, 58, 51, .88));
}
.category-card-with-image:hover::before { transform: scale(1.06); }

.category-card span {
  position: relative;
  z-index: 1;
}

.category-card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.category-card-count {
  margin-top: 4px;
  font-size: .85rem;
  color: var(--color-accent);
}

/* Trust strip */

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  color: #6b6550;
  line-height: 1.35;
}

.trust-list svg { flex-shrink: 0; color: var(--color-bg-dark); }
.trust-list strong { display: block; color: var(--color-text); font-weight: 600; font-size: .9rem; }

/* Product carousel */

.products.products-new { padding-bottom: 10px; }
.products-new + .products { padding-top: 30px; }

.product-carousel { position: relative; }

.product-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* Espacio para que la sombra y el "levantar" de la tarjeta no se corten. */
  padding: 6px 4px 22px;
  margin: -6px -4px -22px;
}
.product-carousel-track::-webkit-scrollbar { display: none; }
.product-carousel-track > * { scroll-snap-align: start; }

.carousel-arrow {
  display: none;
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-bg-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(28, 74, 65, .18);
  transition: opacity .2s ease, transform .2s ease;
}
.carousel-arrow:hover { transform: scale(1.08); }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.carousel-arrow-prev { left: -22px; }
.carousel-arrow-next { right: -22px; }

@media (hover: hover) and (pointer: fine) {
  .carousel-arrow { display: flex; }
}

.product-grid.product-grid-centered {
  grid-template-columns: repeat(auto-fit, minmax(230px, 255px));
  justify-content: center;
}

/* How to buy */

.how-to-buy {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 70px 0;
}

/* Que el bloque blanco toque el footer, sin la franja crema del margen. */
main:has(> .how-to-buy:last-child) + .site-footer { margin-top: 0; }

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* Línea punteada que une los pasos; el anillo de cada número la tapa. */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.6%;
  right: 16.6%;
  border-top: 2px dashed var(--color-border);
}

.step { text-align: center; }

.step-number {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-dark);
  color: var(--color-accent);
  font-size: 1.4rem;
  font-weight: 600;
  box-shadow: 0 0 0 8px #fff;
}

.step h3 { font-size: 1.2rem; margin-bottom: .35em; }

.step p {
  max-width: 290px;
  margin: 0 auto;
  color: #6b6550;
  font-size: .95rem;
}

.step strong { color: var(--color-bg-dark); }

.how-to-buy-note {
  margin: 40px 0 0;
  text-align: center;
  color: #6b6550;
}

.how-to-buy-note a {
  color: var(--color-bg-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-accent-dark);
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel-track { scroll-behavior: auto; }
  .category-card,
  .category-card-with-image::before { transition: none; }
}

.products { padding: 50px 0 90px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(28, 74, 65, .16);
}

/* En pantallas táctiles el contenedor de la foto "desaparece" para que el
   botón pueda ubicarse debajo de la info; con mouse se superpone a la foto. */
.product-media { display: contents; }

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #f1ead0;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease, opacity .4s ease;
}

.product-image .product-image-hover { opacity: 0; }

.product-card:hover .product-image img { transform: scale(1.04); }
.product-card:hover .product-image-hover { opacity: 1; }

.is-out-of-stock .product-image img { filter: grayscale(.5); opacity: .75; }

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-image-placeholder-lg { font-size: 6rem; }

.product-tag,
.product-discount-tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
}

.product-tag {
  left: 12px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.product-tag-muted { background: rgba(34, 50, 44, .8); color: #fff; }

.product-discount-tag {
  right: 12px;
  background: #00a651;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 12px;
}

.product-category {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: 1px;
  color: #8a8267;
  margin: 0 0 4px;
  min-height: 1.08em;
}

.product-info h3 {
  height: 3.15em;
  font-size: 1.05rem;
  margin-bottom: 6px;
  overflow: hidden;
}

.product-price {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-bg-dark);
  font-size: 1.2rem;
  min-height: 1.65em;
}

.product-price-sale {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price-original {
  color: #777;
  font-size: .72em;
  font-weight: 400;
  text-decoration: line-through;
}

.product-price-current { color: var(--color-bg-dark); }

.discount-badge {
  padding: 3px 5px;
  background: #00a651;
  color: #fff;
  font-size: .68em;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.product-card .add-to-cart-form {
  order: 1;
  padding: 0 18px 18px;
}

.product-card .add-to-cart-form .btn {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.product-card .add-to-cart-form .btn:hover:not(:disabled) {
  background: var(--color-bg-dark-2);
}

@media (hover: hover) and (pointer: fine) {
  .product-media {
    display: block;
    position: relative;
  }

  .product-card .add-to-cart-form {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 0;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  .product-card:hover .add-to-cart-form,
  .product-card:focus-within .add-to-cart-form {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .product-card .add-to-cart-form .btn {
    padding: 11px 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  }

  .product-card.is-out-of-stock .add-to-cart-form { display: none; }

  .product-info { padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-image img,
  .product-card .add-to-cart-form {
    transition: none;
  }

  .product-card:hover,
  .product-card:hover .product-image img {
    transform: none;
  }
}

.product-price-lg { font-size: 1.6rem; }

.empty-state {
  text-align: center;
  color: #8a8267;
  padding: 30px 0;
}

/* Page header (category / cart / checkout) */

.page-header {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 55px 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 38%;
  object-fit: cover;
  opacity: .6;
  filter: grayscale(.15) brightness(.85);
  -webkit-mask-image: linear-gradient(to left, black 25%, transparent 100%);
  mask-image: linear-gradient(to left, black 25%, transparent 100%);
  pointer-events: none;
}

.breadcrumb {
  font-size: .85rem;
  opacity: .8;
  margin-bottom: 6px;
}

/* Product detail */

.product-detail { padding: 60px 0 90px; }

.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-detail-image {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1ead0;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-thumbnail {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #f1ead0;
  opacity: .7;
  transition: opacity .15s ease, border-color .15s ease;
}
.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-thumbnail:hover { opacity: 1; }
.product-thumbnail.is-active { opacity: 1; border-color: var(--color-accent); }

.product-description { margin: 18px 0; }

.add-to-cart-form-lg {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.add-to-cart-form-lg input[type="number"] {
  width: 70px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.product-consult a { color: var(--color-bg-dark); font-weight: 600; text-decoration: underline; }

/* Cart */

.cart { padding: 50px 0 90px; }

.cart-table-wrapper { overflow-x: auto; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-table th, .cart-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.qty-form { display: flex; gap: 8px; align-items: center; }
.qty-form input { width: 60px; padding: 6px; border-radius: 6px; border: 1px solid var(--color-border); }

.cart-summary {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cart-total { font-size: 1.2rem; }

.cart-actions { display: flex; gap: 12px; }

/* Checkout */

.checkout { padding: 50px 0 90px; }

.checkout-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: .95rem;
}

.field-error { color: #a33; font-size: .82rem; margin-top: 4px; }

.checkout-note { font-size: .82rem; opacity: .75; margin-top: 14px; }

.checkout-summary {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  border-radius: var(--radius);
  padding: 28px;
}

.checkout-items { list-style: none; padding: 0; margin: 0 0 16px; }
.checkout-items li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .9rem; }

/* Order success */

.order-success { padding: 80px 0; text-align: center; }
.order-success-inner { max-width: 560px; margin: 0 auto; }
.order-success-icon { font-size: 3rem; margin: 0 0 10px; }
.order-number { font-size: 1.1rem; margin-bottom: 18px; }
.order-success .checkout-items { text-align: left; color: var(--color-text); }
.order-success .checkout-items li { border-bottom: 1px solid var(--color-border); }
.order-success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Footer */

.site-footer {
  background: var(--color-bg-dark-2);
  color: var(--color-text-light);
  padding: 24px 0;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.footer-contact { text-align: right; }
.footer-contact p { margin-bottom: 8px; font-size: .9rem; }

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.footer-contact-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-payments { margin-top: 10px; }
.footer-payments-label {
  margin-bottom: 6px;
  font-size: .8rem;
  opacity: .75;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(251, 246, 227, .25);
  border-radius: 999px;
  font-size: .78rem;
  opacity: .85;
}
.payment-icon svg { flex-shrink: 0; }
.payment-icon span { white-space: nowrap; }

/* WhatsApp floating button */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 30;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */

@media (max-width: 800px) {
  .header-inner {
    position: relative;
    min-height: 64px;
    padding: 8px 16px;
    gap: 12px;
  }
  .logo-img { height: 48px; }
  .menu-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 16px 12px;
    background: var(--color-bg-dark);
    box-shadow: 0 8px 14px rgba(0, 0, 0, .18);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 4px; font-size: .9rem; border-bottom: 1px solid rgba(251, 246, 227, .12); }
  .main-nav a:last-child { border-bottom: 0; }
  .cart-link { font-size: 1.1rem; }
  .product-detail-inner, .checkout-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-contact-links { justify-content: center; }
  .payment-icons { justify-content: center; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
}

@media (max-width: 800px) {
  .hero { padding: 90px 0; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 14px; padding-bottom: 14px; }
  .product-carousel-track { grid-auto-columns: calc((100% - 2 * 24px) / 2.6); }
  .how-to-buy { padding: 50px 0; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--color-border); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; text-align: left; }
  .step-number { margin: 0; }
  .step p { max-width: none; margin: 0; }
}

@media (max-width: 560px) {
  .product-grid,
  .product-grid.product-grid-centered { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-carousel-track { grid-auto-columns: 44%; gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card { min-height: 140px; padding: 14px; }
  .category-card-name { font-size: 1.15rem; }
  .category-card-count { font-size: .72rem; }
  .trust-list { gap: 12px; }
  .trust-list li { gap: 8px; font-size: .72rem; }
  .trust-list strong { font-size: .78rem; }
  .product-info { padding: 12px 12px 10px; }
  .product-info h3 { font-size: .92rem; }
  .product-price { font-size: 1rem; }
  .product-card .add-to-cart-form { padding: 0 12px 12px; }
  .product-card .add-to-cart-form .btn { padding: 8px 4px; font-size: clamp(.68rem, 3.4vw, .78rem); white-space: nowrap; }
  .product-tag, .product-discount-tag { top: 8px; padding: 4px 8px; font-size: .62rem; }
  .product-tag { left: 8px; }
  .product-discount-tag { right: 8px; font-size: .7rem; }
}

.btn-label-short { display: none; }

@media (max-width: 380px) {
  .btn-label-long { display: none; }
  .btn-label-short { display: inline; }
}

@media (max-width: 420px) {
  .footer-contact-links { flex-direction: column; align-items: stretch; }
  .footer-contact-links .btn { justify-content: center; }
}
