.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1;
  font-family: "Manrope", sans-serif;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button {
  background: var(--nv-primary);
  color: #fff;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover {
  background: var(--nv-primary-hover);
  color: #fff;
}

.nv-shop-header {
  padding: 24px 0 10px;
}

.nv-shop-grid-wrap {
  padding-bottom: 44px;
}

.nv-shop-grid-wrap ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nv-loop-product-card {
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-md);
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nv-loop-product-media {
  background: #f8faf8;
  display: block;
}

.nv-loop-product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.nv-loop-product-content {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.nv-loop-product-content .woocommerce-loop-product__title {
  margin: 0;
  font-size: 16px;
}

.nv-loop-product-content .price {
  font-size: 15px;
  font-weight: 700;
  color: #111318;
  font-family: 'Space Grotesk', sans-serif;
}

.nv-loop-product-actions .button {
  width: 100%;
  justify-content: center;
}

.nv-single-product-shell {
  padding: 28px 0 40px;
}

.nv-single-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.nv-single-gallery,
.nv-single-summary {
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-lg);
  background: #fff;
}

.nv-single-gallery {
  padding: 16px;
}

.nv-single-summary {
  padding: 20px;
}

.nv-single-summary .price {
  color: #111318;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
}

.nv-single-summary .product_title {
  font-size: clamp(28px, 5vw, 42px);
}

.nv-single-summary form.cart {
  border-top: 1px solid var(--nv-line);
  border-bottom: 1px solid var(--nv-line);
  padding: 16px 0;
  margin-bottom: 20px;
}

.nv-bundle-widget {
  margin-bottom: 20px;
  border: 1px dashed #bfd3cd;
  border-radius: 12px;
  background: #f6faf8;
  padding: 16px;
}

.nv-bundle-widget h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.nv-bundle-widget p {
  color: #385062;
  margin-bottom: 10px;
}

.nv-bundle-widget__mount {
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d6e3de;
  padding: 12px;
}

.nv-single-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.nv-single-trust-list li {
  border-radius: 999px;
  border: 1px solid #dbe5e1;
  background: #f8fbfa;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.nv-cart-shell {
  padding: 32px 0 56px;
}

.nv-cart-header {
  margin-bottom: 18px;
  display: grid;
  gap: 12px;
}

.nv-cart-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #15584f;
}

.nv-cart-header h1 {
  margin: 0;
  font-size: clamp(30px, 5.1vw, 46px);
}

.nv-cart-header p {
  margin: 0;
  color: #4f5d6c;
  max-width: 62ch;
}

.nv-cart-benefits {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nv-cart-benefits li {
  border: 1px solid #d6e7df;
  background: #edf7f3;
  color: #184f47;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.nv-cart-layout {
  display: grid;
  gap: 16px;
}

.nv-cart-form,
.nv-cart-collaterals,
.nv-cart-upsell-area,
.nv-checkout-shell {
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-lg);
  background: #fff;
  box-shadow: var(--nv-shadow-sm);
}

.nv-cart-form {
  padding: 16px;
  overflow: auto;
}

.nv-cart-form table.shop_table {
  border: 0;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.nv-cart-form table.shop_table th,
.nv-cart-form table.shop_table td {
  border-color: var(--nv-line);
  padding: 14px 10px;
  vertical-align: middle;
}

.nv-cart-form table.shop_table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5b6776;
  font-weight: 800;
}

.nv-cart-form .product-name a {
  text-decoration: none;
  font-weight: 700;
  color: #172332;
}

.nv-cart-form .product-name .variation {
  margin-top: 6px;
  color: #586779;
  font-size: 12px;
}

.nv-cart-form .product-name .variation dt,
.nv-cart-form .product-name .variation dd {
  margin: 0;
}

.nv-cart-form .product-name .variation dd p {
  margin: 0;
}

.nv-cart-form .product-price,
.nv-cart-form .product-subtotal {
  font-size: 15px;
  font-weight: 700;
  color: #1b2a3b;
}

.nv-cart-form .product-thumbnail img {
  width: 74px;
  border-radius: 8px;
  border: 1px solid #dce7e1;
  background: #f9fcfb;
}

.nv-cart-form .product-quantity .quantity {
  margin: 0;
}

.nv-cart-form .product-quantity .qty {
  width: 78px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #d4e1db;
  background: #f8fcfa;
  font-weight: 700;
  color: #17352f;
}

.nv-cart-form .product-remove .remove {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d8e5df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  color: #4a5f73 !important;
  transition: all 0.2s ease;
}

.nv-cart-form .product-remove .remove:hover {
  border-color: #efc3c3;
  background: #fff1f1;
  color: #a93636 !important;
}

.nv-cart-form .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-top: 16px !important;
}

.nv-cart-actions-row .actions .button {
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nv-cart-form .actions .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nv-cart-form .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-right: auto;
}

.nv-cart-form .coupon .input-text {
  min-height: 44px;
  min-width: 240px;
  border-radius: 999px;
  border: 1px solid #d4e1db;
  padding: 0 14px;
  background: #f8fcfa;
  color: #17352f;
}

