/*
Theme Name: Muvigo MASmed Modern
Theme URI: https://muvigo.co.za/
Author: Muvigo Website Project
Description: Compact medical equipment homepage design with WooCommerce compatibility. Install on staging and test before activation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: muvigo-masmed
*/

:root{--navy:#102e46;--deep:#092238;--blue:#147bb0;--teal:#14a6a3;--ink:#20384b;--muted:#667d8d;--bg:#f4f8fa}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.wrap{max-width:1200px;margin:auto;padding:0 26px}.top{background:#092238;color:#dceaf2;font-size:12px}.top .wrap{display:flex;justify-content:space-between;gap:16px;padding-top:11px;padding-bottom:11px}.top a{color:#dceaf2}header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #e7edf1;box-shadow:0 5px 18px #0c30410a}.nav{display:flex;align-items:center;gap:24px;min-height:83px}.logo{font-weight:900;font-size:27px;letter-spacing:-1.2px;color:var(--navy)}.logo b{color:var(--blue)}.logo small{display:block;font-size:17px;font-weight:900;letter-spacing:1.3px;color:#087eaa;margin-top:3px;line-height:1.15}.logo small::before{content:"";display:inline-block;width:21px;height:4px;border-radius:4px;background:#14a6a3;vertical-align:middle;margin-right:8px}.links{display:flex;gap:24px;margin-left:auto;align-items:center;font-size:14px;font-weight:650}.links a:hover{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:7px;background:var(--teal);color:#fff;font-weight:750;font-size:14px;border:0;cursor:pointer;transition:transform .15s}.btn:hover{transform:translateY(-2px)}.btn.secondary{background:#fff;color:var(--navy)}.btn.outline{border:1px solid #c7d9e3;background:#fff;color:var(--navy)}.hero{background:linear-gradient(115deg,#09263d 0%,#0b3654 58%,#126c8d 100%);color:white;overflow:hidden}.hero .wrap{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;min-height:535px;gap:25px}.eyebrow{color:#7ee2dd;text-transform:uppercase;letter-spacing:2.3px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(38px,5.2vw,67px);line-height:1.07;letter-spacing:-2.5px;margin:22px 0}.hero h1 em{font-style:normal;color:#6cdbd8}.hero p{color:#d5e5ee;font-size:17px;line-height:1.75;max-width:565px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:29px 0}.hero-visual{position:relative;height:420px;display:flex;align-items:center;justify-content:center}.halo{position:absolute;width:390px;height:390px;border-radius:50%;background:radial-gradient(circle,#ffffff35,#ffffff04 65%);border:1px solid #ffffff27}.equipment{width:min(100%,450px);position:relative;filter:drop-shadow(0 22px 22px #001b2a70)}.hero-note{position:absolute;bottom:20px;right:0;background:#ffffffee;color:var(--navy);padding:15px 19px;border-radius:12px;box-shadow:0 10px 30px #0018;font-weight:800;font-size:13px}.hero-note span{display:block;font-size:11px;color:#6c8290;font-weight:500;margin-top:4px}.trust{background:#eaf4f6;border-bottom:1px solid #d7e8ed}.trust .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-top:22px;padding-bottom:22px}.trust article{display:flex;gap:12px;align-items:center;font-size:13px;font-weight:700}.trust .symbol{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#d0ebec;color:#087f89;font-size:20px}.section{padding:78px 0}.section.alt{background:var(--bg)}.kicker{color:#168e9a;font-size:12px;font-weight:850;letter-spacing:2px;text-transform:uppercase}.section h2{font-size:clamp(29px,3.5vw,42px);letter-spacing:-1.4px;margin:10px 0 12px;color:var(--navy)}.lead{color:var(--muted);line-height:1.7;max-width:660px;margin-bottom:31px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.textlink{font-size:14px;font-weight:800;color:var(--blue)}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.category{border:1px solid #e3edf2;border-radius:13px;background:#fff;overflow:hidden;transition:transform .2s,box-shadow .2s}.category:hover{transform:translateY(-4px);box-shadow:0 15px 35px #123c5018}.category-art{height:170px;background:linear-gradient(135deg,#eaf6fa,#f5f8fa);display:flex;justify-content:center;align-items:center}.category-art svg{width:70%;height:130px}.category-body{padding:21px 22px 23px}.category-body h3{margin:0 0 8px;color:var(--navy);font-size:17px}.category-body p{font-size:13px;line-height:1.55;color:var(--muted);min-height:40px}.category-body a{color:var(--blue);font-size:13px;font-weight:800}.featured{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{background:#fff;border:1px solid #e2ebef;border-radius:12px;padding:24px}.product .tag{display:inline-block;background:#e5f7f5;color:#087d7b;padding:7px 9px;border-radius:5px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.product h3{color:var(--navy);font-size:17px;line-height:1.45;min-height:75px}.product p{font-size:13px;color:var(--muted);line-height:1.6}.product .price{font-size:22px;font-weight:850;color:#0e526e;margin:15px 0}.product a{font-size:13px;font-weight:800;color:var(--blue)}.cta{background:linear-gradient(110deg,#0d344e,#0e6579);color:#fff;border-radius:20px;padding:52px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{color:#fff;margin:0 0 13px}.cta p{color:#d1e5ed;max-width:650px;line-height:1.7}.about{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.about-graphic{min-height:330px;border-radius:20px;background:linear-gradient(140deg,#e4f4f7,#cce8f0);padding:36px;display:flex;align-items:center;justify-content:center}.about-graphic svg{max-width:360px;width:100%}.about p{color:var(--muted);line-height:1.8}.contact{background:var(--deep);color:#cbdce5;padding:48px 0}.contact .wrap{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:45px}.contact h3{color:#fff}.contact p{font-size:13px;line-height:1.8}.contact a{color:#d5eff4}.bottom{background:#061b2b;color:#9db2c0;padding:18px 0;font-size:12px}.bottom .wrap{display:flex;justify-content:space-between;gap:15px}.search{display:flex;align-items:center;gap:7px;border:1px solid #dbe8ed;border-radius:7px;padding:9px 12px;margin-left:10px}.search input{border:0;outline:0;max-width:150px}.mobile{display:none}@media(max-width:900px){.links{gap:13px;font-size:12px}.search{display:none}.hero .wrap{grid-template-columns:1fr 1fr}.categories{grid-template-columns:repeat(2,1fr)}.featured{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.top .wrap{display:block;line-height:1.8}.nav{min-height:70px}.links{display:none}.mobile{display:block;margin-left:auto}.hero .wrap{grid-template-columns:1fr;padding-top:52px;padding-bottom:25px}.hero-visual{height:260px}.halo{width:250px;height:250px}.equipment{max-width:320px}.hero-note{right:12px;bottom:0}.hero h1{letter-spacing:-1.5px}.trust .wrap{grid-template-columns:1fr;gap:9px}.section{padding:55px 0}.section-head{display:block}.categories,.featured,.about,.contact .wrap{grid-template-columns:1fr}.cta{padding:32px 24px;display:block}.cta .btn{margin-top:15px}.bottom .wrap{display:block}.category-art{height:150px}}


/* Final review additions */
.review-banner{background:#e8f5f7;color:#17485d;text-align:center;padding:11px 18px;font:600 13px Arial,sans-serif;border-bottom:1px solid #c7e3ea}.review-banner strong{color:#0b657d}
.extra{padding:75px 0;background:#fff}.extra.soft{background:#f4f8fa}.extra h2{font-size:clamp(27px,3vw,39px);color:#102e46;margin:10px 0 15px}.extra p{color:#62798b;line-height:1.7}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}.benefit{padding:28px;background:#fff;border:1px solid #e2ebef;border-radius:16px;box-shadow:0 8px 24px #102e460a}.benefit b{display:block;color:#173c55;font-size:19px;margin:12px 0}.benefit .symbol{font-size:30px;color:#138ba5}.faq{max-width:850px;margin:auto}.faq details{background:white;border:1px solid #dbe7ec;border-radius:12px;padding:18px 22px;margin:12px 0}.faq summary{font-weight:700;color:#173c55;cursor:pointer}.faq details p{margin-bottom:0}.contact-panel{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.contact-panel .info{background:#102e46;color:white;border-radius:18px;padding:32px}.contact-panel .info h3,.contact-panel .info p{color:white}.contact-panel form{display:grid;gap:12px}.contact-panel label{display:grid;gap:6px;font-weight:600;color:#173c55;font-size:14px}.contact-panel input,.contact-panel select,.contact-panel textarea{border:1px solid #cadbe3;border-radius:8px;padding:13px;font:inherit;background:white;width:100%}.contact-panel button{border:0;border-radius:8px;padding:14px 20px;background:#147bb0;color:white;font-weight:700;cursor:pointer}.contact-panel .fine{font-size:12px}.tiny{font-size:12px;color:#738798}.eyebrow2{font-weight:700;color:#1388a3;text-transform:uppercase;letter-spacing:.12em;font-size:12px}
@media(max-width:720px){.benefits,.contact-panel{grid-template-columns:1fr}.extra{padding:48px 0}}


/* Compact executive homepage */
.hero{padding:54px 0 48px!important;min-height:0!important}
.hero .wrap{min-height:0!important}
.hero h1{font-size:clamp(2.2rem,4.1vw,3.7rem)!important;line-height:1.12!important}
.hero p{max-width:590px!important}
.hero .actions{margin-top:22px!important}
.section{padding:48px 0!important}
.section-head{margin-bottom:22px!important}
.categories{gap:15px!important}
.category-art{height:125px!important;min-height:0!important}
.category-art svg{max-height:115px!important}
.category-body{padding:16px!important}
.category-body p{font-size:.88rem!important}
.about-graphic{max-height:210px;overflow:hidden}
.about-graphic svg{max-height:210px}
.trust-strip{background:#eaf4f8;color:#28516a;text-align:center;padding:15px 12px;font-size:.88rem;font-weight:650;letter-spacing:.01em}
footer .contact{padding:32px 0!important}
footer .bottom{padding:13px 0!important}
@media(max-width:760px){.hero{padding:32px 0!important}.hero-visual{display:none!important}.section{padding:34px 0!important}.about-graphic{display:none!important}.trust-strip{font-size:.75rem}.hero .actions{display:flex;flex-wrap:wrap;gap:10px}}

/* WordPress integration */ .review-banner{display:none!important} .wp-content{padding:48px 0;min-height:45vh}.wp-content h1{color:#103752;margin-bottom:20px}.woocommerce .products{margin-top:24px} .woocommerce a.button,.woocommerce button.button{background:#126b96;color:white;border-radius:5px} .woocommerce-page main{display:block} .screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}
/* Muvigo mobile navigation */
.muvigo-mobile-menu[hidden] {
    display: none !important;
}

.muvigo-mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(300px, 90vw);
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    z-index: 9999;
}

.muvigo-mobile-menu a {
    display: block;
    padding: 12px;
    color: #102e46;
    text-decoration: none;
    font-weight: 600;
}

.muvigo-mobile-menu a:hover {
    background: #eaf4f8;
}

#muvigo-menu-toggle {
    cursor: pointer;
    border: 0;
    background: transparent;
    font-size: 24px;
}/* Single product: image and summary above full-width details */
body.single-product div.product.type-product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product div.product.type-product::before,
body.single-product div.product.type-product::after {
  display: none !important;
}

body.single-product div.product.type-product > * {
  min-width: 0;
}

body.single-product div.product.type-product > .images,
body.single-product div.product.type-product > .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.single-product div.product.type-product > .images {
  grid-column: 1;
}

body.single-product div.product.type-product > .summary {
  grid-column: 2;
}

body.single-product .woocommerce-product-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: contain;
}

body.single-product .summary .product_title {
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.2 !important;
}

body.single-product .summary p,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li {
  font-size: 15px !important;
  line-height: 1.7 !important;
}

body.single-product div.product.type-product > .woocommerce-tabs,
body.single-product div.product.type-product > .related,
body.single-product div.product.type-product > .upsells {
  grid-column: 1 / -1 !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
}

body.single-product .product_meta {
  overflow-wrap: anywhere;
}

body.single-product .related ul.products,
body.single-product .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after,
body.single-product .upsells ul.products::before,
body.single-product .upsells ul.products::after {
  display: none !important;
}

body.single-product .related ul.products li.product,
body.single-product .upsells ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
}

@media (max-width: 700px) {
  body.single-product div.product.type-product {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body.single-product div.product.type-product > .images,
  body.single-product div.product.type-product > .summary {
    grid-column: 1 !important;
  }

  body.single-product .related ul.products,
  body.single-product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}/* Shop and category product grids */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
}

body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after {
  display: none !important;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  min-width: 0;
}

@media (max-width: 700px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: 1fr;
  }
}.muvigo-header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 12px;
  border: 1px solid #14a6a3;
  border-radius: 7px;
  color: #102e46;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .muvigo-header-cart {
    margin-left: auto;
  }

  .nav > .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  #muvigo-menu-toggle {
    margin-left: 0;
  }
}