/* Header cleanup */
.mb-nav ul,
.mb-nav li,
.mb-footer ul,
.mb-footer li { list-style:none; margin:0; padding:0; }
.mb-nav > ul { display:flex; align-items:center; gap:4px; }
.mb-nav li { display:flex; }
.mb-nav li::marker { content:""; }
.mb-nav a { text-decoration:none; }

/* WooCommerce layout polish */
.woocommerce-cart .mb-shop-main,
.woocommerce-checkout .mb-shop-main,
.woocommerce-account .mb-shop-main {
  padding: 42px 0 78px;
  background:#F2FBFA;
}
.woocommerce-cart .mb-wrap,
.woocommerce-checkout .mb-wrap,
.woocommerce-account .mb-wrap {
  max-width:1180px;
}
.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-account h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  margin:0 0 24px;
  color:#1B2A4E;
  font-size:clamp(32px,4vw,52px);
  line-height:1;
  letter-spacing:0;
}
.woocommerce form,
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce .woocommerce-order {
  background:#fff;
  border:1px solid #DDEDEA;
  border-radius:8px;
  box-shadow:0 16px 42px rgba(27,42,78,.07);
}
.woocommerce-cart-form { padding:0; overflow:hidden; }
.woocommerce table.shop_table {
  border:0;
  border-collapse:collapse;
  margin:0;
  border-radius:0;
}
.woocommerce table.shop_table th {
  color:#1B2A4E;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  background:#F8FCFB;
  padding:16px;
}
.woocommerce table.shop_table td {
  border-top:1px solid #DDEDEA;
  padding:18px 16px;
  color:#1B2A4E;
}
.woocommerce-cart-form .product-thumbnail img {
  width:92px;
  height:92px;
  object-fit:cover;
  border-radius:8px;
}
.woocommerce-cart-form .product-name a {
  font-weight:800;
  color:#1B2A4E;
  text-decoration:none;
}
.mb-cart-bundle {
  margin-top:6px;
  color:#1E8E87;
  font-size:12px;
  font-weight:800;
}
.woocommerce .quantity .qty {
  width:70px;
  min-height:42px;
  border:2px solid #DDEDEA;
  border-radius:8px;
  text-align:center;
  color:#1B2A4E;
  font-weight:800;
}
.cart-collaterals {
  margin-top:24px;
  display:flex;
  justify-content:flex-end;
}
.cart-collaterals .cart_totals {
  width:min(420px,100%);
  padding:24px;
}
.cart-collaterals .cart_totals h2 {
  margin:0 0 18px;
  color:#1B2A4E;
  font-size:24px;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button,
.woocommerce button#place_order {
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:60px;
  border:0;
  background:#2BB5AC;
  color:#fff!important;
  font-weight:800;
  padding:0 24px;
  box-shadow:0 10px 28px rgba(43,181,172,.28);
  transition:transform .15s, box-shadow .15s, background .15s;
  text-decoration:none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .checkout-button:hover,
.woocommerce button#place_order:hover {
  background:#1E8E87;
  color:#fff!important;
  transform:translateY(-1px);
  box-shadow:0 14px 36px rgba(43,181,172,.36);
}
.woocommerce .checkout-button,
.woocommerce button#place_order {
  width:100%;
  font-size:17px;
}
.woocommerce .coupon {
  display:flex;
  gap:10px;
  padding:18px 16px;
  border-top:1px solid #DDEDEA;
}
.woocommerce .coupon input.input-text {
  min-height:52px;
  border:2px solid #DDEDEA;
  border-radius:8px;
  padding:0 14px;
  min-width:220px;
}
.woocommerce-checkout form.checkout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);
  gap:24px;
  background:transparent;
  border:0;
  box-shadow:none;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  padding:26px;
}
.woocommerce-checkout #order_review_heading {
  margin:0 0 16px;
  color:#1B2A4E;
  font-size:24px;
}
.woocommerce form .form-row label {
  color:#1B2A4E;
  font-size:13px;
  font-weight:800;
  margin-bottom:6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height:48px;
  border:2px solid #DDEDEA;
  border-radius:8px;
  padding:10px 12px;
  color:#1B2A4E;
  background:#fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height:26px;
}
.woocommerce-checkout-review-order-table {
  background:#fff;
}
.woocommerce ul#shipping_method li {
  margin:0;
  color:#1E8E87;
  font-weight:800;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background:#fff;
  border-top-color:#2BB5AC;
  border-radius:8px;
  box-shadow:0 8px 22px rgba(27,42,78,.06);
  color:#1B2A4E;
}
.woocommerce-account .woocommerce {
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  padding:24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display:block;
  padding:11px 12px;
  border-radius:8px;
  color:#1B2A4E;
  text-decoration:none;
  font-weight:800;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background:#F2FBFA;
  color:#1E8E87;
}
.woocommerce div.product {
  width:100%;
  margin:0;
}
@media (max-width:900px) {
  .mb-nav > ul { flex-direction:column; align-items:stretch; }
  .woocommerce-checkout form.checkout,
  .woocommerce-account .woocommerce { grid-template-columns:1fr; }
  .woocommerce .coupon { flex-direction:column; }
  .woocommerce .coupon input.input-text { width:100%; }
  .cart-collaterals { display:block; }
  .cart-collaterals .cart_totals { width:100%; }
  .woocommerce table.shop_table_responsive tr td::before { color:#1B2A4E; font-weight:800; }
}

/* MAGIBUBBLE SHOP GRID HARDENING */
.page-id-10 .mb-page-shell,
.woocommerce-shop .mb-shop-main,
.post-type-archive-product .mb-shop-main,
.tax-product_cat .mb-shop-main {
  padding: 54px 0 86px;
  background:#F2FBFA;
}

.page-id-10 .mb-page-content,
.page-id-10 .mb-page-content > .woocommerce,
.woocommerce-shop .mb-wrap,
.post-type-archive-product .mb-wrap,
.tax-product_cat .mb-wrap {
  width:min(1240px, calc(100% - 48px));
  margin-left:auto;
  margin-right:auto;
}

.woocommerce ul.products {
  margin:30px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display:none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float:none!important;
  clear:none!important;
  width:auto!important;
  min-width:0;
  margin:0!important;
  padding:0 0 20px!important;
  position:relative;
  overflow:hidden;
  border:1px solid #DDEDEA;
  border-radius:8px;
  background:#fff;
  box-shadow:0 12px 34px rgba(27,42,78,.07);
  text-align:left;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display:block;
  text-decoration:none;
  color:#1B2A4E;
}

.woocommerce ul.products li.product a img {
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
  margin:0 0 16px!important;
  background:#EEF9F8;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height:44px;
  margin:0 18px 8px!important;
  padding:0!important;
  color:#1B2A4E;
  font-size:16px!important;
  line-height:1.28;
  font-weight:900;
  letter-spacing:0;
}

.woocommerce ul.products li.product .price {
  display:flex!important;
  align-items:baseline;
  gap:8px;
  margin:0 18px 14px!important;
  color:#1B2A4E!important;
  font-size:18px!important;
  font-weight:900!important;
}

.woocommerce ul.products li.product .price del {
  order:2;
  color:#8A95A7!important;
  font-size:13px;
  font-weight:700;
  opacity:1!important;
}

.woocommerce ul.products li.product .price ins {
  order:1;
  color:#1B2A4E;
  text-decoration:none;
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  min-width:0!important;
  min-height:0!important;
  line-height:1!important;
  margin:0!important;
  padding:7px 10px!important;
  top:12px!important;
  left:12px!important;
  right:auto!important;
  border-radius:6px!important;
  background:#FF8C42!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.6px;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(255,140,66,.24);
}

.woocommerce ul.products li.product .button {
  width:calc(100% - 36px);
  min-height:46px;
  margin:0 18px!important;
  border-radius:999px;
  font-size:14px;
}

.woocommerce-cart .mb-page-shell,
.woocommerce-checkout .mb-page-shell,
.woocommerce-account .mb-page-shell {
  width:min(1180px, calc(100% - 48px))!important;
  padding:54px 0 86px!important;
}

.woocommerce-cart .mb-page-content > .woocommerce,
.woocommerce-checkout .mb-page-content > .woocommerce,
.woocommerce-account .mb-page-content > .woocommerce {
  width:100%;
  margin:0 auto;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  color:#1B2A4E;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals {
  overflow:hidden;
  border-radius:8px;
}

@media (max-width:1000px) {
  .woocommerce ul.products {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
  }
}

@media (max-width:640px) {
  .page-id-10 .mb-page-content,
  .page-id-10 .mb-page-content > .woocommerce,
  .woocommerce-shop .mb-wrap,
  .post-type-archive-product .mb-wrap,
  .tax-product_cat .mb-wrap,
  .woocommerce-cart .mb-page-shell,
  .woocommerce-checkout .mb-page-shell,
  .woocommerce-account .mb-page-shell {
    width:min(100% - 32px, 1180px)!important;
  }

  .woocommerce ul.products {
    grid-template-columns:1fr;
  }

  .woocommerce table.shop_table_responsive tr {
    padding:14px 0;
  }

  .woocommerce table.shop_table_responsive tr td {
    padding:12px 0!important;
  }
}

/* MAGIBUBBLE FINAL SHOP CARDS */
.woocommerce-shop .mb-shop-main,
.post-type-archive-product .mb-shop-main,
.tax-product_cat .mb-shop-main,
.page-id-10 .mb-page-main {
  background:#F2FBFA;
}

.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering,
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-ordering,
.tax-product_cat .woocommerce-result-count,
.tax-product_cat .woocommerce-ordering,
.page-id-10 .woocommerce-result-count,
.page-id-10 .woocommerce-ordering {
  display:none!important;
}

.woocommerce ul.products li.product.mb-product-card,
.woocommerce-page ul.products li.product.mb-product-card {
  padding:0!important;
  border:1px solid #DDEDEA;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 42px rgba(27,42,78,.08);
}

.mb-product-card__media {
  position:relative;
  display:block;
  aspect-ratio:1/1;
  background:#EAF8F7;
  overflow:hidden;
  text-decoration:none;
}

.mb-product-card__media img {
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

.mb-product-card:hover .mb-product-card__media img {
  transform:scale(1.025);
}

.mb-product-card__badge {
  position:absolute;
  z-index:2;
  top:12px;
  left:12px;
  padding:7px 10px;
  border-radius:6px;
  background:#FF8C42;
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(255,140,66,.24);
}

.mb-product-card__body {
  padding:18px;
}

.mb-product-card__title {
  min-height:0;
  margin:0 0 8px;
  display:block;
  color:#1B2A4E;
  font-size:18px;
  line-height:1.22;
  font-weight:900;
  text-decoration:none;
}

.mb-product-card__desc {
  margin:0 0 14px;
  color:#5C6B85;
  font-size:13px;
  line-height:1.45;
}

.mb-product-card__price {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:0 0 16px;
  color:#1B2A4E;
  font-size:20px;
  line-height:1;
  font-weight:900;
}

.mb-product-card__price del {
  order:2;
  color:#8A95A7;
  font-size:13px;
  font-weight:700;
  opacity:1;
}

.mb-product-card__price ins {
  order:1;
  color:#1B2A4E;
  text-decoration:none;
}

.mb-product-card__button {
  min-height:48px;
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#2BB5AC;
  color:#fff!important;
  font-size:14px;
  font-weight:900;
  text-decoration:none!important;
  box-shadow:0 10px 28px rgba(43,181,172,.26);
}

.mb-product-card__button:hover {
  background:#1E8E87;
}

.woocommerce ul.products li.product.mb-product-card .onsale,
.woocommerce-page ul.products li.product.mb-product-card .onsale {
  display:none!important;
}

/* MAGIBUBBLE MOBILE TAP AND PHOTOSWIPE FINAL */
html {
  touch-action:manipulation;
  -webkit-text-size-adjust:100%;
}

a,
button,
input,
select,
textarea,
label,
[role="button"],
.lbp-bdl,
.lbp-cta,
.mbcd-checkout,
.mbco-summary-toggle {
  touch-action:manipulation;
}

#photoswipe-fullscreen-dialog.pswp:not(.pswp--open),
#photoswipe-fullscreen-dialog.pswp[aria-hidden="true"] {
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
}
/* END MAGIBUBBLE MOBILE TAP AND PHOTOSWIPE FINAL */
