/* =====================================================================
   NexGen look for the Porto / WooCommerce parts that stay Porto markup:
   page title band, shop table (Barn2), product page, cart, checkout,
   account. Tokens (--lime, --ink, --f-h ...) come from nexgen.css :root.
   Every rule starts with .ngx-site so it only applies with the layer on.
   ===================================================================== */

/* ---------- page title band (all inner pages) ---------- */
.ngx-site .page-top { background: var(--paper) !important; border: 0; padding: 34px 0 30px !important; }
.ngx-site .page-top .page-title { font-family: var(--f-h); font-weight: 800; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1 !important; letter-spacing: -.01em; color: var(--ink); text-transform: none; }
.ngx-site .page-top .page-sub-title { font-family: var(--f-b); font-size: 16px; color: var(--mute) !important; opacity: 1; margin-top: 8px; }
.ngx-site .page-top .breadcrumb, .ngx-site .page-top .breadcrumb a { font-family: var(--f-b); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal) !important; }
.ngx-site .page-top .breadcrumb li:last-child, .ngx-site .page-top .breadcrumb .current { color: var(--mute) !important; }
.ngx-site .page-top .breadcrumb a:hover { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- shared shop typography ---------- */
.ngx-site.woocommerce-page, .ngx-site.woocommerce { --woo-r: 16px; }
.ngx-site .woocommerce .price, .ngx-site .woocommerce-Price-amount { font-family: var(--f-b); font-weight: 800; color: var(--ink); }
.ngx-site .woocommerce .price del, .ngx-site .woocommerce .price del .woocommerce-Price-amount { color: var(--mute); font-weight: 600; opacity: .8; }
.ngx-site .woocommerce .price ins { text-decoration: none; }
.ngx-site .woocommerce-price-suffix { color: var(--mute); font-weight: 600; font-size: .78em; }

/* buttons: Woo, Porto and the product table all become NexGen pills */
.ngx-site .woocommerce .button, .ngx-site .woocommerce button.button, .ngx-site .woocommerce a.button,
.ngx-site .woocommerce input.button, .ngx-site .wc-product-table .button, .ngx-site .return-to-shop .button,
.ngx-site .single_add_to_cart_button, .ngx-site .checkout-button, .ngx-site #place_order {
  font-family: var(--f-b) !important; font-weight: 800 !important; font-size: 14px !important; letter-spacing: 0 !important;
  text-transform: none !important; line-height: 1.2 !important; border-radius: 999px !important; border: 2px solid var(--ink) !important;
  background: var(--ink) !important; color: var(--white) !important; padding: 11px 20px !important; height: auto !important;
  box-shadow: none !important; transition: transform .3s var(--ease), background-color .25s, color .25s !important;
}
.ngx-site .woocommerce .button:hover, .ngx-site .wc-product-table .button:hover, .ngx-site .single_add_to_cart_button:hover,
.ngx-site .checkout-button:hover, .ngx-site #place_order:hover, .ngx-site .return-to-shop .button:hover {
  background: var(--teal) !important; border-color: var(--teal) !important; color: var(--white) !important; transform: translateY(-2px);
}
/* the main buy actions are lime */
.ngx-site .single_add_to_cart_button, .ngx-site .checkout-button, .ngx-site #place_order {
  background: var(--lime) !important; color: var(--ink) !important; font-size: 15px !important; padding: 14px 26px !important;
}
.ngx-site .single_add_to_cart_button:hover, .ngx-site .checkout-button:hover, .ngx-site #place_order:hover { background: var(--ink) !important; color: var(--lime) !important; border-color: var(--ink) !important; }
.ngx-site .single_add_to_cart_button.disabled, .ngx-site .single_add_to_cart_button:disabled { opacity: .45 !important; transform: none; cursor: not-allowed; }
/* secondary: quick view and the bulk add button stay outlined */
.ngx-site .wc-product-table .wc-quick-view-button { background: transparent !important; color: var(--ink) !important; }
.ngx-site .wc-product-table .wc-quick-view-button:hover { background: var(--lime) !important; color: var(--ink) !important; border-color: var(--ink) !important; }