.nv-cart-form .coupon .button {
  background: #e7f4ee;
  border-color: #cfe4db;
  color: #15584f;
}

.nv-cart-form .coupon .button:hover {
  background: #dff0e8;
  border-color: #bddbce;
  color: #134b45;
}

.nv-cart-continue-btn {
  border-color: #cfe0dc !important;
  background: #e8f4f0 !important;
  color: #145c53 !important;
}

.nv-cart-continue-btn:hover {
  border-color: #bdd6ce !important;
  background: #dff0e9 !important;
  color: #124f48 !important;
}

.nv-cart-collaterals {
  margin-top: 0;
  padding: 16px;
}

.nv-cart-collaterals .cart_totals {
  width: 100%;
}

.nv-cart-collaterals .cart_totals > h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.nv-cart-collaterals .shop_table {
  border: 0;
  margin-bottom: 14px;
}

.nv-cart-collaterals .shop_table th,
.nv-cart-collaterals .shop_table td {
  border-color: var(--nv-line);
  padding: 10px 0;
  vertical-align: top;
}

.nv-cart-collaterals .shop_table th {
  color: #5a6776;
  font-weight: 700;
  width: 36%;
}

.nv-cart-collaterals .woocommerce-shipping-methods {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.nv-cart-collaterals .woocommerce-shipping-methods li {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.nv-cart-collaterals .woocommerce-shipping-methods label {
  margin: 0;
  color: #1f2e3f;
  line-height: 1.4;
}

.nv-cart-collaterals .wc-proceed-to-checkout {
  margin: 0;
  display: grid;
  gap: 10px;
}

.nv-cart-collaterals .wc-proceed-to-checkout .checkout-button {
  margin: 0;
  min-height: 46px;
  font-size: 16px;
  font-weight: 800;
}

.nv-cart-collaterals .wc-proceed-to-checkout iframe {
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
}

.nv-cart-collaterals .order-total .amount {
  font-size: 22px;
  font-weight: 800;
  color: #102434;
}

.nv-cart-upsell-area {
  margin-top: 16px;
  padding: 16px;
}

.nv-cart-upsell-area > h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.3vw, 32px);
}

.nv-cart-payments {
  margin-top: 16px;
  border: 1px solid var(--nv-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--nv-shadow-sm);
  padding: 14px;
}

.nv-cart-payments-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a495d;
}

.nv-cart-payments-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.nv-cart-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #e1e9e5;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

.nv-cart-pay img {
  max-height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.nv-cart-pay-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.woocommerce-cart .cart-empty {
  margin: 24px auto 12px;
  width: min(860px, calc(100% - 32px));
  border: 1px solid #d5e6df;
  background: #f2f8f5;
  border-radius: 16px;
  padding: 18px 16px;
  color: #16473f;
  font-weight: 700;
}

.woocommerce-cart .return-to-shop {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 40px;
}

.woocommerce-cart .return-to-shop .button {
  min-height: 44px;
}

.woocommerce-cart .woocommerce-notices-wrapper {
  width: min(1200px, calc(100% - 32px));
  margin: 16px auto 0;
}

.woocommerce-cart .woocommerce-message {
  border-top-color: #1e8e5a;
  border-radius: 12px;
  box-shadow: var(--nv-shadow-sm);
  background: #ffffff;
  color: #102434;
}

.nv-checkout-shell {
  margin: 30px auto 40px;
  padding: 18px;
}

body.nv-has-kustom-checkout .nv-checkout-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.nv-has-kustom-checkout .nv-checkout-shell .nv-checkout-header,
body.nv-has-kustom-checkout .nv-checkout-shell form.checkout.woocommerce-checkout,
body.nv-has-kustom-checkout .nv-checkout-shell .nv-checkout-upsell {
  display: none !important;
}

.nv-checkout-header {
  border-bottom: 1px solid var(--nv-line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.nv-checkout-header h1 {
  margin-bottom: 8px;
}

.nv-checkout-review {
  margin-top: 16px;
  border-top: 1px solid var(--nv-line);
  padding-top: 16px;
}

.nv-checkout-upsell {
  margin-top: 16px;
  border: 1px solid var(--nv-line);
  border-radius: 14px;
  background: #f9fbfc;
  padding: 14px;
}

.nv-checkout-upsell h3 {
  margin-bottom: 10px;
}

/* Checkout page custom HTML component (markup-only; style comes from theme). */
#nv-checkout-minimal-v2 {
  --nv-checkout-radius: 16px;
  --nv-checkout-card: var(--nv-surface);
  --nv-checkout-line: #dbe5e0;
  --nv-checkout-muted: #5a6779;
  --nv-checkout-soft: #ecf7f3;
  max-width: 1080px;
  margin: 0 auto 14px;
  color: var(--nv-text);
  font-family: "Manrope", sans-serif;
}

#nv-checkout-minimal-v2 .nv-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 12px;
  border: 1px solid var(--nv-checkout-line);
  background: var(--nv-checkout-card);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

#nv-checkout-minimal-v2 .nv-v2-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nv-primary);
}

#nv-checkout-minimal-v2 .nv-v2-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

#nv-checkout-minimal-v2 .nv-v2-sub {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--nv-checkout-muted);
}

