/* White storefront content with the approved black header and footer. */
body.med-store-white { background:#fff!important; color:#171717!important; --soft:#f5f5f5; }
body.med-store-white :is(.home-static-search,.category-strip,.shop-section,.featured-carousel-section,.upcoming-section,.service-confidence,.refined-process,.account-page,.auth-card,.legal-card,.med-order-confirmation-card) { background:#fff!important; color:#171717!important; border-color:#e8e8e8!important; }
body.med-store-white :is(.med-icon-btn,.med-checkout-back,.med-header-brand) { color:#171717!important; }
body.med-store-white :is(.med-black-header,.med-checkout-header,.auth-header,.legal-header) { background:#0b0b0d!important; color:#fff!important; border-color:#29292b!important; }
body.med-store-white :is(.med-black-header,.med-checkout-header,.legal-header) :is(.med-icon-btn,.med-checkout-back,.med-header-brand,.med-checkout-secure,.legal-back) { color:#fff!important; }
body.med-store-white .med-black-header { height:64px!important; min-height:64px!important; }
body.med-store-white .med-announcement-bar { position:sticky!important; top:0!important; z-index:170; background:#fff!important; color:#171717!important; text-align:center!important; }
body.med-store-white :is(.med-black-header,.med-checkout-header) { position:sticky!important; top:var(--store-announcement-height,0px)!important; }
body.med-store-white .home-static-search { position:sticky; top:calc(var(--store-announcement-height,0px) + 64px); z-index:100; }
body.med-store-white .med-icon-count { background:#fff!important; color:#171717!important; }
body.med-store-white .home-static-search { padding:10px 5vw!important; }
body.med-store-white .home-static-search input { background:#f5f5f5!important; border:1px solid #ddd!important; color:#171717!important; font-size:16px!important; }
body.med-store-white .home-static-search input:focus { outline:2px solid #444; outline-offset:2px; box-shadow:none; }
body.med-store-white :is(.home-static-search-results,.med-search-results) { background:#fff!important; color:#171717!important; }
body.med-store-white .category-strip { padding:10px 5vw 16px!important; }
body.med-store-white .category-strip-inner { display:flex!important; gap:8px!important; overflow-x:auto; justify-content:flex-start!important; padding:2px!important; scroll-padding-inline:2px; scrollbar-width:none; }
/* Scope above the legacy control rules so every category has the same size. */
body.med-store-white.med-controls .category-strip .category-chip { flex:0 0 132px!important; width:132px!important; min-width:132px!important; min-height:44px!important; height:44px!important; padding:6px 10px!important; border:1px solid #dedede!important; border-radius:999px!important; background:#fff!important; color:#333!important; font-size:12px!important; font-weight:600!important; line-height:1.25!important; white-space:nowrap!important; overflow-wrap:normal; text-align:center; }
body.med-store-white .category-chip:focus-visible { outline:2px solid #171717; outline-offset:-3px; }
body.med-store-white.med-controls .category-strip .category-chip:is(.active,[aria-pressed="true"]) { background:#171717!important; color:#fff!important; border-color:#171717!important; }
body.med-store-white :is(.shop-section,.featured-carousel-section,.upcoming-section) { padding:24px 5vw!important; }
body.med-store-white :is(.section-head,.featured-carousel-head,.upcoming-head) { margin-bottom:16px!important; }
body.med-store-white :is(.shop-eyebrow,.featured-eyebrow,.upcoming-eyebrow,.service-eyebrow) { color:#333!important; }
body.med-store-white .novelties-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:24px 16px!important; overflow:visible!important; width:100%!important; transform:none!important; }
/* Home collections scroll horizontally; recommendations and category pages remain grids. */
body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel) { display:flex!important; flex-wrap:nowrap!important; gap:16px!important; overflow-x:auto!important; overflow-y:hidden!important; width:100%!important; max-width:100%; min-width:0; scroll-snap-type:x proximity; overscroll-behavior-inline:contain; scrollbar-width:none; padding-block:4px 10px; }
body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel)::-webkit-scrollbar { display:none; }
body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel) > .med-catalog-card { flex:0 0 clamp(220px,22vw,280px)!important; min-width:0; scroll-snap-align:start; }
body.med-store-white :is(.featured-carousel-viewport,.upcoming-viewport) { overflow:hidden!important; min-width:0; }
body.med-store-white .med-catalog-card { --card-bg:#fff; --card-text:#171717; --card-muted:#666; --card-line:#e5e5e5; --card-size-bg:#f5f5f5; --card-action-bg:#171717; --card-action-text:#fff; max-width:none!important; }
body.med-store-white .med-catalog-card .med-card-photo { object-fit:contain!important; }
body.med-store-white .med-catalog-card .med-card-media { background:#f5f5f5!important; border-radius:8px!important; }
/* Favorites overlay the lower-right corner of the photo, outside its link. */
body.med-store-white .med-catalog-card .med-card-footer { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:5px; padding-top:3px; border-top:1px solid #eee; }
body.med-store-white .med-catalog-card .med-card-visual .med-card-heart { --heart-disc:30px; --heart-icon:18px; position:absolute!important; top:auto!important; bottom:1px!important; right:1px!important; display:flex!important; align-items:center; justify-content:center; width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important; margin:0!important; padding:0!important; background:transparent!important; color:#333!important; border:0!important; border-radius:50%!important; box-shadow:none!important; }
/* The smaller visible heart retains a generous, separate touch target. */
body.med-store-white .med-catalog-card .med-card-visual .med-card-heart::before { content:""; position:absolute; width:var(--heart-disc); height:var(--heart-disc); box-sizing:border-box; border:1px solid #e5e5e5; border-radius:50%; background:rgba(255,255,255,.96); pointer-events:none; }
body.med-store-white .med-catalog-card .med-card-visual .med-card-heart svg { position:relative; width:var(--heart-icon)!important; height:var(--heart-icon)!important; fill:none; stroke:currentColor; stroke-width:1.6; pointer-events:none; }
body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel) .med-catalog-card .med-card-visual .med-card-heart { --heart-disc:26px; --heart-icon:16px; }
body.med-store-white .med-catalog-card .med-card-visual .med-card-heart[aria-pressed="true"] { color:#171717!important; }
body.med-store-white .med-catalog-card .med-card-visual .med-card-heart[aria-pressed="true"] svg { fill:currentColor; }
body.med-store-white .med-catalog-card .med-card-visual .med-card-heart:focus-visible { outline:2px solid #555; outline-offset:-3px; }
/* Stable reading order: category, name, price, size, condition and availability. */
body.med-store-white .med-catalog-card .med-card-copy { padding-top:10px; gap:4px; }
body.med-store-white .med-catalog-card .med-card-category { margin:0 0 2px; font-size:10px; line-height:14px; font-weight:500; letter-spacing:.04em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.med-store-white .med-catalog-card .med-card-name { font-size:14px!important; font-weight:600!important; line-height:1.35!important; min-height:2.7em; height:2.7em; overflow:hidden!important; letter-spacing:0!important; overflow-wrap:break-word; }
body.med-store-white .med-catalog-card .med-card-name a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.med-store-white .med-catalog-card .med-card-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 6px; font-size:17px!important; font-weight:700!important; line-height:1.3!important; margin:5px 0!important; letter-spacing:0; }
body.med-store-white .med-catalog-card .med-card-price > span:last-child { white-space:nowrap; }
body.med-store-white .med-catalog-card .med-card-price :is(.med-offer-label,.med-original-price) { font-size:10px!important; font-weight:500!important; }
body.med-store-white .med-catalog-card .med-card-price .med-offer-label { flex-basis:100%; }
body.med-store-white .med-catalog-card .med-card-price-pending { font-size:12px!important; font-weight:500!important; min-height:0; }
body.med-store-white .med-catalog-card .med-card-size { gap:2px 4px; margin:0; }
body.med-store-white .med-catalog-card .med-card-size > :is(span,strong) { font-size:12px; line-height:1.4; font-weight:400; color:#666; }
body.med-store-white .med-catalog-card .med-card-size > strong { font-weight:500; color:#333; }
body.med-store-white .med-catalog-card .med-card-condition { position:static; padding:0; background:none; color:#666; font-size:12px; line-height:1.4; font-weight:400; letter-spacing:0; text-transform:none; max-width:none; margin:0; }
body.med-store-white .med-catalog-card .med-card-availability { margin:0; padding:0; min-width:0; font-size:11px; line-height:1.4; font-weight:400; color:#666; }
body.med-store-white .med-catalog-card .med-card-availability.is-unavailable { color:#333; font-weight:600; }
body.med-store-white .med-catalog-card .med-card-actions { padding-top:8px; }
body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel):focus-visible { outline:2px solid #555; outline-offset:2px; }
body.med-store-white .med-menu-chevron,body.med-store-white .med-menu-contact a::after { display:none!important; }
body.med-store-white .med-menu-submenu { background:#fff!important; }
body.med-store-white .med-footer { background:#0b0b0d!important; color:#fff!important; border-top:1px solid #29292b!important; }
body.med-store-white .med-footer :is(p,span) { color:#c8c8c8!important; }
body.med-store-white .med-footer :is(a,.footer-info-label) { color:#fff!important; }
body.med-store-white .med-footer-bottom { border-color:#29292b!important; }
body.med-store-white .med-footer a:focus-visible { outline-color:#fff; }
body.med-store-white .med-footer-brand.med-footer-monogram { background:none!important; width:150px!important; }
body.med-store-white .med-footer-brand.med-footer-monogram img { display:block!important; width:150px!important; }
body.med-store-white main.refined-product-page .refined-product-favorite { top:auto!important; bottom:12px!important; right:12px!important; width:44px!important; height:44px!important; border:1px solid #e5e5e5!important; border-radius:50%!important; background:#fff!important; color:#171717!important; }
body.med-store-white main.refined-product-page .refined-product-condition { display:none!important; }
body.med-store-white main.refined-product-page .refined-product-info h1 { font-size:21px!important; margin:8px 0!important; }
body.med-store-white main.refined-product-page .refined-product-specs>div { padding:8px 0!important; }
body.med-store-white main.refined-product-page .refined-add-cart { border-radius:999px!important; }
body.med-store-white .med-gallery-navigation { display:none!important; }
body.med-store-white :is(.for-you-section,#destacados,#proximamente,#categoryEmptyState)[hidden] { display:none!important; }
body.med-store-white .category-empty-state { padding:16px 0 8px!important; font-size:14px!important; font-weight:400!important; line-height:1.6!important; }
body.med-store-white .footer-useful-info>div { border-color:#29292b; }
body.med-store-white #forYouTitle { font-size:20px; font-weight:650; letter-spacing:-.3px; margin:0; }
body.med-store-white .med-description-toggle,body.med-store-white .med-share-product { background:#fff; color:#333; border:1px solid #ddd; border-radius:999px; min-height:40px; padding:8px 18px; font-size:13px; cursor:pointer; }
body.med-store-white .med-share-product { display:block; margin:10px auto; }
body.med-store-white .med-description-collapsed { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
body.med-store-white .product-lightbox-stage { width:100vw!important; height:100dvh!important; max-width:none!important; padding:0!important; }
body.med-store-white .product-lightbox-image-wrap { position:absolute; inset:0; width:100%!important; height:100%!important; max-height:none!important; overflow:hidden; touch-action:none; user-select:none; }
body.med-store-white #productLightboxImage { width:100%!important; height:100%!important; max-height:none!important; object-fit:contain; transform-origin:center; }
body.med-store-white .product-lightbox-nav { display:none!important; }
body.med-store-white .product-lightbox-close { z-index:5; top:max(12px,env(safe-area-inset-top))!important; right:12px!important; width:44px!important; height:44px!important; }
body.med-store-white .refined-product-main-media:focus-visible { outline:2px solid #171717; outline-offset:3px; }
/* Shared compact header and account/checkout surfaces. */
body.med-store-white :is(.med-black-header,.med-checkout-header) { height:64px!important; min-height:64px!important; padding-inline:16px!important; grid-template-columns:82px minmax(0,1fr) 82px; }
body.med-store-white .med-checkout-header { display:grid!important; align-items:center; }
body.med-store-white .med-checkout-brand { grid-column:2; justify-self:center; width:148px!important; max-width:100%!important; min-width:0!important; }
body.med-store-white .med-header-brand { width:168px!important; max-width:40vw!important; }
body.med-store-white .med-header-right,body.med-store-white .med-checkout-tools { display:flex; justify-content:flex-end; align-items:center; gap:2px!important; }
body.med-store-white :is(.med-icon-btn,.med-checkout-back) { min-width:40px!important; width:40px!important; min-height:44px!important; height:44px!important; padding:8px!important; display:inline-flex; align-items:center; justify-content:center; }
body.med-store-white .med-header-brand { width:148px!important; max-width:100%!important; min-width:0!important; margin-inline:0!important; justify-self:center; }
body.med-store-white .med-icon-btn svg { width:22px!important; height:22px!important; }
body.med-store-white .profile-home { padding:24px 20px 40px!important; }
body.med-store-white .profile-row { min-height:50px; padding:13px 16px; font-size:14px; font-weight:500; }
body.med-store-white .profile-arrow { display:none!important; }
body.med-store-white .profile-group { border-radius:16px; box-shadow:none; }
body.med-store-white .account-panel-head { margin-bottom:18px!important; }
body.med-store-white .account-panel-head h1,body.med-store-white .account-panel-head h2 { font-size:23px!important; line-height:1.25!important; }
body.med-store-white .med-checkout-shell { max-width:720px; padding:24px 20px 40px; }
body.med-store-white .med-checkout-intro h1 { font-size:26px; line-height:1.2; }
body.med-store-white :is(.med-checkout-section,.med-order-summary) { border-radius:16px!important; padding:20px!important; }
body.med-store-white :is(.med-step-head h2,.med-summary-head h2) { font-size:19px!important; line-height:1.3!important; }
body.med-store-white .med-checkout-form { gap:14px; }
body.med-store-white .med-checkout-section :is(input:not([type=radio]):not([type=checkbox]),textarea) { border-radius:12px; }
body.med-store-white :is(.med-coupon-field button,.med-confirm-order,.account-dialog-card button,.auth-primary,.account-primary-button,.account-secondary-button) { border-radius:999px!important; }
body.med-store-white .med-checkout-final { padding:0!important; }
body.med-store-white .med-summary-thumb img,body.med-store-white .med-cart-product img { object-fit:contain!important; }
body.med-store-white :is(.med-cart-drawer,.med-cart-panel,.med-cart-footer) { background:#fff!important; color:#171717!important; }
body.med-store-white .med-cart-header { min-height:64px!important; padding:14px 20px!important; }
body.med-store-white .med-cart-header h2 { font-size:21px!important; }
body.med-store-white .med-cart-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:220px; padding:36px 24px!important; text-align:center; }
body.med-store-white .med-cart-empty[hidden] { display:none!important; }
body.med-store-white .med-cart-empty-icon { width:32px!important; height:32px!important; padding:0!important; border:0!important; background:none!important; }
body.med-store-white .med-cart-empty-icon svg { width:32px!important; height:32px!important; }
body.med-store-white .med-cart-empty h3 { font-size:16px!important; }
body.med-store-white .med-cart-empty p { font-size:13px!important; }
body.med-store-white .med-cart-footer { padding-bottom:max(18px,env(safe-area-inset-bottom))!important; }
body.med-store-white .med-notification-trigger { position:relative; }
.med-notification-dot { position:absolute; right:7px; top:7px; width:6px; height:6px; border-radius:50%; background:#171717; }
.med-notification-dot[hidden] { display:none; }
.med-notifications-dialog { width:min(440px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; border:1px solid #e6e6e6; border-radius:20px; background:#fff; color:#171717; overflow:auto; }
.med-notifications-dialog::backdrop { background:rgba(0,0,0,.35); }
.med-notifications-head { position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; background:#fff; border-bottom:1px solid #eee; }
.med-notifications-head h2 { font-size:20px; margin:0; }
.med-notifications-head button { width:44px; height:44px; border:0; background:none; color:#171717; font-size:26px; }
.med-notifications-content { padding:20px; min-height:210px; font-size:14px; }
.med-notifications-content>p { text-align:center; color:#666; }
.med-notifications-empty-icon { width:32px; height:32px; margin:42px auto 16px; }
.med-notification-card { border:1px solid #e8e8e8; border-radius:14px; padding:16px; margin-bottom:12px; }
.med-notification-card.is-unread { background:#f7f7f7; }
.med-notification-card h3 { font-size:15px; margin:0 0 8px; }
.med-notification-card p { font-size:13px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; }
.med-pill-action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 16px; border:1px solid #ddd; border-radius:999px; background:#fff; color:#171717; font-size:13px; }
@media(max-width:380px) {
 body.med-store-white :is(.med-black-header,.med-checkout-header) { padding-inline:8px!important; }
 body.med-store-white :is(.med-header-brand,.med-checkout-brand) { width:142px!important; }
 body.med-store-white .med-checkout-shell { padding:20px 12px 32px; }
 body.med-store-white :is(.med-checkout-section,.med-order-summary) { padding:16px!important; }
}
body.med-store-white :is(.search-result-copy strong,.search-result-price,.search-result-copy span,.category-empty-state) { color:#333!important; }
@media(max-width:700px) {
 body.med-store-white .novelties-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:20px 12px!important; }
 body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel) { gap:12px!important; }
 body.med-store-white :is(#featuredTrack,#upcomingTrack,#noveltiesGrid.is-home-carousel) > .med-catalog-card { flex-basis:44vw!important; max-width:240px!important; }
 body.med-store-white .home-static-search { padding-inline:16px!important; }
 body.med-store-white .category-strip { padding:8px 16px!important; }
 body.med-store-white :is(.shop-section,.featured-carousel-section,.upcoming-section) { padding:16px!important; }
 body.med-store-white :is(.section-head,.featured-carousel-head,.upcoming-head) { margin-bottom:12px!important; }
 body.med-store-white :is(.service-confidence,.med-footer) { padding-inline:16px!important; }
 body.med-store-white .service-confidence { padding-block:20px!important; }
 body.med-store-white .med-footer-top { gap:16px!important; }
 body.med-store-white .med-card-action { font-size:11px!important; }
}

/* MEDIOUSAO: carruseles compactos v1 — inicio */
/* Las tarjetas abren el producto; la compra se mantiene en su página de detalle. */
body.med-store-white .med-catalog-card .add-to-cart {
  display: none !important;
}
body.med-store-white .med-catalog-card .med-card-actions:has(> .add-to-cart:only-child) {
  display: none !important;
}
/* Las imágenes conservan sus proporciones; solo cambia el tamaño de la tarjeta. */
body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) {
  --med-carousel-gap: 16px;
  --med-carousel-card: calc((100% - 64px) / 4.75);
  gap: var(--med-carousel-gap) !important;
  scroll-padding-inline: 0;
}
body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) > .med-catalog-card {
  flex: 0 0 var(--med-carousel-card) !important;
  width: var(--med-carousel-card) !important;
  min-width: 0 !important;
  max-width: none !important;
}
body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) .med-card-name {
  font-size: 13px !important;
  line-height: 1.35 !important;
  min-height: 2.7em;
}
body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) .med-card-price {
  font-size: 15px !important;
  margin-block: 6px !important;
}
body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) .med-card-copy {
  padding-top: 8px;
}
body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) .med-card-action {
  padding-inline: 8px !important;
  font-size: 12px !important;
}
@media (min-width: 701px) and (max-width: 1099px) {
  body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) {
    --med-carousel-gap: 12px;
    --med-carousel-card: calc((100% - 36px) / 3.25);
  }
  body.med-store-white #forYouGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) {
    --med-carousel-gap: 10px;
    --med-carousel-card: calc((100% - 20px) / 2.3);
  }
  body.med-store-white :is(#featuredTrack, #upcomingTrack, #noveltiesGrid.is-home-carousel) .med-card-action {
    font-size: 11px !important;
  }
  body.med-store-white #forYouGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* MEDIOUSAO: carruseles compactos v1 — fin */