/* form fields */
.ngx-site .woocommerce input.input-text, .ngx-site .woocommerce select, .ngx-site .woocommerce textarea,
.ngx-site .wc-product-table select, .ngx-site .wc-product-table input[type=search], .ngx-site .variations select,
.ngx-site .select2-container .select2-selection, .ngx-site .woocommerce-checkout input.input-text {
  border: 1.5px solid var(--line) !important; border-radius: 12px !important; background-color: var(--white) !important;
  font-family: var(--f-b); font-size: 14.5px; color: var(--ink); min-height: 44px; box-shadow: none !important;
}
.ngx-site .woocommerce input.input-text:focus, .ngx-site .woocommerce select:focus, .ngx-site .woocommerce textarea:focus,
.ngx-site .variations select:focus { border-color: var(--ink) !important; outline: 3px solid var(--lime-soft); }
.ngx-site .select2-container .select2-selection--single .select2-selection__rendered { line-height: 41px; }
.ngx-site .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.ngx-site .woocommerce form .form-row label, .ngx-site .variations th.label, .ngx-site .variations td.label label {
  font-family: var(--f-b); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
}

/* quantity stepper */
.ngx-site .quantity { border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--line); background: var(--white); }
.ngx-site .quantity .qty, .ngx-site .quantity input { border: 0 !important; background: transparent !important; font-weight: 800; color: var(--ink); }
.ngx-site .quantity .minus, .ngx-site .quantity .plus { border: 0 !important; background: transparent !important; color: var(--ink); }
.ngx-site .quantity .minus:hover, .ngx-site .quantity .plus:hover { background: var(--lime-soft) !important; }

/* sale / popular badges */
.ngx-site .labels .onsale, .ngx-site .labels .onhot, .ngx-site .onsale {
  font-family: var(--f-b) !important; font-weight: 800 !important; font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px !important; padding: 5px 10px !important; background: var(--lime) !important; color: var(--ink) !important; box-shadow: 0 0 0 2px var(--ink) inset;
}
.ngx-site .labels .onhot { background: var(--ink) !important; color: var(--lime) !important; }

