/*
Theme Name: Storefront Child - National.lk
Template: storefront
Version: 1.0.0
Text Domain: storefront-child
*/

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --nlk-bg: #f5f7fc;
  --nlk-bg-2: #eef1fb;
  --nlk-card: #ffffff;
  --nlk-accent: #F24A1E;
  --nlk-accent-2: #F24A1E;
  --nlk-accent-light: #f0eeff;
  --nlk-muted: #7b8094;
  --nlk-text: #1f2434;
  --nlk-border: #e8ebf4;
  --nlk-radius: 20px;
  --nlk-radius-sm: 14px;
  --nlk-shadow: 0 8px 30px rgba(40, 50, 90, 0.06);
  --nlk-shadow-hover: 0 16px 40px rgba(107, 91, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body,
button,
input,
select,
textarea {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ========================================
   CUSTOM HEADER
   ======================================== */

/* Hide default Storefront header */
.site-header {
  display: none !important;
}

/* Custom Header */
.nlk-header {
  background: var(--nlk-card);
  border-bottom: 1px solid var(--nlk-border);
  padding: 14px 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

/* Keep content below fixed custom header */
.site-content {
  padding-top: 78px;
}

/* WordPress admin bar offset */
body.admin-bar .nlk-header {
  top: 32px;
}

body.admin-bar .site-content {
  padding-top: 50px;
}

@media (max-width: 782px) {
  body.admin-bar .nlk-header {
    top: 46px;
  }
}

.nlk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Left side - Logo + Search */
.nlk-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 1 auto;
  height: 44px;
}

/* Logo */
.nlk-header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 44px;
}

.nlk-header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.nlk-header-logo img {
  max-height: 36px;
  width: auto;
  display: block;
}

.nlk-header-logo .site-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--nlk-text);
  margin: 0;
  letter-spacing: -0.5px;
}

/* Search Box */
.nlk-header-search {
  flex-shrink: 0;
  width: 400px;
  display: flex;
  align-items: center;
  height: 48px !important;
}

.nlk-header-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  border-radius: 999px;
  background: #c5e84d;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.nlk-header-shop-btn:hover {
  background: #b8db40;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(197, 232, 77, 0.35);
}

.nlk-search-form {
  display: flex;
  align-items: center;
  background: var(--nlk-bg);
  border: none;
  border-radius: 20px;
  padding: 0 16px;
  height: 44px;
  width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  box-sizing: border-box;
  margin-bottom: 0 !important;
  box-shadow: none;
}


.nlk-search-form:focus-within {
  border-color: var(--nlk-accent);
  box-shadow: 0 0 0 3px rgba(107, 91, 255, 0.1);
}

.nlk-search-form .search-icon {
  color: var(--nlk-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.nlk-search-form .search-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.nlk-search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nlk-text);
  outline: none;
  height: 42px;
  line-height: 42px;
  margin: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.nlk-search-form input[type="search"]::placeholder {
  color: var(--nlk-muted);
}

.nlk-search-form button {
  display: none;
}

/* Header Actions */
.nlk-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 44px;
}

.nlk-header-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--nlk-text);
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
  height: 44px;
  box-sizing: border-box;
}

.nlk-header-action:hover {
  background: var(--nlk-bg);
  color: var(--nlk-accent);
}

.nlk-header-action svg {
  flex-shrink: 0;
}

.nlk-header-action span {
  display: inline;
}

/* Cart with count badge */
.nlk-header-cart {
  position: relative;
  background: var(--nlk-accent);
  color: #fff;
}

.nlk-header-cart:hover {
  background: var(--nlk-accent-2);
  color: #fff;
}

.nlk-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4757;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Profile Avatar */
.nlk-header-profile {
  padding: 6px;
  border-radius: 50%;
}

.nlk-header-profile:hover {
  background: var(--nlk-bg);
}

.nlk-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nlk-border);
}

.nlk-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nlk-bg);
  border: 2px solid var(--nlk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nlk-muted);
}

/* Header Responsive */
@media (max-width: 1100px) {
  .nlk-header-search {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .nlk-header-inner {
    display: block;
  }

  .nlk-header-actions {
    display: none;
  }

  .nlk-header-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo shop"
      "search search";
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }

  .nlk-header-logo {
    grid-area: logo;
    min-width: 0;
    height: auto;
  }

  .nlk-header-logo a {
    height: auto;
  }

  .nlk-header-search {
    grid-area: search;
    width: 100%;
    min-width: 0;
    height: auto !important;
    justify-content: center;
  }

  .nlk-search-form {
    width: 100%;
    margin: 0;
  }

  .nlk-header-shop-btn {
    grid-area: shop;
    padding: 0 24px;
    font-size: 13px;
    height: 40px;
    margin-left: 0;
  }

}

@media (max-width: 640px) {
  .nlk-header {
    padding: 10px 0;
  }

  .site-content {
    padding-top: 120px;
  }

  body.admin-bar .site-content {
    padding-top: 166px;
  }

  .nlk-header-inner {
    padding: 0 16px;
    display: block;
  }
  
  .nlk-header-left {
    gap: 10px 12px;
  }
  
  .nlk-header-search {
    justify-content: center;
  }
  
  .nlk-search-form {
    padding: 0 12px;
    height: 40px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    margin-top: 0;
    border: 0.5px solid var(--nlk-border);
    border-radius: 20px;
  }

  .nlk-header-shop-btn {
    padding: 0 12px;
    height: 38px;
    font-size: 12px;
  }
  
  .nlk-header-action {
    padding: 8px;
  }
  
  .nlk-header-logo img {
    max-height: 28px;
  }

  .nlk-avatar,
  .nlk-avatar-placeholder {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   BLDC Savings Calculator
   ======================================== */

.nlk-bldc-calculator {
  background: #ffffff;
  border-radius: var(--nlk-radius);
  box-shadow: var(--nlk-shadow);
  padding: 28px;
  margin: 30px 0;
}

.nlk-bldc-header h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--nlk-text);
}

