/* ==========================================================================
   MAURYA MEDICAL STORE — PREMIUM SHOP CSS (v1.1)
   Modern, clean, premium pharmacy design.
   ========================================================================== */

/* ───────── Reset inside scope ───────── */
.mpps-page, .mpps-page * { box-sizing: border-box; }
.mpps-page {
    font-family: var(--mpps-font);
    color: var(--mpps-text);
    background: var(--mpps-bg);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}
.mpps-page a { color: inherit; text-decoration: none; }
.mpps-page img { max-width: 100%; display: block; }
.mpps-page ul, .mpps-page ol { list-style: none; margin: 0; padding: 0; }
.mpps-page button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
.mpps-page h1,.mpps-page h2,.mpps-page h3,.mpps-page h4,.mpps-page h5,.mpps-page h6 { margin: 0; }

.mpps-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ───────── Buttons ───────── */
.mpps-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600; font-size: 15px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
    border: 0;
}
.mpps-btn--primary {
    background: var(--mpps-primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(22,163,74,.25);
}
.mpps-btn--primary:hover { background: var(--mpps-primary-dark); transform: translateY(-1px); }

/* ========================================================================
   TOP GREEN INFO BAR
   ======================================================================== */
.mpps-topbar {
    background: linear-gradient(90deg, #0f7a36, #16a34a);
    color: #fff;
    font-size: 12.5px;
}
.mpps-topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 8px; padding-bottom: 8px;
    gap: 16px;
}
.mpps-topbar__left, .mpps-topbar__right {
    display: flex; align-items: center; gap: 20px;
}
.mpps-topbar__left li, .mpps-topbar__right li {
    display: flex; align-items: center; gap: 6px;
    opacity: .95;
}
.mpps-topbar a { opacity: .9; transition: opacity .2s; }
.mpps-topbar a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 768px) {
    .mpps-topbar__left li:not(:first-child),
    .mpps-topbar__right li:not(.mpps-topbar__phone) { display: none; }
}

/* ========================================================================
   MAIN HEADER
   ======================================================================== */
