:root {
  --bg: #0d1714;
  --bg-soft: #14211d;
  --card: #1a2823;
  --card-2: #20312b;
  --gold: #c6a86a;
  --gold-strong: #dfc084;
  --gold-soft: rgba(198, 168, 106, 0.12);
  --text: #f3eee4;
  --text-soft: #cdbfa9;
  --text-muted: #9e927f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(198, 168, 106, 0.18);
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #0b1412 0%, #0d1714 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  margin-bottom: 10px;
  color: var(--white);
}

.section-header p {
  max-width: 720px;
  color: var(--text-soft);
}

.eyebrow {
  display: inline-block;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(9, 16, 14, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 96px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content:center;
}

.logo {
  position: absolute;
  left: 12px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 96px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto;
}

.menu a,
.menu-dropdown-toggle {
  position: relative;
  color: var(--text-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.menu a:hover,
.menu a.active,
.menu-dropdown-toggle:hover,
.menu-dropdown.is-open .menu-dropdown-toggle,
.cart-link.active {
  color: var(--gold-strong);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--gold-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover::after,
.menu a.active::after,
.cart-link.active::after {
  transform: scaleX(1);
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 12px;
}

.menu-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 180px;
  background: #16231f;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
}

.menu-dropdown:hover .menu-submenu,
.menu-dropdown.is-open .menu-submenu {
  display: flex;
}

.menu-submenu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-soft);
}

.menu-submenu a::after {
  display: none;
}

.menu-submenu a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-strong);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 6px;
}

/* Redes sociales */

.social-links {
  display: none;
}

.social-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.94;
  transition:
    color 0.26s ease,
    transform 0.26s ease,
    opacity 0.26s ease,
    filter 0.26s ease,
    border-color 0.26s ease,
    background 0.26s ease;
}

.social-link-icon:hover {
  color: var(--gold-strong);
  opacity: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 3px 10px rgba(200, 155, 86, 0.2));
}

.social-link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-link-icon svg * {
  vector-effect: non-scaling-stroke;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: absolute;
  right: 0;
}

/* Hero */

.hero,
.category-hero,
.contact-hero {
  padding: 84px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: stretch;
}

.hero h1,
.category-hero h1,
.contact-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  line-height: 1.06;
  margin-bottom: 20px;
  color: var(--white);
  max-width: 12ch;
}

.hero p,
.category-intro,
.contact-intro {
  color: var(--text-soft);
  max-width: 700px;
  font-size: 1.02rem;
}

.hero p + p {
  margin-top: 10px;
}

.hero-buttons,
.social-buttons,
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--gold);
  color: #111;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover {
  background: var(--gold-strong);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.24);
}

.btn-primary:active {
  background: var(--gold-strong);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.16);
}

.btn-primary:focus-visible {
  outline: 2px solid #fff4cc;
  outline-offset: 3px;
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: var(--gold-strong);
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:active {
  background: rgba(255, 255, 255, 0.07);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold-strong);
  color: var(--gold-strong);
}

/* Shared cards */

.hero-card,
.category-card,
.highlight-card,
.product-card,
.contact-box,
.cart-list-box,
.cart-summary-box {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-summary-box,
.checkout-summary {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.category-card,
.highlight-card,
.contact-box,
.cart-list-box,
.cart-summary-box {
  padding: 22px;
}

.category-card span,
.highlight-card span,
.product-tag {
  display: inline-block;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card h3,
.highlight-card h3,
.contact-box h3,
.cart-list-box h2,
.cart-summary-box h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--white);
}

.category-card p,
.highlight-card p,
.contact-box p,
.cart-note {
  color: var(--text-soft);
}

/* Home and sections */

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hero-card-label {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-card h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.hero-card p {
  color: var(--text-soft);
}

.hero-card-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.hero-card-list div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.categories-grid,
.highlight-grid,
.products-grid,
.contact-grid,
.cart-layout {
  display: grid;
  gap: 22px;
}

.categories-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.cart-layout {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.category-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  background: #101917;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Products */

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #101917;
}

.product-card .product-tag,
.product-card h3,
.product-card p,
.product-card .product-meta,
.product-card .btn {
  margin-left: 18px;
  margin-right: 18px;
}

.product-card .product-tag {
  margin-top: 18px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.product-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
  min-height: 48px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-strong);
}

.product-card .btn {
  margin-bottom: 18px;
}

/* Contact */

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-strong);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Cart */

#cart-items {
  display: grid;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  align-items: center;
}

.cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  background: #101917;
}

.cart-item-info h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.cart-item-info p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn,
.remove-item {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.quantity-btn:hover,
.remove-item:hover {
  border-color: var(--gold-strong);
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.05);
}

.remove-item {
  color: #f1c7c7;
}

.cart-summary-box h2,
.checkout-summary h3 {
  margin-bottom: 18px;
}