/* ---------- blog (Porto's standard blog templates, its Elementor builder is off) ---------- */
.ngx-site article.post .entry-title, .ngx-site article.post .entry-title a, .ngx-site article.post h2.entry-title a, .ngx-site .porto-single-page article.post h2.entry-title {
  font-family: var(--f-h) !important; font-weight: 800 !important; color: var(--ink) !important; letter-spacing: -.01em; line-height: 1.15 !important;
}
.ngx-site article.post .entry-title a:hover { color: var(--teal) !important; }
.ngx-site article.post .post-date { background: none; }
.ngx-site article.post .post-date .day { background: var(--lime) !important; color: var(--ink) !important; border-radius: 10px 10px 0 0; font-family: var(--f-h); }
.ngx-site article.post .post-date .month { background: var(--ink) !important; color: var(--lime) !important; border-radius: 0 0 10px 10px; }
.ngx-site article.post .post-meta, .ngx-site article.post .post-meta a { font-family: var(--f-b); color: var(--teal) !important; font-weight: 700; }
.ngx-site article.post .btn, .ngx-site article.post a.read-more, .ngx-site .post .btn-readmore { border-radius: 999px !important; border: 2px solid var(--ink) !important; background: transparent !important; color: var(--ink) !important; font-weight: 800 !important; text-transform: none !important; padding: 8px 16px !important; }
.ngx-site article.post .btn:hover, .ngx-site article.post a.read-more:hover { background: var(--lime) !important; }
/* archive: each post as a card with a sensible image height (the full-height photos made the list 25,000px long) */
.ngx-site.blog article.post, .ngx-site.archive article.post, .ngx-site.search article.post { padding: 18px 18px 22px; margin-bottom: 26px; border-radius: 26px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ngx-site.blog article.post .post-image img, .ngx-site.archive article.post .post-image img, .ngx-site.search article.post .post-image img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 18px; }
.ngx-site.blog article.post .post-image, .ngx-site.archive article.post .post-image { margin-bottom: 18px; }
/* single post: readable column, contained images */
.ngx-site.single-post .porto-single-page article.post { max-width: 900px; margin-left: auto; margin-right: auto; }
.ngx-site.single-post article.post .post-content, .ngx-site.single-post article.post .entry-content { font-family: var(--f-b); font-size: 17px; line-height: 1.7; color: #2E423D; }
.ngx-site.single-post article.post .post-content h2, .ngx-site.single-post article.post .entry-content h2 { font-family: var(--f-h); font-weight: 800; color: var(--ink); margin-top: 1.4em; }
.ngx-site.single-post article.post img { max-width: 100%; height: auto; border-radius: 16px; }
.ngx-site.single-post article.post .post-image img { max-height: 520px; object-fit: cover; }
.ngx-site.single-post article.post table { width: 100%; }

/* ---------- shop page: category tiles (Porto thumb-info) - the white label sat on a light photo ---------- */
.ngx-site li.product-category .thumb-info { border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .35s var(--ease); }
.ngx-site li.product-category a:hover .thumb-info { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 var(--lime); }
.ngx-site li.product-category .thumb-info-wrapper { background: var(--paper); }
.ngx-site li.product-category .thumb-info-wrap { position: static !important; background: var(--white) !important; padding: 14px 16px 16px !important; }
.ngx-site li.product-category .thumb-info-title { position: static !important; background: none !important; padding: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ngx-site li.product-category .thumb-info-inner { font-family: var(--f-h) !important; font-weight: 800 !important; font-size: 16px !important; text-transform: uppercase; color: var(--ink) !important; margin: 0 !important; letter-spacing: 0; }
.ngx-site li.product-category .thumb-info-type { position: static !important; padding: 4px 10px !important; border-radius: 999px; background: var(--lime) !important; color: var(--ink) !important; font-size: 12px !important; font-weight: 800; text-transform: none; white-space: nowrap; }
.ngx-site li.product-category .thumb-info-type mark { background: none; color: inherit; padding: 0; }
@media (max-width: 640px) {
  /* two tiles per row on phones: name above the count, long names wrap */
  .ngx-site li.product-category .thumb-info-title { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ngx-site li.product-category .thumb-info-inner { font-size: 13px !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
  .ngx-site li.product-category .thumb-info-wrap { padding: 10px 12px 12px !important; }
  .ngx-site li.product-category .thumb-info-type { font-size: 11px !important; padding: 3px 8px !important; }
}

/* ---------- category / shop table (Barn2 Product Table) ---------- */
.ngx-site .wc-product-table-wrapper, .ngx-site .wc-product-table-controls { font-family: var(--f-b); }
.ngx-site .wc-product-table-controls { background: var(--white) !important; border-radius: var(--r); padding: 18px 20px !important; box-shadow: 0 0 0 1px var(--line); }
.ngx-site .wc-product-table { border-collapse: separate !important; border-spacing: 0 10px !important; font-family: var(--f-b); }
.ngx-site .wc-product-table thead th { font-family: var(--f-b); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); border: 0 !important; background: transparent !important; }
.ngx-site .wc-product-table tbody tr { background: var(--white); box-shadow: 0 0 0 1px var(--line); border-radius: 18px; transition: box-shadow .25s, transform .3s var(--ease); }
.ngx-site .wc-product-table tbody tr:hover { box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -26px rgba(14, 42, 37, .5); }
.ngx-site .wc-product-table tbody td { border: 0 !important; background: transparent !important; vertical-align: middle; color: var(--mute); font-size: 14px; }
.ngx-site .wc-product-table tbody td:first-child { border-radius: 18px 0 0 18px; }
.ngx-site .wc-product-table tbody td:last-child { border-radius: 0 18px 18px 0; }
.ngx-site .wc-product-table .product-table-image img { border-radius: 12px; }
.ngx-site .wc-product-table td.col-name a, .ngx-site .wc-product-table td a[href*="/product/"]:not(.button) {
  font-family: var(--f-h); font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--ink) !important;
}
.ngx-site .wc-product-table td a[href*="/product/"]:not(.button):hover { color: var(--teal) !important; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

/* ---------- single product ---------- */
.ngx-site.single-product .product_title { font-family: var(--f-h) !important; font-weight: 800 !important; font-size: clamp(24px, 2.6vw, 36px) !important; line-height: 1.1 !important; color: var(--ink) !important; letter-spacing: -.01em; }
.ngx-site.single-product .single-product-price .price, .ngx-site.single-product .summary .price { font-size: 28px !important; }
.ngx-site.single-product .woocommerce-product-gallery img, .ngx-site.single-product .product-images img { border-radius: 18px; }
.ngx-site.single-product .product-thumbs-wrap img, .ngx-site.single-product .product-thumbnails img { border-radius: 12px; }
.ngx-site.single-product .variations { border: 0; }
.ngx-site.single-product .reset_variations { font-weight: 700; color: var(--teal); }
/* description / additional info / reviews accordion */
.ngx-site .woocommerce-tabs { font-family: var(--f-b); }
.ngx-site .woocommerce-tabs .resp-tab-item, .ngx-site .woocommerce-tabs .resp-accordion, .ngx-site .woocommerce-tabs .tabs li a {
  font-family: var(--f-b) !important; font-weight: 800 !important; font-size: 13px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink) !important; border-color: var(--line) !important;
}
.ngx-site .woocommerce-tabs .resp-tab-active, .ngx-site .woocommerce-tabs .resp-accordion.resp-tab-active { border-bottom-color: var(--lime) !important; box-shadow: inset 0 -3px 0 var(--lime); }
.ngx-site .woocommerce-tabs .tab-content { border-radius: var(--r); border-color: var(--line) !important; }
/* related products */
.ngx-site .related.products > h2, .ngx-site .related .slider-title { font-family: var(--f-h); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--ink); }
.ngx-site .related .product-image img, .ngx-site ul.products .product-image img { border-radius: 16px; }
.ngx-site ul.products li.product .woocommerce-loop-product__title, .ngx-site ul.products li.product h3 { font-family: var(--f-h); font-weight: 700; font-size: 14px; color: var(--ink); }

/* ---------- cart / checkout steps ---------- */
.ngx-site .woo-page-header { background: var(--paper); border: 0; padding: 30px 0 !important; }
.ngx-site .woo-page-header .breadcrumb li a { font-family: var(--f-h); font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); color: var(--mute) !important; }
.ngx-site .woo-page-header .breadcrumb li.current a { color: var(--ink) !important; box-shadow: inset 0 -.32em 0 var(--lime); }
.ngx-site .woo-page-header .breadcrumb li.disable a { opacity: .45; }
.ngx-site .woo-page-header .breadcrumb .delimiter { color: var(--teal); }