.mpps-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(15,23,42,.04);
    position: relative;
    z-index: 50;
}
.mpps-header.is-sticky {
    position: sticky; top: 0;
    box-shadow: 0 4px 20px rgba(15,23,42,.08);
}
.mpps-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px; padding-bottom: 14px;
}
.mpps-header__left,
.mpps-header__right { display: flex; align-items: center; }
.mpps-header__left { gap: 14px; }
.mpps-header__right { gap: 4px; }
.mpps-header__center {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

/* Logo — text or image, clean */
.mpps-logo {
    display: inline-flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
.mpps-logo__mark {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #16a34a, #0f7a36);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 18px;
    letter-spacing: -.5px;
    box-shadow: 0 4px 12px rgba(22,163,74,.25);
    flex-shrink: 0;
}
.mpps-logo__img {
    max-height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.mpps-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.mpps-logo__name { font-size: 17px; font-weight: 800; color: var(--mpps-text); letter-spacing: -.3px; }
.mpps-logo__tag { font-size: 11px; color: var(--mpps-primary-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-top: 1px; }
.mpps-logo--light .mpps-logo__name { color: #fff; }
.mpps-logo--light .mpps-logo__tag { color: #a7f3d0; }

/* Menu toggle (mobile) */
.mpps-menu-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
    border-radius: 8px;
}
.mpps-menu-toggle span {
    display: block; width: 20px; height: 2px; background: var(--mpps-text);
    border-radius: 2px; transition: .25s;
}

/* Search */
.mpps-search {
    display: flex; align-items: stretch;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--mpps-border);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    max-width: 640px;
}
.mpps-search:focus-within {
    border-color: var(--mpps-primary);
    box-shadow: 0 0 0 4px rgba(22,163,74,.12);
    background: #fff;
}
.mpps-search__cat {
    display: flex; align-items: center; gap: 6px;
    padding: 0 14px;
    border-right: 1px solid var(--mpps-border);
    font-size: 13px; color: var(--mpps-muted);
    cursor: pointer;
    white-space: nowrap;
}
.mpps-search__cat select {
    border: 0; background: transparent; color: var(--mpps-text);
    font-size: 13px; font-weight: 500; outline: none; cursor: pointer;
    max-width: 150px;
    padding-right: 4px;
}
.mpps-search form {
    display: flex; align-items: center;
    flex: 1; min-width: 0;
}
.mpps-search input[type="search"] {
    flex: 1;
    border: 0; outline: 0;
    padding: 12px 14px;
    font-size: 14px;
    background: transparent;
    color: var(--mpps-text);
    min-width: 0;
}
.mpps-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.mpps-search button {
    padding: 0 18px;
    background: var(--mpps-primary);
    color: #fff;
    display: grid; place-items: center;
    transition: background .2s;
}
.mpps-search button:hover { background: var(--mpps-primary-dark); }

/* Account / Cart */
.mpps-act {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background .2s;
}
.mpps-act:hover { background: #f1f5f9; }
.mpps-act__icon {
    position: relative;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    display: grid; place-items: center;
    color: var(--mpps-primary-dark);
    flex-shrink: 0;
}
.mpps-cart-count {
    position: absolute;
    top: -5px; right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: grid; place-items: center;
    border: 2px solid #fff;
}
.mpps-act__text { display: flex; flex-direction: column; line-height: 1.1; }
.mpps-act__text small { font-size: 10.5px; color: var(--mpps-muted); text-transform: uppercase; letter-spacing: .5px; }
.mpps-act__text strong { font-size: 13.5px; color: var(--mpps-text); font-weight: 600; }

@media (max-width: 992px) {
    .mpps-search__cat { display: none; }
    .mpps-act__text { display: none; }
    .mpps-act { padding: 6px; }
    .mpps-header__inner { gap: 12px; }
}
@media (max-width: 768px) {
    .mpps-menu-toggle { display: inline-flex; }
    .mpps-logo__text { display: none; }
}

/* ========================================================================
   CATEGORY NAVBAR
   ======================================================================== */
.mpps-catnav {
    background: #fff;
    border-top: 1px solid var(--mpps-border);
    border-bottom: 1px solid var(--mpps-border);
    position: sticky; top: 72px;
    z-index: 40;
    transition: top .25s;
}
.mpps-header.is-sticky ~ .mpps-catnav { top: 68px; }
.mpps-catnav.is-hidden { display: none; }
.mpps-catnav__inner {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mpps-catnav__inner::-webkit-scrollbar { display: none; }
.mpps-catnav__list {
    display: flex; align-items: center; gap: 4px;
    padding: 2px 0;
}
.mpps-catnav__list li a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px; font-weight: 500;
    color: var(--mpps-text);
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.mpps-catnav__list li a:hover {
    background: var(--mpps-primary-light);
    color: var(--mpps-primary-dark);
}
.mpps-catnav__list li.is-active a {
    color: var(--mpps-primary-dark);
    background: var(--mpps-primary-light);
    font-weight: 600;
}

/* ========================================================================
   HERO
   ======================================================================== */
.mpps-hero {
    background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 60%, #d1fae5 100%);
    border-bottom: 1px solid var(--mpps-border);
    overflow: hidden;
}
.mpps-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding-top: 24px; padding-bottom: 24px;
    min-height: 160px;
    max-height: 200px;
}
.mpps-hero__left { min-width: 0; }
.mpps-breadcrumb {
    font-size: 12px; color: var(--mpps-muted);
    margin-bottom: 8px;
}
.mpps-breadcrumb a:hover { color: var(--mpps-primary-dark); }
.mpps-breadcrumb .sep { margin: 0 6px; opacity: .6; }
.mpps-hero__title {
    font-size: clamp(22px, 3.4vw, 40px);
    line-height: 1.15;
    margin: 0 0 8px;
    letter-spacing: -.5px;
    color: #064e3b;
    font-weight: 800;
}
.mpps-hero__sub {
    margin: 0 0 14px;
    color: var(--mpps-muted);
    font-size: 14px;
    max-width: 520px;
}
.mpps-hero__stats {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.mpps-hero__stats div { display: flex; flex-direction: column; line-height: 1.1; }
.mpps-hero__stats strong { font-size: 18px; color: var(--mpps-primary-dark); font-weight: 800; }
.mpps-hero__stats small { font-size: 11.5px; color: var(--mpps-muted); margin-top: 2px; }
.mpps-hero__right {
    width: 260px; max-width: 40%;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.mpps-hero__right svg { width: 100%; height: auto; }
@media (max-width: 768px) {
    .mpps-hero__inner { grid-template-columns: 1fr; max-height: none; padding: 20px 0; }
    .mpps-hero__right { display: none; }
    .mpps-hero__stats { gap: 16px; }
}

/* ========================================================================
   MAIN GRID (sidebar + products)
   ======================================================================== */
.mpps-main { padding: 24px 0; }
.mpps-main__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* ========================================================================
   SIDEBAR
   ======================================================================== */
.mpps-sidebar {
    display: flex; flex-direction: column; gap: 16px;
    position: sticky; top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}
.mpps-sidebar::-webkit-scrollbar { width: 6px; }
.mpps-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.mpps-card {
    background: var(--mpps-card);
    border-radius: var(--mpps-radius);
    box-shadow: var(--mpps-shadow);
    padding: 20px;
    border: 1px solid var(--mpps-border);
}
.mpps-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.mpps-card__title {
    font-size: 15px; font-weight: 700;
    color: var(--mpps-text);
    letter-spacing: -.2px;
}

/* Rx Upload Card */
.mpps-card--rx {
    background: linear-gradient(135deg, #ecfdf5, #dcfce7);
    border: 1px dashed #16a34a;
    text-align: center;
}
.mpps-rx-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--mpps-primary);
    color: #fff;
    display: grid; place-items: center;
    margin: 0 auto 12px;
    box-shadow: 0 6px 14px rgba(22,163,74,.28);
}
.mpps-card--rx .mpps-card__title { margin-bottom: 4px; }
.mpps-card--rx .mpps-card__text {
    font-size: 13px; color: var(--mpps-muted);
    margin: 4px 0 14px;
    line-height: 1.5;
}
.mpps-rx-btn {
    width: 100%;
    font-size: 13.5px;
    padding: 10px;
}
.mpps-rx-hint {
    font-size: 11.5px; color: var(--mpps-muted);
    margin: 10px 0 0;
    font-style: italic;
}

/* Category list */
.mpps-catlist { display: flex; flex-direction: column; gap: 2px; }
.mpps-catlist a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--mpps-text);
    transition: background .15s, color .15s;
    gap: 8px;
}
.mpps-catlist a:hover {
    background: var(--mpps-primary-light);
    color: var(--mpps-primary-dark);
}
.mpps-catlist small { color: var(--mpps-muted); font-size: 11.5px; flex-shrink: 0; }

/* Checkboxes / Radios */
.mpps-checklist { display: flex; flex-direction: column; gap: 4px; }
.mpps-checklist label {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; color: var(--mpps-text);
    cursor: pointer;
    padding: 7px 8px;
    border-radius: 8px;
    transition: background .15s;
    position: relative;
}
.mpps-checklist label:hover { background: #f8fafc; }
.mpps-checklist label input { position: absolute; opacity: 0; pointer-events: none; }
.mpps-checklist label small { color: var(--mpps-muted); margin-left: auto; font-size: 11.5px; }
.mpps-check, .mpps-radio {
    position: relative;
    display: inline-block;
    width: 16px; height: 16px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    border-radius: 4px;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.mpps-radio { border-radius: 50%; }
.mpps-checklist input:checked ~ .mpps-check {
    background: var(--mpps-primary);
    border-color: var(--mpps-primary);
}
.mpps-checklist input:checked ~ .mpps-check:after {
    content: '';
    position: absolute;
    left: 4px; top: 1px;
    width: 5px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.mpps-checklist input:checked ~ .mpps-radio {
    border-color: var(--mpps-primary);
}
.mpps-checklist input:checked ~ .mpps-radio:after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    background: var(--mpps-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Price filter native widget */
.mpps-price-wrap .price_slider_wrapper { padding: 4px 0; }
.mpps-price-wrap .price_slider { margin-bottom: 12px; }
.mpps-price-wrap .ui-slider {
    background: #e2e8f0; border: 0; height: 5px; border-radius: 999px;
}
.mpps-price-wrap .ui-slider-range { background: var(--mpps-primary); }
.mpps-price-wrap .ui-slider-handle {
    background: #fff; border: 2px solid var(--mpps-primary);
    width: 16px; height: 16px; top: -6px;
    border-radius: 50%; cursor: pointer;
    outline: none;
}
.mpps-price-wrap .price_label { font-size: 13px; color: var(--mpps-muted); margin-bottom: 8px; }
.mpps-price-wrap .button {
    background: var(--mpps-primary); color: #fff;
    border: 0; padding: 8px 14px; border-radius: 8px;
    font-size: 12.5px; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.mpps-price-wrap .button:hover { background: var(--mpps-primary-dark); }

/* ========================================================================
   PRODUCTS BAR
   ======================================================================== */
.mpps-products-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--mpps-border);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.mpps-products-bar__left { display: flex; align-items: center; gap: 12px; }
.mpps-products-count { font-size: 13.5px; color: var(--mpps-muted); font-weight: 500; }
.mpps-filter-toggle {
    display: none;
    align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--mpps-primary-light);
    color: var(--mpps-primary-dark);
    font-size: 13px; font-weight: 600;
}
.mpps-products-bar__right select,
.mpps-products-bar__right .orderby {
    border: 1px solid var(--mpps-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    background: #fff;
    color: var(--mpps-text);
    cursor: pointer;
    outline: none;
}
.mpps-products-bar__right .woocommerce-ordering { margin: 0; }
.mpps-products-bar__right .woocommerce-ordering:before,
.mpps-products-bar__right .woocommerce-ordering:after { display: none; }

/* ========================================================================
   PRODUCTS GRID
   ======================================================================== */
.mpps-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ========================================================================
   PRODUCT CARD
   ======================================================================== */
.mpps-product {
    background: #fff;
    border: 1px solid var(--mpps-border);
    border-radius: var(--mpps-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    height: 100%;
    min-height: 420px;
}
.mpps-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--mpps-shadow-lg);
    border-color: #cbd5e1;
}
.mpps-product__link {
    display: flex; flex-direction: column;
    flex: 1;
    color: inherit;
}
.mpps-product__media {
    position: relative;
    height: 220px;
    background: #f8fafc;
    overflow: hidden;
    display: grid; place-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid #f1f5f9;
}
.mpps-product__media img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform .35s ease;
}
.mpps-product:hover .mpps-product__media img { transform: scale(1.05); }
.mpps-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: .4px;
    z-index: 2;
    text-transform: uppercase;
}
.mpps-badge--rx {
    background: #7c3aed;
    top: 10px;
    left: auto; right: 10px;
}
.mpps-badge--discount + .mpps-badge--rx { right: 10px; }

.mpps-wishlist {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fff;
    display: grid; place-items: center;
    color: #94a3b8;
    box-shadow: 0 2px 6px rgba(15,23,42,.08);
    transition: color .2s, transform .2s;
    z-index: 3;
}
.mpps-badge--rx ~ .mpps-wishlist { top: 44px; }
.mpps-wishlist:hover,
.mpps-wishlist.is-active { color: #ef4444; transform: scale(1.08); }
.mpps-wishlist.is-active svg { fill: #ef4444; stroke: #ef4444; }

.mpps-product__body {
    padding: 14px 16px;
    display: flex; flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
}
.mpps-product__brand {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--mpps-muted);
    font-weight: 600;
}
.mpps-product__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mpps-text);
    margin: 2px 0 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}
.mpps-product__pack {
    font-size: 12px;
    color: var(--mpps-muted);
    margin: 0;
}
.mpps-product__rating {
    display: flex; align-items: center; gap: 6px;
    margin: 4px 0;
}
.mpps-stars {
    display: inline-flex; gap: 1px;
    color: #e2e8f0;
    line-height: 1;
}
.mpps-stars span { display: inline-flex; }
.mpps-stars span.on { color: #f59e0b; }
.mpps-rating-count { font-size: 11.5px; color: var(--mpps-muted); }
.mpps-stars-muted { font-size: 11.5px; color: var(--mpps-muted); font-style: italic; }

.mpps-product__price {
    display: flex; align-items: baseline; gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    flex-wrap: wrap;
}
.mpps-price-now {
    font-size: 16px; font-weight: 700;
    color: var(--mpps-text);
}
.mpps-price-was {
    font-size: 12.5px; color: var(--mpps-muted);
    text-decoration: line-through;
}
.mpps-price-off {
    font-size: 11px;
    color: #fff;
    background: #16a34a;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.mpps-savings {
    font-size: 11.5px;
    color: var(--mpps-primary-dark);
    font-weight: 600;
    margin-top: 2px;
}

.mpps-product__footer {
    padding: 10px 14px 14px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.mpps-product__footer .mpps-add-to-cart,
.mpps-product__footer .added_to_cart {
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    background: var(--mpps-primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px; font-weight: 600;
    transition: background .2s, transform .15s;
    border: 0;
    text-align: center;
}
.mpps-product__footer .mpps-add-to-cart:hover { background: var(--mpps-primary-dark); transform: translateY(-1px); }
.mpps-product__footer .added_to_cart { background: #059669; margin-top: 6px; }
.mpps-oos {
    display: block; text-align: center;
    color: #94a3b8; font-size: 13px; font-weight: 500;
    padding: 10px;
}

.mpps-product--rx { border-color: #ddd6fe; }
.mpps-product--rx:hover { border-color: #a78bfa; }

/* ========================================================================
   FEATURES SECTION
   ======================================================================== */
.mpps-features {
    background: #fff;
    padding: 32px 0;
    border-top: 1px solid var(--mpps-border);
    margin-top: 24px;
}
.mpps-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mpps-feature {
    display: flex; flex-direction: column; gap: 8px;
    padding: 20px;
    border-radius: var(--mpps-radius);
    border: 1px solid var(--mpps-border);
    transition: transform .25s, box-shadow .25s;
}
.mpps-feature:hover { transform: translateY(-3px); box-shadow: var(--mpps-shadow); }
.mpps-feature__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: #fff;
    margin-bottom: 4px;
}
.mpps-feature__icon--green { background: linear-gradient(135deg,#16a34a,#22c55e); }
.mpps-feature__icon--blue { background: linear-gradient(135deg,#0ea5e9,#3b82f6); }
.mpps-feature__icon--orange { background: linear-gradient(135deg,#f97316,#fb923c); }
.mpps-feature__icon--purple { background: linear-gradient(135deg,#8b5cf6,#a855f7); }
.mpps-feature h4 {
    font-size: 15px; font-weight: 700;
    color: var(--mpps-text);
}
.mpps-feature p {
    font-size: 13px; color: var(--mpps-muted);
    line-height: 1.5;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.mpps-footer {
    background: linear-gradient(180deg, #064e3b, #022c22);
    color: #d1fae5;
    padding-top: 40px;
    position: relative;
    z-index: 1;
    clear: both;
}
.mpps-footer a { color: #d1fae5; transition: color .2s; }
.mpps-footer a:hover { color: #fff; }
.mpps-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 32px;
}
.mpps-footer__col h5 {
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin: 0 0 14px;
    font-weight: 700;
}
.mpps-footer__col > p {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 12px 0 16px;
    color: #a7f3d0;
}
.mpps-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.mpps-footer__col ul a { font-size: 13.5px; }
.mpps-contact li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13.5px;
    color: #a7f3d0;
}
.mpps-contact svg { flex-shrink: 0; margin-top: 2px; color: #4ade80; }
.mpps-social { display: flex; gap: 8px; }
.mpps-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    transition: background .2s, transform .2s;
}
.mpps-social a:hover { background: var(--mpps-primary); transform: translateY(-2px); }

.mpps-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
    font-size: 12.5px;
}
.mpps-footer__bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.mpps-footer__bottom p { margin: 0; color: #a7f3d0; }
.mpps-footer__bottom ul { display: flex; gap: 20px; }
.mpps-footer__bottom ul a { color: #a7f3d0; }

/* ========================================================================
   EMPTY STATE
   ======================================================================== */
.mpps-empty {
    background: #fff;
    border: 1px solid var(--mpps-border);
    border-radius: var(--mpps-radius);
    padding: 48px 24px;
    text-align: center;
}
.mpps-empty h2 { font-size: 22px; margin: 0 0 8px; font-weight: 700; }
.mpps-empty p { color: var(--mpps-muted); margin: 0 0 20px; font-size: 14px; }

/* ========================================================================
   PAGINATION
   ======================================================================== */
.mpps-page .woocommerce-pagination {
    margin-top: 32px;
    text-align: center;
}
.mpps-page .woocommerce-pagination ul.page-numbers {
    display: inline-flex; gap: 6px;
    padding: 0;
    margin: 0;
}
.mpps-page .woocommerce-pagination a,
.mpps-page .woocommerce-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--mpps-border);
    font-size: 13.5px; font-weight: 500;
    color: var(--mpps-text);
    transition: all .2s;
}
.mpps-page .woocommerce-pagination a:hover {
    border-color: var(--mpps-primary);
    color: var(--mpps-primary-dark);
}
.mpps-page .woocommerce-pagination span.current {
    background: var(--mpps-primary);
    border-color: var(--mpps-primary);
    color: #fff;
}

/* ========================================================================
   RESPONSIVE — TABLET
   ======================================================================== */
@media (max-width: 1200px) {
    .mpps-products { grid-template-columns: repeat(3, 1fr); }
    .mpps-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ========================================================================
   RESPONSIVE — SMALL TABLET / LARGE MOBILE
   ======================================================================== */
@media (max-width: 992px) {
    .mpps-main__grid { grid-template-columns: 1fr; }
    .mpps-products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mpps-features__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .mpps-sidebar {
        position: fixed;
        top: 0; left: 0;
        width: 320px; max-width: 85%;
        height: 100vh;
        background: var(--mpps-bg);
        z-index: 100;
        transform: translateX(-100%);
        transition: transform .3s ease;
        padding: 20px 16px;
        overflow-y: auto;
        max-height: 100vh;
        border-radius: 0;
    }
    .mpps-sidebar.is-open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.15); }

    .mpps-card { padding: 14px 16px; }
    .mpps-card__head { cursor: pointer; }
    .mpps-card__head:after {
        content: '+';
        font-size: 20px; font-weight: 400;
        color: var(--mpps-muted);
        transition: transform .2s;
    }
    .mpps-card.is-expanded .mpps-card__head:after { transform: rotate(45deg); }
    .mpps-card > *:not(.mpps-card__head) { display: none; }
    .mpps-card.is-expanded > *,
    .mpps-card--rx > * { display: block; }
    .mpps-card.is-expanded > .mpps-card__head,
    .mpps-card--rx > .mpps-card__head { display: flex; }

    .mpps-filter-toggle { display: inline-flex; }
}

/* ========================================================================
   RESPONSIVE — MOBILE
   ======================================================================== */
@media (max-width: 640px) {
    .mpps-products { grid-template-columns: 1fr; gap: 14px; }
    .mpps-product { min-height: auto; }
    .mpps-product__media { height: 200px; }
    .mpps-features__grid { grid-template-columns: 1fr; }
    .mpps-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .mpps-hero__inner { padding-top: 16px; padding-bottom: 16px; }
    .mpps-footer__bottom-inner { text-align: center; flex-direction: column; }
    .mpps-topbar__right { display: none; }
    .mpps-topbar__inner { justify-content: center; }
    .mpps-main { padding: 16px 0; }
    .mpps-container { padding: 0 16px; }
    .mpps-features { padding: 24px 0; }
}

/* Backdrop for mobile drawer */
body.mpps-sidebar-open:before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(15,23,42,.45);
    z-index: 99;
    cursor: pointer;
}

/* Ensure no theme content leaks */
.mpps-page .woocommerce-result-count { display: none !important; }
.mpps-page ul.products { display: none !important; }
