:root {
  --black: #050505;
  --black-soft: #111111;
  --yellow: #f8bd25;
  --yellow-dark: #d99b08;
  --sand: #d4b790;
  --cream: #fff6e7;
  --white: #ffffff;
  --gray: #737373;
  --line: rgba(255,255,255,.13);
  --shadow: 0 24px 70px rgba(0,0,0,.24);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: #f6f0e7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 18px; }
.brand img { width: 230px; height: auto; padding-top: 15px; padding-bottom: 15px;}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link { color: var(--yellow); font-weight: 800; font-size: 14px; }

.hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(248,189,37,.26), transparent 34%),
    linear-gradient(135deg, #050505 0%, #14110d 100%);
  color: var(--cream);
  padding: 74px 0 64px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; align-items: center; }
.eyebrow, .section-title span, .panel-heading span, .cart-heading span {
  display: inline-block;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}
.eyebrow.dark { color: var(--yellow-dark); }
.hero h1, .section-title h2, .panel-heading h2, .cart-heading h2 {
  font-family: Montserrat, sans-serif;
  letter-spacing: -.04em;
  margin: 8px 0 0;
}
.hero h1 { font-size: clamp(42px, 7vw, 78px); line-height: .92; max-width: 800px; }
.hero p { color: rgba(255,246,231,.82); font-size: 18px; line-height: 1.6; max-width: 660px; }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  background: rgba(248,189,37,.12);
  border: 1px solid rgba(248,189,37,.42);
  border-radius: 18px;
  color: #fff1c8;
  line-height: 1.5;
  max-width: 720px;
}
.hero-buttons, .form-actions, .modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.primary-btn, .secondary-btn, .ghost-btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.primary-btn { background: var(--yellow); color: #111; box-shadow: 0 14px 35px rgba(248,189,37,.24); }
.secondary-btn { background: var(--black); color: var(--cream); border: 1px solid rgba(255,255,255,.12); }
.ghost-btn { background: rgba(255,255,255,.08); color: var(--cream); border: 1px solid rgba(255,255,255,.15); }
.primary-btn:hover, .secondary-btn:hover, .ghost-btn:hover { transform: translateY(-2px); }
.full { width: 100%; justify-content: center; display: inline-flex; }
.text-btn { background: transparent; border: 0; color: var(--yellow-dark); font-weight: 900; padding: 0; }
.icon-btn { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f0e2cf; font-size: 28px; line-height: 1; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-icon { width: 110px; margin-bottom: 28px; }
.hero-card h2 { font-family: Montserrat, sans-serif; font-size: 34px; margin: 0 0 8px; color: var(--sand); }
.pickup-chip { display: inline-flex; margin-top: 18px; background: var(--yellow); color: var(--black); padding: 10px 14px; border-radius: 999px; font-weight: 900;text-decoration: inherit; cursor: pointer;transition: transform 0.2s ease, opacity 0.2s ease;
}

.pickup-chip:hover {
  transform: translateY(-1px);
  opacity: 0.85;
} 

.steps-section { padding: 62px 0 34px; }
.section-title { max-width: 720px; }
.section-title h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.steps article, .catalog-panel, .cart-card, .product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}
.steps article { padding: 24px; }
.steps article span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-weight: 900; }
.steps h3 { font-family: Montserrat, sans-serif; font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--gray); line-height: 1.5; }

