:root{
  --mhi-vibra-brand:#00439f;
  --mhi-vibra-brand-dark:#00347c;
  --mhi-vibra-brand-soft:#eaf2ff;
  --mhi-vibra-line:rgba(15,23,42,.10);
  --mhi-vibra-brand-line:rgba(0,67,159,.18);
  --mhi-vibra-text:#0f172a;
  --mhi-vibra-muted:#64748b;
  --mhi-vibra-shadow:0 10px 26px rgba(15,23,42,.06);
}

.mhi-vibra-products,
.mhi-vibra-detail{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--mhi-vibra-text);
}

.mhi-vibra-page-wrap{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:18px 14px;
}

/* Product listing */
.mhi-vibra-grid{
  display:grid;
  grid-template-columns:repeat(var(--mhi-vibra-cols,3),minmax(0,1fr));
  gap:14px;
}

.mhi-vibra-card{
  background:#fff;
  border:1px solid var(--mhi-vibra-line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--mhi-vibra-shadow);
  display:flex;
  flex-direction:column;
  min-width:0;
}

.mhi-vibra-img{
  display:block;
  aspect-ratio:4/3;
  background:#f8fafc;
  overflow:hidden;
}

.mhi-vibra-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:12px;
}

.mhi-vibra-card-body{padding:14px}

.mhi-vibra-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--mhi-vibra-brand-line);
  background:var(--mhi-vibra-brand-soft);
  color:var(--mhi-vibra-brand);
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
  line-height:1;
}

.mhi-vibra-chip:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--mhi-vibra-brand);
}

.mhi-vibra-card h3{
  font-size:17px;
  line-height:1.2;
  margin:10px 0 6px;
  letter-spacing:-.02em;
}

.mhi-vibra-card h3 a,
.mhi-vibra-table a,
.mhi-vibra-compact-title a{
  text-decoration:none;
  color:inherit;
}

.mhi-vibra-card p{
  font-size:13px;
  line-height:1.45;
  color:#334155;
  margin:0 0 10px;
}

.mhi-vibra-spec{
  display:inline-flex;
  background:#f8fafc;
  border:1px solid var(--mhi-vibra-line);
  border-radius:10px;
  padding:6px 8px;
  font-size:12px;
  color:#334155;
}

.mhi-vibra-price{
  font-size:18px;
  font-weight:950;
  margin-top:10px;
  color:var(--mhi-vibra-brand);
}

.mhi-vibra-actions{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.mhi-vibra-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--mhi-vibra-brand);
  color:#fff!important;
  text-decoration:none!important;
  padding:9px 13px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--mhi-vibra-brand);
  transition:.18s ease;
}

.mhi-vibra-btn:hover{
  background:var(--mhi-vibra-brand-dark);
  border-color:var(--mhi-vibra-brand-dark);
  color:#fff!important;
}

/* Compact list */
.mhi-vibra-compact{display:grid;gap:8px}

.mhi-vibra-compact-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  background:#fff;
  border:1px solid var(--mhi-vibra-line);
  border-radius:14px;
  padding:10px 12px;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.mhi-vibra-compact-title{
  font-size:13px;
  font-weight:900;
  line-height:1.2;
}

.mhi-vibra-compact-spec{
  font-size:12px;
  color:#334155;
  margin-top:3px;
}

.mhi-vibra-compact-side{
  text-align:right;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:5px;
}

.mhi-vibra-compact-side span{
  display:inline-flex;
  border-radius:999px;
  background:var(--mhi-vibra-brand-soft);
  border:1px solid var(--mhi-vibra-brand-line);
  color:var(--mhi-vibra-brand);
  font-size:10px;
  font-weight:900;
  padding:3px 6px;
}

.mhi-vibra-compact-side strong{
  font-size:12px;
  white-space:nowrap;
  color:var(--mhi-vibra-brand);
}

/* Table */
.mhi-vibra-table-wrap{
  overflow:auto;
  border:1px solid var(--mhi-vibra-line);
  border-radius:16px;
  background:#fff;
}

