/* WooCommerce Page Overrides for Slaugita Theme */
.woocommerce-products-header{margin-bottom:1.75rem;}
.woocommerce-products-header__title{font-size:clamp(1.375rem, 2vw + 1rem, 1.75rem);font-weight:800;color:var(--navy);margin-bottom:0.5rem;}
.woocommerce-result-count, .woocommerce-ordering{font-size:0.8125rem;color:var(--gray);}
.woocommerce-ordering select{border:1px solid var(--line);border-radius:0.375rem;padding:0.5rem 0.75rem;font-size:0.8125rem;background:white;}

/* Products Grid — Responsive 2-Column Mobile Layout */
ul.products, .gallery-grid {
  display:grid !important;
  grid-template-columns:repeat(4, 1fr) !important;
  gap:1.25rem !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 0 2.5rem !important;
}

@media (max-width: 1024px) {
  ul.products, .gallery-grid {
    grid-template-columns:repeat(3, 1fr) !important;
    gap:1rem !important;
  }
}

@media (max-width: 768px) {
  ul.products, .gallery-grid {
    grid-template-columns:repeat(2, 1fr) !important;
    gap:0.75rem !important;
  }

  /* Catalog Page Header Controls */
  .woocommerce-products-header {
    margin-bottom:1rem !important;
  }
  .woocommerce-products-header__title, .gallery-header h1 {
    font-size:1.375rem !important;
    margin-bottom:0.375rem !important;
  }
  .woocommerce-result-count {
    font-size:0.7812rem !important;
    float:none !important;
    margin-bottom:0.5rem !important;
  }
  .woocommerce-ordering {
    float:none !important;
    width:100% !important;
    margin-bottom:1rem !important;
  }
  .woocommerce-ordering select {
    width:100% !important;
    height:2.75rem !important;
    border-radius:0.5rem !important;
    font-size:0.8438rem !important;
    padding:0 0.875rem !important;
  }

  /* Product Card Mobile Formatting */
  ul.products li.product, .gallery-grid .product-card {
    background:var(--white) !important;
    border:1.5px solid var(--line) !important;
    border-radius:0.75rem !important;
    padding:0.75rem !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:space-between !important;
    position:relative !important;
    box-sizing:border-box !important;
    margin:0 !important;
    width:100% !important;
  }

  /* Product Image Box */
  ul.products li.product a img,
  .gallery-grid .product-card .product-img img,
  ul.products li.product .product-img {
    height:9.375rem !important;
    max-height:9.375rem !important;
    object-fit:contain !important;
    margin:0 auto 0.625rem !important;
    border-radius:0.5rem !important;
  }

  /* Product Title Clamp */
  ul.products li.product .woocommerce-loop-product__title,
  .gallery-grid .product-card h3 {
    font-size:0.8125rem !important;
    font-weight:700 !important;
    color:var(--navy) !important;
    line-height:1.35 !important;
    height:2.7em !important;
    max-height:2.7em !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    margin-bottom:0.375rem !important;
  }

  /* Price Formatting */
  ul.products li.product .price,
  .gallery-grid .product-card .price-row {
    font-size:0.9375rem !important;
    font-weight:800 !important;
    color:var(--red) !important;
    margin-bottom:0.625rem !important;
    display:flex !important;
    align-items:baseline !important;
    gap:0.375rem !important;
    flex-wrap:wrap !important;
  }
  ul.products li.product .price del {
    font-size:0.7812rem !important;
    color:var(--gray-accessible) !important;
  }

  /* Add to Cart Button */
  ul.products li.product .button,
  ul.products li.product a.add_to_cart_button,
  .gallery-grid .product-card .btn-add {
    width:100% !important;
    height:2.75rem !important;
    min-height:2.75rem !important;
    font-size:0.7812rem !important;
    font-weight:700 !important;
    border-radius:0.5rem !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 0.5rem !important;
    text-transform:uppercase !important;
    letter-spacing:0.0187rem !important;
    box-sizing:border-box !important;
    margin:0 !important;
  }

  /* Heart Button */
  ul.products li.product .btn-fav {
    width:2rem !important;
    height:2rem !important;
    top:0.5rem !important;
    right:0.5rem !important;
  }
  ul.products li.product .btn-fav svg {
    width:1rem !important;
    height:1rem !important;
  }
}

@media (max-width: 440px) {
  ul.products, .gallery-grid {
    grid-template-columns:repeat(2, 1fr) !important;
    gap:0.625rem !important;
  }
  ul.products li.product, .gallery-grid .product-card {
    padding:0.625rem !important;
  }
  ul.products li.product a img,
  .gallery-grid .product-card .product-img img {
    height:8.125rem !important;
    max-height:8.125rem !important;
  }
  ul.products li.product .woocommerce-loop-product__title {
    font-size:0.7812rem !important;
  }
}