.order-section { padding: 36px 0 90px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) 420px; gap: 22px; align-items: start; }
.catalog-panel, .cart-card { padding: 22px; }
.panel-heading, .cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-heading h2, .cart-heading h2 { font-size: 32px; }
.wholesale-badge { padding: 10px 13px; background: #f7ead8; color: #7a5000; border-radius: 999px; font-weight: 900; white-space: nowrap; }
.search-row { display: grid; grid-template-columns: 1fr 200px; gap: 12px; margin-bottom: 18px; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  background: #fffaf2;
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--yellow-dark); box-shadow: 0 0 0 4px rgba(248,189,37,.18); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card { padding: 18px; display: grid; gap: 14px; }
.product-top { display: flex; justify-content: space-between; gap: 12px; }
.product-card h3 { font-family: Montserrat, sans-serif; margin: 0; font-size: 21px; line-height: 1.05; }
.product-card small { color: var(--gray); font-weight: 700; }
.category-pill { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; color: #815800; background: #fff0c8; border-radius: 999px; padding: 7px 10px; height: fit-content; }
.price-line { display: flex; gap: 12px; flex-wrap: wrap; color: var(--gray); font-size: 14px; }
.price-line strong { color: var(--black); }
.qty-row { display: grid; grid-template-columns: 42px 1fr 42px; gap: 10px; align-items: center; }
.qty-row button { border: 0; border-radius: 14px; background: var(--black); color: var(--cream); height: 42px; font-size: 22px; font-weight: 900; }
.qty-row input { text-align: center; font-weight: 900; background: white; }
.add-hint { color: var(--gray); font-size: 13px; line-height: 1.35; }

.sticky-card { position: sticky; top: 96px; }
.cart-summary-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.cart-summary-mini div { background: #fff6e7; border-radius: 16px; padding: 12px; }
.cart-summary-mini span { display: block; font-size: 12px; color: var(--gray); font-weight: 800; }
.cart-summary-mini strong { font-size: 18px; }
.cart-items { display: grid; gap: 10px; max-height: 260px; overflow: auto; padding-right: 4px; margin-bottom: 18px; }
.cart-items.empty::before { content: "Todavía no agregaste productos."; display: block; color: var(--gray); background: #fff6e7; border-radius: 16px; padding: 16px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; background: #fffaf2; border: 1px solid rgba(0,0,0,.07); border-radius: 16px; padding: 12px; }
.cart-item strong { display: block; }
.cart-item span { color: var(--gray); font-size: 13px; }
.remove-item { border: 0; background: #f4e1c8; border-radius: 12px; padding: 8px 10px; font-weight: 900; }
.order-form { border-top: 1px solid rgba(0,0,0,.08); padding-top: 18px; }
.order-form h3 { font-family: Montserrat, sans-serif; margin: 0 0 14px; }
.order-form label { display: grid; gap: 7px; margin-bottom: 12px; font-size: 14px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.totals { display: grid; gap: 8px; margin: 16px 0; background: var(--black); color: var(--cream); padding: 16px; border-radius: 18px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.grand-total { font-size: 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.small-copy { color: var(--gray); text-align: center; font-size: 13px; line-height: 1.4; }

.modal { border: 0; border-radius: 28px; padding: 0; width: min(720px, calc(100% - 24px)); box-shadow: var(--shadow); background: transparent; }
.modal::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(5px); }
.modal-content { background: #fff7eb; padding: 24px; border-radius: 28px; }
.modal-content.large { width: min(1080px, calc(100vw - 24px)); max-height: 88vh; overflow: auto; }
.admin-modal { width: min(1080px, calc(100% - 24px)); }
.modal-header { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.modal-header h2 { font-family: Montserrat, sans-serif; margin: 0; }
.receipt-box { white-space: pre-wrap; background: var(--black); color: var(--cream); padding: 18px; border-radius: 18px; line-height: 1.5; max-height: 54vh; overflow: auto; }
.admin-login { background: white; padding: 18px; border-radius: 20px; }
.login-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.hidden { display: none !important; }
.admin-tools { display: grid; grid-template-columns: 1fr 210px auto; gap: 10px; margin-bottom: 14px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.admin-stats div { background: white; border-radius: 16px; padding: 14px; }
.admin-stats span { color: var(--gray); font-size: 12px; font-weight: 800; }
.admin-stats strong { display: block; font-size: 22px; }
.order-row { background: white; border-radius: 18px; padding: 14px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 12px; border: 1px solid rgba(0,0,0,.07); }
.order-row h3 { margin: 0 0 6px; font-family: Montserrat, sans-serif; }
.order-row p { margin: 4px 0; color: var(--gray); }
.order-actions { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.order-actions button, .order-actions select { padding: 9px 10px; border-radius: 12px; }
.toast { position: fixed; right: 18px; bottom: 18px; background: var(--black); color: var(--cream); padding: 14px 16px; border-radius: 16px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; z-index: 100; }
.toast.show { opacity: 1; transform: translateY(0); }

.product-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  border-radius: 12px;
}

.product-images img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  background: #111;
}

.product-images img:only-child {
  grid-column: 1 / -1;
}

/* FIX RESPONSIVE MOBILE - OLYMPUS */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.wrap {
  max-width: 100%;
}

.order-layout,
.catalog-panel,
.cart-card,
.product-grid,
.product-card,
.product-top,
.search-row,
.panel-heading {
  min-width: 0;
  max-width: 100%;
}

.catalog-panel {
  overflow: hidden;
}

.product-card h3,
.product-card small,
.price-line,
.add-hint,
.wholesale-badge {
  overflow-wrap: anywhere;
}

/* BOTÓN MUESTRA */
.muestra-btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  font-size: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--yellow);
  border: 2px dashed rgba(248,189,37,.5);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.muestra-btn:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(248,189,37,.08);
}

/* SECCIÓN PROPUESTA DE VALOR */
.value-section {
  padding: 48px 0 16px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  padding: 24px;
}
.value-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}
.value-card h3 {
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.value-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* MODAL MUESTRA */
.muestra-intro {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 18px;
}

/* SECCIÓN REVIEWS */
.reviews-section {
  padding: 72px 0 56px;
  background: #f6f0e7;
}
.reviews-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.reviews-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 10px 18px;
  transition: transform .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.reviews-all-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars {
  color: #f8bd25;
  font-size: 18px;
  letter-spacing: 2px;
}
.review-text {
  color: #3a3a3a;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}
.review-author span {
  color: var(--gray);
  font-size: 12px;
}
@media (max-width: 1000px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-top { flex-direction: column; align-items: flex-start; }
}

/* FOOTER BOTTOM */
.footer-bottom {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 0;
}
.footer-bottom-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.footer-info strong {
  display: block;
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
}
.footer-info span {
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-wa-btn {
  background: #25d366;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}
.footer-map-link {
  color: var(--yellow);
  font-weight: 800;
  font-size: 13px;
}
.footer-hours {
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.footer-copy {
  color: rgba(255,255,255,.3);
  font-size: 12px;
}
@media (max-width: 680px) {
  .footer-bottom-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* FOOTER MARCAS - OLYMPUS */
.brands-footer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 70px 0 56px;
  background: #070707;
  border-top: 1px solid rgba(246, 190, 0, 0.3);
}

.brand-logo-img {
  border-radius: 24px !important;
}

.brands-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.brands-header {
  margin-bottom: 32px;
}

.brands-header .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246, 190, 0, 0.14);
  border: 1px solid rgba(246, 190, 0, 0.35);
  color: #f6be00;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.brands-header h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
}

.brands-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.brands-carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: brands-marquee 26s linear infinite;
}

.brands-carousel:hover .brands-track {
  animation-play-state: paused;
}

.brands-footer .brand-logo-card {
  flex: 0 0 220px !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  height: 200px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 10px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.brands-footer .brand-logo-card > img.brand-logo-img {
  display: block !important;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: 180px !important;

  object-fit: contain !important;
  object-position: center !important;

  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  background: transparent !important;
}


@keyframes brands-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .brands-footer {
    padding: 48px 0 40px;
  }

  .brands-wrap {
    width: min(100% - 22px, 1180px);
  }

  .brands-header h2 {
    font-size: 32px;
  }

  .brands-header p {
    font-size: 15px;
  }

  .brands-track {
    gap: 12px;
    animation-duration: 20s;
  }

  .brands-footer .brand-logo-card {
    flex-basis: 140px !important;
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    height: 88px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .brands-footer .brand-logo-card > img.brand-logo-img {
    max-height: 52px !important;
  }
}



@media (max-width: 680px) {
  .wrap {
    width: min(100% - 20px, 1180px);
  }

  .order-section {
    padding-left: 0;
    padding-right: 0;
  }

  .catalog-panel,
  .cart-card {
    padding: 16px;
    border-radius: 20px;
  }

  .panel-heading,
  .cart-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-heading h2,
  .cart-heading h2 {
    font-size: 28px;
  }

  .wholesale-badge {
    white-space: normal;
    width: 100%;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 100%;
  }

  .product-top {
    flex-direction: column;
  }

  .category-pill {
    width: fit-content;
  }

  .qty-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}


@media (max-width: 980px) {
  .hero-grid, .order-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .brand img { width: 180px; }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-actions { width: 100%; justify-content: space-between; }
  .hero { padding-top: 42px; }
  .steps { grid-template-columns: 1fr; }
  .search-row, .form-grid, .admin-tools, .login-row, .order-row { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .cart-summary-mini { grid-template-columns: 1fr; }
  .order-section {
    max-width: 100%;
  }


}
