/*
Theme Name: Medora Pharmacy
Theme URI: https://example.org/medora-pharmacy
Author: Medora Theme Studio
Description: Accessible responsive WooCommerce pharmacy storefront with customizable branding and optional checkout bridge compatibility for provider-approved merchandise.
Version: 2.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: medora-pharmacy
Tags: e-commerce, custom-logo, custom-menu, custom-colors, featured-images, full-width-template, translation-ready
*/
:root{--mp-primary:#087d75;--mp-deep:#103b43;--mp-accent:#d9f7e8;--mp-ink:#173142;--mp-muted:#60737d;--mp-bg:#f6f9fa;--mp-border:#dde8e9;--mp-radius:15px;--mp-max:1200px}*{box-sizing:border-box}body{margin:0;color:var(--mp-ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#fff}a{color:var(--mp-primary);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer}input,textarea,select{max-width:100%}.container{width:min(calc(100% - 36px),var(--mp-max));margin-inline:auto}.skip-link{position:absolute;top:-90px;left:16px;background:white;padding:10px;z-index:1000}.skip-link:focus{top:12px}.mp-topbar{background:var(--mp-deep);color:#fff;font-size:13px;padding:8px 0}.mp-topbar .container,.mp-header-main,.mp-nav-inner,.mp-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}.mp-topbar a{color:#fff}.mp-header{background:white;position:relative;z-index:15;border-bottom:1px solid var(--mp-border)}.mp-header-main{padding:21px 0}.mp-brand{display:flex;align-items:center;gap:11px;color:var(--mp-deep);min-width:185px}.mp-brand-icon{display:grid;place-items:center;background:var(--mp-primary);color:white;width:44px;height:44px;border-radius:13px;font-size:28px;font-weight:700}.mp-brand strong{display:block;font-size:23px;line-height:1.2}.mp-brand small{display:block;font-size:11px;letter-spacing:.09em;color:var(--mp-muted)}.custom-logo{max-width:210px;max-height:65px;width:auto}.mp-search{flex:1;max-width:540px;display:flex;background:var(--mp-bg);border:1px solid var(--mp-border);border-radius:11px;overflow:hidden}.mp-search input{width:100%;padding:13px 16px;background:transparent;border:0;outline-offset:-2px}.mp-search button,.mp-btn,.button,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--mp-primary);border:0;border-radius:9px;color:white;padding:12px 20px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.mp-search button{border-radius:0}.mp-search button:hover,.mp-btn:hover,.button:hover{background:var(--mp-deep);color:white;text-decoration:none}.mp-actions{display:flex;gap:18px;align-items:center}.mp-actions a{color:var(--mp-deep);font-weight:600;white-space:nowrap}.mp-nav{border-top:1px solid var(--mp-border)}.mp-nav-inner{min-height:53px}.mp-menu{display:flex;list-style:none;gap:28px;margin:0;padding:0;flex-wrap:wrap}.mp-menu li{position:relative}.mp-menu a{color:var(--mp-deep);font-size:14px;font-weight:650}.mp-menu ul{display:none;position:absolute;top:100%;left:0;background:white;box-shadow:0 10px 25px #0c363022;padding:13px;list-style:none;min-width:190px;z-index:20}.mp-menu li:hover>ul,.mp-menu li:focus-within>ul{display:block}.mp-mobile-menu{display:none}.mp-nav-note{color:var(--mp-primary);font-size:13px;font-weight:600}.mp-hero{background:linear-gradient(112deg,#e8f8f3,#f3fbfc);padding:67px 0;overflow:hidden}.mp-hero-inner{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:35px}.mp-kicker{display:inline-block;background:#d2efe7;padding:6px 13px;border-radius:30px;color:#08766c;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.mp-hero h1{font-size:clamp(36px,4.5vw,61px);letter-spacing:-.045em;line-height:1.12;color:var(--mp-deep);margin:20px 0}.mp-hero p{font-size:18px;color:var(--mp-muted);max-width:540px}.mp-hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.mp-btn-outline{background:transparent;color:var(--mp-primary);border:1px solid var(--mp-primary)}.mp-btn-outline:hover{background:#e4f3ee;color:var(--mp-deep)}.mp-hero-art{background:#fff;border-radius:30px;box-shadow:0 24px 56px #0a5a4b17;padding:22px}.mp-hero-art img{width:100%;display:block}.mp-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-23px;position:relative}.mp-feature{padding:20px;background:white;border:1px solid var(--mp-border);box-shadow:0 6px 25px #103e3610;border-radius:14px;display:flex;gap:12px;align-items:flex-start}.mp-feature-symbol{background:#dff7ef;border-radius:12px;display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;font-size:21px}.mp-feature strong{display:block;color:var(--mp-deep)}.mp-feature span{font-size:13px;color:var(--mp-muted)}.mp-section{padding:70px 0}.mp-section-alt{background:var(--mp-bg)}.mp-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:27px}.mp-section-title h2{font-size:clamp(25px,3vw,34px);line-height:1.2;color:var(--mp-deep);margin:6px 0}.mp-section-title p{color:var(--mp-muted);margin:0}.mp-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.mp-category{border:1px solid var(--mp-border);border-radius:15px;padding:20px;background:white;min-height:145px;display:flex;flex-direction:column;justify-content:space-between}.mp-category-icon{width:44px;height:44px;border-radius:12px;background:#def5ec;display:grid;place-items:center;font-size:24px}.mp-category strong{color:var(--mp-deep)}.mp-category small{display:block;color:var(--mp-muted)}.mp-banner{background:var(--mp-deep);color:white;border-radius:20px;padding:37px 45px;display:flex;justify-content:space-between;align-items:center;gap:30px}.mp-banner h2{margin:0 0 9px;color:white;font-size:28px}.mp-banner p{margin:0;color:#cae2e2}.mp-banner .mp-btn{background:white;color:var(--mp-deep)}.mp-content{padding:45px 0;min-height:44vh}.mp-page-head{background:var(--mp-bg);padding:35px 0;border-bottom:1px solid var(--mp-border)}.mp-page-head h1{margin:0;font-size:32px;color:var(--mp-deep)}.mp-article{max-width:850px;margin:auto}.mp-entry{padding-bottom:40px}.mp-entry h2 a{color:var(--mp-deep)}.mp-footer{background:#102f36;color:#dfeded;padding:57px 0 25px}.mp-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:42px}.mp-footer h3{color:#fff;margin:0 0 16px}.mp-footer p,.mp-footer a{color:#c7dbdb}.mp-footer ul{padding:0;list-style:none;margin:0}.mp-footer li{margin:7px 0}.mp-footer-bottom{border-top:1px solid #33515b;margin-top:35px;padding-top:20px;font-size:13px;color:#c7dbdb}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0!important;margin:0!important}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;clear:none!important;margin:0!important;background:white;border:1px solid var(--mp-border);border-radius:15px;padding:16px!important;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#f7faf9;border-radius:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--mp-deep);font-size:16px!important;line-height:1.4;min-height:45px}.woocommerce ul.products li.product .price{color:var(--mp-primary)!important;font-weight:700!important;font-size:17px!important}.woocommerce ul.products li.product .button{margin-top:auto!important}.woocommerce div.product .product_title{color:var(--mp-deep)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--mp-primary)}.woocommerce .quantity .qty{min-height:43px}.woocommerce .woocommerce-breadcrumb{padding-bottom:15px}.woocommerce span.onsale{background:var(--mp-primary)}.woocommerce-notices-wrapper{margin-bottom:15px}.woocommerce table.shop_table{border-radius:12px}.woocommerce .cart_totals,.woocommerce .woocommerce-checkout-review-order{background:var(--mp-bg);border:1px solid var(--mp-border);padding:22px;border-radius:15px}.woocommerce input.input-text,.woocommerce select,.woocommerce textarea{border:1px solid var(--mp-border);border-radius:8px;padding:10px}.wscb-direct-checkout,.wscb-btn{background:var(--mp-primary)!important;color:white!important;border-radius:9px!important;padding:13px 23px!important}.mp-sr-only,.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mp-notice{padding:13px 16px;background:#fff9ea;border:1px solid #f3dfaa;border-radius:10px;font-size:13px;color:#69521c}.mp-mobile-toggle{display:none}@media(max-width:1000px){.mp-footer-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.mp-actions{gap:10px}}@media(max-width:760px){.mp-topbar .container{justify-content:center}.mp-topbar .mp-topbar-extra{display:none}.mp-header-main{flex-wrap:wrap}.mp-brand{min-width:auto}.mp-search{order:3;width:100%;flex-basis:100%;max-width:none}.mp-nav-inner{display:block}.mp-mobile-toggle{display:block;width:100%;padding:12px;background:white;border:0;text-align:left;font-weight:700;color:var(--mp-deep)}.mp-menu{display:none;flex-direction:column;gap:0;padding:10px 0}.mp-nav.is-open .mp-menu{display:flex}.mp-menu li{padding:9px 0}.mp-menu ul{position:static;display:block;box-shadow:none;padding-left:15px}.mp-nav-note{display:none}.mp-hero{padding:42px 0}.mp-hero-inner{grid-template-columns:1fr}.mp-hero-art{max-width:490px;margin:auto}.mp-features{grid-template-columns:1fr;margin-top:20px}.mp-cat-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-banner{display:block;padding:27px}.mp-banner .mp-btn{margin-top:22px}.mp-footer-grid{grid-template-columns:repeat(2,1fr);gap:22px}.mp-footer-bottom{display:block}.mp-actions a{font-size:13px}}@media(max-width:470px){.container{width:min(calc(100% - 26px),var(--mp-max))}.mp-brand strong{font-size:18px}.mp-brand-icon{width:37px;height:37px}.mp-actions a:first-child{display:none}.mp-cat-grid{gap:10px}.mp-category{padding:14px}.woocommerce ul.products{gap:10px}.woocommerce ul.products li.product{padding:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}.woocommerce ul.products li.product .button{font-size:12px!important;padding:10px 9px!important}.mp-section{padding:47px 0}.mp-footer-grid{grid-template-columns:1fr 1fr}.mp-footer-grid>div:first-child{grid-column:1/-1}}

/* Medora 2 — editorial pharmacy storefront */
.mp-hero-v2{background:radial-gradient(circle at 78% 22%,#caefe5 0,transparent 32%),linear-gradient(120deg,#e8f8f4,#f8fcfc);padding:78px 0 85px}.mp-hero-v2 .mp-hero-inner{grid-template-columns:1fr 1fr;gap:55px}.mp-hero-copy h1{font-weight:800;max-width:640px}.mp-hero-trust{display:flex;flex-wrap:wrap;gap:16px;margin-top:29px;font-size:12px;font-weight:700;color:var(--mp-deep)}.mp-hero-v2 .mp-hero-art{position:relative;background:#fff;border:8px solid #fff;border-radius:28px;padding:0;overflow:hidden;box-shadow:0 30px 75px #004b4530}.mp-hero-v2 .mp-hero-art>img{width:100%;min-height:340px;object-fit:cover}.mp-art-tag{position:absolute;bottom:18px;left:18px;background:#fff;padding:10px 17px;border-radius:40px;box-shadow:0 6px 24px #063e351c;color:var(--mp-deep);font-size:13px;font-weight:750}.mp-features-v2{grid-template-columns:repeat(3,1fr);margin-top:-30px}.mp-features-v2 .mp-feature{box-shadow:0 16px 33px #003e3810;border-color:#e4eeee}.mp-section-title .mp-text-link{font-weight:750;white-space:nowrap}.mp-cat-grid-v2{grid-template-columns:repeat(4,minmax(0,1fr))}.mp-category-v2{padding:0 0 18px;text-align:center;overflow:hidden;display:flex;align-items:center;gap:8px;min-height:0;box-shadow:0 10px 26px #163d3610;transition:transform .2s,box-shadow .2s}.mp-category-v2:hover{transform:translateY(-4px);box-shadow:0 15px 34px #1640381c;text-decoration:none}.mp-category-picture{height:145px;width:100%;display:grid;place-items:center;background:linear-gradient(145deg,#e9f9f4,#f4f8fd)}.mp-category-picture img{width:100%;height:100%;object-fit:contain;padding:11px}.mp-category-v2 strong{padding:0 12px;color:var(--mp-deep);font-size:17px}.mp-category-v2 small{color:var(--mp-muted)}.mp-promos{padding-top:10px}.mp-promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.mp-promo{border-radius:22px;padding:30px 28px;min-height:240px;display:grid;grid-template-columns:1.3fr .7fr;align-items:center;overflow:hidden}.mp-promo-a{background:#e3f6ef}.mp-promo-b{background:#e7f2fb}.mp-promo h2{font-size:27px;line-height:1.15;color:var(--mp-deep);margin:10px 0}.mp-promo p{font-size:14px;color:#4a686e;margin-bottom:19px}.mp-promo a{font-weight:800}.mp-promo img{width:100%;max-height:190px;object-fit:contain}.mp-promo-label{font-size:11px;letter-spacing:.12em;font-weight:850}.mp-banner-v2{background:linear-gradient(105deg,#103b43,#087d75)}.mp-banner-v2 .mp-promo-label{color:#d2f8e8}.mp-banner-v2 .mp-btn{white-space:nowrap}.woocommerce ul.products li.product{box-shadow:0 9px 30px #1731420d;position:relative;transition:transform .2s,box-shadow .2s}.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 16px 38px #1731421b}.woocommerce ul.products li.product .price{margin-bottom:15px}.mp-single-product .woocommerce div.product{display:flow-root}.mp-single-product .woocommerce div.product .images,.mp-single-product .woocommerce div.product .summary{margin-top:15px}.mp-single-product .woocommerce div.product .images img{background:#f5faf9;border:1px solid #e4efeb;border-radius:18px}.mp-single-product .woocommerce div.product .summary{padding:22px 0}.mp-single-product .woocommerce div.product .product_title{font-size:clamp(28px,3.5vw,42px);line-height:1.2;letter-spacing:-.035em}.mp-single-product .woocommerce div.product p.price{font-size:28px;font-weight:850}.mp-single-product .woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:26px 0}.mp-single-product .woocommerce div.product form.cart .single_add_to_cart_button{min-height:50px;font-size:16px;padding:13px 29px!important;background:var(--mp-primary)!important}.mp-single-product .woocommerce div.product form.cart .quantity{margin:0}.mp-single-product .woocommerce div.product form.cart .qty{min-height:49px;width:75px;border:1px solid var(--mp-border);border-radius:10px}.mp-single-product .woocommerce div.product .woocommerce-tabs{clear:both;padding-top:34px}.mp-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:10px 10px 0 0}.mp-product-help{border:1px solid #d4ebe4;background:#f1faf7;border-radius:13px;padding:17px 19px;margin:20px 0;max-width:560px}.mp-product-help p{margin:4px 0 8px;color:#4f6d69;font-size:14px}.mp-product-help a{font-weight:750}.mp-contact-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;margin:25px 0}.mp-contact-info,.mp-contact-form{padding:27px;background:#f4f9f9;border:1px solid var(--mp-border);border-radius:17px}.mp-contact-form{display:flex;flex-direction:column;gap:9px}.mp-contact-form label{font-weight:650}.mp-contact-form input,.mp-contact-form textarea{width:100%;border:1px solid #cfdfdf;border-radius:9px;padding:12px;background:white}.mp-contact-form button{margin-top:10px;align-self:start}.woocommerce .single_add_to_cart_button,.woocommerce a.button{opacity:1}.mp-commerce .woocommerce div.product form.cart button.single_add_to_cart_button{display:inline-flex!important;visibility:visible!important}body.woocommerce-page .woocommerce-message{border-top-color:var(--mp-primary)}
@media(max-width:900px){.mp-hero-v2 .mp-hero-inner{gap:25px}.mp-promo-grid{grid-template-columns:1fr 1fr}.mp-promo{padding:22px;grid-template-columns:1fr}.mp-promo img{max-height:135px}.mp-contact-layout{gap:18px}}
@media(max-width:760px){.mp-hero-v2{padding:44px 0}.mp-hero-v2 .mp-hero-inner{grid-template-columns:1fr}.mp-hero-v2 .mp-hero-art>img{min-height:220px}.mp-features-v2{grid-template-columns:1fr}.mp-cat-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-category-picture{height:125px}.mp-promo-grid{grid-template-columns:1fr}.mp-promo{grid-template-columns:1.2fr .8fr}.mp-promo img{max-height:180px}.mp-contact-layout{grid-template-columns:1fr}.mp-single-product .woocommerce div.product .images,.mp-single-product .woocommerce div.product .summary{width:100%!important;float:none!important}.mp-single-product .woocommerce div.product form.cart .single_add_to_cart_button{flex:1}}
@media(max-width:470px){.mp-hero-trust{gap:9px}.mp-cat-grid-v2{gap:11px}.mp-category-v2 strong{font-size:14px}.mp-category-picture{height:108px}.mp-promo{grid-template-columns:1fr 110px;padding:20px}.mp-promo h2{font-size:21px}.mp-promo img{max-height:135px}.mp-art-tag{font-size:10px}.mp-single-product .woocommerce div.product form.cart{align-items:stretch}.mp-banner-v2 .mp-btn{white-space:normal}}

/* 2.1.0 Pack information and compact single-product heading */
.mp-single-product{padding-top:24px}.mp-single-product .woocommerce div.product .summary{padding-top:10px}
.mp-pack-offer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0;color:#526a68;font-size:13px}
.mp-pack-pill{display:inline-flex;border-radius:999px;padding:8px 12px;background:#e1f6ef;border:1px solid #b9e4d6;color:#076c63;font-weight:800;font-size:14px}
.mp-cart-pack{font-size:.85em;font-weight:600;color:#49645f}
.woocommerce-cart .product-name .product-description,.woocommerce-cart .cart-product-description,.woocommerce-cart .wc-block-components-product-metadata__description{display:none!important}
@media(max-width:760px){.mp-single-product{padding-top:15px}.mp-pack-offer{align-items:flex-start;flex-direction:column;gap:5px}}

/* 2.2.0 Mobile header, payment trust strip and pack dropdown */
.mp-actions{display:flex;align-items:center;gap:14px}
.mp-search-toggle{display:none;align-items:center;justify-content:center;gap:7px;border:1px solid var(--mp-border);background:#fff;color:var(--mp-deep);padding:10px 13px;border-radius:12px;font-weight:700;cursor:pointer}
.mp-search-toggle-label{display:inline}
.mp-cart-link{white-space:nowrap}
.mp-payments-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;border:1px solid var(--mp-border);background:#f7fbfb;border-radius:22px;box-shadow:0 10px 26px #1731420d}
.mp-payment-head h2{margin:6px 0 0;font-size:28px;color:var(--mp-deep)}
.mp-payments-icons{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.mp-pay-card{display:inline-flex;align-items:center;justify-content:center;min-width:92px;padding:11px 15px;border-radius:14px;background:#fff;border:1px solid #d8e8e5;font-weight:800;font-size:14px;color:var(--mp-deep);box-shadow:0 5px 14px #1731420a}
.mp-pay-visa{color:#1a3f95}.mp-pay-master{color:#c54717}.mp-pay-amex{color:#0b6f86}.mp-pay-paypal{color:#154baf}.mp-pay-lock{color:#087d75}
.mp-single-product .woocommerce div.product form.cart.mp-has-pack-select{display:block!important;max-width:520px}
.mp-pack-select-wrap{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-items:center;margin:0 0 18px}
.mp-pack-select-wrap label{margin:0;font-weight:800;color:var(--mp-deep);font-size:15px}
.mp-pack-select{width:100%;min-height:52px;border:2px solid #19b1a4;border-radius:12px;background:#fff;padding:0 16px;font-size:16px;font-weight:700;color:var(--mp-deep)}
.mp-pack-total{grid-column:1/-1;font-size:16px;color:var(--mp-deep);display:flex;align-items:center;gap:8px}.mp-pack-total strong{font-size:24px;color:var(--mp-primary)}
.mp-single-product .woocommerce div.product form.cart .mp-pack-select-wrap ~ .quantity{display:none!important}
.mp-single-product .woocommerce div.product form.cart.mp-has-pack-select .single_add_to_cart_button{width:100%;justify-content:center}
.mp-category-picture img{object-fit:cover}
@media(max-width:760px){
  .mp-header-main{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}
  .mp-brand{grid-column:1/2;min-width:0}
  .mp-actions{grid-column:2/4;justify-content:flex-end;gap:8px}
  .mp-actions a:first-child{display:none}
  .mp-search-toggle{display:inline-flex}
  .mp-search-toggle-label{display:none}
  .mp-search{display:none!important;order:4;grid-column:1/-1;width:100%;margin-top:4px}
  .mp-header-main.search-open .mp-search{display:flex!important}
  .mp-search button{padding-inline:16px}
  .mp-hero-v2{padding-top:28px}
  .mp-payments-strip{display:block;padding:22px}
  .mp-payment-head h2{font-size:23px}
  .mp-payments-icons{justify-content:flex-start;margin-top:16px}
  .mp-pack-select-wrap{grid-template-columns:1fr;gap:8px}
  .mp-pack-total strong{font-size:20px}
}
@media(max-width:470px){
  .mp-topbar{font-size:11px}
  .mp-brand img.custom-logo{max-height:48px;width:auto}
  .mp-cart-link{font-size:13px}
  .mp-search input{min-width:0}
  .mp-pay-card{min-width:76px;padding:10px 11px;font-size:12px}
}

/* 2.3.0 header polish, real hero imagery, scrolling categories */
.mp-header{background:#fff;box-shadow:0 10px 24px rgba(16,59,67,.06);position:relative;z-index:5}
.mp-header-main{padding:18px 0;align-items:center;grid-template-columns:auto 1fr auto;display:grid;gap:22px}
.mp-brand img.custom-logo{max-height:62px;width:auto}
.mp-search{max-width:540px;margin:0 auto;position:relative;border:1px solid #d7e8e5;border-radius:18px;padding:6px;background:#fff;box-shadow:0 6px 16px rgba(16,59,67,.06)}
.mp-search-icon{position:absolute;left:18px;top:50%;transform:translateY(-50%);opacity:.65;font-size:17px}
.mp-search input{padding-left:42px;border:0;background:transparent}
.mp-search button{border-radius:12px;min-width:110px}
.mp-actions{justify-self:end;display:flex;align-items:center;gap:10px}
.mp-action-link,.mp-cart-link{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid #dbe9e7;border-radius:14px;background:#fff;color:var(--mp-deep);font-weight:700}
.mp-action-link:hover,.mp-cart-link:hover{text-decoration:none;transform:translateY(-1px);box-shadow:0 6px 16px rgba(16,59,67,.08)}
.mp-action-ico{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#e8f6f3;font-size:12px;color:var(--mp-primary)}
.mp-nav{border-top:1px solid #edf4f3;border-bottom:1px solid #edf4f3;background:#fff}
.mp-nav-inner{min-height:54px}
.mp-category-ticker{background:linear-gradient(90deg,#f5fbfa,#eef9f6);border-bottom:1px solid #e3efed;overflow:hidden}
.mp-category-ticker .container{display:flex;align-items:center;gap:16px;min-height:42px}
.mp-ticker-label{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--mp-primary);white-space:nowrap}
.mp-ticker-track{display:flex;align-items:center;gap:14px;white-space:nowrap;min-width:max-content;animation:mpTicker 32s linear infinite}
.mp-ticker-item{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid #d9ebe7;color:var(--mp-deep);font-size:13px;font-weight:700}
.mp-ticker-item:before{content:'•';color:var(--mp-primary);font-size:16px;line-height:1}
@keyframes mpTicker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.mp-hero-v3{background:radial-gradient(circle at 80% 18%,#d4f4eb 0,transparent 34%),linear-gradient(120deg,#eaf8f4,#f8fcfc);padding:68px 0 82px}
.mp-hero-v3 .mp-hero-art{background:#fff;border:10px solid #fff;border-radius:30px;overflow:hidden;box-shadow:0 28px 70px rgba(0,75,69,.18)}
.mp-hero-v3 .mp-hero-art>img{width:100%;min-height:420px;object-fit:cover;display:block}
.mp-promo-a img{border-radius:18px;object-fit:cover;max-height:240px;box-shadow:0 10px 26px rgba(16,59,67,.12)}
@media(max-width:1000px){.mp-header-main{grid-template-columns:auto 1fr;grid-template-areas:'brand actions' 'search search'}.mp-brand{grid-area:brand}.mp-actions{grid-area:actions}.mp-search{grid-area:search;max-width:none}}
@media(max-width:760px){
  .mp-topbar .container{padding-block:8px}
  .mp-header-main{display:grid;grid-template-columns:1fr auto;grid-template-areas:'brand actions' 'search search';gap:12px;padding:14px 0}
  .mp-brand img.custom-logo{max-height:50px}
  .mp-actions{gap:8px}
  .mp-action-link{display:none}
  .mp-cart-link{padding:10px 12px;font-size:13px;border-radius:12px}
  .mp-search{display:none!important;padding:5px 5px 5px 2px}
  .mp-header-main.search-open .mp-search{display:flex!important}
  .mp-category-ticker .container{gap:10px}
  .mp-ticker-label{font-size:11px}
  .mp-ticker-item{font-size:12px;padding:5px 11px}
  .mp-hero-v3{padding:28px 0 48px}
  .mp-hero-v3 .mp-hero-art>img{min-height:260px}
}
@media(max-width:470px){
  .mp-header-main{gap:10px}
  .mp-cart-link strong{display:none}
  .mp-nav-inner{padding-block:6px}
  .mp-category-ticker .container{min-height:38px}
}

/* Medora 2.4: compact readable category image tiles */
.mp-cat-grid-v2{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.mp-category-v2{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-height:142px;height:142px;padding:16px!important;gap:5px!important;isolation:isolate;border-radius:16px;overflow:hidden;background:#154b49;box-shadow:0 6px 18px rgba(16,59,67,.11)}
.mp-category-v2 .mp-category-picture{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:hidden;background:#245d58}
.mp-category-v2 .mp-category-picture img{position:absolute;inset:-8px;width:calc(100% + 16px);height:calc(100% + 16px);padding:0!important;object-fit:cover!important;filter:blur(3px) saturate(.83);transform:scale(1.035);transition:transform .25s ease,filter .25s ease}
.mp-category-v2::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(4,39,43,.2) 0%,rgba(4,39,43,.62) 55%,rgba(4,39,43,.92) 100%)}
.mp-category-v2 strong{color:#fff!important;padding:0!important;font-size:16px;line-height:1.22;font-weight:800;text-align:left;text-shadow:0 1px 4px rgba(0,0,0,.26);overflow-wrap:anywhere}
.mp-category-v2 small{color:#dff5f1!important;font-size:12px;font-weight:600;text-align:left}
.mp-category-v2:hover .mp-category-picture img{transform:scale(1.09);filter:blur(2px) saturate(.95)}
.mp-category-v2:focus-visible{outline:3px solid #0ba89c;outline-offset:3px}
@media(max-width:1050px){.mp-cat-grid-v2{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.mp-cat-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mp-category-v2{height:125px;min-height:125px;padding:12px!important}.mp-category-v2 strong{font-size:14px}}
@media(max-width:470px){.mp-cat-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-category-v2{height:120px;min-height:120px}.mp-category-v2 strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mp-category-v2,.mp-category-v2 .mp-category-picture img{transition:none!important}}
.mp-category-v2 strong,.mp-category-v2 small{position:relative;z-index:2}
