:root {
  --navy-900: #000033;
  --navy-800: #00081f;
  --navy-700: #0074a6;
  --blue-600: #000033;
  --blue-700: #1a1a4d;
  --blue-100: #cde6ec;
  --blue-50: #eef7f9;
  --steel: #81b8cc;
  --ink: #161f33;
  --ink-soft: #5b6478;
  --line: #dfe3ed;
  --white: #ffffff;
  --orange: #e0672b;
  --orange-700: #b3491c;
  --orange-100: #fdece2;
  --red: #b3261e;
  --red-100: #fdeceb;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(8, 19, 53, 0.08);
  --shadow-hover: 0 8px 24px rgba(8, 19, 53, 0.16);
  --font-ui: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }

/* Utility bar */
.utility-bar {
  background: var(--navy-900);
  color: #c7d3ef;
  font-size: 0.82rem;
  font-weight: 700;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.utility-contact a { color: #e3e9fb; }
.utility-contact a:hover { color: var(--white); }
.utility-contact .dot { margin: 0 8px; opacity: 0.5; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { display: block; }

.search-wrap {
  flex: 1;
  max-width: 520px;
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 12px 16px;
  font-size: var(--font-ui);
  outline: none;
}
.search-btn {
  border: none;
  background: var(--blue-600);
  color: var(--white);
  padding: 0 18px;
  cursor: pointer;
}
.search-btn:hover { background: var(--blue-700); }

/* Sugerencias del buscador (assets/search-suggest.js) */
.search-suggest { position: fixed; z-index: 50; max-height: min(460px, 70vh); overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 10px 24px rgba(8, 19, 53, .18); }
.search-suggest[hidden] { display: none; }
.search-suggest-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 14px; color: var(--ink); text-decoration: none; font-size: var(--font-ui); }
.search-suggest-item img { width: 40px; height: 40px; object-fit: contain; }
.search-suggest-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-price { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.search-suggest-item.is-active { background: var(--blue-50); }
.search-suggest-all { display: block; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--navy-700); font-size: var(--font-ui); font-weight: 600; text-decoration: none; }
.search-suggest-all:hover { background: var(--blue-50); }
.search-suggest-empty { padding: 12px 14px; color: var(--ink-soft); font-size: var(--font-ui); }
@media (max-width: 520px) {
  .search-suggest-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-shrink: 0;
}

.acct, .cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: var(--font-ui);
  font-weight: 500;
  position: relative;
}
.acct:hover, .cart:hover { color: var(--blue-600); }

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.main-nav {
  border-top: 1px solid var(--line);
  background: var(--navy-900);
}
.nav-inner {
  display: flex;
  gap: 30px;
  height: 44px;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: var(--font-ui);
  color: #cdd8f2;
}
.main-nav a:hover { color: var(--white); }
.category-nav-root { position: relative; height: 44px; display: flex; align-items: center; flex: 0 0 auto; }
.category-nav-root-toggle { height: 44px; padding: 0; border: 0; background: transparent; color: #cdd8f2; font: inherit; font-weight: 600; cursor: pointer; }
.category-nav-root-toggle span { margin-left: 4px; font-size: 17px; }
.category-nav-root:hover .category-nav-root-toggle,
.category-nav-root.is-open .category-nav-root-toggle { color: var(--white); }
.category-nav-root.is-open .category-nav-root-toggle { background: var(--navy-900); }
.category-nav-root-menu,
.category-nav-submenu { display: none; position: absolute; z-index: 45; min-width: 245px; padding: 6px 0; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 24px rgba(8, 19, 53, .18); }
.category-nav-root-menu { top: 100%; left: 0; border-radius: 0 0 8px 8px; }
.category-nav-root:hover .category-nav-root-menu,
.category-nav-root:focus-within .category-nav-root-menu,
.category-nav-root.is-open .category-nav-root-menu { display: block; }
.category-nav-branch { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; }
.category-nav-main,
.category-nav-submenu a { display: block; padding: 10px 16px; color: var(--ink-soft) !important; font-weight: 500 !important; white-space: nowrap; }
.category-nav-branch-toggle { height: 38px; border: 0; background: transparent; color: var(--ink-soft); font-size: 22px; cursor: pointer; }
.category-nav-branch:hover,
.category-nav-branch:focus-within,
.category-nav-branch.is-open { background: var(--navy-900); }
.category-nav-branch:hover > .category-nav-main,
.category-nav-branch:focus-within > .category-nav-main,
.category-nav-branch.is-open > .category-nav-main,
.category-nav-branch:hover > .category-nav-branch-toggle,
.category-nav-branch:focus-within > .category-nav-branch-toggle,
.category-nav-branch.is-open > .category-nav-branch-toggle { color: var(--white) !important; }
.category-nav-submenu { top: -7px; left: 100%; border-radius: 8px; }
.category-nav-branch:hover .category-nav-submenu,
.category-nav-branch:focus-within .category-nav-submenu,
.category-nav-branch.is-open .category-nav-submenu { display: block; }
.category-nav-submenu a:hover,
.category-nav-submenu a:focus { background: var(--navy-900); color: var(--white) !important; outline: none; }
/* Categorias a la vista en la barra (assets/nav-quick-categories.js) */
.nav-quick-category { white-space: nowrap; }
.category-nav-root-toggle { font-size: var(--font-ui); }
.main-nav a.nav-quick-category.is-active { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-divider { flex: 0 0 auto; width: 1px; height: 18px; margin: 0 -10px; background: rgba(205, 216, 242, .35); }
.category-nav-root-toggle .nav-toggle-label-desktop,
.category-nav-root-toggle .nav-toggle-label-mobile { margin-left: 0; font-size: inherit; }
.category-nav-root-toggle .nav-toggle-label-mobile { display: none; }
@media (min-width: 901px) {
  .category-nav-branch.is-quick-duplicate { display: none; }
}
@media (max-width: 900px) {
  .nav-quick-category, .nav-divider { display: none; }
  .category-nav-root-toggle .nav-toggle-label-desktop { display: none; }
  .category-nav-root-toggle .nav-toggle-label-mobile { display: inline; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-track {
  display: flex;
  aspect-ratio: 4 / 1;
  transition: transform 0.5s ease;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.slide-photo {
  background: var(--white);
}
.hero-slide > a,
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  background: var(--white);
}

.hero-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  background: var(--navy-900);
}
.dot-btn {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.dot-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.3); transform: translate(-50%,-50%); }
.dot-active::after { background: var(--white); width: 22px; }

/* Promo strip (square banners, admin-managed) */
.promo-strip-section { padding: 30px 0; background: var(--blue-50); }
.promo-strip-section .container { max-width: 1296px; }
.promo-carousel { position: relative; }
.promo-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 0;
}
.promo-strip::-webkit-scrollbar { display: none; }
.promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 6px 20px rgba(8, 19, 53, 0.2);
  font-size: 1.7rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .16s ease, opacity .16s ease, background .16s ease;
}
.promo-arrow:hover:not(:disabled) { background: var(--blue-100); transform: translateY(-50%) scale(1.06); }
.promo-arrow-left { left: -22px; }
.promo-arrow-right { right: -22px; }
.promo-arrow:disabled { opacity: .25; cursor: default; box-shadow: none; }
.promo-strip-item {
  display: block;
  flex: 0 0 300px;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.promo-strip-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.promo-strip-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 520px) {
  .promo-strip-item { flex-basis: 160px; }
  .promo-arrow { width: 38px; height: 38px; }
  .promo-arrow-left { left: -10px; }
  .promo-arrow-right { right: -10px; }
}

/* Categories */
.categories { border-bottom: 1px solid var(--line); }
.chip-row { display: flex; gap: 10px; overflow-x: auto; padding: 18px 0; }
.chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.chip-active, .chip:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

/* Catalog */
.catalog { padding: 48px 0 70px; }

.catalog-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.catalog-block-head-2 { margin-top: 48px; }
.catalog-block-head h2 { font-size: 1.35rem; color: var(--navy-900); }

.carousel-arrows { display: flex; gap: 8px; }
.product-carousel-wrap { position: relative; }
.arrow-btn {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-600);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}
.arrow-btn:hover:not(:disabled) { background: var(--blue-100); }
.carousel-edge {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-color: #cbd4e4;
  box-shadow: 0 5px 18px rgba(8, 19, 53, 0.18);
  transform: translateY(-50%);
}
.carousel-edge:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.carousel-edge-left { left: -20px; }
.carousel-edge-right { right: -20px; }
.arrow-btn:disabled { opacity: 0.28; cursor: default; box-shadow: none; }