.mhi-vibra-table{
  width:100%;
  border-collapse:collapse;
  min-width:740px;
}

.mhi-vibra-table th{
  font-size:11px;
  text-transform:uppercase;
  color:var(--mhi-vibra-muted);
  text-align:left;
  background:#f8fafc;
  padding:10px;
  border-bottom:1px solid var(--mhi-vibra-line);
}

.mhi-vibra-table td{
  font-size:13px;
  padding:10px;
  border-bottom:1px solid rgba(15,23,42,.07);
  vertical-align:middle;
}

.mhi-vibra-table a{
  font-weight:800;
  color:var(--mhi-vibra-text);
}

/* Product detail: sidebar-friendly, VIBRA blue tone */
.mhi-vibra-detail{
  width:100%;
  max-width:100%;
  display:grid;
  grid-template-columns:minmax(210px,34%) minmax(0,1fr);
  gap:22px;
  align-items:start;
  background:#fff;
  border:1px solid var(--mhi-vibra-line);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--mhi-vibra-shadow);
  overflow:hidden;
}

.mhi-vibra-detail-no-image{
  grid-template-columns:1fr;
}

.mhi-vibra-detail-img{
  background:#f6f9ff;
  border:1px solid var(--mhi-vibra-line);
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:260px;
  max-height:420px;
  overflow:hidden;
}

.mhi-vibra-detail-img img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
  display:block;
}

.mhi-vibra-detail-content{
  min-width:0;
}

.mhi-vibra-detail h1{
  font-size:clamp(26px,3vw,42px);
  line-height:1.12;
  margin:14px 0 10px;
  letter-spacing:-.04em;
  color:#1f2937;
}

.mhi-vibra-lead{
  font-size:14px;
  line-height:1.6;
  color:#334155;
  margin:0;
}

.mhi-vibra-detail-price{
  display:inline-flex;
  margin-top:14px;
  background:var(--mhi-vibra-brand-soft);
  border:1px solid var(--mhi-vibra-brand-line);
  color:var(--mhi-vibra-brand);
  border-radius:999px;
  padding:9px 13px;
  font-size:18px;
  font-weight:950;
  line-height:1;
}

.mhi-vibra-desc,
.mhi-vibra-specbox{
  margin-top:18px;
}

.mhi-vibra-desc h2,
.mhi-vibra-specbox h2{
  font-size:18px;
  margin:0 0 8px;
  color:#334155;
}

.mhi-vibra-desc p{
  font-size:14px;
  line-height:1.65;
  color:#334155;
  margin:0;
}

.mhi-vibra-specbox dl{
  display:grid;
  grid-template-columns:150px 1fr;
  border:1px solid var(--mhi-vibra-line);
  border-radius:14px;
  overflow:hidden;
  margin:0;
}

.mhi-vibra-specbox dt,
.mhi-vibra-specbox dd{
  padding:9px 11px;
  border-bottom:1px solid rgba(15,23,42,.06);
  margin:0;
  font-size:13px;
}

.mhi-vibra-specbox dt{
  background:#f6f9ff;
  font-weight:900;
  color:#334155;
  text-transform:uppercase;
  font-size:12px;
}

.mhi-vibra-empty{
  padding:16px;
  border:1px solid var(--mhi-vibra-line);
  border-radius:14px;
  background:#fff;
  color:var(--mhi-vibra-muted);
}

/* If theme content area is narrow because of Flatsome side menu/sidebar */
@media(max-width:1100px){
  .mhi-vibra-detail{
    grid-template-columns:1fr;
    gap:16px;
  }

  .mhi-vibra-detail-img{
    min-height:220px;
    max-height:320px;
  }

  .mhi-vibra-detail-img img{
    max-height:320px;
  }
}