#nv-checkout-minimal-v2 .nv-v2-trustpilot {
  border: 1px solid #dce7e2;
  border-radius: 12px;
  padding: 10px;
  background: #fbfdfc;
  display: grid;
  align-content: start;
  gap: 8px;
}

#nv-checkout-minimal-v2 .nv-v2-trustpilot img {
  width: 100%;
  height: auto;
  display: block;
}

#nv-checkout-minimal-v2 .nv-v2-trustpilot p {
  margin: 0;
  font-size: 12px;
  color: #3d4a5d;
  line-height: 1.4;
  font-weight: 600;
}

#nv-checkout-minimal-v2 .nv-v2-proofs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

#nv-checkout-minimal-v2 .nv-v2-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d3e2dc;
  background: var(--nv-checkout-soft);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  min-height: 58px;
}

#nv-checkout-minimal-v2 .nv-v2-proof img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 26px;
}

#nv-checkout-minimal-v2 .nv-v2-proof strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 750;
}

#nv-checkout-minimal-v2 .woocommerce-checkout,
#nv-checkout-minimal-v2 .nv-checkout-shell {
  background: transparent;
}

#nv-checkout-minimal-v2 .nv-checkout-shell {
  margin: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
}

#nv-checkout-minimal-v2 .woocommerce form.checkout {
  margin-top: 8px !important;
}

#nv-checkout-minimal-v2 .woocommerce-billing-fields,
#nv-checkout-minimal-v2 .woocommerce-shipping-fields,
#nv-checkout-minimal-v2 #order_review_heading,
#nv-checkout-minimal-v2 #order_review,
#nv-checkout-minimal-v2 .woocommerce-checkout .woocommerce-form-coupon-toggle,
#nv-checkout-minimal-v2 .woocommerce form.checkout_coupon {
  background: #fff !important;
  border: 1px solid var(--nv-checkout-line) !important;
  border-radius: var(--nv-checkout-radius) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

#nv-checkout-minimal-v2 .woocommerce-billing-fields,
#nv-checkout-minimal-v2 .woocommerce-shipping-fields,
#nv-checkout-minimal-v2 #order_review,
#nv-checkout-minimal-v2 #order_review_heading {
  padding: 14px !important;
  margin-bottom: 10px !important;
}

#nv-checkout-minimal-v2 .woocommerce-checkout input[type="text"],
#nv-checkout-minimal-v2 .woocommerce-checkout input[type="email"],
#nv-checkout-minimal-v2 .woocommerce-checkout input[type="tel"],
#nv-checkout-minimal-v2 .woocommerce-checkout input[type="number"],
#nv-checkout-minimal-v2 .woocommerce-checkout input[type="password"],
#nv-checkout-minimal-v2 .woocommerce-checkout select,
#nv-checkout-minimal-v2 .woocommerce-checkout textarea,
#nv-checkout-minimal-v2 .woocommerce-checkout .input-text {
  border: 1px solid #cfdbd6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--nv-text) !important;
  min-height: 45px;
  padding: 10px 12px !important;
  box-shadow: none !important;
}

#nv-checkout-minimal-v2 .woocommerce-checkout input:focus,
#nv-checkout-minimal-v2 .woocommerce-checkout select:focus,
#nv-checkout-minimal-v2 .woocommerce-checkout textarea:focus {
  border-color: #97c8b8 !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
  outline: none !important;
}

#nv-checkout-minimal-v2 .woocommerce-checkout #place_order,
#nv-checkout-minimal-v2 .woocommerce-checkout .button.alt {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid var(--nv-brand-fixed) !important;
  border-radius: 999px !important;
  background: var(--nv-brand-fixed) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.2) !important;
}

#nv-checkout-minimal-v2 .woocommerce-checkout #place_order:hover,
#nv-checkout-minimal-v2 .woocommerce-checkout .button.alt:hover {
  border-color: var(--nv-brand-fixed-hover) !important;
  background: var(--nv-brand-fixed-hover) !important;
}

#nv-checkout-minimal-v2 .woocommerce-checkout .woocommerce-additional-fields,
#nv-checkout-minimal-v2 .woocommerce-checkout #order_comments_field {
  display: none !important;
}

#nv-checkout-minimal-v2 .nv-v2-payments {
  margin-top: 12px;
  border: 1px solid var(--nv-checkout-line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

#nv-checkout-minimal-v2 .nv-v2-payments-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a495d;
}

#nv-checkout-minimal-v2 .nv-v2-payments-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

#nv-checkout-minimal-v2 .nv-v2-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #e1e9e5;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

#nv-checkout-minimal-v2 .nv-v2-pay img {
  max-height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

#nv-checkout-minimal-v2 .nv-v2-pay-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.nv-upsell-block {
  display: grid;
  gap: 10px;
}