.nlk-bldc-header p {
  margin: 0 0 20px 0;
  color: var(--nlk-muted);
  font-size: 14px;
}

.nlk-bldc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.nlk-bldc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nlk-bldc-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--nlk-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nlk-bldc-select {
  padding: 10px 12px;
  border: 1px solid var(--nlk-border);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.nlk-bldc-field input[type="range"] {
  width: 100%;
  accent-color: #c5e84d;
}

.nlk-bldc-value {
  font-weight: 800;
  color: var(--nlk-text);
  background: var(--nlk-bg);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.nlk-bldc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.nlk-bldc-result {
  background: var(--nlk-bg);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nlk-bldc-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nlk-muted);
}

.nlk-bldc-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--nlk-text);
}

.nlk-bldc-footnote {
  font-size: 12px;
  color: var(--nlk-muted);
}

@media (max-width: 900px) {
  .nlk-bldc-grid {
    grid-template-columns: 1fr;
  }

  .nlk-bldc-results {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FULL WIDTH LAYOUT - Remove Storefront constraints
   ======================================== */

/* Container width */
.col-full {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
}

/* WooCommerce shop pages */
body.woocommerce-shop .hentry,
body.woocommerce-product-category .hentry,
body.archive.tax-product_cat .hentry {
  max-width: 100% !important;
  width: 100% !important;
}

body.woocommerce-shop .site-main,
body.woocommerce-product-category .site-main,
body.archive.tax-product_cat .site-main {
  width: 100% !important;
  max-width: 100% !important;
}

/* Full width page background */
body.woocommerce,
body.woocommerce-shop,
body.woocommerce-product-category,
body.archive.tax-product_cat {
  background: var(--nlk-bg);
}

body.woocommerce #page,
body.woocommerce-shop #page,
body.woocommerce-product-category #page {
  background: transparent;
}

/* ========================================
   SHOP LAYOUT WITH FILTER SIDEBAR
   ======================================== */

/* Hide default Storefront sidebar */
body.woocommerce-shop #secondary,
body.woocommerce-product-category #secondary,
body.archive.tax-product_cat #secondary {
  display: none !important;
}

/* Primary content full width */
body.woocommerce-shop #primary,
body.woocommerce-product-category #primary,
body.archive.tax-product_cat #primary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-shop .content-area,
body.woocommerce-product-category .content-area,
body.archive.tax-product_cat .content-area {
  width: 100% !important;
  float: none !important;
}

/* Category bar - above layout */
.nlk-category-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
  overflow: visible;
}

.nlk-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  overflow: visible;
}

.nlk-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--nlk-border);
  background: var(--nlk-card);
  color: var(--nlk-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 180ms ease;
  height: 40px;
  line-height: 1;
}

.nlk-category-pill:hover {
  background: var(--nlk-accent-light);
  border-color: var(--nlk-accent);
  color: var(--nlk-accent);
}

.nlk-category-pill.is-active {
  background: var(--nlk-accent);
  border-color: var(--nlk-accent);
  color: #fff;
}

/* Move WooCommerce ordering to category bar */
.nlk-category-bar .woocommerce-ordering {
  margin: 0 !important;
  flex-shrink: 0;
}

.nlk-category-bar .woocommerce-ordering select {
  border: 1px solid var(--nlk-border);
  border-radius: 12px;
  padding: 16px 36px 16px 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--nlk-card);
  color: var(--nlk-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237b8094' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  line-height: 40px;
}

.nlk-category-bar .woocommerce-ordering select:focus {
  outline: none;
  border-color: var(--nlk-accent);
}

/* Hide default ordering in products area */
.nlk-shop-products .woocommerce-ordering {
  display: none !important;
}

/* Hide storefront sorting wrapper completely */
.storefront-sorting {
  display: none !important;
}

/* Main shop layout - sidebar + products */
.nlk-shop-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  overflow: visible;
}

/* Filter Sidebar */
.nlk-filter-sidebar {
  flex: 0 0 280px;
  width: 280px;
  position: sticky;
  top: 80px; /* Account for sticky header */
  overflow: visible;
}

/* Products area */
.nlk-shop-products {
  flex: 1;
  min-width: 0;
  overflow: visible;
}

/* Hide breadcrumbs and default title */
body.woocommerce-shop .storefront-breadcrumb,
body.woocommerce-shop .woocommerce-products-header,
body.woocommerce-shop .woocommerce-products-header__title,
body.woocommerce-product-category .storefront-breadcrumb,
body.woocommerce-product-category .woocommerce-products-header,
.woocommerce-products-header {
  display: none !important;
}

/* Remove WooCommerce ::before pseudo-element on products grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

/* ========================================
   PRODUCT GRID
   ======================================== */

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0;
  clear: both;
}

/* Product Card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--nlk-card);
  border: 1px solid var(--nlk-border);
  border-radius: var(--nlk-radius);
  box-shadow: var(--nlk-shadow);
  padding: 16px;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--nlk-shadow-hover);
}

/* Product image link wrapper */
.woocommerce ul.products li.product a:first-of-type,
.woocommerce-page ul.products li.product a:first-of-type {
  display: block;
  background: #ffffff !important;
  border-radius: var(--nlk-radius-sm);
  overflow: hidden;
}

/* Product Image */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product > a > img,
.woocommerce-page ul.products li.product > a > img {
  border-radius: var(--nlk-radius-sm);
  background: transparent !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  margin-bottom: 0;
  transition: transform 200ms ease;
  mix-blend-mode: multiply !important;
  filter: contrast(1.02);
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03);
}

/* Product card background for blend mode to work */
.woocommerce ul.products li.product {
  background: #ffffff !important;
}

/* Variation cards styling */
.woocommerce ul.products li.product.nlk-variation-card {
  animation: nlkFadeIn 0.3s ease;
}