@media(max-width:900px){
  .mhi-vibra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
  .mhi-vibra-page-wrap{padding:12px 10px}
  .mhi-vibra-grid{grid-template-columns:1fr;gap:9px}
  .mhi-vibra-card{border-radius:14px}
  .mhi-vibra-img{display:none}
  .mhi-vibra-card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:10px}
  .mhi-vibra-chip{grid-column:2;grid-row:2;justify-self:end;padding:3px 7px;font-size:9px}
  .mhi-vibra-card h3{grid-column:1;grid-row:1;font-size:13px;margin:0}
  .mhi-vibra-card p{grid-column:1/-1;font-size:11.5px;line-height:1.32;margin:3px 0}
  .mhi-vibra-spec{grid-column:1;font-size:11px;padding:0;border:0;background:transparent}
  .mhi-vibra-price{grid-column:2;grid-row:1;margin:0;font-size:11px;background:var(--mhi-vibra-brand-soft);border:1px solid var(--mhi-vibra-brand-line);border-radius:999px;padding:4px 7px;color:var(--mhi-vibra-brand);white-space:nowrap}
  .mhi-vibra-actions{grid-column:1/-1;margin-top:5px}
  .mhi-vibra-btn{padding:7px 10px;font-size:11px}
  .mhi-vibra-compact-card{padding:8px 9px}
  .mhi-vibra-detail{border-radius:16px;padding:13px;gap:12px}
  .mhi-vibra-detail-img{min-height:170px;max-height:230px}
  .mhi-vibra-detail-img img{max-height:230px}
  .mhi-vibra-detail h1{font-size:24px;margin-top:10px}
  .mhi-vibra-lead{font-size:13px;line-height:1.5}
  .mhi-vibra-detail-price{font-size:15px;padding:8px 11px}
  .mhi-vibra-desc h2,.mhi-vibra-specbox h2{font-size:16px}
  .mhi-vibra-desc p{font-size:13px;line-height:1.55}
  .mhi-vibra-specbox dl{grid-template-columns:1fr}
  .mhi-vibra-specbox dt{border-bottom:0;padding-bottom:3px}
  .mhi-vibra-specbox dd{padding-top:0}
}

/* v1.0.2 - Flatsome vertical header/sidebar compatibility */
.mhi-vibra-flatsome-wrapper{
  width:100%;
  max-width:100%;
  padding-top:18px;
  padding-bottom:28px;
}

.mhi-vibra-flatsome-wrapper .row-main{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

.mhi-vibra-flatsome-wrapper .col-inner{
  width:100%;
}

.mhi-vibra-virtual-page{
  width:100%;
  max-width:100%;
}

.mhi-vibra-page-wrap{
  max-width:100%;
  padding:0;
}

/* Detail product: more adaptive inside Flatsome content column */
.mhi-vibra-detail-sidebar-friendly{
  grid-template-columns:minmax(180px,280px) minmax(0,1fr);
  gap:22px;
  padding:18px;
  border-radius:18px;
}

.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
  min-height:0;
  height:auto;
  max-height:none;
  aspect-ratio:1/1;
}

.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:contain;
  padding:10px;
  background:#f6f9ff;
}

.mhi-vibra-detail-sidebar-friendly h1{
  font-size:clamp(28px,3.1vw,42px);
}

/* When Flatsome has a left vertical header, the remaining content column is narrower than viewport. */
@media(max-width:1250px){
  .mhi-vibra-detail-sidebar-friendly{
    grid-template-columns:minmax(160px,240px) minmax(0,1fr);
    gap:18px;
  }
  .mhi-vibra-detail-sidebar-friendly h1{
    font-size:clamp(25px,2.8vw,36px);
  }
}

@media(max-width:980px){
  .mhi-vibra-detail-sidebar-friendly{
    grid-template-columns:1fr;
  }
  .mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
    max-width:360px;
    aspect-ratio:4/3;
  }
}

@media(max-width:640px){
  .mhi-vibra-flatsome-wrapper{
    padding-top:12px;
  }
  .mhi-vibra-flatsome-wrapper .large-12.col{
    padding-left:10px;
    padding-right:10px;
  }
  .mhi-vibra-detail-sidebar-friendly{
    padding:12px;
    gap:10px;
    border-radius:15px;
  }
  .mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
    max-width:100%;
    aspect-ratio:4/3;
  }
}