/* ═══ GUARANTEED MOBILE HEADER BUTTON & BOTTOM TABBAR ═══ */
@media (max-width: 960px) {
  /* Hide desktop header icons, topbar, and main nav on mobile */
  .main-nav,
  .header-icons,
  .topbar {
    display:none !important;
  }

  /* Hamburger Menu Button in Header */
  .mobile-menu-btn,
  #drawerToggle {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:2.75rem !important;
    height:2.75rem !important;
    min-width:2.75rem !important;
    min-height:2.75rem !important;
    background:transparent !important;
    border:none !important;
    color:var(--navy) !important;
    cursor:pointer !important;
    flex-shrink:0 !important;
    margin-right:0.5rem !important;
    z-index:120 !important;
    opacity:1 !important;
    visibility:visible !important;
  }

  .mobile-menu-btn svg,
  #drawerToggle svg {
    width:1.5rem !important;
    height:1.5rem !important;
    stroke:var(--navy) !important;
    stroke-width:0.1562rem !important;
    display:block !important;
  }

  /* Fixed Bottom Tabbar */
  nav.mobile-tabbar,
  .mobile-tabbar {
    display:flex !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:4rem !important;
    background:#ffffff !important;
    border-top:1.5px solid var(--line) !important;
    z-index:999999 !important;
    box-shadow:0 -6px 20px rgba(1, 34, 69, 0.15) !important;
    padding:0.25rem 0.5rem !important;
    align-items:center !important;
    justify-content:space-around !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  nav.mobile-tabbar a.tab-item,
  .mobile-tabbar a.tab-item {
    flex:1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0.1875rem !important;
    font-size:0.7188rem !important;
    font-weight:600 !important;
    color:var(--gray-accessible) !important;
    text-decoration:none !important;
    min-height:2.75rem !important;
  }

  nav.mobile-tabbar a.tab-item svg,
  .mobile-tabbar a.tab-item svg {
    width:1.375rem !important;
    height:1.375rem !important;
    stroke:var(--gray) !important;
    stroke-width:0.1125rem !important;
  }

  nav.mobile-tabbar a.tab-item.active,
  .mobile-tabbar a.tab-item.active {
    color:var(--teal-dark) !important;
  }

  nav.mobile-tabbar a.tab-item.active svg,
  .mobile-tabbar a.tab-item.active svg {
    stroke:var(--teal-dark) !important;
  }

  nav.mobile-tabbar a.tab-cart,
  .mobile-tabbar a.tab-cart {
    flex:0 0 auto !important;
    width:3.125rem !important;
    height:3.125rem !important;
    border-radius:0.875rem !important;
    background:var(--teal) !important;
    color:#ffffff !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin-top:-1.25rem !important;
    position:relative !important;
    box-shadow:0 8px 18px rgba(13, 144, 142, 0.4) !important;
    text-decoration:none !important;
  }

  nav.mobile-tabbar a.tab-cart svg,
  .mobile-tabbar a.tab-cart svg {
    width:1.5rem !important;
    height:1.5rem !important;
    stroke:#ffffff !important;
  }

  html, body {
    padding-bottom:4.75rem !important;
  }
}
.single-product-main{display:flex;gap:2.5rem;margin-bottom:3rem;align-items:flex-start;}
@media(max-width:860px){.single-product-main{flex-direction:column;gap:1.5rem;}}

.woocommerce-product-gallery{width:48%;flex-shrink:0;position:relative;}
@media(max-width:860px){.woocommerce-product-gallery{width:100%;}}
.woocommerce-product-gallery .onsale{display:none !important;}

/* Gallery Thumbnail Strip */
.woocommerce-product-gallery ol.flex-control-nav,
.woocommerce-product-gallery ul.flex-control-nav{
  display:flex !important;gap:0.625rem !important;list-style:none !important;padding:0 !important;margin:1rem 0 0 !important;
}
.woocommerce-product-gallery ol.flex-control-nav li,
.woocommerce-product-gallery ul.flex-control-nav li{
  list-style:none !important;margin:0 !important;padding:0 !important;width:4.25rem !important;height:4.25rem !important;
  border-radius:0.5rem !important;border:1.5px solid var(--line) !important;overflow:hidden !important;cursor:pointer !important;
}
.woocommerce-product-gallery ol.flex-control-nav li img,
.woocommerce-product-gallery ul.flex-control-nav li img{
  width:100% !important;height:100% !important;object-fit:cover !important;
}

.entry-summary{flex:1;min-width:0;}
.product_title{font-size:clamp(1.25rem, 2.5vw + 1rem, 1.75rem);font-weight:800;color:var(--navy);margin-bottom:0.75rem;line-height:1.2;}
.woocommerce-product-details__short-description{font-size:0.875rem;color:var(--gray);margin-bottom:1.25rem;line-height:1.6;}

/* Price Formatting */
.price{font-size:1.5rem;font-weight:800;color:var(--navy);margin-bottom:1.25rem;display:flex;align-items:baseline;gap:0.625rem;flex-wrap:wrap;}
.price del{font-size:1rem;color:var(--gray);font-weight:400;text-decoration:line-through;}
.price ins{text-decoration:none;color:var(--red);font-size:1.625rem;font-weight:800;}
.price bdi, .price .amount{white-space:nowrap;}