/* cart + checkout boxes */
.ngx-site .woocommerce table.shop_table { border: 0 !important; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--white); font-family: var(--f-b); }
.ngx-site .woocommerce table.shop_table th { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.ngx-site .woocommerce table.shop_table td, .ngx-site .woocommerce table.shop_table th { border-color: var(--line) !important; }
.ngx-site .woocommerce table.shop_table .product-name a { font-weight: 800; color: var(--ink); }
.ngx-site .cart_totals, .ngx-site .woocommerce-checkout-review-order, .ngx-site #customer_details, .ngx-site .woocommerce-checkout .featured-box {
  border-radius: var(--r) !important; border-color: var(--line) !important;
}
.ngx-site .cart_totals h2, .ngx-site .woocommerce-checkout h3, .ngx-site #order_review_heading, .ngx-site .woocommerce-MyAccount-content h2, .ngx-site .woocommerce h2 {
  font-family: var(--f-h); font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-transform: none;
}
.ngx-site .woocommerce-checkout #payment { background: var(--paper) !important; border-radius: var(--r); }
.ngx-site .woocommerce-checkout #payment div.payment_box { background: var(--white) !important; border-radius: 12px; }
.ngx-site .woocommerce-info, .ngx-site .woocommerce-message, .ngx-site .woocommerce-error {
  font-family: var(--f-b); border-radius: 14px; border: 0 !important; box-shadow: 0 0 0 1px var(--line); background: var(--white) !important; color: var(--ink) !important;
}
.ngx-site .woocommerce-message { box-shadow: 0 0 0 2px var(--lime); }
.ngx-site .woocommerce-error { box-shadow: 0 0 0 2px #E2574C; }
.ngx-site .woocommerce-info a, .ngx-site .woocommerce-message a:not(.button) { font-weight: 800; color: var(--teal) !important; }
.ngx-site .cart-empty, .ngx-site .wc-empty-cart-message { font-family: var(--f-b); font-weight: 700; color: var(--ink); }

/* ---------- my account ---------- */
.ngx-site .woocommerce-MyAccount-navigation ul { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--white); }
.ngx-site .woocommerce-MyAccount-navigation li a { font-family: var(--f-b); font-weight: 700; color: var(--ink) !important; }
.ngx-site .woocommerce-MyAccount-navigation li.is-active a { background: var(--lime-soft); box-shadow: inset 4px 0 0 var(--lime); }
.ngx-site .woocommerce-form-login, .ngx-site .woocommerce-form-register { border-radius: var(--r) !important; box-shadow: 0 0 0 1px var(--line); background: var(--white); border: 0 !important; }