@keyframes nlkFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product image link */
.woocommerce ul.products li.product .nlk-product-image-link {
  display: block;
  background: #ffffff !important;
  border-radius: var(--nlk-radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .nlk-product-image-link img {
  mix-blend-mode: multiply;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 8px;
  transition: transform 200ms ease;
}

.woocommerce ul.products li.product .nlk-product-image-link:hover img {
  transform: scale(1.03);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--nlk-text);
  margin: 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price and Cart Container - space for bottom area */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding-bottom: 80px !important; /* Space for price/cart row */
}

/* Hide default price - we'll show it in our custom button */
.woocommerce ul.products li.product > .price,
.woocommerce-page ul.products li.product > .price {
  display: none !important;
}

/* Regular price (strikethrough) - above the button */
.nlk-regular-price {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--nlk-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
}

/* Combined cart + price button container */
.nlk-cart-price-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--nlk-bg);
  border: 1px solid var(--nlk-border);
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--nlk-text);
  font-size: 15px;
  font-weight: 700;
  transition: all 180ms ease;
  cursor: pointer;
}

.nlk-cart-price-btn:hover {
  background: var(--nlk-accent);
  border-color: var(--nlk-accent);
  color: #fff;
}

.nlk-cart-price-btn:hover .nlk-cart-icon {
  color: #fff;
}

.nlk-cart-price-btn:hover .nlk-btn-price {
  color: #fff;
}

.nlk-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nlk-muted);
  transition: color 180ms ease;
}

.nlk-btn-price {
  color: var(--nlk-accent);
  transition: color 180ms ease;
}

/* Loading state */
.nlk-cart-price-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.nlk-cart-price-btn.loading .nlk-cart-icon svg {
  animation: nlkSpin 1s linear infinite;
}

/* Added state */
.nlk-cart-price-btn.added {
  background: var(--nlk-accent);
  border-color: var(--nlk-accent);
  color: #fff;
}

.nlk-cart-price-btn.added .nlk-cart-icon,
.nlk-cart-price-btn.added .nlk-btn-price {
  color: #fff;
}

/* Hide default WooCommerce add to cart button - we use custom */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce-page ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product a.added_to_cart {
  display: none !important;
}

/* Product title - make it not a link visually */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
  display: contents;
}

/* Wishlist/Favourite button in top right */
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
.woocommerce-page ul.products li.product .yith-wcwl-add-to-wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
  position: absolute;
  top: 24px;
  left: 24px;
  background: linear-gradient(135deg, var(--nlk-accent), var(--nlk-accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
  margin: 0;
}

/* Variation attribute badge - on right side */
.nlk-variation-badges {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;

}

/* Out of stock badge */
.nlk-out-of-stock-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #6b7280;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Disabled out-of-stock button */
.nlk-cart-price-btn.nlk-out-of-stock {
  background: #f6f6f8;
  border-color: #ececec;
  color: #8b8f98;
  cursor: not-allowed;
}
.nlk-cart-price-btn.nlk-out-of-stock:hover {
  background: #f6f6f8;
  color: #8b8f98;
  border-color: #ececec;
}
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 2;
}

.nlk-variation-badge {
  position: static;
  background: var(--nlk-text);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  z-index: 2;
}

@keyframes nlkSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating,
.woocommerce-page ul.products li.product .star-rating {
  font-size: 12px;
  margin: 4px 0 8px;
}

/* ========================================
   RESULT COUNT & ORDERING
   ======================================== */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: none;
}

.woocommerce .woocommerce-result-count {
  color: var(--nlk-muted);
  font-size: 14px;
}

.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--nlk-border);
  border-radius: 20px !important;
  padding: 0 !important;
  font-size: 14px;
  font-weight: 500;
  background: var(--nlk-card);
  text-align: center;
}


.storefront-full-width-content.single-product div.product .summary
{
  width: 40% !important;
  margin-bottom: 0 !important
}

.storefront-full-width-content.single-product div.product .woocommerce-product-gallery
{
  margin-right: 0 !important;
  margin-bottom: 0 !important
}

body.single-product div.product .woocommerce-tabs, body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper
{
  margin-top: 0 !important
}

/* ========================================
   PAGINATION
   ======================================== */

.woocommerce nav.woocommerce-pagination {
  margin-top: 40px;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--nlk-card);
  border: 1px solid var(--nlk-border);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--nlk-text);
  transition: all 180ms ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--nlk-accent);
  border-color: var(--nlk-accent);
  color: #fff;
}

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */

/* Hide sidebar and filter elements on single product page */
body.single-product #secondary,
body.single-product .nlk-shop-layout,
body.single-product .nlk-filter-sidebar,
body.single-product .nlk-category-bar,
body.single-product .storefront-breadcrumb {
  display: none !important;
}

body.single-product #primary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .content-area {
  width: 100% !important;
  float: none !important;
}

body.single-product .site-content {
  padding: 118px 0 40px;
  background: var(--nlk-bg);
}

body.admin-bar.single-product .site-content {
  padding-top: 150px;
}

@media (max-width: 782px) {
  body.admin-bar.single-product .site-content {
    padding-top: 164px;
  }
}

body.single-product #content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

body.single-product div.product {
  background: var(--nlk-card);
  border-radius: var(--nlk-radius);
  padding: 40px;
  box-shadow: var(--nlk-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  margin-top: 40px;
}

body.single-product div.product div.images {
  flex: 0 0 calc(52% - 16px);
  max-width: calc(52% - 16px);
  background: #f7f8fb;
  border-radius: var(--nlk-radius-sm);
  padding: 24px;
  position: relative;
  display: block;
}

body.single-product div.product div.images img {
  mix-blend-mode: multiply;
}

body.single-product div.product .woocommerce-product-gallery {
  width: 100%;
  margin: 0;
  float: none !important;
}

body.single-product div.product .woocommerce-product-gallery__wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

body.single-product div.product .woocommerce-product-gallery__image {
  width: 100%;
  text-align: center;
  margin: 0;
}

body.single-product div.product .woocommerce-product-gallery__image a,
body.single-product div.product .woocommerce-product-gallery__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

body.single-product div.product .woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  height: auto !important;
  margin-bottom: 16px;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  list-style: none;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  width: 70px !important;
  margin: 0 !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 10px;
  border: 1px solid var(--nlk-border);
  padding: 4px;
  background: #fff;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  border-color: var(--nlk-accent);
}