.nv-discount-message {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1b4f4a;
  background: #ecf7f3;
  border: 1px solid #d6e9e2;
  border-radius: 999px;
  padding: 8px 12px;
}

.nv-upsell-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.nv-upsell-card {
  scroll-snap-align: start;
  border: 1px solid var(--nv-line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
}

.nv-upsell-thumb {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f8fa;
}

.nv-upsell-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-upsell-content {
  display: grid;
  gap: 7px;
}

.nv-upsell-title {
  margin: 0;
  font-size: 14px;
}

.nv-upsell-price {
  font-size: 13px;
  font-weight: 700;
}

.nv-upsell-add {
  font-size: 12px;
  padding: 9px 12px;
  justify-self: start;
}

.nv-upsell-add--view {
  background: #fff;
  border-color: var(--nv-line);
  color: #111318;
}

/* Also hide the default mini-cart total since we render our own subtotal row. */
.nv-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 97;
  padding: 10px;
  background: rgba(248, 247, 243, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--nv-line);
}

.nv-sticky-atc-inner {
  width: min(900px, calc(100% - 10px));
  margin: 0 auto;
  border: 1px solid var(--nv-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 10px;
  display: grid;
  gap: 8px;
  align-items: center;
}

.nv-sticky-atc-title {
  font-size: 13px;
  font-weight: 700;
  display: block;
}

.nv-sticky-atc-price {
  font-size: 13px;
  color: #435368;
  font-weight: 700;
}

.nv-sticky-atc-button {
  width: 100%;
}

/* NV Commerce Core Smart Upsell (light-theme integration) */
.nv-checkout-shell #nv-smart-upsell-checkout {
  padding: 0;
}

.nv-smart-upsell .nv-upsell-wrap {
  border: 1px solid #d9e6df !important;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%) !important;
  box-shadow: 0 10px 22px rgba(23, 53, 47, 0.08);
}

.nv-smart-upsell .nv-upsell-title {
  color: #17352f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.nv-smart-upsell .nv-upsell-card,
#nv-smart-upsell-sidecart .nv-upsell-card,
#nv-smart-upsell-checkout .nv-upsell-card {
  border: 1px solid #dbe8e2 !important;
  background: #ffffff !important;
}

.nv-smart-upsell .nv-upsell-name {
  color: #122a25 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nv-smart-upsell .nv-upsell-price,
.nv-smart-upsell .nv-upsell-price ins,
.nv-smart-upsell .nv-upsell-price .woocommerce-Price-amount ins {
  color: #1f5f4c !important;
}

.nv-smart-upsell .nv-upsell-price del,
.nv-smart-upsell .nv-upsell-price .amount del,
.nv-smart-upsell .nv-upsell-price .woocommerce-Price-amount del {
  color: #7d8e87 !important;
}

.nv-smart-upsell .nv-upsell-variation-select {
  border-color: #d4e1db !important;
  background: #ffffff !important;
  color: #17352f !important;
}

.nv-smart-upsell .nv-upsell-variation-select:focus {
  border-color: #2f8f70 !important;
  box-shadow: 0 0 0 2px rgba(47, 143, 112, 0.16) !important;
}

.nv-smart-upsell .nv-upsell-btn {
  border-color: #2f8f70 !important;
  background: linear-gradient(135deg, #3aaf89 0%, #2f8f70 100%) !important;
  color: #ffffff !important;
  text-transform: none;
  letter-spacing: 0.01em;
}

.nv-smart-upsell .nv-upsell-dot,
#nv-smart-upsell-sidecart .nv-upsell-dot,
#nv-smart-upsell-checkout .nv-upsell-dot {
  background: rgba(47, 143, 112, 0.28) !important;
}

.nv-smart-upsell .nv-upsell-dot.is-active,
#nv-smart-upsell-sidecart .nv-upsell-dot.is-active,
#nv-smart-upsell-checkout .nv-upsell-dot.is-active {
  background: #2f8f70 !important;
}

#nv-smart-upsell-checkout .nv-upsell-card {
  grid-template-columns: 86px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 12px !important;
}

#nv-smart-upsell-checkout .nv-upsell-image {
  width: 86px !important;
  height: 86px !important;
}

#nv-smart-upsell-checkout .nv-upsell-btn {
  width: auto !important;
  min-width: 132px;
  justify-self: start;
  padding: 10px 14px !important;
}

#nv-smart-upsell-checkout .nv-upsell-title {
  margin-bottom: 8px !important;
}

/* Normalize product CTA + variation swatch colors to premium light palette across templates. */
body.single-product .single_add_to_cart_button,
body.single-product .single_add_to_cart_button.button.alt,
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  border-color: var(--nv-brand-fixed) !important;
  background: var(--nv-brand-fixed) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.26) !important;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button.button.alt:hover,
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
  border-color: var(--nv-brand-fixed-hover) !important;
  background: var(--nv-brand-fixed-hover) !important;
}

body.single-product .nv-vs-swatch {
  border-color: #dbe8e2 !important;
  background: #ffffff !important;
  color: #1f2f42 !important;
}