/* links in Woo text areas take the brand teal instead of Porto blue / green */
.ngx-site .woocommerce .woocommerce-product-details__short-description a, .ngx-site .woocommerce-account .woocommerce a:not(.button) { color: var(--teal); }

/* ---------- round 2 fixes ---------- */
/* product grids (cross-sells, related, upsells): normal price size, pill buttons */
.ngx-site ul.products .price, .ngx-site .cross-sells .price, .ngx-site .related .price, .ngx-site .upsells .price { font-size: 16px !important; line-height: 1.3 !important; }
.ngx-site ul.products .price .woocommerce-price-suffix, .ngx-site .cross-sells .price .woocommerce-price-suffix { font-size: 12px !important; }
.ngx-site .cross-sells h2, .ngx-site .cross-sells > p:first-child { font-family: var(--f-h); font-weight: 800; font-size: 18px; color: var(--ink); }
.ngx-site ul.products li.product .woocommerce-loop-product__title, .ngx-site .cross-sells .product-title, .ngx-site .cross-sells h3 { font-family: var(--f-h) !important; font-weight: 700 !important; font-size: 14px !important; line-height: 1.3 !important; color: var(--ink) !important; }
.ngx-site ul.products li.product .button, .ngx-site ul.products li.product .add_to_cart_button, .ngx-site ul.products li.product .product_type_variable {
  display: inline-flex !important; align-items: center; gap: 6px; font-size: 13px !important; padding: 9px 16px !important;
  background: transparent !important; color: var(--ink) !important; border: 2px solid var(--ink) !important;
}
.ngx-site ul.products li.product .button:hover { background: var(--lime) !important; color: var(--ink) !important; }
.ngx-site ul.products li.product .product-image img, .ngx-site .cross-sells img { border-radius: 14px; }

