/* Shared storefront presentation, aligned with Android 1.2.5. Admin is excluded. */
body.med-store-white { padding-bottom:0!important; }
body.med-store-white :is(button,a,input,select,textarea):focus-visible { outline:2px solid currentColor; outline-offset:3px; }
body.med-store-white :is(.med-black-header,.med-checkout-header) { height:60px!important; min-height:60px!important; padding:0 8px!important; display:grid!important; grid-template-columns:96px minmax(0,1fr) 96px!important; gap:0!important; }
body.med-store-white :is(.med-header-brand,.med-checkout-brand) { position:static!important; transform:none!important; grid-column:2; width:142px!important; max-width:100%!important; justify-self:center; }
body.med-store-white :is(.med-header-right,.med-checkout-tools) { grid-column:3; gap:0!important; }
body.med-store-white :is(.med-icon-btn,.med-checkout-back) { box-sizing:border-box; width:48px!important; min-width:48px!important; height:48px!important; min-height:48px!important; padding:12px!important; }
/* Compact, non-overlapping actions with centered glyphs and touch feedback. */
body.med-store-white .med-icon-btn:is(.med-account-trigger,#cartTrigger) {
  width:32px!important; min-width:32px!important; height:44px!important; min-height:44px!important;
  padding:11px 5px!important; display:inline-flex!important; align-items:center!important; justify-content:center!important;
  border-radius:50%!important; line-height:1; -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
body.med-store-white .med-icon-btn:is(.med-account-trigger,#cartTrigger) svg { display:block; flex:none; margin:0; }
body.med-store-white .med-icon-btn:is(.med-account-trigger,#cartTrigger):active { background:rgba(255,255,255,.14); }
/* One centered line box across mobile browsers; long text can grow the strip. */
body.med-store-white .med-announcement-bar {
  display:grid!important; place-items:center!important; box-sizing:border-box;
  height:auto!important; min-height:28px!important; margin:0!important; padding:6px 16px!important;
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
body.med-store-white .med-announcement-bar > :is(a,span) {
  width:auto!important; max-width:100%!important; margin:0!important; padding:0!important;
  line-height:1.3!important; white-space:normal!important; text-align:center!important;
}
body.med-store-white .med-icon-count { top:3px!important; right:3px!important; min-width:16px!important; height:16px!important; font-size:9px!important; display:grid; place-items:center; }
body.med-store-white .home-static-search { top:calc(var(--store-announcement-height,0px) + 60px); }
/* The menu must cover the announcement instead of having its close button obscured. */
body.med-store-white .med-menu-drawer { z-index:200!important; }
body.med-store-white .med-menu-backdrop.open { z-index:190!important; }
body.med-store-white:not([data-store-page=index]) > .med-footer { display:none!important; }
body.med-store-white:not([data-store-page=index]) [data-med-store-whatsapp] { display:none!important; }
body.med-store-white[data-store-page=index] [data-med-store-whatsapp] { bottom:max(16px,env(safe-area-inset-bottom,0px))!important; }
/* The native shell already provides these controls around hosted account/checkout. */
html.med-native-host body.med-store-white { padding-bottom:0!important; }
html.med-native-host body.med-store-white > :is(.med-announcement-bar,.med-black-header,.med-checkout-header) { display:none!important; }
html.med-native-host { --store-announcement-height:0px!important; }
.med-app-content { width:100%; max-width:720px; margin:auto; padding:24px 20px 32px; box-sizing:border-box; }
.med-app-content h1 { font-size:28px; line-height:1.2; margin:10px 0 12px; color:#111; letter-spacing:-.5px; }
.med-app-kicker { font-size:10px; letter-spacing:2px; color:#777; margin:0; text-transform:uppercase; }
.med-app-muted { color:#777; font-size:14px; line-height:1.5; }
.med-app-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:240px; text-align:center; }
.med-app-empty svg { width:32px; height:32px; color:#777; }
.med-app-empty h2 { font-size:20px; margin:0; }
.med-app-empty p { max-width:280px; margin:0; font-size:14px; line-height:1.5; color:#666; }
body.med-store-white .med-app-primary { display:flex; justify-content:center; align-items:center; min-height:48px; padding:12px 24px; border:1px solid #111; border-radius:999px; background:#111; color:#fff; font-size:14px; font-weight:600; text-decoration:none; box-sizing:border-box; }
/* Same Material Symbols shopping_cart glyph as Android 1.2.5. */
body.med-store-white svg.med-cart-symbol,body.med-store-white svg.med-cart-symbol path { fill:currentColor!important; stroke:none!important; }
/* Product: original aspect ratio, compact information, matching action sizes. */
body.med-store-white main.refined-product-page { max-width:1000px; margin:auto; padding:20px!important; }
body.med-store-white main.refined-product-page .refined-product-detail { gap:24px!important; align-items:start; }
body.med-store-white main.refined-product-page .refined-product-main-media { aspect-ratio:1!important; height:auto!important; width:100%; min-height:0!important; max-height:480px; border-radius:16px!important; overflow:hidden; background:#f5f5f5!important; touch-action:pan-y; }
body.med-store-white main.refined-product-page .refined-product-real-photo { width:100%!important; height:100%!important; object-fit:contain!important; }
body.med-store-white main.refined-product-page .refined-product-favorite { display:flex; align-items:center; justify-content:center; padding:0!important; border:0!important; background:transparent!important; }
body.med-store-white main.refined-product-page .refined-product-favorite::before { content:""; position:absolute; width:32px; height:32px; box-sizing:border-box; border:1px solid #e5e5e5; border-radius:50%; background:rgba(255,255,255,.96); pointer-events:none; }
body.med-store-white main.refined-product-page .refined-product-favorite svg { position:relative; width:19px!important; height:19px!important; pointer-events:none; }
body.med-store-white main.refined-product-page .refined-product-thumbs { gap:8px!important; padding:10px 0 0!important; }
body.med-store-white main.refined-product-page .refined-product-thumbs .product-thumb { flex:0 0 56px!important; width:56px!important; height:56px!important; border-radius:10px!important; }
body.med-store-white main.refined-product-page .refined-product-info { gap:0!important; }
body.med-store-white main.refined-product-page .refined-product-info h1 { font-size:19px!important; line-height:24px!important; font-weight:700!important; margin:8px 0!important; }
body.med-store-white main.refined-product-page .refined-product-topline p { font-size:11px!important; margin:0!important; }
body.med-store-white main.refined-product-page .refined-product-price { font-size:24px!important; line-height:1.2!important; margin:8px 0!important; }
body.med-store-white main.refined-product-page .refined-product-specs { display:flex!important; flex-wrap:wrap; gap:12px 24px!important; border:0!important; margin:8px 0!important; padding:0!important; }
body.med-store-white main.refined-product-page .refined-product-specs > div { border:0!important; padding:0!important; display:flex; flex-direction:column; gap:3px; }
body.med-store-white main.refined-product-page .refined-product-specs :is(span,strong) { font-size:12px!important; line-height:1.5!important; }
body.med-store-white main.refined-product-page .refined-product-description { margin:12px 0!important; padding:0!important; }
body.med-store-white main.refined-product-page .refined-product-description p { font-size:14px!important; line-height:20px!important; margin:0!important; }
body.med-store-white .med-description-toggle { min-height:40px; border:0; padding:8px 0; font-size:13px; text-decoration:underline; margin:0; }
body.med-store-white main.refined-product-page .refined-product-actions { display:block!important; margin:10px 0 0!important; }
body.med-store-white.med-controls main#productMain.refined-product-page :is(.refined-add-cart,.med-share-product,.med-product-view-cart) { display:flex!important; align-items:center; justify-content:center; width:100%!important; max-width:none!important; min-width:0!important; min-height:48px!important; height:48px!important; box-sizing:border-box!important; padding:12px 20px!important; margin:0!important; border-radius:999px!important; font-size:14px!important; font-weight:650!important; line-height:20px!important; text-decoration:none!important; }
body.med-store-white.med-controls .refined-add-cart { background:#111!important; color:#fff!important; border:1px solid #111!important; }
body.med-store-white.med-controls main#productMain.refined-product-page :is(.med-share-product,.med-product-view-cart) { margin-top:10px!important; background:#fff!important; color:#111!important; border:1px solid #dcdcdc!important; }
.med-product-cart-status { font-size:13px; margin:10px 0 0; }
body.med-store-white.med-controls main#productMain.refined-product-page .med-product-view-cart[hidden] { display:none!important; }
body.med-store-white main.refined-product-page .refined-product-microcopy { font-size:12px!important; line-height:18px!important; margin:12px 0!important; }
.med-product-related { margin-top:26px; }
.med-product-related h2 { font-size:19px; margin:0 0 16px; }
body.med-store-white .med-product-related .novelties-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:20px 12px!important; }
body.med-store-white .product-lightbox { z-index:1000!important; }
body.med-store-white :is(.product-lightbox-stage,.product-lightbox-backdrop) { background:#fff!important; }
body.med-store-white .product-lightbox-close { width:48px!important; height:48px!important; color:#111!important; background:rgba(255,255,255,.9)!important; border:0!important; border-radius:50%!important; }
/* Cart is a normal page. The original storage/availability checks remain shared. */
.med-cart-page { max-width:720px; width:100%; margin:auto; padding:0 20px 28px; box-sizing:border-box; }
body.med-store-white .med-cart-page .med-cart-panel { position:static!important; display:block!important; width:100%!important; max-width:none!important; min-height:0!important; height:auto!important; max-height:none!important; padding:0!important; transform:none!important; box-shadow:none!important; overflow:visible!important; }
body.med-store-white .med-cart-page .med-cart-header { padding:24px 0 20px!important; border:0!important; display:block!important; }
.med-cart-page .med-cart-header>div { display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px; }
.med-cart-page .med-cart-kicker { grid-column:1/-1; margin:0!important; font-size:10px!important; letter-spacing:2px!important; color:#777!important; }
.med-cart-page h1 { font-size:28px; line-height:1.2; margin:0; }
.med-cart-page-count { font-size:12px; color:#777; margin:0; }
.med-cart-page .med-cart-filled { display:block!important; overflow:visible!important; }
.med-cart-page .med-cart-filled[hidden] { display:none!important; }
body.med-store-white .med-cart-page .med-cart-product { display:grid!important; grid-template-columns:30% minmax(0,1fr)!important; gap:16px!important; padding:20px 0!important; border-bottom:1px solid #eee!important; align-items:start!important; }
body.med-store-white .med-cart-page .med-cart-thumb { display:block!important; width:100%!important; height:auto!important; aspect-ratio:1; border-radius:12px!important; overflow:hidden; background:#efefe9!important; }
body.med-store-white .med-cart-page .med-cart-thumb img { width:100%!important; height:100%!important; object-fit:contain!important; }
body.med-store-white .med-cart-page .med-cart-product-name { font-size:15px!important; font-weight:700!important; line-height:1.4!important; }
body.med-store-white .med-cart-page .med-cart-product-copy>p { font-size:12px!important; color:#777!important; }
body.med-store-white .med-cart-page .med-cart-price { font-size:17px!important; font-weight:700!important; text-align:left!important; margin:0 0 12px!important; }
body.med-store-white .med-cart-page .med-cart-quantity { background:#f4f4f4!important; border:0!important; margin-bottom:0!important; }
body.med-store-white .med-cart-page .med-cart-quantity :is(button,input) { height:44px!important; min-height:44px!important; background:transparent!important; border:0!important; font-size:16px!important; }
body.med-store-white .med-cart-page .med-cart-quantity button { width:44px!important; min-width:44px!important; }
body.med-store-white .med-cart-page .med-cart-quantity input { width:32px!important; min-width:24px!important; font-size:14px!important; }
.med-cart-page .med-cart-remove { min-height:44px!important; text-decoration:none!important; }
body.med-store-white .med-cart-page .med-cart-summary { padding:24px 0 12px!important; border:0!important; background:#fff!important; }
body.med-store-white .med-cart-page .med-cart-summary-row { font-size:18px!important; }
body.med-store-white .med-cart-page .med-cart-shipping-note { font-size:12px!important; line-height:1.5!important; color:#777!important; }
body.med-store-white .med-cart-page .med-cart-footer { position:static!important; padding:8px 0!important; border:0!important; box-shadow:none!important; }
body.med-store-white .med-cart-page .med-cart-actions { display:flex!important; flex-direction:column!important; gap:4px!important; }
body.med-store-white .med-cart-page .med-cart-checkout { order:-1; width:100%!important; min-height:48px!important; height:48px!important; background:#111!important; color:#fff!important; font-size:14px!important; }
body.med-store-white .med-cart-page .med-cart-continue { min-height:48px!important; border:0!important; background:#fff!important; color:#555!important; font-size:13px!important; }
body.med-store-white .med-cart-page .med-cart-empty { min-height:340px; gap:12px; padding:32px 0!important; }
body.med-store-white .med-cart-page .med-cart-empty h3 { font-size:21px!important; margin:0!important; }
body.med-store-white .med-cart-page .med-cart-shop-link { background:#111!important; color:#fff!important; border-radius:999px!important; min-height:48px!important; padding:12px 28px!important; }
/* Dedicated collections use two columns, unlike the three home carousels. */
body.med-store-white .med-collection-page { max-width:720px; padding:24px 16px; }
body.med-store-white .med-collection-page :is(#featuredTrack,#upcomingTrack) { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:24px 12px!important; overflow:visible!important; padding:12px 0!important; }
body.med-store-white .med-collection-page :is(#featuredTrack,#upcomingTrack)>.med-catalog-card { width:100%!important; max-width:100%!important; }
body.med-store-white .med-collection-page :is(#destacados,#proximamente) { padding:0!important; }
body.med-store-white .med-collection-page :is(#destacados,#proximamente)[hidden] { display:none!important; }
.med-notices-page #noticesStatus { font-size:14px; line-height:1.5; }
.med-notice-actions { display:flex; gap:10px; flex-wrap:wrap; }
.med-notice-actions button { min-height:48px; border:0; border-radius:999px; background:#f2f2f2; color:#444; font-size:13px; padding:10px 16px; cursor:pointer; }
.med-notice-actions button:disabled { opacity:.5; }
.med-notification-card { border-radius:16px; padding:18px; }
.med-notification-card h2 { font-size:16px; margin:0 0 10px; }
.med-notification-card p { font-size:14px; line-height:21px; }
.med-notification-card time { display:block; font-size:12px; color:#777; margin:12px 0; }
.med-notification-card.is-unread { background:#f5f5ef; border-color:#d4d4ca; }
@media(max-width:700px) {
 body.med-store-white main.refined-product-page { max-width:520px; padding:16px!important; }
 body.med-store-white main.refined-product-page .refined-product-detail { display:block!important; }
 body.med-store-white main.refined-product-page .refined-product-info { padding-top:14px!important; }
 body.med-store-white main.refined-product-page .refined-product-main-media { max-height:none; }
}
@media(prefers-reduced-motion:reduce) { body.med-store-white * { scroll-behavior:auto!important; } }