/* Quantity Input & Add to Cart Form */
form.cart{display:flex;gap:0.875rem;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;}
form.cart .quantity .qty{
  display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:0.5rem;
  background:white;height:3rem;overflow:hidden;
}
form.cart .quantity .qty .qty-btn{
  width:2.25rem;height:3rem;border:none;background:none;font-size:1.125rem;font-weight:700;
  color:var(--navy);cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background .15s;
}
form.cart .quantity .qty .qty-btn:hover{background:var(--bg);}
form.cart .quantity .qty input.qty{
  width:2.75rem;height:3rem;border:none;text-align:center;font-size:0.9375rem;font-weight:700;
  color:var(--navy);background:none;-moz-appearance:textfield;
}
form.cart .quantity .qty input.qty::-webkit-outer-spin-button,
form.cart .quantity .qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

form.cart button.single_add_to_cart_button{
  background:var(--teal);color:white;font-weight:700;font-size:0.9375rem;padding:0 2rem;
  height:3rem;border-radius:0.5rem;transition:background .2s;border:none;cursor:pointer;
  white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
form.cart button.single_add_to_cart_button:hover{background:var(--teal-dark);}

/* Product Tabs */
.woocommerce-tabs{border-top:1px solid var(--line);padding-top:2rem;margin-top:2.5rem;width:100%;}
.woocommerce-tabs ul.tabs{display:flex;gap:0.75rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem;padding:0;list-style:none;}
.woocommerce-tabs ul.tabs li a{font-weight:700;font-size:0.875rem;color:var(--gray);padding:0.625rem 1rem;display:block;border-bottom:2px solid transparent;}
.woocommerce-tabs ul.tabs li.active a{color:var(--teal);border-color:var(--teal);}
.woocommerce-Tabs-panel{font-size:0.875rem;line-height:1.7;color:var(--ink);}

/* Review Form Styling */
.woocommerce #review_form #respond{background:var(--bg);border:1px solid var(--line);border-radius:0.75rem;padding:1.5rem;margin-top:1.25rem;}
.woocommerce #review_form #respond .comment-reply-title{font-size:1.125rem;font-weight:700;color:var(--navy);margin-bottom:0.75rem;display:block;}
.woocommerce #review_form #respond p{margin-bottom:1rem;}
.woocommerce #review_form #respond label{font-size:0.8125rem;font-weight:600;color:var(--ink);display:block;margin-bottom:0.375rem;}
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea{width:100%;border:1.5px solid var(--line);border-radius:0.5rem;padding:0.625rem 0.875rem;font-size:0.875rem;background:white;}
.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus{border-color:var(--teal);outline:none;}
.woocommerce #review_form #respond input#submit,
.woocommerce #review_form #respond .form-submit input{
  background:var(--teal);color:white;font-weight:700;font-size:0.875rem;padding:0.75rem 1.75rem;
  border-radius:0.375rem;border:none;cursor:pointer;transition:background .2s ease;
}
.woocommerce #review_form #respond input#submit:hover,
.woocommerce #review_form #respond .form-submit input:hover{background:var(--teal-dark);}

/* Star Rating Selector */
.woocommerce p.stars a{display:inline-block;margin-right:0.25rem;font-size:1rem;color:var(--amber);text-decoration:none;}

/* Pagination */
.woocommerce-pagination{display:flex;justify-content:center;margin-top:2.5rem;}
.woocommerce-pagination ul.page-numbers{display:flex;gap:0.375rem;list-style:none;padding:0;}
.woocommerce-pagination ul.page-numbers li a, .woocommerce-pagination ul.page-numbers li span{
  display:flex;align-items:center;justify-content:center;width:2.375rem;height:2.375rem;border-radius:0.5rem;
  border:1px solid var(--line);font-size:0.8438rem;font-weight:600;color:var(--ink);text-decoration:none;
}
.woocommerce-pagination ul.page-numbers li span.current{background:var(--navy);color:white;border-color:var(--navy);}