body.single-product .nv-vs-swatch:hover,
body.single-product .nv-vs-swatch.is-active {
  border-color: #2f8f70 !important;
  background: #eaf5f1 !important;
  color: #0f3f39 !important;
  box-shadow: 0 0 0 2px rgba(47, 143, 112, 0.18) !important;
}

body.single-product .nv-vs-swatch:focus-visible {
  outline: 2px solid rgba(47, 143, 112, 0.85) !important;
}

@media (min-width: 768px) {
  .nv-shop-grid-wrap ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .nv-cart-form {
    padding: 18px;
  }

  .nv-cart-form .product-thumbnail {
    width: 92px;
  }

  .nv-cart-form .actions {
    gap: 12px;
  }

  .nv-sticky-atc-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nv-sticky-atc-button {
    width: auto;
    min-width: 190px;
  }
}

@media (max-width: 991px) {
}

@media (max-width: 767px) {
  .nv-cart-shell {
    padding-top: 20px;
  }

  .nv-cart-header {
    gap: 10px;
  }

  .nv-cart-benefits {
    gap: 6px;
  }

  .nv-cart-benefits li {
    font-size: 11px;
    padding: 6px 10px;
  }

  .nv-cart-form {
    padding: 12px;
    overflow: visible;
  }

  .nv-cart-form table.shop_table {
    border-spacing: 0 10px;
  }

  .nv-cart-form table.shop_table thead {
    display: none;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item {
    position: relative;
    display: block;
    border: 1px solid #dce8e2;
    border-radius: 14px;
    background: #f9fcfb;
    padding: 10px 10px 6px;
    margin-bottom: 10px;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td {
    display: block;
    text-align: left !important;
    padding: 8px 0;
    border: 0;
    width: 100%;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td::before {
    float: none;
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #617284;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail::before {
    content: "";
    display: none;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail {
    padding-right: 50px;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail a {
    display: inline-block;
  }

  .nv-cart-form .product-thumbnail img {
    width: 92px;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td.product-name {
    padding-right: 50px;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td.product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .nv-cart-form table.shop_table_responsive tr.cart_item td.product-remove::before {
    display: none;
  }

  .nv-cart-form .product-remove .remove {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .nv-cart-form .product-quantity .qty {
    width: 100%;
    max-width: 110px;
  }

  .nv-cart-form .actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px !important;
  }

  .nv-cart-form .coupon {
    width: 100%;
    margin-right: 0;
  }

  .nv-cart-form .coupon .input-text {
    width: 100%;
    min-width: 0;
  }

  .nv-cart-form .actions .button {
    width: 100%;
  }

  .nv-cart-collaterals .shop_table th,
  .nv-cart-collaterals .shop_table td {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: 0;
  }

  .nv-cart-collaterals .shop_table tr {
    display: block;
    border-top: 1px solid var(--nv-line);
    padding: 6px 0;
  }

  .nv-cart-collaterals .shop_table tr:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .nv-cart-collaterals .shop_table th {
    margin-bottom: 4px;
  }

  .nv-cart-collaterals .order-total .amount {
    font-size: 20px;
  }

  .nv-cart-upsell-area {
    padding: 14px;
  }

  .nv-cart-upsell-area > h2 {
    font-size: 22px;
  }

  .nv-cart-payments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .woocommerce-cart .cart-empty,
  .woocommerce-cart .return-to-shop,
  .woocommerce-cart .woocommerce-notices-wrapper {
    width: calc(100% - 24px);
  }

  #nv-smart-upsell-checkout .nv-upsell-card {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  #nv-smart-upsell-checkout .nv-upsell-image {
    width: 70px !important;
    height: 70px !important;
  }

  /* Keep mobile main media frame stable without breaking Slick track/slide layout. */
  body.single-product .wl-thumbnails-image-area .woolentor-learg-img,
  body.single-product .wl-thumbnails-image-area .woolentor-learg-img .slick-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  body.single-product .wl-thumbnails-image-area .woolentor-learg-img .slick-track {
    display: flex !important;
  }

  body.single-product .wl-thumbnails-image-area .woolentor-learg-img .wl-single-slider,
  body.single-product .wl-thumbnails-image-area .woolentor-learg-img .wl-single-slider.slick-slide {
    float: none !important;
  }

  body.single-product .wl-thumbnails-image-area .woolentor-learg-img .wl-single-slider img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
  }
}

@media (min-width: 1024px) {
  .nv-cart-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
    align-items: start;
    gap: 18px;
  }

  .nv-cart-collaterals {
    position: sticky;
    top: 112px;
  }

  .nv-single-product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
  }

  .nv-checkout-shell {
    padding: 24px;
  }

  .nv-checkout-shell .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (max-width: 980px) {
  #nv-checkout-minimal-v2 .nv-v2-hero {
    grid-template-columns: 1fr;
  }

  #nv-checkout-minimal-v2 .nv-v2-proofs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #nv-checkout-minimal-v2 .nv-v2-payments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #nv-checkout-minimal-v2 .nv-v2-title {
    font-size: 40px;
  }

  #nv-checkout-minimal-v2 .nv-v2-sub {
    font-size: 16px;
  }

  #nv-checkout-minimal-v2 .nv-v2-proofs {
    grid-template-columns: 1fr;
  }

  .nv-cart-payments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Checkout trust/payment icon polish for injected checkout templates. */
#nv-checkout-premium-v4 .nv-pay {
  min-height: 36px !important;
  padding: 2px 8px !important;
  border-width: 1px !important;
  border-color: #ecf1ee !important;
}