.product-carousel {
  display: flex;
  min-height: 405px;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 10px;
}
.product-carousel::-webkit-scrollbar { display: none; }

.product-card {
  position: relative;
  flex: 0 0 205px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 10px 12px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(8, 19, 53, 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-card-link { display: block; color: inherit; text-decoration: none; }

.fav-btn {
  display: none !important;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border: none;
  background: var(--white);
  width: 26px; height: 26px;
  border-radius: 999px;
  color: #b5bccb;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.fav-btn:hover, .fav-active { color: var(--red); }

.product-card img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  margin-bottom: 5px;
  cursor: pointer;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}
.badge-discount { background: var(--red); color: var(--white); }

/* Franja de promocion a lo ancho, montada sobre el borde superior de la
   ficha (no empuja la imagen, asi las fichas quedan alineadas). */
.discount-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: none;
  padding: 6px 10px;
  border-radius: 9px 9px 0 0;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.2px;
  text-align: center;
}
.discount-badge.cds-badge { background: #1f7a45; }
.discount-badge .badge-highlight { color: #fff0a0; font-weight: 800; }
.discount-badge.is-visible { display: block; }

.badge-size {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 0.96rem;
  line-height: 1.25;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  cursor: pointer;
  text-align: left;
  color: #111827;
  font-weight: 700;
}
.lab { color: var(--ink-soft); font-size: 0.72rem; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.02em; }

.price-row { display: flex; min-height: 48px; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; margin: 0 0 3px; }
.price { font-weight: 700; color: #0074bd; font-size: 1.28rem; line-height: 1.1; }
.price-old { font-size: 12px; color: #6b7280; text-decoration: line-through; line-height: 1.15; }
.price-old.is-empty { visibility: hidden; }
.restriction-note {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin: 2px 0 7px;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.restriction-note.is-empty { display: none; }
.restriction-prescription { background: #fff2cc; color: #805c00; }
.restriction-branch { background: #fdeceb; color: #a52620; }
.btn-buy.btn-branch, .btn-buy.btn-branch:hover { background: #e9ecf2; color: #687386; cursor: not-allowed; }


.btn-buy {
  width: 100%;
  margin-top: auto;
  border: none;
  background: #0C5FD9;
  color: var(--white);
  font-weight: 700;
  font-size: var(--font-ui);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-buy:hover { background: #094FB8; }
.btn-notify {
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-notify:hover { background: #f5f6f9; }

/* Footer */
.site-footer { background: var(--navy-900); color: #c7d3ef; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding: 48px 24px 32px;
}
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.footer-col h4.footer-subheading { margin-top: 18px; text-transform: none; }
.footer-col p { margin: 0 0 8px; font-size: 0.88rem; }
.footer-col .legal-title { margin-top: 18px; text-transform: none; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-link-underline { text-decoration: underline; }
.footer-contact-line { display: flex; align-items: center; gap: 8px; }
.footer-address { display: flex; align-items: flex-start; gap: 8px; }
.footer-address svg { flex-shrink: 0; margin-top: 3px; }
.social-row { display: flex; gap: 10px; margin: 14px 0 4px; }
.social-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--white);
}
.social-email { background: var(--orange); }
.social-whatsapp { background: #25D366; }
.social-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 24px;
  font-size: 0.8rem;
  color: #93a2c9;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .utility-hours { display: none; }
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo actions"
      "search search";
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 14px;
  }
  .logo { grid-area: logo; }
  .header-actions { grid-area: actions; justify-self: end; margin-left: 0; }
  .search-wrap { grid-area: search; max-width: none; width: 100%; min-width: 0; }
  .nav-inner { overflow-x: auto; gap: 20px; }
  .category-nav-root-menu {
    position: fixed;
    top: var(--category-menu-top, 150px);
    left: 12px;
    right: 12px;
    width: auto;
    min-width: 0;
    max-height: calc(100vh - var(--category-menu-top, 150px) - 12px);
    overflow-y: auto;
    border-radius: 8px;
  }
  .category-nav-submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 8px 8px;
    border-radius: 7px;
    box-shadow: none;
  }
  .category-nav-submenu a { padding-left: 24px; white-space: normal; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) and (hover: none) {
  .category-nav-root:hover:not(.is-open) .category-nav-root-menu,
  .category-nav-branch:hover:not(.is-open) .category-nav-submenu { display: none; }
  .category-nav-root.is-open .category-nav-root-menu,
  .category-nav-branch.is-open .category-nav-submenu { display: block; }
}

@media (max-width: 520px) {
  .hero-track, .hero-banner-img { aspect-ratio: 3 / 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .product-carousel { min-height: 335px; }
  .product-card { flex-basis: 148px; }
  .product-card img { height: 108px; }
  .carousel-edge { width: 38px; height: 38px; }
  .carousel-edge-left { left: -12px; }
  .carousel-edge-right { right: -12px; }
}


/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0,0,0,0.32); }

@media (max-width: 520px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}


/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 19, 53, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}
.cart-overlay-visible { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  box-shadow: -8px 0 30px rgba(8, 19, 53, 0.2);
  z-index: 61;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.cart-drawer.cart-open { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3 { font-size: 1.1rem; color: var(--navy-900); }
.cart-close {
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.cart-close:hover { color: var(--ink); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 22px;
}
.cart-empty { color: var(--ink-soft); font-size: 0.9rem; text-align: center; margin-top: 30px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.88rem; margin: 0 0 4px; }
.cart-item-price { font-size: 0.82rem; color: var(--ink-soft); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-600);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}
.qty-btn:hover { background: var(--blue-100); }

.cart-item-remove {
  border: none;
  background: none;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.cart-item-remove:hover { color: var(--red); }

.cart-address {
  border-top: 1px solid var(--line);
  padding: 16px 22px 4px;
}
.cart-address h4 {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--navy-900);
}
.address-row {
  margin-bottom: 12px;
  position: relative;
}
.address-row label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.address-row input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.88rem;
  outline: none;
}
.address-row input:focus { border-color: var(--blue-600); }
.address-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shipping-status {
  display: block;
  font-size: 0.76rem;
  margin-top: 4px;
  color: var(--ink-soft);
}
.shipping-status.shipping-ok { color: #1a8f4a; }
.shipping-status.shipping-error { color: var(--red); }

.cart-drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.cart-subtotal-row {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.cart-checkout-btn {
  width: 100%;
  border: none;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cart-checkout-btn:hover:not(:disabled) { background: var(--blue-700); }
.cart-checkout-btn:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; }

.cart-whatsapp-btn {
  display: block;
  width: 100%;
  border: none;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.15s ease;
}
.cart-whatsapp-btn:hover:not(:disabled) { background: #1ebe5a; }
.cart-whatsapp-btn:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; }

.cart-checkout-error {
  color: var(--red);
  font-size: 0.8rem;
  margin: 10px 0 0;
  text-align: center;
}

@media (max-width: 520px) {
  .cart-drawer { width: 100vw; max-width: 100vw; }
}

.footer-col h4.footer-lowercase { text-transform: none; }
.dynamic-load-state {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
  box-sizing: border-box;
}

.hero-track > .dynamic-load-state {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 100%;
}

.promo-strip > .dynamic-load-state,
.product-carousel > .dynamic-load-state {
  flex: 0 0 100%;
  min-width: 100%;
}

.dynamic-load-compact {
  width: auto;
  min-height: 38px;
  padding: 7px 10px;
  display: inline-flex;
}

.dynamic-load-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid #cdd9e8;
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: dynamic-load-spin 0.8s linear infinite;
}

.dynamic-load-error {
  color: #5f6d81;
}

.dynamic-retry {
  border: 1px solid var(--blue-600);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-600);
  padding: 7px 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dynamic-retry:hover,
.dynamic-retry:focus-visible {
  background: var(--blue-600);
  color: var(--white);
}

@keyframes dynamic-load-spin {
  to { transform: rotate(360deg); }
}
