html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f8fafc; color: #0f172a; }
a { color: inherit; text-decoration: none; }
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(15,23,42,.12); backdrop-filter: blur(14px); }
.nav { max-width: 1280px; margin: 0 auto; height: 4rem; padding: 0 1rem; display: flex; align-items: center; gap: 1.25rem; }
.logo { color: #ff6b00; font-weight: 1000; letter-spacing: -.06em; font-size: 1.25rem; }
.nav-links { display: flex; align-items: center; gap: 1.05rem; font-weight: 800; color: #334155; }
.nav-links a.active, .nav-links a:hover { color: #ff6b00; }
.nav-spacer { flex: 1; }
.whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #22c55e; color: white; padding: .72rem 1.05rem; font-weight: 1000; box-shadow: 0 14px 30px rgba(34,197,94,.25); }
.page-hero { background: radial-gradient(circle at 76% 18%, rgba(249,115,22,.16), transparent 28%), linear-gradient(135deg, #071a46 0%, #12358e 100%); color: white; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; padding: 3.2rem 1rem 3.6rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; }
.breadcrumb { color: #64748b; font-size: .86rem; max-width: 1280px; margin: 0 auto; padding: .9rem 1rem; }
.hero-kicker { display: inline-flex; border-radius: 999px; background: #ff6b00; padding: .45rem .8rem; font-size: .75rem; font-weight: 1000; letter-spacing: .09em; text-transform: uppercase; }
.page-hero h1 { margin: 1.1rem 0 .8rem; font-size: clamp(2.3rem, 6vw, 4.9rem); line-height: .92; letter-spacing: 0; font-weight: 1000; }
.page-hero p { max-width: 43rem; color: #dbeafe; font-size: 1.1rem; line-height: 1.55; }
.hero-stats { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }
.hero-stats span { border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .62rem .85rem; font-weight: 900; }
.hero-products { min-height: 22rem; position: relative; display: grid; place-items: center; }
.hero-products img { position: absolute; width: 42%; max-height: 74%; object-fit: contain; border-radius: 1.2rem; background: rgba(255,255,255,.9); padding: .75rem; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.hero-products img:nth-child(1) { left: 2%; top: 8%; transform: rotate(-5deg); }
.hero-products img:nth-child(2) { right: 3%; top: 20%; transform: rotate(4deg); }
.hero-products img:nth-child(3) { left: 30%; bottom: 2%; transform: rotate(-1deg); }
.catalog-shell { max-width: 1280px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.filters { display: flex; gap: .65rem; overflow-x: auto; padding-bottom: .35rem; }
.filter-btn { flex: 0 0 auto; border: 1px solid #dbeafe; background: white; color: #0f172a; border-radius: 999px; padding: .72rem 1rem; font-weight: 1000; cursor: pointer; box-shadow: 0 10px 22px rgba(15,23,42,.05); }
.filter-btn.active { background: #ff6b00; color: white; border-color: #ff6b00; }
.sort { border: 1px solid #dbeafe; border-radius: .9rem; padding: .75rem .9rem; color: #0f172a; font-weight: 800; background: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.reel-card { position: relative; overflow: hidden; border-radius: .95rem; background: white; color: #0f172a; min-height: 31rem; isolation: isolate; border: 1px solid #e5e7eb; box-shadow: 0 14px 34px rgba(15,23,42,.1); }
.reel-card button { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; color: inherit; text-align: left; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.reel-card video, .card-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .35s ease, filter .35s ease; }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,.03), rgba(2,6,23,.32) 42%, rgba(2,6,23,.86)); opacity: 0; transition: opacity .25s ease; z-index: 1; }
.reel-card:hover::after, .reel-card.preview-active::after { opacity: 1; }
.reel-card:hover video, .reel-card.preview-active video, .reel-card:hover .card-backdrop, .reel-card.preview-active .card-backdrop { transform: scale(1.06); filter: saturate(1.08) brightness(.82); }
.reel-cover { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; background: white; z-index: 2; pointer-events: none; transition: opacity .25s ease, transform .35s ease; }
.reel-card:hover .reel-cover, .reel-card.preview-active .reel-cover { opacity: 0; transform: scale(1.04); }
.cover-image { display: grid; place-items: center; padding: 1.15rem; border-bottom: 1px solid #eef2f7; min-height: 0; }
.cover-image img { width: 100%; height: 100%; object-fit: contain; }
.cover-body { padding: 1rem; background: white; }
.cover-category { display: block; color: #ff6b00; font-size: .74rem; font-weight: 1000; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.cover-title { display: block; color: #0f172a; font-size: .98rem; line-height: 1.25; font-weight: 900; min-height: 2.5rem; }
.price-old { display: block; margin-top: .85rem; color: #94a3b8; font-size: .78rem; text-decoration: line-through; }
.price { display: block; color: #020617; font-size: 1.5rem; line-height: 1.05; font-weight: 1000; }
.installments { display: block; color: #155dfc; font-size: .76rem; font-weight: 800; margin-top: .15rem; }
.discount { position: absolute; top: .8rem; left: .8rem; z-index: 4; border-radius: 999px; background: #ef4444; color: white; padding: .28rem .52rem; font-size: .78rem; font-weight: 1000; }
.reel-chip { display: inline-flex; align-items: center; width: max-content; border-radius: 999px; background: rgba(255,255,255,.92); color: #0f172a; padding: .35rem .65rem; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.hover-content { opacity: 0; color: white; text-shadow: 0 2px 16px rgba(0,0,0,.42); transition: opacity .2s ease; }
.reel-card:hover .hover-content, .reel-card.preview-active .hover-content { opacity: 1; }
.hover-content strong { display: block; font-size: 1.18rem; line-height: 1.15; margin-top: .25rem; }
.hover-content em { display: inline-flex; margin-top: .8rem; border-radius: 999px; background: rgba(255,255,255,.95); color: #0f172a; padding: .62rem .82rem; font-style: normal; font-weight: 1000; }
.video-pending { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(37,99,235,.24), transparent 42%), #020617; color: white; text-align: center; z-index: 0; }
.video-pending span { border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: .7rem 1rem; font-weight: 900; font-size: .8rem; }
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: .5rem; background: rgba(2,6,23,.82); backdrop-filter: blur(10px); }
.modal.open { display: flex; }
.modal-panel { width: min(120rem, calc(100vw - 1rem)); height: min(58rem, calc(100vh - 1rem)); max-height: calc(100vh - 1rem); overflow: hidden; border-radius: 1.15rem; background: white; box-shadow: 0 35px 80px rgba(0,0,0,.42); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid #e5e7eb; }
.modal-head small { display: block; color: #ff6b00; font-weight: 1000; text-transform: uppercase; letter-spacing: .14em; }
.modal-head h2 { margin: .15rem 0 0; font-size: 1.5rem; line-height: 1.12; font-weight: 1000; }
.modal-commerce { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.promo-chip { border-radius: 999px; border: 1px solid #dbeafe; background: #f8fafc; color: #334155; padding: .6rem .85rem; font-size: .78rem; font-weight: 1000; }
.modal-whatsapp { border-radius: 999px; background: #22c55e; color: white; padding: .74rem 1.05rem; font-weight: 1000; box-shadow: 0 14px 30px rgba(34,197,94,.25); }
.modal-close { width: 2.6rem; height: 2.6rem; border: 0; border-radius: 999px; background: #f1f5f9; font-weight: 1000; cursor: pointer; }
.modal-body { display: grid; grid-template-columns: 24rem 1fr; background: #020617; height: calc(100% - 4.75rem); }
.video-pane { display: flex; align-items: center; justify-content: center; padding: 1.25rem; position: relative; min-height: 36rem; }
.modal-video { width: 100%; aspect-ratio: 9/16; max-height: calc(100vh - 7rem); object-fit: cover; background: #000; border-radius: 1rem; }
.sound-hint { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); border-radius: 999px; background: rgba(255,255,255,.92); color: #0f172a; padding: .75rem 1rem; font-size: .82rem; font-weight: 1000; pointer-events: none; }
.detail-pane { background: white; height: 100%; overflow-y: auto; padding: 1.35rem; }
.product-layout { display: grid; grid-template-columns: 16rem minmax(24rem,1fr) minmax(18rem,21rem); gap: 1.5rem; align-items: start; }
.gallery-main { border-radius: 1rem; background: white; border: 2px solid #ff6b00; min-height: 18rem; display: grid; place-items: center; padding: .8rem; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumbs { display: grid; gap: .7rem; margin-top: .7rem; max-height: calc(100vh - 16rem); overflow-y: auto; padding-right: .15rem; }
.thumb { border: 1px solid #e2e8f0; border-radius: .9rem; background: white; height: 7rem; min-height: 0; padding: .45rem; cursor: pointer; }
.thumb.active { border-color: #ff6b00; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.more-thumb { border: 1px dashed #fdba74; border-radius: .9rem; background: #fff7ed; min-height: 5.8rem; font-weight: 1000; color: #0f172a; cursor: pointer; }
.image-player { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(2,6,23,.88); backdrop-filter: blur(12px); }
.image-player.open { display: flex; }
.image-player-panel { width: min(64rem, 100%); max-height: 92vh; border-radius: 1.25rem; background: white; overflow: hidden; box-shadow: 0 34px 80px rgba(0,0,0,.45); }
.image-player-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1rem; border-bottom: 1px solid #e2e8f0; }
.image-player-head strong { font-weight: 1000; color: #0f172a; }
.image-player-close { width: 2.6rem; height: 2.6rem; border: 0; border-radius: 999px; background: #0f172a; color: white; font-size: 1.3rem; font-weight: 1000; cursor: pointer; }
.image-player-main { height: min(68vh, 42rem); display: grid; place-items: center; background: #f8fafc; padding: 1.2rem; overflow: hidden; cursor: zoom-in; touch-action: none; }
.image-player-main.zoomed { cursor: zoom-out; }
.image-player-main img { width: 100%; height: 100%; object-fit: contain; transform-origin: center center; transition: transform .18s ease; will-change: transform; user-select: none; -webkit-user-drag: none; }
.image-player-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-top: 1px solid #e2e8f0; }
.image-player-controls button { border: 0; border-radius: 999px; background: #0f172a; color: white; padding: .75rem 1rem; font-weight: 1000; cursor: pointer; }
.image-player-controls span { color: #64748b; font-weight: 1000; }
.pill { display: inline-flex; border-radius: 999px; background: #ffedd5; color: #ea580c; padding: .45rem .7rem; font-size: .78rem; font-weight: 1000; text-transform: uppercase; }
.detail h3 { margin: .8rem 0 .5rem; font-size: 1.75rem; line-height: 1.12; font-weight: 700; color: #333; letter-spacing: 0; }
.summary { color: #555; line-height: 1.58; }
.price-card { margin-top: 1rem; border-radius: .8rem; background: #fff; border: 1px solid #e5e7eb; padding: 1.15rem 1.25rem; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.price-card .price-old { color: #999; font-size: .92rem; font-weight: 400; text-decoration: line-through; }
.price-card .discount { background: transparent !important; color: #00a650 !important; padding: 0 !important; font-size: .95rem !important; font-weight: 600 !important; border-radius: 0 !important; }
.price-card strong { display: block; margin-top: .35rem; font-size: clamp(2.2rem, 4vw, 2.85rem); font-weight: 500; color: #333; line-height: 1.05; letter-spacing: 0; }
.price-card .installments { display: block; margin-top: .35rem; color: #00a650; font-size: .98rem; font-weight: 500; }
.detail > .price-card { display: none; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin-top: .85rem; }
.highlight { display: flex; align-items: center; gap: .75rem; border-radius: .75rem; border: 1px solid #e5e7eb; background: white; padding: .75rem; box-shadow: 0 1px 2px rgba(15,23,42,.035); }
.highlight span { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border-radius: .7rem; background: #f5f5f5; color: #3483fa; font-size: .76rem; font-weight: 800; }
.highlight strong { display: block; font-weight: 700; color: #333; }
.highlight small { color: #64748b; }
.product-virtues { display: grid; gap: .75rem; margin-top: .85rem; }
.product-virtue-hero { border-radius: 1rem; padding: 1rem; background: radial-gradient(circle at 88% 0%, rgba(255,230,0,.34), transparent 32%), linear-gradient(135deg, #0f172a 0%, #12358e 100%); color: white; box-shadow: 0 16px 34px rgba(15,23,42,.18); }
.product-virtue-hero span { display: inline-flex; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); padding: .35rem .6rem; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.product-virtue-hero strong { display: block; margin-top: .8rem; font-size: 1.25rem; line-height: 1.12; font-weight: 900; }
.product-virtue-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
.product-virtue { border-radius: .85rem; border: 1px solid #e5e7eb; background: #fff; padding: .85rem; box-shadow: 0 1px 2px rgba(15,23,42,.035); }
.product-virtue em { display: inline-flex; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(0,166,80,.10); color: #00a650; font-style: normal; font-weight: 900; margin-bottom: .45rem; }
.product-virtue strong { display: block; color: #333; font-size: .95rem; line-height: 1.25; font-weight: 700; }
.story { display: grid; gap: .85rem; margin-top: .85rem; }
.story-card { border-radius: .8rem; border: 1px solid #e5e7eb; background: #fff; padding: 1.15rem 1.25rem; box-shadow: 0 1px 2px rgba(15,23,42,.035); }
.story-card h4 { margin: 0 0 .55rem; font-size: 1.08rem; font-weight: 700; color: #333; }
.story-card p, .story-card li { color: #555; line-height: 1.58; }
.story-card ul { margin: 0; padding-left: 1.2rem; }
.ml-product-meta { color: rgba(0,0,0,.55); font-size: .9rem; margin: .7rem 0 0; }
.ml-product-rating { display: inline-flex; align-items: center; gap: .35rem; margin: .5rem 0 .35rem; color: #3483fa; font-size: .9rem; font-weight: 500; }
.ml-product-rating span { color: rgba(0,0,0,.55); font-weight: 400; }
.ml-action-box { align-self: start; position: sticky; top: 1rem; display: grid; gap: .85rem; border: 1px solid rgba(0,0,0,.1); border-radius: .5rem; background: #fff; padding: 1.15rem; box-shadow: 0 1px 2px rgba(0,0,0,.10); }
.ml-action-box h5 { color: rgba(0,0,0,.9); font-size: 1rem; font-weight: 600; margin: 0; }
.ml-action-price { color: rgba(0,0,0,.9); font-size: 2rem; line-height: 1.05; font-weight: 400; letter-spacing: -.01em; }
.ml-action-discount { color: #00a650; font-size: .95rem; font-weight: 500; margin-left: .35rem; vertical-align: .25rem; }
.ml-action-installments { color: #00a650; font-size: .92rem; line-height: 1.35; }
.ml-action-box .highlights { border-top: 1px solid rgba(0,0,0,.08); padding-top: .85rem; margin-top: 0; }
.ml-action-box .highlight { box-shadow: none; padding: .65rem; }
.ml-shipping-line { border-top: 1px solid rgba(0,0,0,.08); padding-top: .85rem; color: rgba(0,0,0,.9); font-size: .94rem; line-height: 1.45; }
.ml-shipping-line strong { display: block; color: #00a650; font-weight: 600; }
.ml-stock-line { color: #00a650; font-size: .95rem; font-weight: 600; margin: 0; }
.ml-quantity-line { color: rgba(0,0,0,.55); font-size: .88rem; margin: .2rem 0 0; }
.ml-primary-btn, .ml-secondary-btn { display: flex; align-items: center; justify-content: center; min-height: 3rem; border-radius: .45rem; font-size: 1rem; font-weight: 600; text-align: center; }
.ml-primary-btn { background: #3483fa; color: white; }
.ml-secondary-btn { background: rgba(65,137,230,.15); color: #3483fa; }
.ml-seller-mini, .ml-protection-list { border-top: 1px solid rgba(0,0,0,.08); padding-top: .85rem; color: rgba(0,0,0,.55); font-size: .86rem; line-height: 1.45; }
.ml-seller-mini strong, .ml-protection-list strong { display: block; color: rgba(0,0,0,.9); font-weight: 600; margin-bottom: .15rem; }
.ml-protection-list p { margin: .2rem 0 0; }
.empty { grid-column: 1 / -1; padding: 2rem; border-radius: 1rem; background: white; border: 1px dashed #cbd5e1; font-weight: 900; text-align: center; color: #64748b; }
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-products { min-height: 16rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-body { grid-template-columns: 1fr; }
  .video-pane { min-height: auto; }
  .modal-video { max-height: 46vh; width: min(22rem, 100%); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .page-hero-inner { padding: 2.2rem 1rem; }
  .hero-products { display: none; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .modal { padding: 0; }
  .modal-panel { max-height: 100vh; height: 100vh; border-radius: 0; }
  .modal-head { align-items: flex-start; }
  .modal-commerce { display: none; }
  .modal-body { display: block; height: auto; }
  .detail-pane { height: auto; max-height: none; }
  .product-layout { grid-template-columns: 1fr; }
  .ml-action-box { position: static; }
  .thumbs { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .thumb, .more-thumb { min-height: 5rem; }
}