/* ---------- Mobile Sticky Add-To-Cart Bar ---------- */
.mobile-sticky-cart{
  position:fixed;bottom:0;left:0;right:0;background:var(--white);border-top:1px solid var(--line);
  padding:0.625rem 1rem;z-index:95;box-shadow:0 -6px 20px rgba(1,34,69,.12);
  transform:translateY(100%);transition:transform .28s ease;display:none;
}
.mobile-sticky-cart.is-visible{transform:translateY(0);}
.sticky-cart-content{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;max-width:87.5rem;margin:0 auto;}
.sticky-cart-info{display:flex;flex-direction:column;min-width:0;}
.sticky-cart-title{font-size:0.8125rem;font-weight:700;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sticky-cart-price{font-size:0.8125rem;font-weight:800;color:var(--teal-dark);}

@media(max-width:860px){
  .mobile-sticky-cart{display:block;}
}

/* ---------- WooCommerce Notices & Alerts ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error{
  padding:0.875rem 1.125rem;border-radius:0.625rem;font-size:0.8438rem;margin-bottom:1.25rem;
  display:flex;align-items:center;justify-content:space-between;gap:0.875rem;
}
.woocommerce-message{background:var(--teal-light);color:var(--teal-dark);border:1px solid #c7e6e4;}
.woocommerce-info{background:var(--bg);color:var(--navy);border:1px solid var(--line);}
.woocommerce-error{background:var(--red-light);color:#b02440;border:1px solid #f6c6cf;list-style:none;}
.woocommerce-message .button, .woocommerce-info .button{
  background:var(--teal);color:white;padding:0.375rem 0.875rem;border-radius:0.375rem;font-size:0.75rem;font-weight:700;
  text-decoration:none;transition:background .15s ease;
}
.woocommerce-message .button:hover{background:var(--teal-dark);}

/* ---------- Product Card Hover Micro-Interactions ---------- */
.product-card{transition:transform .25s ease, box-shadow .25s ease;}
.product-card:hover{transform:translateY(-0.25rem);box-shadow:var(--shadow-md);}
.product-card .product-img img, .product-card img{transition:transform .3s ease;}
.product-card:hover .product-img img, .product-card:hover img{transform:scale(1.04);}

/* ---------- Pulsating Stock Dot & Savings Badge ---------- */
.stock-status-pill{display:inline-flex;align-items:center;gap:0.375rem;font-size:0.6875rem;font-weight:600;color:var(--green);margin-bottom:0.375rem;}
.pulse-dot{width:0.4375rem;height:0.4375rem;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(46,158,91,.4);animation:stockPulse 2s infinite;}
@keyframes stockPulse{0%{box-shadow:0 0 0 0 rgba(46,158,91,.4);}70%{box-shadow:0 0 0 6px rgba(46,158,91,0);}100%{box-shadow:0 0 0 0 rgba(46,158,91,0);}}
.savings-tag{font-size:0.625rem;font-weight:700;background:var(--amber-light);color:#b5652b;padding:0.125rem 0.375rem;border-radius:0.25rem;margin-left:0.375rem;}

/* ---------- WooCommerce Edit Address & Form Fields ---------- */
.woocommerce-address-fields__field-wrapper .form-row,
.woocommerce-form-row,
.woocommerce-edit-address .form-row {
  display:flex !important;
  flex-direction:column !important;
  margin-bottom:1rem !important;
}

.woocommerce-address-fields__field-wrapper label,
.woocommerce-form-row label,
.woocommerce-edit-address label {
  font-size:0.8438rem !important;
  font-weight:700 !important;
  color:var(--navy) !important;
  margin-bottom:0.375rem !important;
}

.woocommerce-address-fields__field-wrapper input.input-text,
.woocommerce-address-fields__field-wrapper select,
.woocommerce-address-fields__field-wrapper textarea,
.woocommerce-form-row input.input-text,
.woocommerce-form-row select,
.woocommerce-form-row textarea,
.woocommerce-edit-address input.input-text,
.woocommerce-edit-address select {
  width:100% !important;
  height:3rem !important;
  border:1.5px solid var(--line) !important;
  border-radius:0.5rem !important;
  padding:0 1rem !important;
  font-size:0.875rem !important;
  font-family:inherit !important;
  color:var(--navy) !important;
  background:var(--white) !important;
  outline:none !important;
  transition:border-color 0.15s ease !important;
  box-sizing:border-box !important;
}

.woocommerce-address-fields__field-wrapper input.input-text:focus,
.woocommerce-address-fields__field-wrapper select:focus,
.woocommerce-form-row input.input-text:focus,
.woocommerce-form-row select:focus {
  border-color:var(--teal) !important;
  box-shadow:0 0 0 3px var(--teal-light) !important;
}

/* ---------- WooCommerce Checkout Layout & Order Summary ---------- */
form.checkout.woocommerce-checkout {
  display:grid !important;
  grid-template-columns:1fr 23.75rem !important;
  gap:2rem !important;
  align-items:start !important;
}

@media (max-width: 960px) {
  form.checkout.woocommerce-checkout {
    grid-template-columns:1fr !important;
  }
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display:grid !important;
  grid-template-columns:repeat(2, 1fr) !important;
  gap:1rem !important;
}

.woocommerce-billing-fields__field-wrapper p.form-row-wide,
.woocommerce-shipping-fields__field-wrapper p.form-row-wide {
  grid-column:span 2 !important;
}

/* Order Review Table */
table.woocommerce-checkout-review-order-table {
  width:100% !important;
  border-collapse:collapse !important;
  margin-bottom:1.25rem !important;
}

table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td {
  padding:0.75rem 0 !important;
  border-bottom:1px solid var(--line) !important;
  font-size:0.875rem !important;
}

table.woocommerce-checkout-review-order-table td.product-name {
  color:var(--navy) !important;
  font-weight:600 !important;
}

table.woocommerce-checkout-review-order-table td.product-total {
  text-align:right !important;
  font-weight:700 !important;
  color:var(--navy) !important;
}

table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size:1.25rem !important;
  font-weight:800 !important;
  color:var(--red) !important;
}

/* Payment Methods List */
#payment ul.payment_methods {
  list-style:none !important;
  padding:0 !important;
  margin:0 0 1.25rem 0 !important;
  border:1.5px solid var(--line) !important;
  border-radius:0.75rem !important;
  overflow:hidden !important;
}