/* v1.0.3 - Virtual product page alignment for Flatsome vertical header */
body.mhi-vibra-virtual-product .featured-title,
body.mhi-vibra-virtual-product .page-title,
body.mhi-vibra-virtual-product .page-header,
body.mhi-vibra-virtual-product .entry-header,
body.mhi-vibra-virtual-product .shop-page-title,
body.mhi-vibra-virtual-product .woocommerce-products-header,
body.mhi-vibra-virtual-product .ux-page-title{
  display:none!important;
}

.mhi-vibra-flatsome-wrapper{
  width:100%;
  max-width:100%;
  margin:0;
  padding:18px clamp(14px,2.2vw,28px) 32px;
}

.mhi-vibra-virtual-page{
  width:100%;
  max-width:1080px;
  margin:0;
}

.mhi-vibra-page-wrap{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}

.mhi-vibra-detail-sidebar-friendly{
  width:100%;
  max-width:100%;
  grid-template-columns:minmax(160px,260px) minmax(0,1fr);
  gap:20px;
  padding:17px;
}

.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
  max-width:260px;
  width:100%;
  justify-self:start;
}

.mhi-vibra-detail-sidebar-friendly h1{
  font-size:clamp(25px,2.55vw,38px);
}

@media(max-width:1180px){
  .mhi-vibra-flatsome-wrapper{
    padding-left:16px;
    padding-right:16px;
  }
  .mhi-vibra-detail-sidebar-friendly{
    grid-template-columns:minmax(145px,220px) minmax(0,1fr);
    gap:17px;
  }
  .mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
    max-width:220px;
  }
  .mhi-vibra-detail-sidebar-friendly h1{
    font-size:clamp(24px,2.35vw,34px);
  }
}

@media(max-width:820px){
  .mhi-vibra-detail-sidebar-friendly{
    grid-template-columns:1fr;
  }
  .mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
    max-width:320px;
    aspect-ratio:4/3;
  }
}

@media(max-width:640px){
  .mhi-vibra-flatsome-wrapper{
    padding:12px 10px 24px;
  }
  .mhi-vibra-virtual-page{
    max-width:100%;
  }
  .mhi-vibra-detail-sidebar-friendly{
    padding:12px;
  }
}

/* v1.0.6 - Product FAQ section */
.mhi-vibra-faq{
  margin-top:20px;
}

.mhi-vibra-faq h2{
  font-size:18px;
  margin:0 0 10px;
  color:#334155;
}

.mhi-vibra-faq-list{
  display:grid;
  gap:8px;
}

.mhi-vibra-faq-item{
  border:1px solid var(--mhi-vibra-line);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.mhi-vibra-faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:12px 14px;
  font-size:13px;
  line-height:1.35;
  font-weight:900;
  color:#172033;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.mhi-vibra-faq-item summary::-webkit-details-marker{
  display:none;
}

.mhi-vibra-faq-item summary:after{
  content:"+";
  display:inline-flex;
  width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--mhi-vibra-brand-soft);
  color:var(--mhi-vibra-brand);
  border:1px solid var(--mhi-vibra-brand-line);
  flex:0 0 auto;
  font-weight:950;
}

.mhi-vibra-faq-item[open] summary{
  background:#f6f9ff;
  border-bottom:1px solid rgba(15,23,42,.07);
}

.mhi-vibra-faq-item[open] summary:after{
  content:"–";
}

.mhi-vibra-faq-answer{
  padding:10px 14px 13px;
  color:#334155;
  font-size:13.5px;
  line-height:1.6;
}

.mhi-vibra-faq-answer p{
  margin:0;
}

@media(max-width:640px){
  .mhi-vibra-faq{
    margin-top:16px;
  }
  .mhi-vibra-faq h2{
    font-size:16px;
  }
  .mhi-vibra-faq-item summary{
    padding:10px 11px;
    font-size:12.5px;
  }
  .mhi-vibra-faq-answer{
    padding:9px 11px 11px;
    font-size:12.5px;
    line-height:1.5;
  }
}

/* v1.0.13: Offer note below detail price */
.mhi-vibra-offer-note{
  margin-top:8px;
  font-size:13.5px;
  line-height:1.45;
  color:#334155;
  font-weight:600;
}