#nv-checkout-premium-v4 .nv-pay img {
  max-height: 30px !important;
}

#nv-checkout-premium-v4 .nv-trust-badges-wide {
  border: 0 !important;
  background: transparent !important;
  padding: 4px 0 0 !important;
}

#nv-checkout-premium-v4 .nv-trust-badges-wide img {
  max-width: 420px !important;
}

/* Global single-product color normalization for migrated dark-style Elementor templates. */
body.single-product .product_title,
body.single-product h1.product_title,
body.single-product .entry-summary .product_title,
body.single-product .elementor-widget-woocommerce-product-title .product_title {
  color: #111318 !important;
}

body.single-product .single_add_to_cart_button.button.alt,
body.single-product .single_add_to_cart_button.button.alt:hover,
body.single-product .single_add_to_cart_button.button.alt:focus {
  background: var(--nv-brand-fixed) !important;
  border-color: var(--nv-brand-fixed) !important;
  color: #ffffff !important;
}

body.single-product .single_add_to_cart_button.button.alt:hover,
body.single-product .single_add_to_cart_button.button.alt:focus {
  background: var(--nv-brand-fixed-hover) !important;
  border-color: var(--nv-brand-fixed-hover) !important;
}

/* Variation swatches: force premium palette even when plugin inline vars still use old lime defaults. */
body.single-product .nv-vs-swatch {
  --nv-vs-border-active: var(--nv-brand-fixed) !important;
  --nv-vs-bg-hover: var(--nv-brand-fixed) !important;
  --nv-vs-text-hover: #ffffff !important;
}

body.single-product .nv-vs-swatch.is-active {
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2) !important;
}

/* Smart upsell badges: remove legacy lime tone and align to premium theme. */
.nv-smart-upsell .nv-upsell-badge--popular,
#nv-smart-upsell-sidecart .nv-upsell-badge--popular,
#nv-smart-upsell-checkout .nv-upsell-badge--popular {
  color: #0f766e !important;
  border-color: rgba(15, 118, 110, 0.35) !important;
  background: #e8f3ef !important;
}

/* Fallback for ShopLentor/Elementor product sliders showing 2 images on mobile. */
@media (max-width: 991px) {
  body.single-product .wl-thumbnails-slider .slick-track {
    display: flex !important;
  }

  body.single-product .wl-thumbnails-slider .wl-single-slider.slick-slide {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* Elementor Woo Product Images: keep one-row thumbs on desktop and hide thumbs on mobile. */
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
  opacity: 1 !important;
  position: relative;
}

body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-viewport {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  margin: 0 !important;
  padding: 2px !important;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none !important;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  margin: 0 !important;
  list-style: none !important;
  width: 78px;
  min-width: 78px;
}

body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs li::marker {
  content: "";
}

body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: 10px;
  border: 1px solid #dbe4e1;
  display: block;
  width: 100%;
  height: auto;
}

body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs .flex-active {
  border-color: var(--nv-brand-fixed);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.22);
}

/* If Woo gallery script fails, show only first media item as a safe fallback. */
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
  display: none;
}

/* Keep sale badge inside gallery image area, not on top announcement bar. */
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  margin: 0 !important;
  z-index: 5;
}

/* Price polish for Elementor + Woo templates. */
body.single-product .elementor-widget-woocommerce-product-price .price,
body.single-product .entry-summary .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 8px 0 14px;
  font-family: "Space Grotesk", sans-serif;
}

body.single-product .elementor-widget-woocommerce-product-price .price del,
body.single-product .entry-summary .price del {
  color: #6a747f;
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 700;
  text-decoration-thickness: 3px;
}

body.single-product .elementor-widget-woocommerce-product-price .price ins,
body.single-product .entry-summary .price ins {
  color: var(--nv-brand-fixed);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

/* Cleaner summary sizing + spacing. */
body.single-product .nv-single-summary .product_title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  margin: 6px 0 10px;
}

/* Variation + Add to cart clarity. */
body.single-product form.variations_form .variations label,
body.single-product .variations label,
body.single-product .elementor-widget-woocommerce-add-to-cart .variations label {
  color: #111318 !important;
  font-weight: 700 !important;
  font-size: 22px;
  line-height: 1.2;
}

body.single-product form.variations_form table.variations,
body.single-product table.variations {
  margin: 10px 0 12px;
}

body.single-product form.variations_form table.variations td,
body.single-product table.variations td {
  padding-bottom: 10px;
}