#payment ul.payment_methods li {
  padding:1rem !important;
  border-bottom:1px solid var(--line) !important;
  background:var(--white) !important;
}

#payment ul.payment_methods li:last-child {
  border-bottom:none !important;
}

#payment ul.payment_methods li label {
  font-size:0.875rem !important;
  font-weight:700 !important;
  color:var(--navy) !important;
  cursor:pointer !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:0.5rem !important;
}

#payment div.payment_box {
  padding:0.75rem 1rem !important;
  margin-top:0.625rem !important;
  background:var(--bg) !important;
  border-radius:0.5rem !important;
  font-size:0.8125rem !important;
  color:var(--gray-accessible) !important;
}

/* Place Order Button */
#payment #place_order,
.woocommerce-checkout #place_order {
  width:100% !important;
  height:3.25rem !important;
  background:var(--teal) !important;
  color:var(--white) !important;
  font-size:1rem !important;
  font-weight:800 !important;
  border-radius:0.625rem !important;
  border:none !important;
  cursor:pointer !important;
  transition:background 0.15s ease !important;
  box-shadow:0 4px 12px rgba(22, 160, 133, 0.25) !important;
}

#payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
  background:var(--teal-dark) !important;
}

/* ==========================================================================
   Checkout Progress Bar (Steps 1, 2, 3)
   ========================================================================== */
.bc-checkout-progress {
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:42.5rem;
  margin:0 auto 2.25rem auto;
  position:relative;
}

.bc-checkout-step {
  display:flex;
  flex-direction:column;
  align-items:center;
  z-index:2;
  position:relative;
  text-align:center;
  flex:1;
}

.bc-checkout-step__num {
  width:2.375rem;
  height:2.375rem;
  border-radius:50%;
  background:var(--white);
  border:2px solid var(--line);
  color:var(--gray-accessible);
  font-weight:700;
  font-size:0.875rem;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:0 2px 4px rgba(0, 0, 0, 0.02);
}

.bc-checkout-step__label {
  font-size:0.8438rem;
  font-weight:700;
  color:var(--gray-accessible);
  margin-top:0.625rem;
  transition:all 0.25s ease;
  white-space:nowrap;
}

.bc-checkout-step__line {
  height:0.1562rem;
  background:var(--line);
  flex-grow:1;
  margin:-1.75rem 0.5rem 0 0.5rem;
  z-index:1;
  transition:all 0.25s ease;
}

/* Active State */
.bc-checkout-step--active .bc-checkout-step__num {
  background:var(--navy);
  border-color:var(--navy);
  color:var(--white);
  box-shadow:0 0 0 4px var(--teal-light);
}

.bc-checkout-step--active .bc-checkout-step__label {
  color:var(--navy);
}

/* Completed State */
.bc-checkout-step--completed .bc-checkout-step__num {
  background:var(--teal);
  border-color:var(--teal);
  color:var(--white);
}

.bc-checkout-step--completed .bc-checkout-step__label {
  color:var(--teal-dark);
}

.bc-checkout-step__line--completed {
  background:var(--teal);
}

@media (max-width: 580px) {
  .bc-checkout-progress {
    margin-bottom:1.5rem;
  }
  .bc-checkout-step__label {
    font-size:0.6875rem;
    margin-top:0.375rem;
  }
  .bc-checkout-step__num {
    width:1.875rem;
    height:1.875rem;
    font-size:0.75rem;
  }
  .bc-checkout-step__line {
    margin-top:-2.25rem;
    margin-left:0.25rem;
    margin-right:0.25rem;
  }
}

/* ==========================================================================
   Newsletter Signup Section (Homepage / Global)
   ========================================================================== */
.bc-newsletter {
  background:var(--teal-light);
  padding:3.5rem 0;
  border-top:1.5px solid var(--line);
  border-bottom:1.5px solid var(--line);
}

.bc-newsletter__container {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:3rem;
  align-items:center;
}

.bc-newsletter__title {
  font-size:clamp(1.125rem, 2vw + 0.875rem, 1.5rem);
  font-weight:800;
  color:var(--navy);
  margin:0 0 0.5rem 0;
  line-height:1.25;
}

.bc-newsletter__text {
  font-size:0.9062rem;
  color:var(--gray-accessible);
  margin:0;
  line-height:1.5;
}

.bc-newsletter__form {
  display:flex;
  gap:0.75rem;
}

.bc-newsletter__input {
  flex:1;
  height:3.25rem;
  border-radius:0.5rem;
  border:1.5px solid var(--line);
  padding:0 1.125rem;
  font-size:0.9062rem;
  font-family:inherit;
  background:var(--white);
  color:var(--navy);
  outline:none;
  transition:border-color 0.15s ease, box-shadow 0.15s ease;
}

.bc-newsletter__input:focus {
  border-color:var(--teal);
  box-shadow:0 0 0 3px var(--teal-light);
}

.bc-newsletter__submit {
  height:3.25rem;
  padding:0 2rem;
  font-weight:700;
  font-size:0.9375rem;
  border-radius:0.5rem;
  border:none;
  cursor:pointer;
  white-space:nowrap;
}

