:root {
  --blue: #1196e8;
  --blue-deep: #1053a5;
  --pink: #f31383;
  --pink-deep: #cb0b6b;
  --yellow: #ffc928;
  --lilac: #a757df;
  --ink: #17325f;
  --muted: #65738e;
  --line: #dce7f5;
  --soft-blue: #eef8ff;
  --soft-pink: #fff0f8;
  --green: #21835f;
  --shadow: 0 18px 45px rgba(16, 83, 165, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'DM Sans', sans-serif; }
body.product-modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
.hidden { display: none !important; }

.store-header {
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(270px, auto) minmax(260px, 560px) auto;
  align-items: center;
  gap: 28px;
  padding: 8px max(4vw, 28px);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--blue), var(--pink), var(--yellow), var(--lilac)) 1;
}

.store-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-logo-frame { width: 165px; height: 88px; overflow: hidden; flex: 0 0 auto; display: block; border-radius: 14px; background: #fb168c; }
.brand-logo-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-copy { display: grid; gap: 5px; }
.brand-copy strong { font: 700 12px Manrope; color: var(--blue-deep); white-space: nowrap; }
.brand-copy b { justify-self: start; border-radius: 999px; background: var(--pink); color: #fff; padding: 5px 10px; font: 800 11px Manrope; text-transform: uppercase; letter-spacing: .8px; }
.store-search { height: 46px; border: 2px solid #d5e8fa; background: #f7fbff; border-radius: 999px; display: flex; align-items: center; padding: 0 17px; gap: 9px; }
.store-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 150, 232, .1); }
.store-search span { font-size: 21px; color: var(--pink); }
.store-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; color: var(--ink); }
.cart-button { border: 0; background: var(--blue-deep); color: #fff; border-radius: 999px; min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(16, 83, 165, .2); }
.cart-button span { font-size: 17px; }
.cart-button b { background: var(--pink); border-radius: 99px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 11px; }
.cart-button em { font-style: normal; font-size: 12px; }
main { overflow: hidden; }

.hero-catalog { min-height: 350px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; padding: 30px max(6vw, 40px); background: radial-gradient(circle at 12% 16%, rgba(243, 19, 131, .13), transparent 28%), radial-gradient(circle at 88% 17%, rgba(255, 201, 40, .2), transparent 25%), linear-gradient(130deg, #f6fbff 0%, #fff 50%, #fff3fa 100%); }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-deep); font-weight: 800; margin-bottom: 18px; }
.eyebrow:before { content: ''; width: 24px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--yellow)); }
.hero-copy h1 { font: 800 clamp(40px, 5.2vw, 74px)/.99 Manrope; margin: 0; letter-spacing: -3px; color: var(--blue-deep); }
.hero-copy h1 i { font-style: normal; color: var(--pink); }
.hero-copy p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 540px; margin: 25px 0; }
.hero-copy a { display: inline-flex; align-items: center; gap: 13px; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; text-decoration: none; border-radius: 999px; padding: 15px 23px; font-size: 14px; font-weight: 800; box-shadow: 0 12px 24px rgba(17, 150, 232, .24); }
.hero-copy a span { color: var(--yellow); }
.hero-mosaic { height: 260px; display: grid; grid-template-columns: 1.5fr .7fr; grid-template-rows: 1fr 1fr; gap: 12px; transform: rotate(1.5deg); }
.hero-mosaic > div { border-radius: 28px; padding: 25px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: end; }
.mosaic-main { grid-row: 1/3; background: linear-gradient(155deg, rgba(16, 83, 165, .02), rgba(16, 83, 165, .88)), linear-gradient(135deg, #6ec7ff, #f48fc2); color: #fff; position: relative; overflow: hidden; }
.mosaic-main:before { content: '🎪'; position: absolute; font-size: 145px; top: 35px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 15px 15px rgba(0, 0, 0, .15)); }
.mosaic-main span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.mosaic-main strong { font: 800 24px/1.15 Manrope; margin-top: 7px; }
.mosaic-small { font: 800 18px Manrope; align-items: flex-start; color: #17325f; }
.mosaic-small:before { font-size: 45px; margin-bottom: auto; }
.mosaic-small.pink { background: #ffabd5; }
.mosaic-small.pink:before { content: '🎈'; }
.mosaic-small.gold { background: #ffe170; }
.mosaic-small.gold:before { content: '✨'; }
.benefit-strip { min-height: 68px; padding: 14px max(6vw, 40px); display: flex; justify-content: center; gap: 6vw; align-items: center; background: var(--blue-deep); color: #fff; font-size: 13px; }
.benefit-strip span { display: flex; align-items: center; gap: 8px; }
.benefit-strip b { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); }

.catalog-section { padding: 70px max(5vw, 30px) 120px; max-width: 1500px; margin: auto; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-title > div > span { font-size: 12px; color: var(--pink-deep); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.section-title h2 { font: 800 clamp(29px, 3vw, 42px) Manrope; margin: 7px 0 0; color: var(--blue-deep); }
.section-title > p { font-size: 13px; color: var(--muted); }
.category-tabs { display: flex; gap: 9px; overflow: auto; padding: 28px 0 24px; scrollbar-width: none; }
.category-tabs button { white-space: nowrap; border: 1px solid #cfe2f5; background: #fff; border-radius: 999px; padding: 11px 18px; font-size: 13px; font-weight: 700; color: var(--blue-deep); cursor: pointer; }
.category-tabs button:hover { border-color: var(--pink); }
.category-tabs button.active { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 7px 15px rgba(243, 19, 131, .18); }
.popular-section { margin-top: 8px; padding: 24px 22px 4px; border: 1px solid #ffd0e7; border-radius: 26px; background: linear-gradient(135deg, #fff3f9, #fffdf5); position: relative; overflow: hidden; }
.popular-section:after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 201, 40, .16); top: -115px; right: -45px; pointer-events: none; }
.subheading { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.subheading h3 { font: 800 22px Manrope; margin: 0; color: var(--blue-deep); }
.subheading span { font-size: 11px; color: var(--muted); letter-spacing: .4px; }
.popular-heading { align-items: center; margin-top: 0; position: relative; z-index: 1; }
.popular-heading > div { display: grid; gap: 2px; }
.popular-fire { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(145deg, var(--yellow), #ff9e2a); border-radius: 15px; font-size: 26px !important; box-shadow: 0 9px 18px rgba(255, 158, 42, .26); }
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow: auto; padding: 3px 2px 25px; scroll-snap-type: x proximity; position: relative; z-index: 1; }
.product-row .shop-card { scroll-snap-align: start; }
.all-title { margin-top: 42px; }
.all-title h3:before { content: ''; display: inline-block; width: 8px; height: 22px; margin-right: 10px; border-radius: 99px; vertical-align: -3px; background: linear-gradient(var(--blue), var(--lilac)); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }

.shop-card { min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 20px; overflow: hidden; transition: .2s; box-shadow: 0 5px 18px rgba(16, 83, 165, .05); cursor: pointer; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #9ecff0; }
.shop-photo { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #e9f7ff, #fff0f8 58%, #fff8dc); display: grid; place-items: center; position: relative; overflow: hidden; }
.shop-photo > span { font-size: 75px; }
.shop-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: #fff; transition: transform .2s; }
.heart { position: absolute; right: 12px; top: 12px; border: 0; background: rgba(255, 255, 255, .95); width: 39px; height: 39px; border-radius: 50%; font-size: 19px; color: var(--pink); box-shadow: 0 5px 14px rgba(16, 83, 165, .14); cursor: pointer; }
.shop-photo > small { position: absolute; left: 12px; bottom: 12px; background: #e4f8ee; color: var(--green); border-radius: 99px; padding: 6px 10px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.shop-photo > small.unavailable { background: #fff4d3; color: #916516; }
.shop-card-body { padding: 16px; }
.shop-category { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--pink-deep); font-weight: 800; }
.shop-card h3 { font: 800 16px Manrope; margin: 7px 0; color: var(--blue-deep); }
.shop-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; height: 36px; overflow: hidden; }
.view-product { display: block; margin-top: 9px; font-size: 11px; font-weight: 800; color: var(--blue); }
.shop-card-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 16px; }
.shop-card-foot > div { display: grid; }
.shop-card-foot small { font-size: 10px; color: var(--muted); }
.shop-card-foot strong { font: 800 15px Manrope; margin-top: 2px; color: var(--blue-deep); }
.add-button { width: 40px; height: 40px; border-radius: 13px; border: 0; background: var(--blue-deep); color: #fff; font-size: 20px; cursor: pointer; }
.add-button.added { background: var(--pink); }
.catalog-empty { text-align: center; padding: 75px 20px; }
.catalog-empty > span { font-size: 42px; color: var(--pink); }
.catalog-empty h3 { font: 800 20px Manrope; color: var(--blue-deep); }
.catalog-empty p { color: var(--muted); font-size: 13px; }
.floating-cart { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 25; min-width: min(520px, calc(100% - 30px)); height: 58px; border: 0; border-radius: 16px; background: var(--blue-deep); color: #fff; box-shadow: 0 15px 35px rgba(16, 83, 165, .28); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; cursor: pointer; }
.floating-cart span { font-size: 12px; }
.floating-cart span b { display: inline-grid; place-items: center; width: 25px; height: 25px; background: var(--pink); border-radius: 50%; margin-right: 7px; }
.floating-cart strong { font-size: 12px; color: var(--yellow); }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(14, 45, 91, .55); z-index: 60; display: flex; justify-content: flex-end; }
.cart-drawer { width: min(440px, 100%); height: 100%; background: #fff; padding: 24px; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, .18); animation: drawerIn .25s ease; }
.drawer-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head span { font-size: 10px; color: var(--pink-deep); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.drawer-head h2 { font: 800 25px Manrope; margin: 5px 0 0; color: var(--blue-deep); }
.drawer-head button { border: 0; background: var(--soft-blue); width: 40px; height: 40px; border-radius: 50%; font-size: 24px; color: var(--blue-deep); cursor: pointer; }
.cart-items { display: grid; gap: 4px; overflow: auto; }
.cart-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 11px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 58px; height: 58px; border-radius: 12px; background: var(--soft-pink); display: grid; place-items: center; font-size: 27px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; }
.cart-row > div:nth-child(2) { display: grid; gap: 4px; }
.cart-row strong { font-size: 13px; color: var(--blue-deep); }
.cart-row span { font-size: 11px; color: var(--muted); }
.cart-qty { display: grid; grid-template-columns: 27px 20px 27px; align-items: center; text-align: center; }
.cart-qty button { height: 29px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; color: var(--blue-deep); }
.cart-qty b { font-size: 11px; }
.cart-empty { margin: auto; text-align: center; padding: 30px; }
.cart-empty > span { font-size: 42px; color: var(--pink); }
.cart-empty h3 { font: 800 18px Manrope; color: var(--blue-deep); }
.cart-empty p { font-size: 12px; line-height: 1.5; color: var(--muted); }
.cart-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.cart-footer small { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; margin-bottom: 12px; }
.whatsapp-button { width: 100%; height: 51px; border: 0; border-radius: 13px; background: #1f9f5b; color: #fff; font-weight: 800; cursor: pointer; }
.whatsapp-button span { font-size: 17px; margin-right: 7px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 15px); background: var(--blue-deep); color: #fff; padding: 11px 17px; border-radius: 10px; font-size: 12px; z-index: 90; opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.product-modal-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(10, 38, 82, .7); backdrop-filter: blur(6px); }
.product-modal { width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow: auto; position: relative; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(5, 31, 78, .3); }
.product-modal-close { position: absolute; top: 15px; right: 15px; z-index: 4; width: 43px; height: 43px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--blue-deep); box-shadow: 0 7px 22px rgba(16,83,165,.2); font-size: 28px; cursor: pointer; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); min-height: 620px; }
.product-gallery-view { min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 34px; background: linear-gradient(145deg, #eef9ff, #fff3f9); }
.product-main-photo { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(16,83,165,.08); }
.product-main-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform-origin: center; }
.product-main-photo.clickable-photo { cursor: zoom-in; }
.product-main-photo.clickable-photo:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.product-main-photo > span { font-size: 120px; }
.shop-photo.has-photo img,.product-main-photo img { position: absolute; left: 50%; top: 50%; width: var(--crop-size, 100%); height: var(--crop-size, 100%); max-width: none; object-fit: cover; object-position: var(--crop-x, 50%) var(--crop-y, 50%); transform: translate(-50%, -50%); transform-origin: center; }
.gallery-arrow { position: absolute; top: 48%; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--blue-deep); box-shadow: 0 8px 25px rgba(16,83,165,.2); font-size: 31px; cursor: pointer; }
.gallery-arrow.previous { left: 45px; }
.gallery-arrow.next { right: 45px; }
.product-thumbnails { display: flex; justify-content: center; gap: 9px; overflow-x: auto; margin-top: 16px; }
.product-thumbnails button { width: 68px; height: 58px; flex: 0 0 auto; padding: 3px; border: 2px solid transparent; border-radius: 11px; background: #fff; cursor: pointer; }
.product-thumbnails button.active { border-color: var(--pink); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 7px; }
.photo-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); background: rgba(3, 12, 28, .97); }
.photo-lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 56px); object-fit: contain; display: block; touch-action: pinch-zoom; }
.photo-lightbox-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--blue-deep); box-shadow: 0 8px 26px rgba(0,0,0,.25); font-size: 30px; cursor: pointer; }
.photo-lightbox small { position: absolute; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); color: rgba(255,255,255,.82); font-size: 10px; white-space: nowrap; }
body.photo-lightbox-open { overflow: hidden; }
.product-detail-copy { padding: 72px 42px 40px; display: flex; flex-direction: column; }
.detail-category { color: var(--pink-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.3px; }
.product-detail-copy h2 { margin: 10px 0 12px; color: var(--blue-deep); font: 800 clamp(27px, 3vw, 42px)/1.08 Manrope; }
.detail-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-status b { padding: 6px 10px; border-radius: 999px; background: #e4f8ee; color: var(--green); font-size: 11px; }
.detail-status b.consult { background: #fff4d3; color: #916516; }
.detail-status span { color: var(--muted); font-size: 12px; }
.detail-price { display: grid; margin: 28px 0 24px; }
.detail-price small { color: var(--muted); font-size: 11px; }
.detail-price strong { color: var(--blue-deep); font: 800 25px Manrope; margin-top: 3px; }
.full-description { padding-top: 22px; border-top: 1px solid var(--line); }
.full-description h3 { margin: 0 0 10px; color: var(--blue-deep); font: 800 17px Manrope; }
.full-description p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; white-space: pre-line; }
.detail-add-button { width: 100%; min-height: 52px; margin-top: auto; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 12px 25px rgba(17,150,232,.2); }
.detail-add-button.added { background: var(--pink); }
.detail-note { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: center; }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }

@media (max-width: 1180px) {
  .store-header { grid-template-columns: auto minmax(220px, 1fr) auto; gap: 16px; }
  .brand-copy { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-catalog { gap: 30px; }
}

@media (max-width: 780px) {
  .store-header { min-height: auto; grid-template-columns: 1fr auto; padding: 9px 16px 12px; }
  .brand-logo-frame { width: 130px; height: 70px; }
  .store-search { grid-row: 2; grid-column: 1/-1; width: 100%; height: 44px; }
  .cart-button { width: 47px; min-height: 47px; padding: 0; justify-content: center; }
  .cart-button em { display: none; }
  .cart-button b { position: absolute; margin: -34px 0 0 31px; }
  .hero-catalog { min-height: auto; grid-template-columns: 1fr; padding: 32px 20px 28px; }
  .hero-copy h1 { font-size: 43px; letter-spacing: -2px; }
  .hero-copy p { font-size: 15px; }
  .hero-mosaic { display: none; }
  .benefit-strip { justify-content: flex-start; overflow: auto; padding: 14px 20px; gap: 28px; }
  .benefit-strip span { white-space: nowrap; }
  .catalog-section { padding: 48px 15px 100px; }
  .section-title { align-items: start; }
  .section-title > p { display: none; }
  .popular-section { padding: 18px 14px 0; border-radius: 21px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-row { grid-auto-columns: 75%; }
  .shop-photo { height: auto; }
  .shop-card-body { padding: 12px; }
  .shop-card h3 { font-size: 14px; }
  .shop-card p { font-size: 11px; }
  .product-modal-backdrop { padding: 0; }
  .product-modal { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .product-detail-layout { min-height: 100%; grid-template-columns: 1fr; }
  .product-gallery-view { min-height: 0; padding: 58px 16px 18px; justify-content: flex-start; }
  .product-main-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; border-radius: 18px; }
  .gallery-arrow.previous { left: 24px; }
  .gallery-arrow.next { right: 24px; }
  .product-detail-copy { min-height: 46vh; padding: 30px 21px calc(28px + env(safe-area-inset-bottom)); }
  .product-detail-copy h2 { font-size: 29px; }
  .detail-add-button { margin-top: 28px; }
}

@media (max-width: 430px) {
  .hero-mosaic { height: 235px; }
  .mosaic-main:before { font-size: 95px; }
  .mosaic-main strong { font-size: 17px; }
  .mosaic-small { padding: 16px; font-size: 13px; }
  .mosaic-small:before { font-size: 32px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .shop-photo { height: auto; }
  .shop-photo > span { font-size: 55px; }
  .shop-card p { display: none; }
  .shop-card-foot { margin-top: 10px; }
  .shop-card-foot strong { font-size: 13px; }
  .add-button { width: 35px; height: 35px; }
  .category-tabs { padding-top: 20px; }
  .section-title h2 { font-size: 28px; }
  .floating-cart { bottom: 12px; }
}