@media(max-width:640px){
  .mhi-vibra-offer-note{
    margin-top:7px;
    font-size:12.5px;
  }
}

/* v1.0.14: Detail image 4:3, visible breadcrumb, related products */
.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img,
.mhi-vibra-detail-img{
  aspect-ratio:4/3;
  min-height:0;
  height:auto;
  max-height:none;
}

.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img img,
.mhi-vibra-detail-img img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:contain;
  padding:10px;
  background:#f6f9ff;
}

.mhi-vibra-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 12px;
  color:var(--mhi-vibra-muted);
  font-size:12px;
  line-height:1.35;
}

.mhi-vibra-breadcrumb a{
  color:var(--mhi-vibra-brand);
  text-decoration:none;
  font-weight:800;
}

.mhi-vibra-breadcrumb a:hover{
  text-decoration:underline;
}

.mhi-vibra-breadcrumb span{
  color:#94a3b8;
}

.mhi-vibra-breadcrumb strong{
  color:#334155;
  font-weight:900;
}

.mhi-vibra-related{
  margin-top:22px;
}

.mhi-vibra-related-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom:10px;
}

.mhi-vibra-related h2{
  font-size:18px;
  margin:0;
  color:#334155;
}

.mhi-vibra-related p{
  margin:0;
  color:var(--mhi-vibra-muted);
  font-size:12.5px;
  line-height:1.4;
}

.mhi-vibra-related-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.mhi-vibra-related-card{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:10px;
  align-items:center;
  text-decoration:none!important;
  color:inherit;
  background:#fff;
  border:1px solid var(--mhi-vibra-line);
  border-radius:14px;
  padding:8px;
  transition:.18s ease;
}

.mhi-vibra-related-card:hover{
  border-color:var(--mhi-vibra-brand-line);
  box-shadow:0 8px 18px rgba(15,23,42,.06);
  transform:translateY(-1px);
}

.mhi-vibra-related-img{
  display:block;
  aspect-ratio:4/3;
  border-radius:10px;
  background:#f6f9ff;
  border:1px solid rgba(15,23,42,.07);
  overflow:hidden;
}

.mhi-vibra-related-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:5px;
  display:block;
}

.mhi-vibra-related-info{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.mhi-vibra-related-info strong{
  color:var(--mhi-vibra-text);
  font-size:13px;
  line-height:1.2;
  font-weight:950;
}

.mhi-vibra-related-info small{
  color:#475569;
  font-size:11.5px;
  line-height:1.25;
}

.mhi-vibra-related-info em{
  color:var(--mhi-vibra-brand);
  font-style:normal;
  font-size:12px;
  font-weight:950;
}

@media(max-width:1180px){
  .mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
    max-width:260px;
  }
}

@media(max-width:780px){
  .mhi-vibra-related-grid{
    grid-template-columns:1fr;
  }
  .mhi-vibra-related-head{
    display:block;
  }
  .mhi-vibra-related p{
    margin-top:3px;
  }
}

@media(max-width:640px){
  .mhi-vibra-breadcrumb{
    margin-bottom:9px;
    font-size:11.5px;
  }
  .mhi-vibra-related{
    margin-top:18px;
  }
  .mhi-vibra-related h2{
    font-size:16px;
  }
  .mhi-vibra-related-card{
    grid-template-columns:68px minmax(0,1fr);
    gap:8px;
    padding:7px;
    border-radius:12px;
  }
}


/* v1.0.16: Detail image full-bleed 4:3 card */
.mhi-vibra-detail .mhi-vibra-detail-img,
.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
  aspect-ratio:4 / 3 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:16px !important;
  background:#f3f6fb !important;
}

.mhi-vibra-detail .mhi-vibra-detail-img img,
.mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img img{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  max-height:none !important;
}

@media(max-width:640px){
  .mhi-vibra-detail .mhi-vibra-detail-img,
  .mhi-vibra-detail-sidebar-friendly .mhi-vibra-detail-img{
    border-radius:14px !important;
  }
}