@media (max-width: 860px) {
  .bc-newsletter {
    padding:2.5rem 0;
  }
  .bc-newsletter__container {
    grid-template-columns:1fr;
    gap:1.5rem;
    text-align:center;
  }
  .bc-newsletter__form {
    flex-direction:column;
    gap:0.75rem;
  }
  .bc-newsletter__input, .bc-newsletter__submit {
    width:100%;
    box-sizing:border-box;
  }
}

/* ==========================================================================
   Interactive Quantity Changer (Mini-Cart / Cart Page)
   ========================================================================== */
.bc-mini-cart-qty__btn:hover {
  background:var(--teal-light) !important;
  color:var(--teal-dark) !important;
}

.bc-mini-cart-qty__btn:disabled {
  opacity:0.5;
  cursor:not-allowed;
}

.bc-mini-cart-qty__input::-webkit-outer-spin-button,
.bc-mini-cart-qty__input::-webkit-inner-spin-button {
  -webkit-appearance:none;
  margin:0;
}

/* ==========================================================================
   Checkout Visual Shipping Selector Cards
   ========================================================================== */
.woocommerce-shipping-totals ul#shipping_method,
.woocommerce-checkout-review-order ul#shipping_method {
  list-style:none !important;
  padding:0 !important;
  margin:0.75rem 0 0 0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:0.75rem !important;
}

.woocommerce-shipping-totals ul#shipping_method li,
.woocommerce-checkout-review-order ul#shipping_method li {
  background:var(--white) !important;
  border:1.5px solid var(--line) !important;
  border-radius:0.75rem !important;
  padding:1rem 1.25rem !important;
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:0.875rem !important;
  cursor:pointer !important;
  transition:border-color 0.2s ease, box-shadow 0.2s ease !important;
  margin:0 !important;
  box-shadow:0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-shipping-totals ul#shipping_method li:hover,
.woocommerce-checkout-review-order ul#shipping_method li:hover {
  border-color:var(--teal) !important;
  box-shadow:var(--shadow-sm) !important;
}

.woocommerce-shipping-totals ul#shipping_method li input[type="radio"],
.woocommerce-checkout-review-order ul#shipping_method li input[type="radio"] {
  width:1.25rem !important;
  height:1.25rem !important;
  margin:0 !important;
  accent-color:var(--teal) !important;
  cursor:pointer !important;
  flex-shrink:0 !important;
}

.woocommerce-shipping-totals ul#shipping_method li label,
.woocommerce-checkout-review-order ul#shipping_method li label {
  font-size:0.875rem !important;
  font-weight:700 !important;
  color:var(--navy) !important;
  cursor:pointer !important;
  flex:1 !important;
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  margin:0 !important;
  line-height:1.4 !important;
}

.woocommerce-shipping-totals ul#shipping_method li label span.amount,
.woocommerce-checkout-review-order ul#shipping_method li label span.amount {
  color:var(--red) !important;
  font-weight:800 !important;
  font-size:0.9062rem !important;
}

/* ==========================================================================
   Checkout Page Premium Form Fields & Overrides
   ========================================================================== */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-billing-fields__field-wrapper select,
.woocommerce-billing-fields__field-wrapper textarea,
.woocommerce-shipping-fields__field-wrapper input.input-text,
.woocommerce-shipping-fields__field-wrapper select,
.woocommerce-shipping-fields__field-wrapper textarea {
  width:100% !important;
  height:3rem !important;
  border:1.5px solid var(--line) !important;
  border-radius:0.5rem !important;
  padding:0 1rem !important;
  font-size:0.875rem !important;
  font-family:inherit !important;
  color:var(--navy) !important;
  background:var(--white) !important;
  outline:none !important;
  transition:border-color 0.15s ease, box-shadow 0.15s ease !important;
  box-sizing:border-box !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color:var(--teal) !important;
  box-shadow:0 0 0 3px var(--teal-light) !important;
}

.woocommerce-checkout textarea,
.woocommerce-billing-fields__field-wrapper textarea,
.woocommerce-shipping-fields__field-wrapper textarea {
  height:auto !important;
  min-height:7.5rem !important;
  padding:0.75rem 1rem !important;
  line-height:1.6 !important;
  resize:vertical !important;
}

/* Hide default WooCommerce additional fields (order notes) in Section 1 */
.woocommerce-checkout .woocommerce-additional-fields {
  display:none !important;
}

/* Show our custom ones in Section 3 */
.woocommerce-checkout .woocommerce-additional-fields-custom {
  display:block !important;
}

.woocommerce-checkout .woocommerce-additional-fields-custom .woocommerce-additional-fields {
  display:block !important;
}

/* Hide duplicate shipping rows from the order review table in the sidebar */
.woocommerce-checkout #order_review tr.shipping,
.woocommerce-checkout #order_review tr.woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table tr.shipping,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
  display:none !important;
}