/* Single product sale badge */
body.single-product div.product .onsale {
  position: absolute;
  top: 30px;
  left: 30px;
  background: linear-gradient(135deg, var(--nlk-accent), var(--nlk-accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 10;
  margin: 0;
  line-height: 1;
}

body.single-product div.product div.summary {
  /* flex: 0 0 calc(48% - 16px); */
  max-width: calc(48% - 16px);
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

body.single-product div.product .product_title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px 0;
  color: var(--nlk-text);
}

body.single-product div.product .woocommerce-tabs,
body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
  flex: 0 0 100%;
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  order: 3;
  float: none !important;
  clear: both;
  overflow: hidden;
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs {
  width: 100%;
  float: none;
  margin: 0 0 16px 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--nlk-border);
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li {
  float: none;
  margin: 0;
  border: 0;
  padding-right: 30px;
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f4f5f8;
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active a {
  background: #e9ecf3;
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper .panel {
  width: 100%;
  float: none;
  margin: 0 0 20px 0;
}

body.single-product div.product .single_add_to_cart_button {
  background: var(--nlk-accent);
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  border: none;
  transition: background 180ms ease;
}

body.single-product div.product .single_add_to_cart_button:hover {
  background: var(--nlk-accent-2);
}

/* Single product - price styling */
body.single-product div.product .price {
  font-size: 26px;
  font-weight: 800;
  color: var(--nlk-accent);
  margin: 6px 0 10px 0;
}

body.single-product div.product .price del {
  color: var(--nlk-muted);
  font-size: 18px;
}

body.single-product div.product .price ins {
  text-decoration: none;
}

/* Single product - quantity input */
body.single-product div.product .quantity .qty {
  border: 1px solid var(--nlk-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  width: 80px;
}

body.single-product div.product .variations_form .variations {
  margin-bottom: 12px;
}

body.single-product div.product .variations_form select {
  border: 1px solid var(--nlk-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  width: 100%;
}

body.single-product div.product .variations_form select.nlk-native-var-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  opacity: 0 !important;
}

body.single-product div.product .variations_form .nlk-native-var-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

body.single-product div.product .variations_form .nlk-native-var-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--nlk-border);
  background: #fff;
  color: var(--nlk-text);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.single-product div.product .variations_form .nlk-native-var-option:hover {
  border-color: var(--nlk-accent);
  transform: translateY(-1px);
}

body.single-product div.product .variations_form .nlk-native-var-option.is-active {
  border-color: var(--nlk-accent);
  box-shadow: 0 0 0 2px rgba(107, 91, 255, 0.14);
}

body.single-product div.product .variations_form .nlk-native-var-option.has-image {
  min-width: 88px;
  justify-content: center;
}

body.single-product div.product .variations_form .nlk-native-var-thumb {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--nlk-border);
  background: #f7f8fb;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.single-product div.product .variations_form .nlk-native-var-option.has-image .nlk-native-var-label {
  font-size: 11px;
}

body.single-product div.product .variations_form .variable-items-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px !important;
  border: 1px solid var(--nlk-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item:hover {
  border-color: var(--nlk-accent) !important;
  transform: translateY(-1px);
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item.selected,
body.single-product div.product .variations_form .variable-items-wrapper .variable-item[aria-checked="true"] {
  border-color: var(--nlk-accent) !important;
  box-shadow: 0 0 0 2px rgba(107, 91, 255, 0.12);
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item .variable-item-contents {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item.nlk-var-image-item {
  min-width: 88px;
  padding: 8px !important;
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item.nlk-var-image-item .variable-item-contents {
  flex-direction: column;
  gap: 6px;
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item .nlk-var-option-thumb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--nlk-border);
  background: #f7f8fb;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

body.single-product div.product .variations_form .variable-items-wrapper .variable-item.nlk-var-image-item .variable-item-span-button {
  font-size: 11px;
  line-height: 1.2;
  color: var(--nlk-text);
  text-align: center;
}

body.single-product div.product .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

/* Single product - meta info */
body.single-product div.product .product_meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--nlk-border);
  font-size: 14px;
  color: var(--nlk-muted);
}

body.single-product div.product .product_meta a {
  color: var(--nlk-accent);
}

/* Single product - responsive */
@media (max-width: 768px) {
  body.single-product div.product {
    flex-wrap: wrap;
  }

  body.single-product div.product div.images {
    flex: 1 1 100%;
    max-width: 100%;
  }

  body.single-product div.product div.summary {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  body.single-product div.product {
    padding: 24px;
  }
  
  body.single-product #content {
    padding: 0 16px;
  }
}

/* ========================================
   FEATURES 3-COLUMN SHORTCODE STYLES
   ======================================== */
.nlk-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin: 30px 0;
}

/* ensure equal-height cards in grid */
.nlk-features {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.nlk-feature {
  background: var(--nlk-card);
  border: 1px solid var(--nlk-border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--nlk-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  height: 100%;
}

.nlk-feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nlk-feature-image-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  background: var(--nlk-accent);
}

.nlk-feature-image-wrap img,
.nlk-feature-image-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.nlk-feature-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--nlk-text);
  margin: 0;
}

.nlk-feature-text {
  color: var(--nlk-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* small pill under image if needed */
.nlk-feature-pill {
  display: inline-block;
  background: var(--nlk-accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 980px) {
  .nlk-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .nlk-features {
    grid-template-columns: 1fr;
  }
  .nlk-feature-media img {
    max-width: 120px;
    padding: 14px;
  }
}


/* ========================================
   FOOTER - Minimal Design
   ======================================== */

.site-footer {
  background: var(--nlk-card) !important;
  border-top: 1px solid var(--nlk-border);
  color: var(--nlk-text);
  margin-top: 60px;
  padding: 40px 0 !important;
}

.site-footer .col-full {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
}

/* Hide default footer widgets */
.site-footer .footer-widgets,
.site-footer .footer-widget-region {
  display: none !important;
}

/* Footer info section */
.site-footer .site-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0;
  border: none;
}

.site-footer .site-info a {
  color: var(--nlk-accent);
  text-decoration: none;
  font-weight: 600;
}

.site-footer .site-info a:hover {
  text-decoration: underline;
}

.site-footer a
{
  text-decoration: none !important;
}

/* Custom footer content */
.nlk-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.nlk-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nlk-footer-brand img {
  max-height: 32px;
  width: auto;
}

.nlk-footer-brand span {
  font-size: 18px;
  font-weight: 700;
  color: var(--nlk-text);
}

.nlk-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nlk-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nlk-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: var(--nlk-bg);
  padding: 8px 12px;
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nlk-footer-links a:hover {
  color: var(--nlk-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.nlk-footer-links a svg {
  width: 16px;
  height: 16px;
}

.nlk-footer-copy {
  color: var(--nlk-muted);
  font-size: 13px;
}

.nlk-footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nlk-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--nlk-bg);
  color: var(--nlk-muted);
  text-decoration: none;
  transition: all 180ms ease;
  flex-shrink: 0;
}

.nlk-footer-social a:hover { color: #fff; }
.nlk-footer-social .nlk-social-fb:hover  { background: #1877f2; }
.nlk-footer-social .nlk-social-ig:hover  { background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.nlk-footer-social .nlk-social-tt:hover  { background: #010101; }
.nlk-footer-social .nlk-social-wa:hover  { background: #25d366; }

/* WhatsApp floating action button */
.nlk-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}
.nlk-whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,.6);
  color: #fff;
}

.nlk-footer-copy {
  text-align: center;
  color: var(--nlk-muted);
  font-size: 13px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--nlk-border);
}

@media (max-width: 768px) {
  .nlk-footer {
    flex-direction: column;
    text-align: center;
  }
  
  .nlk-footer-links {
    justify-content: center;
  }
}

/* MintPay installment pricing on product cards */
.nlk-mintpay-installment {
  font-size: 12px;
  color: #8e8e8e;
  line-height: 1.4;
  margin: 4px 0 0;
  padding: 0;
}
.nlk-mintpay-badge {
  text-decoration: none;
  display: inline;
}
.nlk-mintpay-badge:hover { opacity: .8; }
.nlk-mintpay-badge {
  cursor: pointer;
}

/* Override WooCommerce's broad  ul.products li.product a img  rule */
.woocommerce ul.products li.product .nlk-mintpay-badge img,
.woocommerce-page ul.products li.product .nlk-mintpay-badge img,
.woocommerce ul.products li.product .nlk-mp-logo,
.woocommerce-page ul.products li.product .nlk-mp-logo {
  display: inline !important;
  height: 14px !important;
  width: auto !important;
  max-width: 72px !important;
  max-height: 14px !important;
  vertical-align: middle !important;
  margin: 0 0 0 3px !important;
  padding: 0 !important;
  float: none !important;
}

/* ========================================
   HERO BANNER — MintPay installment
   ======================================== */
.nlk-hero-mintpay {
  display: block;
  font-size: 13px;
  color: #8e8e8e;
  margin: 6px 0 14px;
  padding: 0;
  line-height: 1.5;
}
.nlk-hero-mp-badge {
  display: inline;
  cursor: pointer;
  vertical-align: middle;
}
.nlk-hero-mp-badge:hover { opacity: .8; }
.nlk-hero-mp-logo {
  display: inline !important;
  height: 16px !important;
  width: auto !important;
  max-width: 80px !important;
  vertical-align: middle !important;
  margin: 0 0 0 3px !important;
  padding: 0 !important;
}

/* ========================================
   SITE BANNER SHORTCODE  [nlk_site_banner]
   ======================================== */
.nlk-site-banner {
  width: 100%;
  margin: 0 0 30px;
  line-height: 0; /* removes inline-block gap below img */
  overflow: hidden;
  box-shadow: var(--nlk-shadow);
}
.nlk-site-banner--rounded {
  border-radius: var(--nlk-radius);
}
.nlk-site-banner__link {
  display: block;
}
.nlk-site-banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 180ms ease;
}
.nlk-site-banner__link:hover .nlk-site-banner__img {
  opacity: 0.93;
}
.nlk-banner-empty {
  text-align: center;
  color: #999;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 13px;
}



@media (max-width: 1200px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .nlk-filter-sidebar {
    flex: 0 0 250px;
    width: 250px;
  }
}

@media (max-width: 980px) {
  .nlk-shop-layout {
    flex-direction: column;
  }
  
  .nlk-filter-sidebar {
    flex: 0 0 auto;
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .nlk-filter-sidebar .nlk-filter-widget {
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
    margin-bottom: 0;
  }
  
  .nlk-filter-sidebar .nlk-apply-btn {
    flex: 0 0 100%;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

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

@media (max-width: 640px) {
  .col-full {
    padding: 0 16px !important;
  }
  
  .nlk-filter-sidebar {
    flex-direction: column;
  }
  
  .nlk-filter-sidebar .nlk-filter-widget {
    flex: 0 0 100%;
  }

  .nlk-category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
  }

  .nlk-category-pill {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nlk-category-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nlk-category-pills {
    width: 100%;
  }

  .nlk-category-bar .woocommerce-ordering {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nlk-category-bar .woocommerce-ordering select {
    width: auto;
    min-width: 220px;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 12px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
  }

  .woocommerce ul.products li.product .price .woocommerce-Price-amount {
    padding: 4px 10px;
    font-size: 12px;
  }

  .woocommerce ul.products li.product .button {
    padding: 8px 14px;
    font-size: 12px;
  }

  .site-header .col-full {
    padding: 0 16px !important;
  }

  /* Related products — tighten on small screens */
  body.single-product .related.products,
  body.single-product .up-sells {
    margin-top: 24px;
  }

  body.single-product .related.products ul.products,
  body.single-product .up-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.single-product .related.products ul.products li.product,
  body.single-product .up-sells ul.products li.product {
    padding: 10px;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product .up-sells ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  body.single-product .related.products ul.products li.product .price,
  body.single-product .up-sells ul.products li.product .price {
    font-size: 12px;
    margin: 4px 0 6px;
  }

  body.single-product .related.products ul.products li.product .price .woocommerce-Price-amount,
  body.single-product .up-sells ul.products li.product .price .woocommerce-Price-amount {
    font-size: 12px;
    padding: 3px 8px;
  }

  body.single-product .related.products ul.products li.product .button,
  body.single-product .up-sells ul.products li.product .button {
    font-size: 11px;
    padding: 6px 10px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Very small screens (≤ 430px) — related products stack to 1 column */
@media (max-width: 430px) {
  body.single-product .related.products ul.products,
  body.single-product .up-sells ul.products {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.single-product .related.products ul.products li.product,
  body.single-product .up-sells ul.products li.product {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto;
    gap: 0 10px;
    align-items: start;
    padding: 10px;
    min-height: 100px;
  }

  /* Image column spans all rows */
  body.single-product .related.products ul.products li.product a:first-of-type,
  body.single-product .up-sells ul.products li.product a:first-of-type {
    grid-row: 1 / 5;
    grid-column: 1;
    align-self: center;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link,
  body.single-product .up-sells ul.products li.product .woocommerce-loop-product__link {
    grid-column: 2;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product .up-sells ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    margin: 0 0 4px;
  }

  body.single-product .related.products ul.products li.product .price,
  body.single-product .up-sells ul.products li.product .price {
    font-size: 13px;
    margin: 0 0 8px;
  }

  body.single-product .related.products ul.products li.product .button,
  body.single-product .up-sells ul.products li.product .button {
    grid-column: 2;
    font-size: 12px;
    padding: 7px 12px;
    width: auto;
    align-self: end;
  }

  /* Badge stays top-right of card; push title below it so they don't cross */
  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product .up-sells ul.products li.product .woocommerce-loop-product__title {
    padding-top: 44px;
  }
}

/* ========================================
   WIDGETS (if sidebar enabled elsewhere)
   ======================================== */

.widget {
  background: var(--nlk-card);
  border: 1px solid var(--nlk-border);
  border-radius: var(--nlk-radius);
  box-shadow: var(--nlk-shadow);
  padding: 20px;
}

.widget + .widget {
  margin-top: 20px;
}

.widget-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--nlk-text);
}

/* Category widget pills style */
.widget_product_categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget_product_categories li {
  list-style: none;
  margin: 0;
}

.widget_product_categories li a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--nlk-border);
  background: var(--nlk-bg);
  color: var(--nlk-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 180ms ease;
}

.widget_product_categories li.current-cat a,
.widget_product_categories li a:hover {
  background: var(--nlk-accent);
  border-color: var(--nlk-accent);
  color: #fff;
}

/* ========================================
   FILTER SIDEBAR STYLES
   ======================================== */

.nlk-filter-sidebar {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.nlk-filter-widget {
  background: var(--nlk-card);
  border-radius: var(--nlk-radius);
  box-shadow: var(--nlk-shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.nlk-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.nlk-filter-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--nlk-text);
  margin: 0;
}

.nlk-filter-reset {
  font-size: 13px;
  color: var(--nlk-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 180ms ease;
}

.nlk-filter-reset:hover {
  color: var(--nlk-accent);
}

/* Price Range Filter */
.nlk-price-display {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nlk-price-min,
.nlk-price-max {
  background: var(--nlk-text);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* noUiSlider Customization */
#nlk-price-slider {
  height: 8px;
  border: none;
  background: var(--nlk-bg);
  border-radius: 10px;
  box-shadow: none;
  margin: 10px 0 5px;
}

#nlk-price-slider .noUi-connect {
  background: linear-gradient(90deg, var(--nlk-accent), var(--nlk-accent-2));
  border-radius: 10px;
}

#nlk-price-slider .noUi-handle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--nlk-card);
  border: 3px solid var(--nlk-accent);
  box-shadow: 0 4px 12px rgba(107, 91, 255, 0.3);
  top: -7px;
  right: -11px;
  cursor: grab;
}

#nlk-price-slider .noUi-handle:before,
#nlk-price-slider .noUi-handle:after {
  display: none;
}

#nlk-price-slider .noUi-handle:focus {
  outline: none;
}

/* Brand Filter */
.nlk-brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nlk-brand-item {
  margin-bottom: 14px;
}

.nlk-brand-item:last-child {
  margin-bottom: 0;
}

.nlk-brand-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 4px 0;
}

/* Brand info container (logo + name) */
.nlk-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* Brand logo */
.nlk-brand-logo {
  max-width: 60px;
  width: auto;
  height: 20px;
  object-fit: contain;
  object-position: left center;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Brand logo placeholder (first letter) */
.nlk-brand-logo-placeholder {
  width: 24px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nlk-accent-light);
  color: var(--nlk-accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  flex-shrink: 0;
}

.nlk-brand-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--nlk-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nlk-brand-checkbox {
  display: none;
}

.nlk-checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--nlk-border);
  border-radius: 6px;
  background: var(--nlk-bg);
  position: relative;
  transition: all 180ms ease;
  flex-shrink: 0;
}

.nlk-brand-checkbox:checked + .nlk-checkbox-custom {
  background: var(--nlk-accent);
  border-color: var(--nlk-accent);
}

.nlk-brand-checkbox:checked + .nlk-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nlk-brand-label:hover .nlk-checkbox-custom {
  border-color: var(--nlk-accent);
}

/* Apply Filters Button */
.nlk-apply-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--nlk-accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.nlk-apply-btn:hover {
  background: var(--nlk-accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 91, 255, 0.3);
}

/* ========================================
   HERO BANNER SHORTCODE
   ======================================== */

.nlk-hero-banner {
  background: #ffffff;
  border-radius: var(--nlk-radius);
  padding: 0;
  margin: 30px 0;
  overflow: hidden;
  box-shadow: var(--nlk-shadow);
}

/* Top decorative line */
.nlk-hero-line {
  height: 6px;
  width: 100%;
  background: gray;
}

/* Main content container */
.nlk-hero-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 50px 60px;
  gap: 0;
  min-height: 400px;
}

/* Left side - Product info */
.nlk-hero-info {
  flex: 0 0 55%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.nlk-feature-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--nlk-text);
  margin: 0;
}
.nlk-feature-text {
  color: var(--nlk-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  margin-top: 18px; /* increased space between title (pill) and text */
}
.nlk-feature-pill {
  display: inline-block;
  background: var(--nlk-accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
}
  flex-wrap: wrap;
}

.nlk-hero-price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: white;
  background: var(--nlk-accent);
  border: 1px solid var(--nlk-border);
  padding: 4px 10px;
  border-radius: 999px;
}

.nlk-hero-price-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--nlk-text);
}

/* ==========================
   Requested visual overrides
   1) Hide sale tag in product card
   2) Remove focus/active border on site logo
   3) Make green header buttons primary-outlined/transparent and remove underlines
   ========================== */

/* 1. Hide sale badge on product cards (loop) */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
  display: none !important;
}

/* 2. Remove border/outline when logo is focused/clicked */
.nlk-header-logo a:focus,
.nlk-header-logo a:active,
.nlk-header-logo a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.nlk-header-logo a img {
  outline: none !important;
  box-shadow: none !important;
}

/* 3. Primary-outlined / transparent button styles for header and other green buttons */
/* Use var(--nlk-accent) as primary color; adjust if you prefer a different primary variable. */
.nlk-header-shop-btn,
.nlk-apply-btn,
.nlk-hero-button,
.nlk-header-action.nlk-header-shop-btn {
  background: transparent !important;
  color: var(--nlk-accent) !important;
  border: 1px solid var(--nlk-accent) !important;
  text-decoration: none !important;
}

.nlk-header-shop-btn:hover,
.nlk-apply-btn:hover,
.nlk-hero-button:hover {
  background: var(--nlk-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Ensure no underline or inner link decoration appears inside buttons */
.nlk-header-shop-btn a,
.nlk-header-shop-btn span,
.nlk-apply-btn a,
.nlk-hero-button a,
.nlk-header-action a,
.nlk-header-shop-btn,
.nlk-hero-button {
  text-decoration: none !important;
}

/* Remove the explicit green accent for interactive form controls where applied */
input[type="range"],
input[type="range"]::-webkit-slider-thumb,
input[type="range"]::-moz-range-thumb {
  accent-color: var(--nlk-accent) !important;
}


.nlk-hero-price-regular {
  font-size: 18px;
  font-weight: 500;
  color: var(--nlk-muted);
  text-decoration: line-through;
}

.nlk-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: #c5e84d;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 200ms ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.nlk-hero-button:hover {
  background: #b8db40;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 232, 77, 0.4);
}

/* Right side - Product image */
.nlk-hero-image-container {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 350px;
  padding-bottom: 0;
  perspective: 900px;
}

/* Vertical hanging line */
/* .nlk-hero-image-container::before {
  content: '';
  position: absolute;
  top: -183px;
  left: 44.5%;
  transform: translateX(-50%);
  width: 3px;
  height: 61.5%;
  background: gray;
  z-index: 10;
  border-radius: 0 0 3px 3px;
} */

.nlk-hero-image {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  position: absolute;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateX(95%) rotateY(55deg) scale(0.88);
  transform-style: preserve-3d;
  transition: opacity 450ms ease, transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nlk-hero-image.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) translateX(0) rotateY(0) scale(1);
  pointer-events: auto;
}

.nlk-hero-image.is-exiting {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(-95%) rotateY(-55deg) scale(0.88);
}

/* Color swatches */
.nlk-hero-swatches {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
}

.nlk-hero-swatches-inline {
  margin-top: auto;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}
.nlk-hero-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 200ms ease;
}

.nlk-hero-swatch:hover {
  background: transparent;
}

.nlk-hero-swatch.is-active {
  border-color: var(--nlk-text);
}

.nlk-swatch-color {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform 200ms ease;
}

.nlk-hero-swatch:hover .nlk-swatch-color {
  transform: scale(1.1);
}

.nlk-hero-swatch img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
  background: transparent;
}

.nlk-swatch-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--nlk-muted);
  white-space: nowrap;
}