body.single-product form.variations_form table.variations td.label,
body.single-product table.variations td.label {
  padding-right: 12px;
}

body.single-product .reset_variations {
  display: inline-block;
  margin-top: 8px;
}

body.single-product .nv-vs-swatch {
  min-height: 50px;
  min-width: 122px;
  border: 2px solid #cbd9d5 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #1d2a31 !important;
  font-weight: 700 !important;
  font-size: 21px;
  letter-spacing: 0.01em;
}

body.single-product .nv-vs-swatch:hover {
  border-color: var(--nv-brand-fixed) !important;
  background: #f3fbf8 !important;
}

body.single-product .nv-vs-swatch.is-active,
body.single-product .nv-vs-swatch[aria-pressed="true"],
body.single-product .nv-vs-swatch[aria-current="true"] {
  border-color: var(--nv-brand-fixed) !important;
  background: #e7f4ef !important;
  color: #0f5550 !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22) !important;
}

body.single-product .variations select {
  min-height: 50px;
  border: 2px solid #cbd9d5;
  border-radius: 12px;
  background: #ffffff;
  color: #16232a;
  font-weight: 600;
}

body.single-product .woocommerce .quantity .qty,
body.single-product .elementor-widget-woocommerce-add-to-cart .quantity .qty {
  min-height: 50px;
  width: 72px;
  border: 2px solid #d8e2de;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
}

body.single-product .single_add_to_cart_button.button.alt {
  min-height: 54px;
  border-radius: 999px !important;
  padding: 0 24px !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

body.single-product form.cart {
  row-gap: 10px;
}

body.single-product form.cart .quantity {
  margin-right: 10px;
}

@media (max-width: 767px) {
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs {
    display: none !important;
  }

  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
    opacity: 1 !important;
  }

  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    overflow: visible !important;
  }

  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 0;
    max-height: 80vw;
    overflow: hidden;
  }

  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block !important;
  }

  /* Flexslider-not-loaded fallback: ensure first image is visible */
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child {
    display: block !important;
    width: 100% !important;
  }

  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 80vw;
    object-fit: cover;
  }

  body.single-product form.variations_form .variations label,
  body.single-product .variations label,
  body.single-product .elementor-widget-woocommerce-add-to-cart .variations label {
    font-size: 16px;
  }

  body.single-product .nv-vs-swatch {
    min-height: 46px;
    min-width: 104px;
    font-size: 18px;
  }

  body.single-product .single_add_to_cart_button.button.alt {
    min-height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs {
    display: none !important;
  }
}

/* Theme-native reusable product master sections (per-product editable content). */
.nv-master-hero-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.nv-master-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nv-brand-fixed);
}

.nv-master-lead p {
  margin: 0;
  font-size: 22px;
  font-style: italic;
  line-height: 1.35;
}

.nv-master-body p {
  margin: 0;
  color: #2f3945;
  line-height: 1.55;
}

.nv-master-hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.nv-master-hero-bullets li {
  position: relative;
  padding-left: 16px;
  font-weight: 600;
  color: #1f2b36;
}

.nv-master-hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nv-brand-fixed);
}

.nv-master-trust-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nv-master-sections {
  display: grid;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 42px;
}

.nv-master-intro h2,
.nv-master-faq h2,
.nv-master-final-cta h2,
.nv-master-feature h2 {
  margin: 0 0 10px;
  color: #111318;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.05;
}

.nv-master-intro p,
.nv-master-feature p {
  margin: 0;
  color: #2f3945;
  line-height: 1.6;
}

.nv-master-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.nv-master-feature-media img,
.nv-master-feature-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #dbe4e1;
}

.nv-master-video-wrap {
  position: relative;
}

.nv-master-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #dbe4e1;
  object-fit: cover;
}

.nv-master-video-audio-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(17, 19, 24, 0.68);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nv-master-faq {
  border: 1px solid #dbe4e1;
  border-radius: 16px;
  background: #ffffff;
  padding: 18px;
}

.nv-master-faq-intro {
  margin: 0 0 12px;
  color: #55606d;
}

.nv-master-faq-list {
  display: grid;
  gap: 10px;
}

.nv-master-faq-list details {
  border: 1px solid #dbe4e1;
  border-radius: 12px;
  background: #fbfcfb;
  padding: 12px 14px;
}

.nv-master-faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #111318;
}

.nv-master-faq-list details[open] {
  background: #f3f8f6;
}

.nv-master-final-cta {
  border: 1px solid #dbe4e1;
  border-radius: 18px;
  background: #f5faf8;
  padding: 26px;
  text-align: center;
}

.nv-master-final-cta p {
  margin: 0 0 14px;
  color: #45515f;
}

@media (min-width: 1024px) {
  .nv-master-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
  }

  .nv-master-feature.is-reverse .nv-master-feature-media {
    order: 2;
  }

  .nv-master-feature.is-reverse .nv-master-feature-text {
    order: 1;
  }
}

