/* Home comercial. Los estilos de catálogo, producto y checkout siguen en styles.css. */
body[data-page="home"] { background: #fff; }
body[data-page="home"] [hidden] { display: none !important; }
.shop-home { --shop-navy: var(--accent); max-width: 1280px; margin: 0 auto; padding: 0 24px 32px; display: block; }
.shop-home a { color: inherit; text-decoration: none; }
.shop-home :is(a,button,summary):focus-visible, .shop-category-nav a:focus-visible { outline: 3px solid #3982ca; outline-offset: 4px; }
.shop-home h1,.shop-home h2,.shop-home h3,.shop-home p { margin: 0; }
.shop-home h1 { font: 600 clamp(21px,2.2vw,29px)/1.25 var(--font-display); letter-spacing: -.7px; color: var(--accent-ink); }
.shop-home h2 { font: 600 clamp(24px,2.6vw,32px)/1.15 var(--font-display); letter-spacing: -.7px; color: var(--accent-ink); }
.shop-home h3 { font-family: var(--font-body); }
.shop-home .shop-kicker { font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 1.4px; color: var(--accent); margin-bottom: 9px; }
.shop-utility { background: var(--accent-ink); color: white; font-size: 11px; }
.shop-utility > div { max-width: 1280px; padding: 9px 24px; margin: auto; display: flex; justify-content: space-between; gap: 20px; }
.shop-utility a { color: white; text-decoration: none; }
body[data-page="home"] .topbar { padding: 12px 24px 0; background: white; backdrop-filter: none; }
body[data-page="home"] .topbar__inner { max-width: 1232px; }
body[data-page="home"] .topbar__main { grid-template-columns: 190px minmax(220px,1fr) auto; gap: 34px; }
body[data-page="home"] .topbar__logo img { width: 176px; height: auto; max-height: 60px; object-fit: contain; }
body[data-page="home"] .search-bar { max-width: none; width: 100%; height: 48px; background: #f5f7fa; border: 1px solid #d4dce6; box-shadow: none; }
body[data-page="home"] .search-bar__action { background: var(--accent); color: white; min-height: 38px; }
body[data-page="home"] .topbar__nav { justify-content: flex-start; gap: 34px; min-height: 42px; }
body[data-page="home"] .topbar__nav a,body[data-page="home"] .topbar__nav-trigger { font-size: 12px; }
.shop-category-nav { display: flex; justify-content: center; gap: 34px; padding: 13px 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.shop-category-nav:empty { display: none; }
.shop-category-nav a { white-space: nowrap; color: #475569; text-decoration: none; font-size: 12px; }
.shop-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); padding: 18px 0; gap: 18px; }
.shop-benefit { display: flex; align-items: center; gap: 12px; justify-content: center; }
.shop-benefit:not(:last-child) { border-right: 1px solid var(--line); }
.shop-benefit svg { width: 28px; height: 28px; color: var(--accent); flex: 0 0 auto; }
.shop-benefit strong { display: block; font-size: 12px; margin-bottom: 4px; color: var(--accent-ink); }
.shop-benefit span { font-size: 11px; color: var(--ink-soft); display: block; }
.shop-hero { padding-top: 26px; }
.shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.shop-heading > div > p:not(.shop-kicker) { color: var(--ink-soft); margin-top: 10px; font-size: 14px; }
.shop-home .shop-text-link { color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; padding: 10px 0; background: none; border: 0; cursor: pointer; }
.shop-bento { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: repeat(2,182px); gap: 12px; }
.shop-promo-tile { min-width: 0; background: #f3f5f8; border-radius: 12px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 43%; padding: 18px 12px 16px 20px; align-items: center; transition: box-shadow .2s; }
.shop-promo-tile:hover { box-shadow: 0 4px 16px #00296018; }
.shop-promo-copy { position: relative; z-index: 1; min-width: 0; }
.shop-promo-copy h3 { font-size: 17px; color: var(--accent-ink); margin-bottom: 8px; }
.shop-promo-copy p { font-size: 11px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 7px 0; line-height: 1.45; }
.shop-promo-copy strong { font-size: 19px; color: var(--accent); display: block; white-space: nowrap; }
.shop-promo-copy small { font-size: 9px; font-weight: 500; }
.shop-promo-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 11px; font-weight: 600; color: var(--accent); }
.shop-promo-media { height: 135px; display: flex; align-items: center; justify-content: center; }
.shop-promo-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-promo-tile--main { grid-row: span 2; grid-template-columns: 1fr; align-items: start; padding: 25px 28px 0; background: #eaf0f8; }
.shop-promo-tile--main::after { content: ''; position: absolute; width: 330px; height: 330px; border: 1px solid #00296015; border-radius: 50%; right: -100px; bottom: -145px; }
.shop-promo-tile--main .shop-promo-copy h2 { font-size: clamp(26px,2.8vw,36px); max-width: 320px; }
.shop-promo-tile--main .shop-promo-copy p { font-size: 12px; }
.shop-promo-tile--main .shop-promo-copy strong { font-size: 25px; }
.shop-promo-tile--main .shop-promo-cta { background: var(--accent); color: white; padding: 10px 15px; border-radius: 6px; margin-top: 12px; }
.shop-promo-tile--main .shop-promo-media { height: 150px; width: 68%; margin: -18px 0 0 auto; }
.shop-promo-tile:nth-child(3) { background: #edf4f3; }
.shop-promo-tile:nth-child(4) { background: #fff3eb; }
.shop-promo-tile:nth-child(5) { background: #f0eff7; }
.shop-section { margin-top: 44px; scroll-margin-top: 150px; }
.shop-home :is(#recommended-section,#promo-section,#cashback-section,#about-section) { background: transparent; }
.shop-home #recommended-section { overflow: visible; }
.shop-home #advisor-section { background: #f0f4f8; }
.shop-status { padding: 26px; border: 1px solid var(--line); background: var(--surface-muted); border-radius: 10px; color: var(--ink-soft); font-size: 14px; }
.shop-status a { display: inline-block; color: var(--accent); text-decoration: underline; padding-top: 8px; }
.shop-product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px)/5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
.shop-rail-actions { display: flex; align-items: center; gap: 8px; }
.shop-rail-actions button:not(.shop-text-link) { border: 1px solid var(--line); background: white; border-radius: 50%; width: 40px; height: 40px; color: var(--accent); cursor: pointer; }
.shop-product { scroll-snap-align: start; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: white; transition: border-color .2s; }
.shop-product:hover { border-color: #9eafc4; }
.shop-product-media { height: 200px; padding: 30px 16px 14px; position: relative; }
.shop-product-media img { width: 100%; height: 100%; object-fit: contain; }
.shop-product-badge { position: absolute; top: 12px; left: 12px; font-size: 9px; color: var(--accent); background: #edf2f8; border-radius: 4px; padding: 5px 7px; font-weight: 600; }
#promo-row .shop-product-badge { color: #a51c22; background: #fff0f0; }
.shop-product-copy { padding: 14px 16px 16px; display: flex; flex: 1; flex-direction: column; }
.shop-product-brand { color: var(--ink-soft); font-weight: 700; letter-spacing: 1px; font-size: 10px; margin-bottom: 9px !important; }
.shop-product h3 { font-size: 13px; font-weight: 500; line-height: 1.55; height: 61px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shop-product-price { margin-top: 16px; color: var(--accent-ink); }
.shop-product-price strong { font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.shop-product-price small { font-size: 9px; margin-left: 5px; color: var(--ink-soft); }
.shop-product-price del { display: block; color: var(--ink-soft); font-size: 12px; margin-bottom: 3px; }
.shop-product-stock { color: #326248; font-size: 10px; margin: 10px 0 15px !important; }
.shop-product-cta { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; font-size: 12px; color: var(--accent); font-weight: 600; margin-top: auto; }
.shop-discovery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.shop-discovery-card { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; border-radius: 10px; padding: 24px 16px 24px 24px; background: #eef3f8; min-height: 210px; overflow: hidden; }
.shop-discovery-card:nth-child(2) { background: #f4f0ec; }
.shop-discovery-card:nth-child(3) { background: #edf3f1; }
.shop-discovery-card h2 { font-size: 22px; line-height: 1.15; }
.shop-discovery-card p:not(.shop-kicker) { font-size: 11px; color: var(--ink-soft); margin: 12px 0 18px; line-height: 1.5; }
.shop-discovery-card span { font-size: 11px; font-weight: 600; color: var(--accent); }
.shop-discovery-media { height: 135px; }
.shop-discovery-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-categories { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 16px; }
.shop-category { text-align: center; }
.shop-category > div { height: 126px; border: 1px solid var(--line); border-radius: 50%; padding: 20px; margin-bottom: 15px; background: #f9fafc; }
.shop-category img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-category h3 { font-size: 12px; color: var(--accent-ink); }
.shop-category span { display: block; color: var(--ink-soft); font-size: 10px; margin-top: 8px; }
.shop-rewards { padding: 34px 50px; background: var(--accent); color: white; border-radius: 12px; display: grid; grid-template-columns: 145px 1fr; gap: 42px; align-items: center; }
.shop-rewards h2 { color: white; max-width: 600px; font-size: 30px; }
.shop-rewards .shop-kicker { color: #c4d5ed; }
.shop-rewards p:not(.shop-kicker) { font-size: 13px; line-height: 1.7; max-width: 710px; margin: 14px 0 20px; color: #e0e9f6; }
.shop-rewards-mark { font: 700 98px/1 var(--font-display); position: relative; border: 1px solid #ffffff40; border-radius: 20px; text-align: center; padding: 16px 0; transform: rotate(-8deg); }
.shop-rewards-mark span { color: var(--danger); position: absolute; font-size: 66px; top: -23px; right: -15px; }
.shop-home .shop-button { display: inline-flex; justify-content: center; align-items: center; padding: 14px 20px; background: var(--accent); border: 0; border-radius: 6px; color: white; font: 600 12px var(--font-body); cursor: pointer; min-height: 44px; text-decoration: none; }
.shop-home .shop-button--light { color: var(--accent); background: white; }
.shop-business { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.shop-business > a { border: 1px solid var(--line); border-radius: 9px; padding: 22px 18px; }
.shop-business svg { color: var(--accent); margin-bottom: 20px; }
.shop-business h3 { color: var(--accent-ink); font-size: 13px; line-height: 1.4; min-height: 37px; }
.shop-business span { font-size: 10px; display: block; margin-top: 14px; color: var(--ink-soft); }
.shop-collections { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.shop-collections a { border-radius: 20px; background: #f3f5f8; padding: 10px 15px; font-size: 11px; color: var(--accent); }
.shop-advisor { background: #f0f4f8; border-radius: 12px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-left: 4px solid var(--danger); }
.shop-advisor p:not(.shop-kicker) { color: var(--ink-soft); margin-top: 14px; font-size: 14px; line-height: 1.6; max-width: 500px; }
.shop-advisor-actions { display: grid; gap: 18px; text-align: center; flex-shrink: 0; }
.shop-advisor-actions > a { font-size: 12px; font-weight: 600; color: var(--accent); }
.shop-local { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 22px 0; align-items: center; }
.shop-local h2 { font-size: 37px; }
.shop-local p { color: var(--ink-soft); font-size: 13px; line-height: 1.85; margin: 18px 0; }
.shop-pickup { border: 1px solid var(--line); border-radius: 12px; padding: 36px; background: #fafbfd; }
.shop-pickup h3 { font-size: 21px; line-height: 1.4; color: var(--accent-ink); margin: 12px 0 20px; }
.shop-pickup address { font-style: normal; font-size: 13px; line-height: 1.8; }
.shop-contacts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.shop-contacts a { border: 1px solid var(--line); padding: 24px; border-radius: 9px; }
.shop-contacts h3 { font-size: 14px; color: var(--accent); margin: 12px 0; }
.shop-contacts p { font-size: 11px; color: var(--ink-soft); }
.shop-contacts a > span { color: var(--danger); font-size: 22px; }
.shop-pc { border-top: 1px solid var(--line); padding-top: 20px; }
.shop-pc summary { color: var(--accent); cursor: pointer; padding: 10px 0; font-size: 14px; }
.shop-pc summary span { float: right; }
.shop-pc .pc-build-section { padding: 24px 0; }
.shop-pc .pc-build-section,.shop-pc .pc-build-panel { background: #f4f6f9; }
.shop-pc .pc-build-panel { border: 1px solid var(--line); border-radius: 10px; }
.shop-pc .pc-build-panel__copy :is(h2,p) { color: var(--accent-ink); }
.shop-pc .pc-build-panel__visual { display: none; }
body[data-page="home"] .sitio-footer { margin-top: 20px; background: var(--accent-ink); color: #c6d3e3; }
body[data-page="home"] .sitio-footer__inner { max-width: 1232px; }
body[data-page="home"] .sitio-footer__titulo { color: white; }
body[data-page="home"] .sitio-footer a,body[data-page="home"] .sitio-footer__texto,body[data-page="home"] .sitio-footer__dato,body[data-page="home"] .sitio-footer__legal { color: #c6d3e3; }
@media (max-width: 1050px) {
  body[data-page="home"] .topbar__main { grid-template-columns: 160px minmax(180px,1fr) auto; gap: 20px; }
  body[data-page="home"] .topbar__logo img { width: 155px; }
  body[data-page="home"] .topbar__action-copy { display: none; }
  body[data-page="home"] .topbar__actions { gap: 6px; }
  body[data-page="home"] .topbar__action-btn { min-width: 40px; min-height: 44px; padding: 6px; }
  body[data-page="home"] .topbar__nav { gap: 22px; }
  .shop-category-nav { gap: 24px; }
  .shop-bento { grid-template-columns: 1.25fr 1fr 1fr; }
  .shop-promo-tile { padding-left: 15px; }
  .shop-promo-copy strong { font-size: 17px; }
  .shop-promo-copy h3 { font-size: 14px; }
  .shop-promo-tile--main { padding: 24px 20px 0; }
  .shop-product-rail { grid-auto-columns: calc((100% - 32px)/3); }
  .shop-categories { grid-template-columns: repeat(4,1fr); gap: 24px; }
  .shop-category > div { width: 124px; margin-inline: auto; }
  .shop-discovery-card { padding: 22px 16px; grid-template-columns: 1fr; position: relative; }
  .shop-discovery-card > div:first-child { position: relative; z-index: 1; max-width: 160px; }
  .shop-discovery-media { position: absolute; width: 85px; height: 90px; right: 5px; bottom: 10px; }
  .shop-business { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 760px) {
  .shop-home { padding: 0 16px 24px; }
  .shop-utility > div { justify-content: center; padding: 8px 12px; font-size: 10px; }
  .shop-utility > div > :not(:first-child) { display: none; }
  body[data-page="home"] .topbar { padding: 10px 16px 0; }
  body[data-page="home"] .topbar__main { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; padding-bottom: 10px; }
  body[data-page="home"] .topbar__logo img { width: 140px; }
  body[data-page="home"] .menu-btn { display: flex; width: 32px; height: 44px; align-items: center; justify-content: center; padding: 0; }
  body[data-page="home"] .search-bar { grid-column: 1/-1; grid-row: 2; order: 0; margin: 0; height: 46px; }
  body[data-page="home"] .search-bar input { font-size: 12px; min-width: 0; }
  body[data-page="home"] .search-bar__action { display: block; font-size: 11px; padding: 0 13px; }
  body[data-page="home"] .topbar__actions { grid-column: 3; grid-row: 1; gap: 6px; }
  body[data-page="home"] .topbar__action-copy { display: none; }
  body[data-page="home"] .topbar__action-btn { min-width: 40px; min-height: 44px; padding: 6px; }
  body[data-page="home"] .topbar__nav { display: flex; gap: 26px; overflow-x: auto; white-space: nowrap; min-height: 40px; scrollbar-width: none; }
  body[data-page="home"] .topbar__nav > a:nth-of-type(n+3) { display: none; }
  .shop-category-nav { justify-content: flex-start; gap: 25px; padding: 12px 16px; }
  .shop-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px 0; gap: 16px 10px; }
  .shop-benefit { justify-content: flex-start; gap: 8px; }
  .shop-benefit:not(:last-child) { border: none; }
  .shop-benefit svg { width: 24px; height: 24px; }
  .shop-benefit strong { font-size: 11px; }
  .shop-benefit span { font-size: 9px; line-height: 1.5; }
  .shop-hero { padding-top: 22px; }
  .shop-hero .shop-heading { display: block; }
  .shop-hero .shop-heading > a { display: inline-block; margin-top: 5px; }
  .shop-bento { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; gap: 10px; }
  .shop-promo-tile--main { grid-column: 1/-1; grid-row: auto; grid-template-columns: 1.6fr 1fr; padding: 25px 20px; min-height: 260px; align-items: center; }
  .shop-promo-tile--main .shop-promo-copy h2 { font-size: 25px; }
  .shop-promo-tile--main .shop-promo-media { width: 100%; margin: 0; height: 150px; }
  .shop-promo-tile:not(.shop-promo-tile--main) { grid-template-columns: 1fr; padding: 18px 14px 12px; }
  .shop-promo-tile:not(.shop-promo-tile--main) .shop-promo-media { height: 95px; margin-top: 10px; }
  .shop-promo-copy h3 { font-size: 15px; }
  .shop-promo-copy p { min-height: 32px; }
  .shop-promo-copy .shop-promo-cta { min-height: 30px; margin-top: 6px; }
  .shop-promo-copy small { font-size: 8px; }
  .shop-section { margin-top: 32px; scroll-margin-top: 180px; }
  .shop-heading { gap: 12px; align-items: flex-end; margin-bottom: 18px; }
  .shop-home .shop-kicker { font-size: 9px; letter-spacing: 1px; }
  .shop-home h2 { font-size: 25px; }
  .shop-home .shop-text-link { font-size: 11px; white-space: normal; }
  .shop-rail-actions { gap: 5px; }
  .shop-rail-actions button:not(.shop-text-link) { width: 36px; height: 36px; }
  .shop-product-rail { grid-auto-columns: 79%; gap: 14px; }
  .shop-product-media { height: 210px; }
  .shop-product h3 { font-size: 14px; height: 64px; }
  .shop-discovery { grid-template-columns: 1fr; gap: 12px; }
  .shop-discovery-card { grid-template-columns: 1.2fr 1fr; min-height: 190px; padding: 24px; }
  .shop-discovery-card > div:first-child { max-width: none; }
  .shop-discovery-card h2 { font-size: 23px; }
  .shop-discovery-media { position: static; width: auto; height: 130px; }
  .shop-categories { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 125px; gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
  .shop-category { scroll-snap-align: start; }
  .shop-category > div { width: 115px; height: 115px; }
  .shop-rewards { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; }
  .shop-rewards-mark { display: none; }
  .shop-rewards h2 { font-size: 29px; }
  .shop-business { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-business > a { padding: 20px 15px; }
  .shop-collections { gap: 8px; }
  .shop-collections a { font-size: 10px; }
  .shop-advisor { display: block; padding: 28px 24px; }
  .shop-advisor-actions { margin-top: 22px; }
  .shop-local { grid-template-columns: 1fr; gap: 24px; }
  .shop-local h2 { font-size: 33px; }
  .shop-pickup { padding: 26px; }
  .shop-contacts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .shop-contacts a { padding: 20px 16px; }
  .shop-contacts h3 { line-height: 1.5; }
  .shop-contacts p { line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shop-home * { transition: none !important; }
}
