/* =========================================================
 * v2.8 – desktop = tablet (same design), phones separate
 * ======================================================= */

/* ---------- header menu: no permanent filled "selected" pill ---------- */
body .mop-nav li.current>a,body .mop-nav li.current-menu-item>a,body .mop-nav li.current-menu-ancestor>a,body .mop-nav li.current_page_item>a,body .mop-nav li.current-menu-parent>a{background:transparent!important;color:#17372a!important;box-shadow:none!important}
body .mop-nav li>a:hover{background:var(--mint-2)!important;color:var(--g-700)!important}

/* ---------- product picture: fixed 1:1 box, whole image visible ---------- */
.mop-pd-img{position:relative;width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#f1f6f3;border:1px solid #e3eee7}
.mop-pd-track{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mop-pd-track::-webkit-scrollbar{display:none}
.mop-pd-img:not(.is-multi) .mop-pd-track{overflow:hidden}
.mop-pd-slide{flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:center;display:grid;place-items:center}
.mop-pd-slide img,.mop-pd-photo{display:block;width:100%!important;height:100%!important;object-fit:contain;border-radius:0!important;pointer-events:none;-webkit-user-drag:none;user-select:none;cursor:default}
.mop-pd-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 6px 18px rgba(6,35,26,.25);display:grid;place-items:center;cursor:pointer;padding:0;z-index:3}
.mop-pd-nav.prev{left:10px}.mop-pd-nav.next{right:10px}
.mop-pd-nav svg{width:20px;height:20px;fill:none;stroke:#0a3a28;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.mop-pd-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:7px;z-index:3}
.mop-pd-dots button{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:rgba(10,58,40,.28);cursor:pointer}
.mop-pd-dots button.on{width:24px;border-radius:9px;background:var(--g-600)}
.woocommerce-product-gallery__trigger,.pswp,.zoomImg,.flex-control-thumbs{display:none!important}
@media (min-width:768px){.mop-pd-gallery{position:sticky;top:110px;align-self:start}}
@media (max-width:767px){.mop-pd-nav{width:36px;height:36px}}

/* ---------- product info: bigger / bolder price, buttons always shown ---------- */
.mop-pd-price .price{font-size:44px!important;font-weight:800!important;color:var(--g-800);line-height:1.1}
.mop-pd-price .price ins,.mop-pd-price .price bdi,.mop-pd-price .price .amount{font-weight:800}
.mop-pd-price .price del,.mop-pd-price .price del *{font-size:20px!important;font-weight:500!important}
.mop-pd-off{font-size:15px;padding:5px 14px}
@media (max-width:767px){.mop-pd-price .price{font-size:38px!important}}
/* a product without the quantity option still shows Add to cart + Buy it now */
.mop-pd.mop-simple-nq .mop-pd-buy form.cart,.mop-pd-buy form.cart{display:flex!important;flex-direction:column;gap:12px}
.mop-pd.mop-simple-nq .mop-pd-buy form.cart .quantity{display:none!important}
.mop-pd-buy .single_add_to_cart_button,.mop-pd-buy .mop-buynow{flex:0 0 auto!important;width:100%;min-height:58px;border-radius:16px;font-size:18px;font-weight:700}
.mop-pd-buy .single_add_to_cart_button{background:#fff!important;color:#0f2b20!important;border:1.5px solid #0f2b20!important}
.mop-pd-buy .mop-buynow{background:var(--g-800)!important;color:#fff!important;border:1.5px solid var(--g-800)!important}
.mop-pd-buy .mop-buynow:hover{background:var(--g-600)!important}
/* bottom floating price/cart/buy bar removed */
.mop-stickybuy{display:none!important}
@media (max-width:767px){body.mop-single-product{padding-bottom:calc(66px + env(safe-area-inset-bottom))}}

/* ---------- footer (desktop + tablet identical) ---------- */
.mop-trust .mop-trust-in{display:grid!important;grid-template-columns:minmax(340px,1fr) minmax(0,1.55fr)!important;gap:30px!important;align-items:center;padding-top:28px;padding-bottom:28px}
.mop-trust .tr-sub .mop-sub{margin:0;padding:20px 22px;border-radius:20px;flex-direction:column;align-items:stretch;gap:14px}
.mop-trust .tr-sub .mop-sub-txt{flex:none}
.mop-trust .tr-sub .mop-sub .ico{width:46px;height:46px;border-radius:14px}
.mop-trust .tr-sub .mop-sub h3{font-size:18px}
.mop-trust .tr-sub .mop-sub p{font-size:13.5px}
.mop-trust .tr-sub .mop-sub-form{flex:none}
.mop-trust .tr-sub .mop-sub-msg{margin:6px 6px 0!important;min-height:0}
.mop-trust .tr-feats{border-left:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.mop-trust .tr-feats li{padding:6px 18px!important}
body .mop-footer .mop-fgrid{display:grid;grid-template-columns:1.25fr 1fr 1.2fr;gap:0;padding:48px 0 34px}
body .mop-footer .mop-fgrid>div{padding:0 38px;min-width:0}
body .mop-footer .mop-fgrid>div:first-child{padding-left:0}
body .mop-footer .mop-fgrid>div:last-child{padding-right:0}
body .mop-footer .mop-fgrid>.mop-fcol{border-left:1px solid rgba(255,255,255,.2)}
body .mop-footer .mop-fgrid>.mop-fcontact{grid-column:auto}
body .mop-footer .mop-fcol h4{font-size:16px}

/* ---------- account: desktop + tablet identical ---------- */
@media (min-width:768px){
  body.woocommerce-account.logged-in .woocommerce{grid-template-columns:280px minmax(0,1fr)!important;gap:22px}
  .mop-dash-top .mop-dash-act{display:none!important}          /* bell + dashboard icon: phones only */
  .mop-acbar{display:none!important}
  body .mop-dash-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.mop-acdd-btn{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;margin:0 0 6px;border-radius:14px;border:1.5px solid #cfe5d8;background:#fff;font:700 15px var(--font);color:#0f2b20;cursor:pointer;text-align:left}
.mop-acdd-btn .ic{width:21px;height:21px;color:var(--g-500)}
.mop-acdd-btn .chev{margin-left:auto;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.dd-open>.mop-acdd-btn .chev{transform:rotate(180deg)}
.dd-open>.mop-acdd-btn{border-color:var(--g-400);background:var(--mint)}
.mop-acdd[hidden]{display:none}
.woocommerce-account .mop-acnav .mop-acuser{margin-bottom:10px}

/* ---------- phones: account popup never hides behind cards ---------- */
.mop-dash-top{z-index:50!important}
.mop-dash-stats{z-index:2}
@media (max-width:767px){
  .mop-acpop{position:fixed!important;left:auto!important;right:14px!important;top:var(--mop-pop-top,110px)!important;width:min(300px,calc(100vw - 28px));max-height:calc(100vh - var(--mop-pop-top,110px) - 84px);z-index:500!important}
  .mop-acpop a{background:#fff}
  .mop-acpop a .ic{display:block;flex:none}

  /* footer on phones: subscribe box on top, three small boxes in one row */
  .mop-trust .mop-trust-in{grid-template-columns:1fr!important;gap:16px!important;padding-top:22px;padding-bottom:22px}
  .mop-trust .tr-feats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .mop-trust .tr-feats li{flex-direction:column;align-items:center;text-align:center;gap:8px;padding:12px 6px!important;border:0!important;background:rgba(255,255,255,.08);border-radius:14px}
  .mop-trust .tr-feats .ico{width:40px;height:40px}
  .mop-trust .tr-feats .ico img{width:24px;height:24px}
  .mop-trust .tr-feats li b{font-size:12.5px}
  .mop-trust .tr-feats li small{font-size:10.5px}
  .mop-trust .tr-sub .mop-subform{flex-direction:row!important;flex-wrap:nowrap!important}.mop-trust .tr-sub .mop-subform input[type=email]{padding:12px 12px;font-size:14.5px}.mop-trust .tr-sub .mop-subform .mop-btn{padding:12px 18px}
  body .mop-footer .mop-fgrid{grid-template-columns:1fr;gap:26px;padding:34px 0 22px}
  body .mop-footer .mop-fgrid>div{padding:0!important}
  body .mop-footer .mop-fgrid>.mop-fcol{border-left:0;border-top:1px solid rgba(255,255,255,.16);padding-top:22px!important}
}

/* narrow tablets: subscribe box and the three features stack so nothing overlaps */
@media (min-width:768px) and (max-width:1020px){
  .mop-trust .mop-trust-in{grid-template-columns:1fr!important;gap:18px!important}
  .mop-trust .tr-sub .mop-sub{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
  .mop-trust .tr-sub .mop-sub-form{flex:1 1 300px}
  .mop-trust .tr-feats li{padding:6px 12px!important}
}