/* Premium Styling for Payment Methods (Cards) */
#payment ul.payment_methods {
  border:1.5px solid var(--line) !important;
  border-radius:0.75rem !important;
  overflow:hidden !important;
  box-shadow:0 2px 4px rgba(0, 0, 0, 0.02) !important;
  background:var(--white) !important;
  margin-bottom:1.25rem !important;
}

#payment ul.payment_methods li {
  padding:1.125rem 1.25rem !important;
  border-bottom:1.5px solid var(--line) !important;
  background:var(--white) !important;
  transition:background-color 0.2s ease !important;
}

#payment ul.payment_methods li:last-child {
  border-bottom:none !important;
}

#payment ul.payment_methods li:hover {
  background-color:var(--bg) !important;
}

#payment ul.payment_methods li input[type="radio"] {
  width:1.25rem !important;
  height:1.25rem !important;
  accent-color:var(--teal) !important;
  cursor:pointer !important;
  margin:0 0.625rem 0 0 !important;
  vertical-align:middle !important;
}

#payment ul.payment_methods li label {
  font-size:0.9062rem !important;
  font-weight:700 !important;
  color:var(--navy) !important;
  cursor:pointer !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:0.5rem !important;
}

/* Description of payment method */
#payment div.payment_box {
  background:var(--bg) !important;
  border:1px solid var(--line) !important;
  border-radius:0.5rem !important;
  padding:0.875rem 1.125rem !important;
  margin-top:0.75rem !important;
  font-size:0.8125rem !important;
  line-height:1.5 !important;
  color:var(--gray-accessible) !important;
}

/* Form check and ship to different address styling */
.woocommerce-checkout .form-row.create-account,
.woocommerce-checkout #ship-to-different-address {
  display:flex !important;
  align-items:center !important;
  gap:0.625rem !important;
  margin-bottom:1.125rem !important;
  margin-top:0.875rem !important;
}

.woocommerce-checkout input[type="checkbox"] {
  width:1.25rem !important;
  height:1.25rem !important;
  accent-color:var(--teal) !important;
  cursor:pointer !important;
  margin:0 !important;
  flex-shrink:0 !important;
}

.woocommerce-checkout #ship-to-different-address label {
  margin:0 !important;
  font-size:0.9062rem !important;
  font-weight:700 !important;
  color:var(--navy) !important;
  cursor:pointer !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:0.5rem !important;
}

/* Style select dropdowns (e.g. terminals list) on Checkout */
.woocommerce-checkout select {
  cursor:pointer !important;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23012245' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
  background-repeat:no-repeat !important;
  background-position:right 0.875rem center !important;
  background-size:1rem !important;
  padding-right:2.5rem !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  appearance:none !important;
}

/* ==========================================================================
   Checkout Table & Coupon & Shipping UI Adjustments
   ========================================================================== */
.woocommerce-shipping-totals th {
  display:block !important;
  font-size:0.9375rem !important;
  font-weight:700 !important;
  color:var(--navy) !important;
  margin-bottom:0.625rem !important;
  text-align:left !important;
  padding:0 !important;
  border:none !important;
}

.woocommerce-shipping-totals td {
  display:block !important;
  padding:0 !important;
  border:none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  background:var(--bg) !important;
  border:1.5px solid var(--line) !important;
  border-radius:0.625rem !important;
  padding:1rem 1.25rem !important;
  font-size:0.875rem !important;
  color:var(--navy) !important;
  margin-bottom:1.5rem !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
  color:var(--teal) !important;
  font-weight:700 !important;
  text-decoration:underline !important;
}

/* Terminal Dropdown Selector Styling */
.woocommerce-checkout select.shipping_method,
.woocommerce-checkout select[name*="terminal"],
.woocommerce-checkout select[id*="terminal"],
.shipping_method + select {
  margin-top:0.75rem !important;
  margin-bottom:0.5rem !important;
}

/* Ensure the terminal dropdown takes 100% width and wraps below the visual card label */
.woocommerce-shipping-totals ul#shipping_method li select,
.woocommerce-shipping-totals ul#shipping_method li > div,
.woocommerce-shipping-totals ul#shipping_method li .omniva-terminal-select,
.woocommerce-shipping-totals ul#shipping_method li .dpd-terminal-select,
.woocommerce-shipping-totals ul#shipping_method li div[id*="terminal"],
.woocommerce-shipping-totals ul#shipping_method li select[id*="terminal"],
.woocommerce-shipping-totals ul#shipping_method li .shipping_method + select,
.woocommerce-checkout-review-order ul#shipping_method li select,
.woocommerce-checkout-review-order ul#shipping_method li > div,
.woocommerce-checkout-review-order ul#shipping_method li .omniva-terminal-select,
.woocommerce-checkout-review-order ul#shipping_method li .dpd-terminal-select,
.woocommerce-checkout-review-order ul#shipping_method li div[id*="terminal"],
.woocommerce-checkout-review-order ul#shipping_method li select[id*="terminal"],
.woocommerce-checkout-review-order ul#shipping_method li .shipping_method + select {
  width:100% !important;
  flex:1 0 100% !important;
  margin-top:0.75rem !important;
  display:block !important;
}