/* cart totals box + proceed button (Porto styles these with longer selectors) */
.ngx-site .cart_totals, .ngx-site .cart-collaterals .cart_totals { border: 0 !important; border-radius: var(--r) !important; box-shadow: 0 0 0 1px var(--line); background: var(--white); }
.ngx-site .cart_totals > h2, .ngx-site .cart_totals h2 { font-size: 18px !important; text-transform: uppercase; }
.ngx-site .wc-proceed-to-checkout a.checkout-button.button, .ngx-site .woocommerce .wc-proceed-to-checkout .checkout-button {
  display: flex !important; justify-content: center; gap: 8px; width: 100%; border-radius: 999px !important;
  background: var(--lime) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; font-size: 15px !important; text-transform: none !important;
}
.ngx-site .wc-proceed-to-checkout a.checkout-button.button:hover { background: var(--ink) !important; color: var(--lime) !important; }
.ngx-site .woocommerce-checkout-review-order, .ngx-site #order_review { border-radius: var(--r) !important; }
.ngx-site .woocommerce-checkout .col2-set + .col-lg-5 > div, .ngx-site .woocommerce-checkout .featured-box { border: 0 !important; box-shadow: 0 0 0 1px var(--line); border-radius: var(--r) !important; background: var(--white); }

/* Porto's cart (cart-v2): cross-sell cards use .product-content, the proceed button is a Porto .btn, the
   totals sit in a bootstrap card */
.ngx-site .product-inner .product-content .price, .ngx-site .product-inner .product-content .price .woocommerce-Price-amount { font-size: 16px !important; line-height: 1.3 !important; }
.ngx-site .product-inner .product-content .price .woocommerce-price-suffix { font-size: 12px !important; }
.ngx-site .product-inner .product-content .woocommerce-loop-product__title, .ngx-site .product-inner .product-content h3 { font-family: var(--f-h); font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); }
.ngx-site .wc-proceed-to-checkout a.btn, .ngx-site .wc-proceed-to-checkout .btn-v-dark {
  display: flex !important; align-items: center; justify-content: center; gap: 8px; border-radius: 999px !important;
  background: var(--lime) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important;
  font-family: var(--f-b) !important; font-weight: 800 !important; font-size: 15px !important; text-transform: none !important; letter-spacing: 0 !important;
}
.ngx-site .wc-proceed-to-checkout a.btn:hover { background: var(--ink) !important; color: var(--lime) !important; }
.ngx-site .cart-v2 .cart_totals, .ngx-site .cart-v2 .cart_totals .card, .ngx-site .cart-v2 .card { border: 0 !important; border-radius: var(--r) !important; }
.ngx-site .cart-v2 .cart_totals { box-shadow: 0 0 0 1px var(--line); overflow: hidden; }

/* quick view popup (shop table): same title colour as the product page, badges sized to their text */
.ngx-site .product_title { font-family: var(--f-h) !important; font-weight: 800 !important; color: var(--ink) !important; letter-spacing: -.01em; }
.ngx-site .labels { display: flex; flex-wrap: wrap; gap: 6px; }
.ngx-site .labels .onsale, .ngx-site .labels .onhot { display: inline-block !important; width: auto !important; }
.ngx-site .wc-quick-view-modal a:not(.button):not(.btn) { color: var(--teal); }

/* checkout steps: keep the three labels apart */
.ngx-site .woo-page-header .breadcrumb li { display: inline-flex; align-items: center; gap: 14px; margin: 0 7px; }
.ngx-site .woo-page-header .breadcrumb li.disable .delimiter { display: inline-block; }