.cart-summary-line,
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-summary-line {
  padding: 16px 0;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-summary-line strong {
  color: var(--gold-strong);
  font-size: 1.1rem;
}

.cart-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

/* Checkout */

.checkout-panel {
  margin-top: 32px;
  padding: 0 0 48px;
}

.checkout-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.checkout-main,
.checkout-summary {
  border-radius: var(--radius);
}

.checkout-main {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}

.checkout-main h2 {
  margin-bottom: 10px;
}

.checkout-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.7;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-items {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.checkout-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.checkout-item-empty {
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--text-soft);
  text-align: center;
}

.summary-line {
  padding: 10px 0;
}

.summary-line.total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  font-weight: 700;
}

.payment-methods-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.payment-methods-label {
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-method {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  opacity: 0.92;
  cursor: default;
}

.payment-method:disabled {
  opacity: 0.9;
}

.payment-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(198, 168, 106, 0.12);
  color: var(--gold-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.payment-methods-note {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Checkout seleccionable */

.payment-option {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.payment-option:hover {
  transform: translateY(-1px);
  border-color: var(--gold-strong);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.payment-option:active {
  transform: translateY(0);
}

.payment-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.payment-option.is-selected {
  border-color: var(--gold-strong);
  background: linear-gradient(
    180deg,
    rgba(198, 168, 106, 0.16),
    rgba(198, 168, 106, 0.07)
  );
  box-shadow:
    0 0 0 1px rgba(223, 192, 132, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.payment-option.is-selected .payment-icon {
  background: rgba(223, 192, 132, 0.22);
  color: var(--gold-strong);
}

.payment-option.is-selected span:last-child {
  color: var(--white);
  font-weight: 700;
}

.payment-option:not(.is-selected) {
  opacity: 0.92;
}

@supports selector(:has(*)) {
  .payment-methods-grid:has(.payment-option.is-selected)
    .payment-option:not(.is-selected) {
    opacity: 0.78;
  }
}

/* Footer */

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 36px 0 20px;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--gold-strong);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer-socials .social-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.footer-socials .social-link-icon:hover {
  color: var(--gold-strong);
  border-color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.05);
}

.footer-socials .social-link-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tablet */

@media (max-width: 1100px) {
  .hero-grid,
  .cart-layout,
  .contact-grid,
  .highlight-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 76px;
    position: relative;
    justify-content: space-between;
  }

  .logo {
    position: static;
  }

  .logo img {
    width: 88px;
  }

  .menu-toggle {
    display: inline-flex;
    position: static;
  }

  .social-links {
    display: none;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    background: #16231f;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .menu.active {
    display: flex;
  }

  .menu a,
  .menu-dropdown-toggle {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-soft);
    text-align: left;
  }

  .menu a::after {
    display: none;
  }

  .menu a:hover,
  .menu a.active,
  .menu-dropdown-toggle:hover,
  .cart-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-strong);
  }

  .menu-dropdown {
    width: 100%;
  }

  .menu-submenu {
    position: static;
    min-width: unset;
    display: none;
    margin-top: 6px;
    padding: 0 0 0 8px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .menu-dropdown.is-open .menu-submenu {
    display: flex;
  }

  .menu-submenu a {
    min-height: 42px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero,
  .category-hero,
  .contact-hero {
    padding: 58px 0 48px;
  }

  .hero h1,
  .category-hero h1,
  .contact-hero h1 {
    max-width: none;
  }

  .section {
    padding: 58px 0;
  }

  .categories-grid,
  .highlight-grid,
  .products-grid,
  .contact-grid,
  .cart-layout,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .category-image {
    height: 220px;
  }

  .product-card img {
    height: 280px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cart-item img {
    margin: 0 auto;
  }

  .cart-item-controls {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons,
  .social-buttons,
  .cart-actions {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .social-buttons .btn,
  .cart-actions .btn,
  .cart-checkout-btn,
  .checkout-pay-btn,
  .checkout-back-btn {
    width: 100%;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .payment-method {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .payment-option {
    min-height: 64px;
  }
}

@media (max-width: 640px) {
  .hero h1,
  .category-hero h1,
  .contact-hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .hero p,
  .category-intro,
  .contact-intro,
  .category-card p,
  .highlight-card p,
  .contact-box p,
  .cart-note,
  .cart-item-info p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .product-card img {
    height: 250px;
  }

  .category-image {
    height: 200px;
  }

  .footer {
    margin-top: 72px;
  }
}

/* Botones checkout finales */

.cart-checkout-btn,
.checkout-pay-btn,
.checkout-back-btn {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.legal-content {
  display: grid;
  gap: 22px;
  max-width: 860px;
}

.legal-block {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: var(--shadow);
}

.legal-block h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.legal-block h4 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--gold-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-block p {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-block p + p {
  margin-top: 12px;
}

.legal-block h4 + p {
  margin-top: 0;
}

@media (max-width: 860px) {
  .legal-content {
    gap: 18px;
  }

  .legal-block {
    padding: 20px;
  }

  .legal-block h3 {
    font-size: 1.08rem;
  }

  .legal-block p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

@media (max-width: 640px) {
  .legal-block {
    padding: 18px;
    border-radius: var(--radius-sm);
  }

  .legal-block h4 {
    font-size: 0.86rem;
    letter-spacing: 0.07em;
  }
}