/* Storefront theme: bright colors, product-led discovery and visible cart feedback. */
:root {
  --ink: #242337; --muted: #6b6875; --purple: #242337; --orange: #ff633e;
  --yellow: #ffe368; --mint: #bdf3de; --violet: #7253e8; --bg: #fff;
  font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
}
body { background: #fff; padding-bottom: 24px; }
.header { border: 0; }
.header-inner { min-height: 88px; }
.brand { font-size: 2rem; font-weight: 900; }
.brand-mark { position: relative; background: var(--orange); color: white; border-radius: 15px; transform: rotate(-6deg); }
.brand-mark>span { position: absolute; right: -7px; top: -8px; color: var(--ink); font-size: 1.3rem; }
.demo-strip { background: #f5f3ff; padding: 7px 16px; min-height: 32px; font-size: .8125rem; }
.search { border: 2px solid #eeebef; border-radius: 16px; background: #faf9fb; height: 49px; overflow: visible; }
.search input { font-size: 1rem; }
.search button { margin: 4px; align-self: stretch; height: auto; border: 0; border-radius: 11px; background: var(--yellow); font-weight: 800; }
.cart-button b { background: var(--orange); color: white; width: auto; min-width: 28px; height: 28px; padding: 0 6px; font-size: .875rem; }
.intro { grid-template-columns: 1.25fr 1fr; gap: 42px; background: var(--yellow); border-radius: 30px; padding: 32px 46px; position: relative; overflow: hidden; }
.intro::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#c19e1b 1px,transparent 1px); background-size: 18px 18px; opacity: .2; mask-image: linear-gradient(90deg,transparent 45%,black); }
.intro-copy { position: relative; }
.intro .eyebrow { display: inline-block; color: var(--ink); background: #fff7c1; padding: 7px 11px; border-radius: 8px; }
.intro h1 { font-size: clamp(2.6rem,4.7vw,4.25rem); line-height: .99; letter-spacing: -.065em; margin-bottom: 16px; font-weight: 900; }
.intro h1 span { color: #c83c1e; display: inline-block; transform: rotate(-2deg); }
.intro p:not(.eyebrow) { color: #514534; font-size: 1rem; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.primary { display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: var(--ink); border: 2px solid var(--ink); border-radius: 13px; font-size: 1rem; font-weight: 800; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .16s,box-shadow .16s,background .16s; }
.primary:hover:not(:disabled) { background: #ff825f; transform: translate(-1px,-2px); box-shadow: 4px 5px 0 var(--ink); }
.primary:active:not(:disabled) { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.surprise-button { display: inline-flex; gap: 8px; align-items: center; border: 0; padding: 12px 4px; background: transparent; font-size: .9375rem; font-weight: 750; }
.surprise-button span { font-size: 1.4rem; transition: transform .3s; }
.surprise-button:hover span { transform: rotate(90deg); }
.spotlight-wrap { position: relative; max-width: 430px; width: 100%; justify-self: end; padding: 5px 6px 10px; }
.spotlight-sticker { position: absolute; z-index: 4; top: -8px; right: -8px; background: var(--violet); color: white; font-weight: 800; font-size: .875rem; border: 2px solid var(--ink); padding: 10px 15px; border-radius: 12px; transform: rotate(7deg); box-shadow: 2px 2px 0 var(--ink); }
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 6px 7px 0 #cdb43f; }
.spotlight-photo { padding: 0; border: 0; text-align: left; min-height: 210px; }
.spotlight-photo img { transition: transform .35s; }
.spotlight-photo:hover img { transform: scale(1.06); }
.spotlight-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 9px; background: var(--mint); color: #245845; font-size: .875rem; font-weight: 750; border-radius: 7px; }
.spotlight-info { padding: 24px 18px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-category { color: var(--muted); font-size: .8125rem; margin-bottom: 9px; }
.spotlight-name { text-align: left; background: none; border: 0; padding: 0; font-size: 1.1875rem; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; }
.spotlight-info>strong { color: #bb381d; font-size: 1.65rem; letter-spacing: -.035em; margin-top: 14px; }
.spotlight-info .sample-label { margin-top: 9px; }
.spotlight-controls { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 15px; background: #fff; border-top: 1px solid var(--border); }
#spotlight-tabs { display: flex; align-items: center; }
.spotlight-dot { width: 25px; height: 28px; border: 0; padding: 0; background: transparent; position: relative; }
.spotlight-dot::after { content: ''; display: block; width: 9px; height: 9px; border-radius: 50%; background: #dedbe1; margin: auto; transition: background .2s,transform .2s; }
.spotlight-dot[aria-pressed=true]::after { background: var(--orange); transform: scale(1.25); }
#next-spotlight { background: transparent; border: 0; font-size: .875rem; font-weight: 750; padding: 7px 2px; }
#next-spotlight span { color: var(--orange); font-size: 1.1rem; margin-left: 4px; }
.catalog-section { padding-top: 32px; scroll-margin-top: 20px; }
.catalog-heading { margin: 0 0 21px; }
.catalog-heading .eyebrow { font-size: .75rem; margin-bottom: 6px; }
.catalog-heading h2 { font-size: 1.85rem; letter-spacing: -.05em; font-weight: 900; }
.catalog-heading h2 span { color: var(--orange); }
.product-count { color: var(--muted); font-size: .875rem; background: #f7f5f8; border-radius: 20px; padding: 8px 12px; white-space: nowrap; }
.category-bar { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; padding-bottom: 6px; border: 0; }
.category { justify-content: center; gap: 10px; padding: 13px 10px; border: 2px solid transparent; border-radius: 16px; font-size: .875rem; font-weight: 750; min-height: 72px; text-align: left; transition: transform .18s,box-shadow .18s; }
.category[data-category=Todos] { background: #fff1b8; }
.category[data-category=Joyas] { background: #ffe0ed; }
.category[data-category=EPP] { background: #ffe8cd; }
.category[data-category=Herramientas] { background: #e8e2ff; }
.category[data-category="Útiles de aseo"] { background: #d7f5eb; }
.category[data-category="Artículos usados"] { background: #dcecff; }
.category:hover { transform: translateY(-3px); }
.category.active { color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.category>span { font-size: inherit; background: none; padding: 0; border-radius: 0; color: inherit; }
.category>.category-icon { font-size: 2rem; color: #d74325; width: 38px; text-align: center; }
#all-count { display: inline-block; padding: 2px 5px; background: #fff9de; color: var(--ink); border-radius: 5px; font-size: .75rem; }
.category>.category-thumb { width: 40px; height: 40px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: #ffffff70; }
.category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.filter-row { padding: 20px 0; }
.condition-filters { gap: 6px; }
.text-filter { padding: 9px 12px; border-radius: 9px; }
.text-filter.active { color: var(--ink); font-weight: 750; background: #f0edf5; box-shadow: none; }
.sort-control select { border-radius: 10px; }
.product-card { border-radius: 22px; transition: box-shadow .22s,transform .22s,border-color .22s; }
.product-card:hover { box-shadow: 5px 7px 0 var(--yellow); transform: translateY(-4px); border-color: var(--ink); }
.product-photo-button { overflow: hidden; }
.product-photo-button .photo-wrap { aspect-ratio: 1.14; }
.product-photo-button img { transition: transform .4s; }
.product-photo-button:hover img { transform: scale(1.055); }
.condition { border-radius: 9px; padding: 6px 10px; font-weight: 750; background: var(--mint); color: #245845; }
.condition.used { background: #ffe1ee; color: #8c345e; }
.photo-hint { position: absolute; bottom: 12px; left: 50%; transform: translate(-50%,8px); z-index: 2; background: #fff; border-radius: 20px; padding: 8px 13px; font-size: .8125rem; font-weight: 750; opacity: 0; transition: opacity .2s,transform .2s; white-space: nowrap; }
.product-photo-button:hover .photo-hint,.product-photo-button:focus-visible .photo-hint { opacity: 1; transform: translate(-50%,0); }
.product-content { padding: 17px 18px 13px; }
.product-category { display: inline-block; margin-bottom: 9px; padding: 4px 7px; background: #f3edf8; border-radius: 5px; color: #6c547d; }
.product-card[data-category=Joyas] .product-category { background: #fff0f6; color: #8c345e; }
.product-card[data-category=Herramientas] .product-category { background: #f0ecff; color: #665297; }
.product-card[data-category="Útiles de aseo"] .product-category { background: #e6f8f0; color: #32694f; }
.product-card[data-category=EPP] .product-category { background: #fff0df; color: #92622a; }
.product-card[data-category="Artículos usados"] .product-category { background: #eaf2ff; color: #416897; }
.product-title { font-weight: 750; line-height: 1.35; min-height: 43px; letter-spacing: -.025em; }
.product-price { font-size: 1.85rem; font-weight: 900; letter-spacing: -.055em; margin: 9px 0 8px; }
.stock-text { color: var(--muted); font-size: .875rem; display: block; }
.product-bottom { display: block; margin-top: 15px; }
.add-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1rem; font-weight: 800; width: 100%; height: auto; min-height: 44px; padding: 11px 13px; border: 0; background: var(--orange); color: var(--ink); border-radius: 11px; transition: background .18s,transform .18s; }
.add-button span { font-size: 1.3rem; font-weight: 500; line-height: 1; }
.add-button:hover:not(:disabled) { background: #ff825f; transform: translateY(-1px); }
.add-button.added { background: var(--mint); color: #245845; }
.sample-label { color: #827888; margin-top: 8px; }
.buying-note { background: var(--mint); border-radius: 22px; padding: 27px 32px; }
.small-icon { background: var(--ink); color: white; font-size: 1.25rem; font-weight: 800; transform: rotate(-5deg); }
.buying-note h3 { font-size: 1.125rem; letter-spacing: -.03em; margin-bottom: 6px; }
.buying-note p { font-size: .9375rem; color: #426659; }
.footer { padding-bottom: 80px; flex-wrap: wrap; }
.footer>a:not(.brand) { font-size: .8125rem; }
.detail-price { color: #bc391d; font-weight: 900; font-size: 2.2rem; }
.cart-head { padding-bottom: 18px; border-bottom: 3px solid var(--yellow); }
.quantity button { border: 0; background: #fff0cf; border-radius: 8px; }
.quick-cart { position: fixed; z-index: 5; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 25px; max-width: calc(100% - 32px); background: var(--ink); color: white; border: 2px solid #fff; border-radius: 18px; padding: 13px 21px; box-shadow: 0 8px 24px #24233730; text-align: left; }
.quick-cart-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 11px; background: var(--orange); color: var(--ink); font-size: 1.5rem; }
.quick-cart>span>strong { display: block; font-size: 1rem; }
#quick-cart-count { display: block; color: #cecbd8; font-size: .8125rem; margin-top: 3px; }
#quick-cart-total { white-space: nowrap; color: var(--yellow); font-size: 1.2rem; }
.toast { bottom: 110px; background: var(--mint); color: #24493a; border: 1px solid #8bceb2; font-weight: 700; width: max-content; }
@media (max-width:1080px) {
  .intro { gap: 25px; padding: 30px; }
  .category { flex-direction: column; gap: 7px; padding: 10px 5px; text-align: center; }
  .spotlight-info { padding: 20px 15px; }
}
@media (max-width:740px) {
  .demo-strip { font-size: .75rem; padding: 7px 12px; }
  .header-inner { min-height: 0; }
  .brand { font-size: 1.8rem; }
  .search { height: 46px; }
  .search input { font-size: .9375rem; }
  .search button { padding: 0 16px; }
  .intro { grid-template-columns: 1fr; padding: 25px 22px 22px; gap: 23px; border-radius: 24px; }
  .intro h1 { font-size: clamp(2.4rem,8.5vw,3.4rem); line-height: 1.01; margin-bottom: 12px; }
  .intro h1 br { display: revert; }
  .intro .eyebrow { font-size: .75rem; padding: 6px 9px; margin-bottom: 13px; }
  .intro p:not(.eyebrow) { font-size: .9375rem; }
  .hero-actions { gap: 14px; margin-top: 17px; }
  .hero-actions .primary { padding: 12px 16px; font-size: .9375rem; }
  .surprise-button { font-size: .875rem; padding: 8px 0; gap: 5px; }
  .spotlight-wrap { max-width: none; padding: 4px 3px 5px; }
  .spotlight-sticker { top: -9px; right: 0; padding: 7px 11px; font-size: .75rem; }
  .spotlight { grid-template-columns: 100px 1fr; border-radius: 17px; box-shadow: 4px 5px 0 #cdb43f; }
  .spotlight-photo { min-height: 112px; }
  .spotlight-badge { top: 8px; left: 8px; padding: 4px 7px; font-size: .75rem; }
  .spotlight-info { padding: 14px 16px; }
  .spotlight-name { font-size: 1.0625rem; }
  .spotlight-category { font-size: .75rem; margin-bottom: 4px; }
  .spotlight-info>strong { font-size: 1.35rem; margin-top: 6px; }
  .spotlight-info .sample-label { margin-top: 4px; }
  .spotlight-controls { padding: 5px 10px; }
  #next-spotlight { font-size: .8125rem; }
  .catalog-section { padding-top: 28px; }
  .catalog-heading { margin-bottom: 18px; }
  .catalog-heading h2 { font-size: 1.5rem; }
  .catalog-heading .eyebrow { font-size: .75rem; }
  .product-count { font-size: .75rem; padding: 6px 9px; }
  .category-bar { display: flex; gap: 9px; overflow-x: auto; max-width: 100%; padding: 0 4px 10px 0; scrollbar-width: thin; }
  .category { flex: 0 0 105px; white-space: normal; gap: 7px; min-height: 87px; border-radius: 15px; font-size: .875rem; }
  .category>.category-thumb { width: 35px; height: 35px; }
  .category>.category-icon { font-size: 1.8rem; height: 35px; }
  .filter-row { gap: 13px; padding-block: 15px; }
  .condition-filters { gap: 3px; flex-wrap: wrap; }
  .text-filter { padding: 8px 10px; }
  .sort-control { font-size: .8125rem; }
  .product-grid { gap: 13px; }
  .product-card { border-radius: 18px; }
  .product-content { padding: 13px 11px 11px; }
  .product-category { margin-bottom: 7px; }
  .product-price { font-size: 1.6rem; margin-top: 10px; }
  .add-button { font-size: .9375rem; padding: 10px 11px; border-radius: 10px; }
  .buying-note { padding: 23px; gap: 18px; margin-top: 30px; }
  .buying-note h3 { font-size: 1.0625rem; }
  .footer { padding-bottom: 95px; }
  .footer>a:last-child { width: auto; }
  .detail-price { font-size: 1.9rem; }
  .quick-cart { width: calc(100% - 28px); gap: 13px; padding: 12px 15px; bottom: 13px; }
  .quick-cart-icon { width: 30px; height: 30px; }
  #quick-cart-total { font-size: 1.125rem; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