@media (max-width: 767px) {
  .nv-master-sections {
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 30px;
  }

  .nv-master-lead p {
    font-size: 18px;
  }

  .nv-master-faq,
  .nv-master-final-cta {
    padding: 14px;
  }
}

/* v0.6.2 single-product hardening for native Woo + Elementor gallery/summary parity. */
body.single-product .nv-single-gallery {
  position: relative;
}

body.single-product .nv-single-gallery > .onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  margin: 0 !important;
  z-index: 8;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
  opacity: 1 !important;
  position: relative;
  margin: 0;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-viewport,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-viewport {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 10px;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs,
body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  margin: 0 !important;
  padding: 2px !important;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none !important;
  counter-reset: none;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs li,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  margin: 0 !important;
  width: 78px;
  min-width: 78px;
  list-style: none !important;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs li::before,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs li::before {
  content: none !important;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs li::marker,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs li::marker {
  content: "";
  font-size: 0;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs img,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #dbe4e1;
}

body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs .flex-active,
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs .flex-active {
  border-color: var(--nv-brand-fixed) !important;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.22);
}

body.single-product .nv-single-gallery .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child),
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
  display: none;
}

body.single-product .nv-single-summary .product_title {
  font-size: clamp(30px, 2.6vw, 40px) !important;
  line-height: 1.08;
  margin: 0 0 10px !important;
}

body.single-product .nv-single-summary .price del {
  font-size: clamp(16px, 2vw, 28px) !important;
}

body.single-product .nv-single-summary .price ins {
  font-size: clamp(30px, 3.3vw, 42px) !important;
}

body.single-product form.variations_form table.variations td.value,
body.single-product table.variations td.value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

body.single-product .reset_variations,
body.single-product .reset_variations_alert {
  display: none !important;
}

body.single-product .variations_form .single_variation_wrap .variations_button {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

body.single-product .variations_form .single_variation_wrap .variations_button .quantity {
  margin: 0 !important;
  flex: 0 0 auto;
}

body.single-product .variations_form .single_variation_wrap .variations_button .single_add_to_cart_button {
  margin: 0 !important;
  white-space: nowrap;
}

body.single-product .nv-single-summary .product_meta {
  display: none !important;
}

body.single-product .nv-master-hero-bullets {
  list-style: none !important;
}

body.single-product .nv-master-hero-bullets li {
  padding-left: 0;
}

body.single-product .nv-master-hero-bullets li::before {
  content: none !important;
}

body.single-product .nv-master-trust-image {
  margin-top: 14px;
}

body.single-product .nv-master-trust-image img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
}

.nv-master-video-audio-toggle {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(17, 19, 24, 0.58);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs,
  body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.single-product .nv-single-summary .product_title {
    font-size: clamp(28px, 7.2vw, 36px) !important;
  }

  body.single-product .variations_form .single_variation_wrap .variations_button {
    gap: 8px;
  }

  body.single-product .variations_form .single_variation_wrap .variations_button .single_add_to_cart_button {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 50px;
    font-size: 16px;
  }

  /* ── Mobile gallery fix: ensure images always visible ──────────────
     Covers BOTH paths:
       A) .nv-single-gallery          (native WooCommerce template)
       B) .elementor-widget-woocommerce-product-images (Elementor widget)
     Handles two states:
       1) Flexslider initialised → images inside .flex-viewport
       2) Flexslider NOT initialised → images directly in __wrapper
     ────────────────────────────────────────────────────────────────── */

  /* A/B — Gallery container: compact padding on mobile */
  body.single-product .nv-single-gallery,
  body.single-product .elementor-widget-woocommerce-product-images {
    padding: 10px !important;
  }

  /* A/B — Force gallery visible (WooCommerce hides with opacity:0 until JS runs) */
  body.single-product .nv-single-gallery .woocommerce-product-gallery,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
    opacity: 1 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  /* A/B — Gallery wrapper: ensure it takes up space */
  body.single-product .nv-single-gallery .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* STATE 1: Flexslider loaded — cap viewport height */
  body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-viewport,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-viewport {
    max-height: 80vw !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  /* STATE 2: Flexslider NOT loaded — first image must be visible */
  body.single-product .nv-single-gallery .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child {
    display: block !important;
    width: 100% !important;
    max-height: 80vw !important;
    overflow: hidden !important;
  }

  body.single-product .nv-single-gallery .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child a,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child a {
    display: block !important;
    width: 100% !important;
  }

  body.single-product .nv-single-gallery .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child img,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 80vw !important;
    object-fit: cover !important;
  }

  /* A/B — ALL gallery images: force dimensions on mobile */
  body.single-product .nv-single-gallery .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    display: block !important;
  }

  /* A/B — Hide thumbnail nav on mobile */
  body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-thumbs,
  body.single-product .nv-single-gallery .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-thumbs,
  body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    display: none !important;
  }

  /* ── Compact bundle widget on mobile ── */
  .nv-bundle-widget {
    padding: 10px !important;
  }

  .nv-bundle-widget header h2 {
    font-size: clamp(18px, 4.5vw, 22px) !important;
  }
}