.nlk-hero-swatch.is-active .nlk-swatch-name {
  color: var(--nlk-text);
}

.nlk-hero-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--nlk-bg);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nlk-muted);
}

/* Hero Banner Responsive */
@media (max-width: 900px) {

  .nlk-hero-banner{
    margin-top: 60px !important;
  }

  .nlk-hero-content {
    flex-direction: column;
    padding: 40px 30px;
    text-align: left;
  }
  
  .nlk-hero-info {
    flex: 0 0 auto;
    max-width: 100%;
    order: 2;
    margin-top: 20px;
  }
  
  .nlk-hero-image-container {
    order: 1;
    min-height: 250px;
  }

  .nlk-hero-image-container::before{
    top: -34%;
  }
  
  .nlk-hero-title {
    font-size: 32px;
    text-align: center;
  }
  
  .nlk-hero-price {
    justify-content: center;
  }
  
  .nlk-hero-swatches {
    flex-wrap: wrap;
  }

  .nlk-hero-swatches-inline {
    padding-top: 16px;
  }

  .nlk-category-bar{
    margin-top: 60px;
  }

  body.single-product #primary {
    margin-top: 50px !important;
  }
}

@media (max-width: 640px) {
  .nlk-hero-content {
    padding: 30px 20px;
  }
  
  .nlk-hero-title {
    font-size: 26px;
    text-align: center;
  }
  
  .nlk-hero-description {
    font-size: 14px;
    text-align: left;
  }
  
  .nlk-hero-price-current {
    font-size: 24px;
  }
  
  .nlk-hero-button {
    padding: 14px 32px;
    font-size: 14px;
    width: 100%;
  }
  
  .nlk-hero-image {
    max-height: 220px;
  }
 
  .nlk-hero-image-container {
    padding: 0 0 120px 0;
    min-height: 340px;
    display: block;
    position: relative;
  }

  .nlk-hero-swatches {
    gap: 10px;
  }

  .nlk-hero-swatches-inline {
    margin-top: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    justify-items: center;
    width: 100%;
  }

  .nlk-hero-swatches-inline .nlk-hero-swatch {
    width: 100%;
  }

  .nlk-hero-image {
    position: absolute;
    left: 50% !important;
    top: 46% !important;
    transform: translate(-50%, -50%) translateX(80%) rotateY(45deg) scale(0.86);
    opacity: 0;
    display: block;
    height: auto;
    margin: 0;
    pointer-events: none;
  }

  .nlk-hero-image.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0) rotateY(0) scale(1);
    pointer-events: auto;
  }

  .nlk-hero-image.is-exiting {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-80%) rotateY(-45deg) scale(0.86);
  }
  
  .nlk-swatch-color,
  .nlk-hero-swatch img {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   CART + CHECKOUT THEME STYLING
   ======================================== */

body.woocommerce-cart .storefront-breadcrumb,
body.woocommerce-checkout .storefront-breadcrumb {
  display: none !important;
}

body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
  padding: 114px 0 36px;
}