/* product table controls: reset link + bulk add button */
.ngx-site .multi-cart-form input.button, .ngx-site .multi-cart-form .button {
  font-family: var(--f-b) !important; font-weight: 800 !important; font-size: 13px !important; border-radius: 999px !important;
  background: var(--lime) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; padding: 9px 18px !important; box-shadow: none !important;
}
.ngx-site .multi-cart-form input.button:hover { background: var(--ink) !important; color: var(--lime) !important; }
.ngx-site .wc-product-table-reset a.reset { color: var(--teal) !important; font-weight: 800; }

/* ---------- product descriptions: card grids (rewritten from the old Elementor cards by phase2/migrate.php) ---------- */
.ngx-site .ngx-pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.ngx-site .ngx-pcard { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 14px 18px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.ngx-site .ngx-pcard__img { display: block; width: 100%; margin-bottom: 12px; }
.ngx-site .ngx-pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.ngx-site .ngx-pcard h3 { font-family: var(--f-h) !important; font-weight: 800 !important; font-size: 18px !important; line-height: 1.15 !important; text-transform: uppercase; color: var(--ink) !important; margin: 0 0 6px !important; text-align: left !important; }
.ngx-site .ngx-pcard p { margin: 0 0 14px !important; color: var(--mute) !important; font-weight: 700; text-align: left !important; }
.ngx-site .ngx-pcard__btn { margin-top: auto; display: inline-flex; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 800; font-size: 14px; color: var(--ink) !important; text-decoration: none !important; transition: background-color .25s; }
.ngx-site .ngx-pcard__btn:hover { background: var(--lime); }
/* Porto's standard product page (used since its Elementor builder is off) is full width: keep it on the site grid */
.ngx-site.single-product #main > .container-fluid, .ngx-site.single-product #main > .container { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
/* headings written inside product descriptions */
.ngx-site .woocommerce-Tabs-panel h1, .ngx-site .woocommerce-Tabs-panel h2, .ngx-site .tab-content h1, .ngx-site .tab-content h2 {
  font-family: var(--f-h) !important; font-weight: 800 !important; font-size: clamp(22px, 2.2vw, 30px) !important; line-height: 1.15 !important; color: var(--ink) !important; letter-spacing: -.01em; margin: 0 0 16px !important;
}
.ngx-site .woocommerce-Tabs-panel h3, .ngx-site .tab-content h3 { font-family: var(--f-h); font-weight: 700; font-size: 18px; color: var(--ink); }
.ngx-site .woocommerce-Tabs-panel, .ngx-site .tab-content { font-family: var(--f-b); font-size: 16px; line-height: 1.65; color: #2E423D; }
/* product description text from the classic editor: readable column, images never wider than the column */
.ngx-site .woocommerce-Tabs-panel img, .ngx-site .tab-content img { max-width: 100%; height: auto; }

@media (max-width: 980px) { .ngx-site .ngx-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ngx-site .ngx-pcards { grid-template-columns: 1fr; }
  .ngx-site .page-top { padding: 22px 0 18px !important; }
  .ngx-site .woo-page-header .breadcrumb li { gap: 8px; margin: 0 3px; }
  .ngx-site .woo-page-header .breadcrumb li a { font-size: 14px; }
  .ngx-site .wc-product-table tbody tr { border-radius: 14px; }
}

/* post title / share label: same look, no longer headings (see nexgen.php) */
.ngx-site p.entry-title.ngx-was-h2 { font-family: var(--f-h); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: var(--ink); margin: 0 0 10px; }
.ngx-site .ngx-share-h { font-family: var(--f-h); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 10px; }
.ngx-site .ngx-pcard h2 { font-family: var(--f-h) !important; font-weight: 800 !important; font-size: 18px !important; line-height: 1.15 !important; text-transform: uppercase; color: var(--ink) !important; margin: 0 0 6px !important; text-align: left !important; }

.ngx-site p.woocommerce-loop-product__title.ngx-was-h3 { font-family: var(--f-h); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); margin: 0 0 6px; }
.ngx-site p.ngx-upsell-h { font-family: var(--f-h); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--ink); margin: 0 0 18px; }