/* Keyboard Focus Styles for Accessibility (WCAG 2.2 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline:3px solid var(--teal) !important;
  outline-offset:3px !important;
}
/* Search suggestions keyboard selection styling */
.bc-search-item.is-active {
  background:var(--secondary) !important;
  outline:2px solid var(--teal) !important;
  outline-offset:-2px !important;
}

/* Product Specifications Table */
.bc-pdp-specs {
  margin-top:0.625rem;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-xl, 0.75rem);
  overflow:hidden;
}

.bc-pdp-specs-table {
  width:100%;
  border-collapse:collapse;
  margin:0;
}

.bc-pdp-specs-table__row {
  border-bottom:1px solid var(--line);
  transition:background-color 0.2s ease;
}

.bc-pdp-specs-table__row:last-child {
  border-bottom:none;
}

.bc-pdp-specs-table__row:hover {
  background-color:var(--bg);
}

.bc-pdp-specs-table__label {
  padding:0.875rem 1.25rem;
  font-weight:700;
  color:var(--navy);
  width:35%;
  font-size:0.875rem;
  border-right:1px solid var(--line);
  background:var(--bg);
}

.bc-pdp-specs-table__value {
  padding:0.875rem 1.25rem;
  color:var(--gray-accessible);
  font-size:0.875rem;
  background:var(--white);
}

@media (max-width: 600px) {
  .bc-pdp-specs-table__row {
    display:flex;
    flex-direction:column;
    border-bottom:1px solid var(--line);
  }
  .bc-pdp-specs-table__row:last-child {
    border-bottom:none;
  }
  .bc-pdp-specs-table__label {
    width:100% !important;
    border-right:none !important;
    border-bottom:1px solid var(--line) !important;
    padding:0.625rem 1rem !important;
    font-size:0.8438rem !important;
  }
  .bc-pdp-specs-table__value {
    width:100% !important;
    padding:0.625rem 1rem !important;
    font-size:0.8438rem !important;
  }
}

/* Single Product Tab Layout, Specifications List & Size Table Overrides */
.bc-single-product .desc-grid {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:3rem;
}

@media (max-width: 880px) {
  .bc-single-product .desc-grid {
    grid-template-columns:1fr;
    gap:2rem;
  }
}

.bc-single-product .desc-grid h2 {
  font-size:clamp(1.0625rem, 1.5vw + 0.875rem, 1.375rem);
  margin:0 0 0.875rem;
  color:var(--navy);
}

.bc-single-product .desc-grid p {
  font-size:0.9375rem;
  line-height:1.7;
  color:var(--gray-accessible);
  margin:0 0 1rem;
}

.bc-single-product .spec-list {
  list-style:none;
  padding:0;
  margin:0 0 1.375rem;
}

.bc-single-product .spec-list li {
  display:flex;
  justify-content:space-between;
  padding:0.6875rem 0;
  border-bottom:1px solid var(--line);
  font-size:0.8438rem;
}

.bc-single-product .spec-list li span:first-child {
  color:var(--gray-accessible);
}

.bc-single-product .spec-list li span:last-child {
  font-weight:600;
  text-align:right;
  color:var(--navy);
}

.bc-single-product .size-table-card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-xl, 0.875rem);
  padding:1.375rem;
  margin-bottom:1.25rem;
  box-shadow:var(--shadow-sm);
}

.bc-single-product .size-table-card h3 {
  font-size:0.875rem;
  margin:0 0 0.75rem;
  font-weight:700;
  color:var(--navy);
}

.bc-single-product table.sizes {
  width:100%;
  border-collapse:collapse;
  font-size:0.8125rem;
}

.bc-single-product table.sizes th {
  text-align:left;
  color:var(--gray-accessible);
  font-weight:600;
  padding:0.5rem 0.375rem;
  border-bottom:1px solid var(--line);
}

.bc-single-product table.sizes td {
  padding:0.5rem 0.375rem;
  border-bottom:1px solid var(--line);
  color:var(--navy);
}

.bc-single-product .cert-row {
  display:flex;
  gap:0.5rem;
  flex-wrap:wrap;
  margin-top:0.5rem;
}

.cert-card {
  margin-top:1.25rem;
}

.cert-card__title {
  font-size:0.875rem;
  margin-bottom:0.5rem;
  font-weight:700;
  color:var(--navy);
}

/* Premium Visual Audit Remediation */
.hero-content .btn-primary {
  padding:1rem 2.25rem !important;
  font-size:1rem !important;
  border-radius:0.5rem !important;
}

/* Prevent iOS Auto-Zoom on form inputs */
@media (max-width: 860px) {
  .woocommerce-checkout input[type="text"],
  .woocommerce-checkout input[type="email"],
  .woocommerce-checkout input[type="tel"],
  .woocommerce-checkout input[type="search"],
  .woocommerce-checkout input[type="number"],
  .woocommerce-checkout select,
  .woocommerce-checkout textarea,
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="password"],
  .contact-form textarea {
    font-size:1rem !important;
  }
}

/* Accessible Focus Outlines */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus-visible {
  outline:2px solid var(--teal) !important;
  outline-offset:2px !important;
}