body.admin-bar.woocommerce-cart .site-content,
body.admin-bar.woocommerce-checkout .site-content {
  padding-top: 146px;
}

@media (max-width: 782px) {
  body.admin-bar.woocommerce-cart .site-content,
  body.admin-bar.woocommerce-checkout .site-content {
    padding-top: 160px;
  }
}

body.woocommerce-cart #content,
body.woocommerce-checkout #content {
  max-width: 1400px;
  margin: 0 auto;
}

body.woocommerce-cart .hentry,
body.woocommerce-checkout .hentry {
  background: var(--nlk-card);
  border-radius: var(--nlk-radius);
  box-shadow: var(--nlk-shadow);
  padding: 28px;
  border: 1px solid var(--nlk-border);
}

body.woocommerce-cart .entry-header h1,
body.woocommerce-checkout .entry-header h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--nlk-text);
}

body.woocommerce-cart table.shop_table,
body.woocommerce-checkout table.shop_table,
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  border: 1px solid var(--nlk-border);
  border-radius: var(--nlk-radius-sm);
  overflow: hidden;
  background: #fff;
}

/* body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  border-color: var(--nlk-border);
} */


table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend
{
  background: transparent !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .col2-set {
  background: #fff;
  border: 1px solid var(--nlk-border);
  border-radius: var(--nlk-radius-sm);
  padding: 20px;
}

body.woocommerce-cart .coupon input.input-text,
body.woocommerce-cart input[type="text"],
body.woocommerce-cart input[type="email"],
body.woocommerce-cart input[type="tel"],
body.woocommerce-cart select,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
  border: 1px solid var(--nlk-border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: none;
}

body.woocommerce-cart .coupon input.input-text:focus,
body.woocommerce-cart input[type="text"]:focus,
body.woocommerce-cart input[type="email"]:focus,
body.woocommerce-cart input[type="tel"]:focus,
body.woocommerce-cart select:focus,
body.woocommerce-checkout input[type="text"]:focus,
body.woocommerce-checkout input[type="email"]:focus,
body.woocommerce-checkout input[type="tel"]:focus,
body.woocommerce-checkout input[type="password"]:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus {
  border-color: var(--nlk-accent);
  outline: none;
}

body.woocommerce-cart .button,
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout .button,
body.woocommerce-checkout #place_order {
  border-radius: 999px !important;
  background: var(--nlk-accent) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700;
  padding: 12px 24px !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.woocommerce-cart .button:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-checkout .button:hover,
body.woocommerce-checkout #place_order:hover {
  background: var(--nlk-accent-2) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(107, 91, 255, 0.2);
}

body.woocommerce-cart .quantity .qty,
body.woocommerce-checkout .quantity .qty {
  border-radius: 10px;
  border: 1px solid var(--nlk-border);
  padding: 10px 12px;
  background: #fff;
}

body.woocommerce-checkout #payment {
  border: 1px solid var(--nlk-border);
  border-radius: var(--nlk-radius-sm);
  background: #fff;
}

body.woocommerce-checkout #payment .payment_methods {
  border-bottom: 1px solid var(--nlk-border);
}

.storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header, .storefront-full-width-content.woocommerce-account .entry-header, .storefront-full-width-content .woocommerce-products-header
{
  padding: 0 0 2em !important;
}

@media (max-width: 768px) {
  body.woocommerce-cart #content,
  body.woocommerce-checkout #content {
    padding: 0 16px;
  }

  body.woocommerce-cart .hentry,
  body.woocommerce-checkout .hentry {
    padding: 18px;
  }

  body.woocommerce-cart .entry-header h1,
  body.woocommerce-checkout .entry-header h1 {
    font-size: 28px;
  }

  /* Fix remove (×) button being clipped by the table's border-radius + overflow:hidden */
  body.woocommerce-cart table.shop_table {
    overflow: visible;
  }

  /* Give the remove cell enough room so the × isn't cut off */
  body.woocommerce-cart table.shop_table td.product-remove {
    overflow: visible;
    padding: 8px 10px;
  }

  body.woocommerce-cart table.shop_table td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
  }

  /* Smaller buttons on mobile — prevent overflow and line-breaks */
  body.woocommerce-cart .button,
  body.woocommerce-cart .checkout-button,
  body.woocommerce-checkout .button,
  body.woocommerce-checkout #place_order {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }

  /* "Proceed to checkout" — keep it on one line */
  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: 13px !important;
    padding: 10px 14px !important;
    box-sizing: border-box;
  }

  /* Update cart / Apply coupon buttons — don't stretch awkwardly */
  body.woocommerce-cart .cart_totals .wc-proceed-to-checkout,
  body.woocommerce-cart .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}
