/*
Theme Name: TRIBE LIFESTYLE MAIN
Template: oceanwp
Version: 2.0
Description: Tribe Lifestyle — Black & White Edition
Author: Tribe Lifestyle
*/

/* ─────────────────────────────────────────────────────────────
   FONTS
───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ─────────────────────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --tk-black: #0a0a0a;
  --tk-dark: #141414;
  --tk-mid: #888;
  --tk-light: #f5f5f5;
  --tk-border: #e8e8e8;
  --tk-white: #ffffff;
  --tk-red: #c53030;
  --tk-green: #276749;
  --fn-d: 'Bebas Neue', sans-serif;
  --fn-b: 'Plus Jakarta Sans', sans-serif;
  --fn-l: 'Space Grotesk', sans-serif;
  --r: 8px;
  --rl: 14px;
  --pill: 999px;
  --sh: 0 2px 10px rgba(0, 0, 0, .07);
  --sh-md: 0 6px 28px rgba(0, 0, 0, .12);
  --t: .2s cubic-bezier(.4, 0, .2, 1);
}

/* Shared max-width wrapper (matches front page) */
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL BASE (non-front-page pages only)
───────────────────────────────────────────────────────────── */
body {
  font-family: var(--fn-b) !important;
  background: var(--tk-light) !important;
  color: var(--tk-black) !important;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────────────────────────
   OCEANWP HEADER — black on all pages except front-page
   (front-page.php has its own header so this targets OceanWP's)
───────────────────────────────────────────────────────────── */
#site-header,
.site-header,
#site-navigation-wrap,
.oceanwp-sticky-header {
  background: #0a0a0a !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
}

/* OceanWP logo — same style as front page */
#site-header .custom-logo,
#site-header .site-logo img {
  filter: brightness(0) invert(1) !important;
}

/* Brand name in header — match front page style */
#site-header .site-title a,
#site-header .site-logo-text a,
.site-header .site-title a {
  font-family: var(--fn-l) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: .4px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

/* OceanWP nav links */
#site-navigation ul li a,
.nav-menu>li>a,
#site-header #site-navigation ul li a {
  font-family: var(--fn-l) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, .8) !important;
  letter-spacing: .2px !important;
}

#site-navigation ul li a:hover,
.nav-menu>li:hover>a,
.nav-menu>li.current-menu-item>a {
  color: #fff !important;
}

/* OceanWP search in header */
#site-header .search-overlay-icon,
#site-header .search-toggle {
  color: rgba(255, 255, 255, .7) !important;
}

#site-header .search-form input[type="search"],
#site-header .search-field {
  background: rgba(255, 255, 255, .08) !important;
  border: 1.5px solid rgba(255, 255, 255, .2) !important;
  border-radius: var(--pill) !important;
  color: #fff !important;
  font-family: var(--fn-b) !important;
}

#site-header .search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, .4) !important;
}

/* Mobile menu search bar */
#mobile-menu-search form {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1.5px solid rgba(255, 255, 255, .15) !important;
  border-radius: var(--pill) !important;
  overflow: hidden !important;
  margin: 12px 16px !important;
}

#mobile-menu-search input[type="search"] {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-family: var(--fn-b) !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  flex: 1 !important;
  outline: none !important;
}

#mobile-menu-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, .4) !important;
}

#mobile-menu-search button {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, .7) !important;
  padding: 8px 14px !important;
  cursor: pointer !important;
}

/* Mobile menu styling */
.sidr,
#sidr-main,
.mobile-menu,
#mobile-fullscreen {
  background: var(--tk-black) !important;
}

.sidr a,
#sidr-main a,
.mobile-menu a,
#mobile-fullscreen a {
  font-family: var(--fn-l) !important;
  color: rgba(255, 255, 255, .85) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT CARDS — universal (shop + related + upsell + home + cross-sell)

   Uses consistent .tpc-card class from content-product.php
   Image frame effect via .tpc-img-frame container
───────────────────────────────────────────────────────────── */

/* ── GRID: override OceanWP's float-based column layout ── */
ul.products,
ul.products.columns-1,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4,
ul.products.columns-5,
ul.products.oceanwp-row,
.related ul.products,
.upsells ul.products,
.cross-sells ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  float: none !important;
  width: 100% !important;
}

.related ul.products,
.upsells ul.products {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
}

/* ── CARD SHELL ── */
ul.products li.product,
ul.products li.tpc-card,
li.tpc-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid #ebebeb !important;
  overflow: hidden !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

ul.products li.product:hover,
li.tpc-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12) !important;
}

/* OceanWP wraps content in .product-inner — make it fill the card */
ul.products li.product .product-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── INNER WRAPPER ── */
.tpc-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  height: 100% !important;
  min-width: 0 !important;
}

/* ── IMAGE FRAME ── */
.tpc-img-link {
  display: block !important;
  line-height: 0 !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.tpc-img-frame {
  padding: 8px 8px 0 8px !important;
  background: #fff !important;
}

.tpc-img-wrap {
  position: relative !important;
  overflow: hidden !important;
  background: #f0f0f0 !important;
  aspect-ratio: 1/1 !important;
  width: 100% !important;
  border-radius: 10px !important;
  border: 1px solid #f0f0f0 !important;
}

.tpc-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .38s ease !important;
}

ul.products li.product:hover .tpc-img,
li.tpc-card:hover .tpc-img {
  transform: scale(1.05) !important;
}

/* ── BADGES ── */
.tpc-badge {
  position: absolute !important;
  top: 9px !important;
  left: 9px !important;
  font-family: var(--fn-l) !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  line-height: 1.6 !important;
  z-index: 2 !important;
}

.tpc-badge--sale {
  background: #0a0a0a !important;
  color: #fff !important;
}

.tpc-badge--oos {
  background: #c53030 !important;
  color: #fff !important;
}

/* ── INFO BLOCK ── */
.tpc-info {
  padding: 12px 13px 4px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.tpc-cat {
  font-family: var(--fn-l) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: #bbb !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1 !important;
}

.tpc-title {
  font-family: var(--fn-l) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0a0a0a !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-clamp: 2 !important;
  box-orient: vertical !important;
}

.tpc-title a {
  color: #0a0a0a !important;
  text-decoration: none !important;
}

.tpc-title a:hover {
  opacity: .7 !important;
}

/* Rating — only shown when product has reviews */
.tpc-rating {
  margin-bottom: 4px !important;
  line-height: 1 !important;
}

.tpc-rating:empty {
  display: none !important;
  margin: 0 !important;
}

.tpc-rating .star-rating {
  font-size: 11px !important;
}

/* Price — bold, no underline, always at bottom */
.tpc-price {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 2px !important;
}

.tpc-price .price,
.tpc-price .amount {
  font-family: var(--fn-l) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* 🔴 Discounted (Sale) Price */
.tpc-price .price ins,
.tpc-price .price ins .amount {
  font-weight: 800 !important;
  text-decoration: none !important;
  background: none !important;
}

/* ⚫ Original Price */
.tpc-price .price del,
.tpc-price .price del .amount {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

/* Remove any WooCommerce default underline on current price only */
.tpc-price ins,
.tpc-price .price ins,
.tpc-price ins .amount {
  text-decoration: none !important;
  background: none !important;
}

/* Strong black for current price, softer grey for original */
.tpc-price ins .amount,
.tpc-price .price ins .amount {

}

.tpc-price del .amount,
.tpc-price .price del .amount {

}

/* ── ACTIONS ── */
.tpc-actions {
  padding: 8px 11px 13px !important;
}

.tpc-actions .tribe-atc-btn,
.tpc-actions a.button,
.tpc-actions .button {
  display: block !important;
  width: 100% !important;
  background: #0a0a0a !important;
  color: #fff !important;
  font-family: var(--fn-l) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background .2s, opacity .2s !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
}

.tpc-actions .tribe-atc-btn:hover {
  background: #242424 !important;
  color: #fff !important;
}

.tpc-actions .tribe-atc-btn.loading {
  opacity: .6 !important;
}

.tpc-actions .tribe-atc-btn.added {
  background: #276749 !important;
}

.tpc-wishlist {
  margin-top: 6px !important;
  text-align: center !important;
}

.tpc-wishlist .add_to_wishlist {
  font-family: var(--fn-l) !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: #ccc !important;
  text-decoration: none !important;
  transition: color .2s !important;
}

.tpc-wishlist .add_to_wishlist:hover {
  color: #0a0a0a !important;
}

.tpc-wishlist .yith-wcwl-add-to-wishlist {
  position: static !important;
  float: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide OceanWP's own woo-entry-inner (in case hover template is active) */
ul.products li.product .woo-entry-buttons,
ul.products li.product .owp-woo-cond-notice {
  display: none !important;
}


/* ─────────────────────────────────────────────────────────────
   SHOP / ARCHIVE PAGE
───────────────────────────────────────────────────────────── */
.woocommerce-page .site-content,
.woocommerce-shop .site-content {
  background: var(--tk-light) !important;
}

/* Page title */
.woocommerce-products-header__title.page-title,
.woocommerce-page h1.page-title {
  font-family: var(--fn-d) !important;
  font-size: 44px !important;
  letter-spacing: 2px !important;
  color: var(--tk-black) !important;
  margin-bottom: 8px !important;
}

/* Result count & orderby */
.woocommerce-result-count {
  font-family: var(--fn-l) !important;
  font-size: 12.5px !important;
  color: #888 !important;
}

.woocommerce-ordering select {
  font-family: var(--fn-l) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: 1.5px solid var(--tk-border) !important;
  border-radius: var(--r) !important;
  padding: 7px 12px !important;
  background: #fff !important;
  color: var(--tk-black) !important;
  cursor: pointer !important;
}

/* Pagination */
.woocommerce-pagination .page-numbers {
  display: flex !important;
  gap: 6px !important;
  list-style: none !important;
  padding: 0 !important;
  justify-content: center !important;
  margin: 32px 0 !important;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: 1.5px solid var(--tk-border) !important;
  border-radius: var(--r) !important;
  color: var(--tk-black) !important;
  background: #fff !important;
  transition: var(--t) !important;
  text-decoration: none !important;
}

.woocommerce-pagination .page-numbers li a:hover,
.woocommerce-pagination .page-numbers li span.current {
  background: var(--tk-black) !important;
  color: #fff !important;
  border-color: var(--tk-black) !important;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE PRODUCT PAGE
───────────────────────────────────────────────────────────── */
.single-product .product_title {
  font-family: var(--fn-d) !important;
  font-size: 40px !important;
  letter-spacing: 1.5px !important;
  color: var(--tk-black) !important;
  line-height: 1.1 !important;
  margin-bottom: 12px !important;
}

.single-product .woocommerce-product-rating {
  margin-bottom: 12px !important;
}

.single-product .price,
.single-product .woocommerce-Price-amount {
  font-family: var(--fn-l) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--tk-black) !important;
}

.single-product .woocommerce-product-details__short-description {
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.75 !important;
  margin-bottom: 20px !important;
}

/* Add to cart */
.single-product .single_add_to_cart_button,
.single-product .button.alt,
.woocommerce .single_add_to_cart_button {
  background: var(--tk-black) !important;
  color: #fff !important;
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border-radius: var(--r) !important;
  border: none !important;
  cursor: pointer !important;
  transition: background var(--t) !important;
}

.single-product .single_add_to_cart_button:hover {
  background: #242424 !important;
}

/* Quantity */
.woocommerce .quantity .qty {
  font-family: var(--fn-l) !important;
  font-size: 14px !important;
  border: 1.5px solid var(--tk-border) !important;
  border-radius: var(--r) !important;
  padding: 8px 12px !important;
  width: 72px !important;
  text-align: center !important;
  background: #fff !important;
}

/* Tabs */
.woocommerce-tabs .tabs li a {
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .2px !important;
}

.woocommerce-tabs .tabs li.active a {
  color: var(--tk-black) !important;
}

/* Related / upsell headings */
.related h2,
.upsells h2,
.cross-sells h2 {
  font-family: var(--fn-d) !important;
  font-size: 32px !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 20px !important;
}

/* ─────────────────────────────────────────────────────────────
   CART PAGE
───────────────────────────────────────────────────────────── */
.woocommerce-cart h1.page-title {
  font-family: var(--fn-d) !important;
  font-size: 44px !important;
  letter-spacing: 2px !important;
  margin-bottom: 24px !important;
}

/* ─────────────────────────────────────────────────────────────
   CHECKOUT PAGE
───────────────────────────────────────────────────────────── */
.woocommerce-checkout h1.page-title,
.woocommerce-checkout h3#order_review_heading {
  font-family: var(--fn-d) !important;
  font-size: 32px !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 20px !important;
}

/* Sections */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading,
.woocommerce-checkout .col-2 h3 {
  font-family: var(--fn-l) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--tk-black) !important;
  padding-bottom: 10px !important;
  border-bottom: 1.5px solid var(--tk-border) !important;
  margin-bottom: 18px !important;
}

/* Form labels */
.woocommerce-checkout label,
.woocommerce form .form-row label {
  font-family: var(--fn-l) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
  color: #666 !important;
  margin-bottom: 5px !important;
}

/* Inputs */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  font-family: var(--fn-b) !important;
  font-size: 13px !important;
  border: 1.5px solid var(--tk-border) !important;
  border-radius: var(--r) !important;
  padding: 10px 12px !important;
  background: #fff !important;
  color: var(--tk-black) !important;
  transition: border-color var(--t) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--tk-black) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, .08) !important;
}

/* Order review table */
#order_review table.shop_table {
  border: none !important;
  background: #fff !important;
  border-radius: var(--r) !important;
  overflow: hidden !important;
  box-shadow: var(--sh) !important;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 12px 16px !important;
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  border-bottom: 1px solid #f2f2f2 !important;
}

#order_review table .order-total th,
#order_review table .order-total td {
  font-weight: 700 !important;
  font-size: 15px !important;
  border-bottom: none !important;
}

/* Place order button */
#place_order {
  display: block !important;
  width: 100% !important;
  background: var(--tk-black) !important;
  color: #fff !important;
  font-family: var(--fn-l) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
  padding: 16px 24px !important;
  border-radius: var(--r) !important;
  border: none !important;
  cursor: pointer !important;
  transition: background var(--t) !important;
}

#place_order:hover {
  background: #242424 !important;
}

/* Payment methods */
.woocommerce-checkout .payment_methods label {
  font-family: var(--fn-b) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--tk-black) !important;
}

/* ─────────────────────────────────────────────────────────────
   WISHLIST PAGE (YITH)
───────────────────────────────────────────────────────────── */
.woocommerce-page.wishlist-page h1.page-title,
body.yith-woocommerce-wishlist h1 {
  font-family: var(--fn-d) !important;
  font-size: 44px !important;
  letter-spacing: 2px !important;
}

.wishlist_table,
table.wishlist_table {
  border: none !important;
  width: 100% !important;
  background: #fff !important;
  border-radius: var(--rl) !important;
  overflow: hidden !important;
  box-shadow: var(--sh) !important;
  border-collapse: collapse !important;
}

.wishlist_table th {
  background: #fafafa !important;
  border-bottom: 1.5px solid var(--tk-border) !important;
  font-family: var(--fn-l) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #999 !important;
  padding: 13px 16px !important;
}

.wishlist_table td {
  border-bottom: 1px solid #f2f2f2 !important;
  padding: 16px !important;
  vertical-align: middle !important;
  font-family: var(--fn-b) !important;
  font-size: 13px !important;
}

.wishlist_table tr:last-child td {
  border-bottom: none !important;
}

/* Product image in wishlist */
.wishlist_table .product-thumbnail img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border-radius: var(--r) !important;
  border: 1px solid var(--tk-border) !important;
}

/* Product name */
.wishlist_table .product-name a {
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--tk-black) !important;
  text-decoration: none !important;
}

/* Add to cart from wishlist */
.wishlist_table .product-add-to-cart a.button,
.wishlist_table a.add_to_cart_button,
.wishlist_table a.single_add_to_cart_button {
  background: var(--tk-black) !important;
  color: #fff !important;
  font-family: var(--fn-l) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 9px 16px !important;
  border-radius: var(--r) !important;
  border: none !important;
  transition: background var(--t) !important;
  display: inline-block !important;
}

.wishlist_table a.button:hover {
  background: #242424 !important;
}

/* Remove from wishlist */
.wishlist_table .product-remove a {
  color: #bbb !important;
  font-size: 18px !important;
  text-decoration: none !important;
  transition: color var(--t) !important;
}

.wishlist_table .product-remove a:hover {
  color: var(--tk-red) !important;
}

/* ── Wishlist mobile container padding ───────────────────── */
/* ── Wishlist mobile container padding ───────────────────── */
@media (max-width: 767px) {
  body.yith-woocommerce-wishlist table.wishlist_table {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}

  /* Apply the breathing room directly to the table wrapper */
  body.yith-woocommerce-wishlist .yith-wcwl-wishlist-wrapper,
  body.yith-woocommerce-wishlist .woocommerce {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Constrain the table itself so it never overflows */
  body.yith-woocommerce-wishlist .wishlist_table,
  body.yith-woocommerce-wishlist table.wishlist_table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

}

/* ─────────────────────────────────────────────────────────────
   WC NOTICES
───────────────────────────────────────────────────────────── */
.woocommerce-message,
.wc-block-components-notice-banner.is-success {
  background: #f0fff4 !important;
  border-left: 4px solid var(--tk-green) !important;
  color: #1c4532 !important;
  border-radius: var(--r) !important;
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 14px 16px !important;
  margin-bottom: 20px !important;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  background: #fff5f5 !important;
  border-left: 4px solid var(--tk-red) !important;
  color: #742a2a !important;
  border-radius: var(--r) !important;
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 14px 16px !important;
  margin-bottom: 20px !important;
  list-style: none !important;
}

.woocommerce-info {
  background: #ebf8ff !important;
  border-left: 4px solid #3182ce !important;
  color: #1a365d !important;
  border-radius: var(--r) !important;
  font-family: var(--fn-l) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 14px 16px !important;
  margin-bottom: 20px !important;
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL BUTTON OVERRIDE — ensure no orange anywhere
───────────────────────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--tk-black) !important;
  color: #fff !important;
  font-family: var(--fn-l) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
  border-radius: var(--r) !important;
  border: none !important;
  padding: 10px 18px !important;
  transition: background var(--t) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #242424 !important;
  color: #fff !important;
}

/* ─────────────────────────────────────────────────────────────
   TL GLOBAL TOPBAR (non-front pages only)
   Reuses TRIBE header layout from front page
───────────────────────────────────────────────────────────── */
body:not(.tl-front) .tl-ticker {
  background: #050505;
  padding: 8px 0;
  overflow: hidden;
  flex-shrink: 0;
}

body:not(.tl-front) .tl-ticker__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  width: max-content;
  animation: tl-ticker-move 34s linear infinite;
}

body:not(.tl-front) .tl-ticker__item {
  font-family: var(--fn-l);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body:not(.tl-front) .tl-ticker__item::before {
  content: '◆';
  font-size: 5px;
  color: rgba(255, 255, 255, .25);
}

@keyframes tl-ticker-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

body:not(.tl-front) .tl-header {
  background: var(--tk-black);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow var(--t);
}

body:not(.tl-front) .tl-header.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, .6);
}

body:not(.tl-front) .tl-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

body:not(.tl-front) .tl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

body:not(.tl-front) .tl-logo__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

body:not(.tl-front) .tl-logo__name {
  font-family: var(--fn-l);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .4px;
  line-height: 1;
  white-space: nowrap;
}

body:not(.tl-front) .tl-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}

body:not(.tl-front) .tl-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 11px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-family: var(--fn-l);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: background var(--t), color var(--t);
  position: relative;
}

body:not(.tl-front) .tl-action:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

body:not(.tl-front) .tl-action svg {
  width: 20px;
  height: 20px;
}

body:not(.tl-front) .tl-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--tk-black);
  line-height: 1;
}

body:not(.tl-front) .tl-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

body:not(.tl-front) .tl-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}

body:not(.tl-front) .tl-nav {
  background: #fff;
  border-bottom: 1px solid var(--tk-border);
}

body:not(.tl-front) .tl-nav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

body:not(.tl-front) .tl-nav__inner::-webkit-scrollbar {
  display: none;
}

body:not(.tl-front) .tl-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

body:not(.tl-front) .tl-nav ul li a {
  display: block;
  padding: 13px 16px;
  font-family: var(--fn-l);
  font-size: 12px;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--t);
  letter-spacing: .2px;
}

body:not(.tl-front) .tl-nav ul li a:hover,
body:not(.tl-front) .tl-nav ul li.current-menu-item > a {
  color: #0a0a0a;
  border-bottom-color: #0a0a0a;
}

@media (max-width: 820px) {
  body:not(.tl-front) .tl-header__inner {
    height: 56px;
    gap: 10px;
  }

  body:not(.tl-front) .tl-search {
    display: none;
  }

  body:not(.tl-front) .tl-hamburger {
    display: flex;
  }

  body:not(.tl-front) .tl-action {
    padding: 5px 7px;
  }

  body:not(.tl-front) .tl-action span:not(.tl-badge) {
    display: none;
  }

  body:not(.tl-front) .tl-action svg {
    width: 19px;
    height: 19px;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .wrap {
    max-width: 1140px;
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  ul.products,
  .products.columns-4,
  .related ul.products,
  .upsells ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .tpc-img-frame {
    padding: 6px 6px 0 6px !important;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  
  /* Header adjustments */
  #site-header .site-title a,
  #site-header .site-logo-text a,
  .site-header .site-title a {
    font-size: 15px !important;
  }
  
  /* Product cards */
  .tpc-img-frame {
    padding: 4px 4px 0 4px !important;
  }
  
  .tpc-info {
    padding: 10px 11px 4px !important;
  }
  
  .tpc-actions {
    padding: 6px 9px 11px !important;
  }
}

@media (max-width: 600px) {
  ul.products,
  .products.columns-4,
  .related ul.products,
  .upsells ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .tpc-img-frame {
    padding: 6px 6px 0 6px !important;
  }

  .tpc-img-wrap {
    border-radius: 8px !important;
  }

  .cart-collaterals .cart_totals {
    padding: 20px !important;
  }

  .woocommerce-cart-form table.shop_table th:not(.product-name):not(.product-total) {
    display: none !important;
  }
  
  /* Mobile menu search improvements */
  #mobile-menu-search {
    margin: 8px 12px !important;
  }
  
  #mobile-menu-search input[type="search"] {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }
}

@media (max-width: 480px) {
  ul.products,
  .products.columns-4,
  .related ul.products,
  .upsells ul.products {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .tpc-title {
    font-size: 12px !important;
  }
  
  .tpc-price .price,
  .tpc-price .amount {
    font-size: 14px !important;
  }
  
  .tpc-actions .tribe-atc-btn,
  .tpc-actions a.button,
  .tpc-actions .button {
    font-size: 10px !important;
    padding: 8px 10px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   TL SEARCH BAR (header + newsletter)
   Shared black & white pill-style search component
───────────────────────────────────────────────────────────── */
.tl-search {
  margin-left: 650px;   /* Push to right */
  flex: 0 0 auto;      /* Stop stretching */
  max-width: 520px
}

.tl-header__inner .tl-search {
  min-width: 0;
}

.tl-search__form {
  display: flex;
  align-items: center;
  background: transparent; /* Fully transparent */
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: var(--pill);
  overflow: hidden;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}

.tl-search__form:focus-within {
  border-color: rgba(255, 255, 255, .6);
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.tl-search__input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-family: var(--fn-b);
  font-size: 13px;
  color: #ffffff;
  -webkit-appearance: none;
}

.tl-search__input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.tl-search__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Search Button - Clean White with Black Icon */
.tl-search__btn {
  background: #ffffff !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  height: 40px !important;
  min-width: 42px !important;
  padding: 0 12px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  color: #000000 !important; /* ensures currentColor = black */
}

/* Remove focus border completely */
.tl-search__btn:focus,
.tl-search__btn:active {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* SVG Icon */
.tl-search__btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;

  stroke: #000000 !important;
  fill: none !important;
}

/* Optional subtle hover */
.tl-search__btn:hover {
  background: #f5f5f5 !important;
}

/* Header wrapper — no additional overrides needed, handled above */
.tl-header .tl-search__form {
  background: transparent;
  border-color: rgba(255, 255, 255, .3);
}
.tl-header .tl-search__input {
  color: #ffffff;
}
.tl-header .tl-search__input::placeholder {
  color: rgba(255, 255, 255, .4);
}

/* ── NEWSLETTER SUBSCRIBE BUTTON: stays dark ──
   Must use !important to override the base .tl-search__btn !important rules above */
.tl-search__form--newsletter {
  background: transparent;
  border-color: rgba(255, 255, 255, .3);
}
.tl-search__form--newsletter .tl-search__input {
  color: #ffffff;
}
.tl-search__form--newsletter .tl-search__input::placeholder {
  color: rgba(255, 255, 255, .4);
}
.tl-search__form--newsletter .tl-search__btn {
  background: #0a0a0a !important;
  color: #ffffff !important;
  min-width: unset !important;
  height: 40px !important;
  padding: 0 18px !important;
  font-family: var(--fn-l) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
}
.tl-search__form--newsletter .tl-search__btn:hover {
  background: #242424 !important;
}


/* ═══════════════════════════════════════════════════════════
   MOBILE SEARCH ROW (Flipkart-style, below main header bar)
   Visible only on ≤820px. Sits inside .tl-header below the
   main inner row, so it's part of the sticky header.
═══════════════════════════════════════════════════════════ */
.tl-mobile-search {
  display: none;           /* hidden on desktop */
  padding: 0 0 10px;
}

.tl-mobile-search__inner {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--pill);
  height: 36px;
  overflow: hidden;
  gap: 0;
}

.tl-mobile-search__icon {
  display: flex;
  align-items: center;
  padding: 0 10px 0 12px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .55);
  pointer-events: none;
}
.tl-mobile-search__icon svg {
  width: 15px;
  height: 15px;
  display: block;
  stroke: currentColor;
  fill: none;
}

.tl-mobile-search__input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-family: var(--fn-b);
  font-size: 13px;
  color: #fff;
  padding: 0 10px 0 0;
  height: 100%;
  -webkit-appearance: none;
}
.tl-mobile-search__input::placeholder {
  color: rgba(255, 255, 255, .38);
}

.tl-mobile-search__submit {
  background: transparent;
  border: none;
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
  color: rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
}
.tl-mobile-search__submit svg {
  width: 15px;
  height: 15px;
  display: block;
  stroke: currentColor;
  fill: none;
}

@media (max-width: 820px) {
  .tl-mobile-search {
    display: block;
  }
  /* Also hide desktop search in header since mobile row replaces it */
  body:not(.tl-front) .tl-search {
    display: none !important;
  }
  /* Tighten header inner height since search is now in its own row */
  body:not(.tl-front) .tl-header__inner {
    height: 52px;
    gap: 8px;
  }
  body:not(.tl-front) .tl-hamburger {
    display: flex;
  }
  body:not(.tl-front) .tl-action {
    padding: 5px 6px;
  }
  body:not(.tl-front) .tl-action span:not(.tl-badge) {
    display: none;
  }
  body:not(.tl-front) .tl-action svg {
    width: 19px;
    height: 19px;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE DRAWER — injected via wp_footer, position:fixed
   Completely separate from the header DOM to avoid
   CSS transform stacking context bugs.
═══════════════════════════════════════════════════════════ */
#tl-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 88888;
  opacity: 0;
  transition: opacity .28s ease;
}
#tl-drawer-overlay.is-open {
  display: block;
  opacity: 1;
}
#tl-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 86vw);
  background: #0a0a0a;
  z-index: 88889;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overscroll-behavior: contain;
}
#tl-mobile-drawer.is-open {
  transform: translateX(0);
}
body.tl-drawer-open {
  overflow: hidden;
}
.tl-drw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex-shrink: 0;
}
.tl-drw-brand {
  font-family: var(--fn-d);
  font-size: 16px;
  letter-spacing: 2px;
  color: #fff;
}
.tl-drw-close {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  line-height: 0;
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
}
.tl-drw-close:hover { color: #fff; }
.tl-drw-close svg { width: 20px; height: 20px; display: block; }
.tl-drw-search {
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  flex-shrink: 0;
}
.tl-drw-search form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: var(--pill);
  overflow: hidden;
  height: 38px;
}
.tl-drw-search input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 14px;
  font-family: var(--fn-b);
  font-size: 13px;
  color: #fff;
  height: 100%;
  -webkit-appearance: none;
}
.tl-drw-search input[type="search"]::placeholder { color: rgba(255, 255, 255, .33); }
.tl-drw-search button[type="submit"] {
  background: transparent;
  border: none;
  padding: 0 13px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
  flex-shrink: 0;
}
.tl-drw-search button[type="submit"]:hover { color: #fff; }
.tl-drw-search button[type="submit"] svg { width: 15px; height: 15px; display: block; }
.tl-drw-nav { flex: 1; padding: 4px 0; }
.tl-drw-nav ul { list-style: none; margin: 0; padding: 0; }
.tl-drw-nav ul li a {
  display: block;
  padding: 13px 20px;
  font-family: var(--fn-l);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  text-decoration: none;
  transition: background .2s, color .2s;
  letter-spacing: .2px;
}
.tl-drw-nav ul li a:hover {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}
.tl-drw-nav ul li.current-menu-item > a {
  color: #fff;
  border-left: 2px solid #fff;
  padding-left: 18px;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — Related & Upsell product cards
   Force our tpc-card design regardless of which HTML is loaded
═══════════════════════════════════════════════════════════ */
body.single-product .related,
body.single-product .upsells {
  clear: both;
  margin-top: 48px;
}
body.single-product .related > h2,
body.single-product .upsells > h2 {
  font-family: var(--fn-d) !important;
  font-size: 36px !important;
  letter-spacing: 1.5px !important;
  color: #0a0a0a !important;
  margin-bottom: 22px !important;
  line-height: 1 !important;
}
/* Grid */
body.single-product .related ul.products,
body.single-product .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 18px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}
/* Card shell */
body.single-product .related ul.products li.product,
body.single-product .upsells ul.products li.product,
body.single-product .related ul.products li.tpc-card,
body.single-product .upsells ul.products li.tpc-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid #ebebeb !important;
  overflow: hidden !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  list-style: none !important;
  min-width: 0 !important;
}
body.single-product .related ul.products li.product:hover,
body.single-product .upsells ul.products li.product:hover,
body.single-product .related ul.products li.tpc-card:hover,
body.single-product .upsells ul.products li.tpc-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .11) !important;
}
/* Prevent OceanWP .product-inner from breaking flex layout */
body.single-product .related ul.products li .product-inner,
body.single-product .upsells ul.products li .product-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
/* tpc-card inner */
body.single-product .related .tpc-inner,
body.single-product .upsells .tpc-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  height: 100% !important;
}
/* Image */
body.single-product .related .tpc-img-frame,
body.single-product .upsells .tpc-img-frame {
  padding: 8px 8px 0 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
}
body.single-product .related .tpc-img-wrap,
body.single-product .upsells .tpc-img-wrap {
  position: relative !important;
  overflow: hidden !important;
  background: #f0f0f0 !important;
  aspect-ratio: 1/1 !important;
  width: 100% !important;
  border-radius: 10px !important;
}
body.single-product .related .tpc-img,
body.single-product .upsells .tpc-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .35s ease !important;
}
/* Info block */
body.single-product .related .tpc-info,
body.single-product .upsells .tpc-info {
  padding: 12px 13px 4px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
/* CRITICAL: kill any price overrides from single product inline CSS */
body.single-product .related .tpc-price .price,
body.single-product .related .tpc-price .amount,
body.single-product .upsells .tpc-price .price,
body.single-product .upsells .tpc-price .amount {
  font-family: var(--fn-l) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}
body.single-product .related .tpc-price .price del .amount,
body.single-product .upsells .tpc-price .price del .amount {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}
body.single-product .related .tpc-title,
body.single-product .upsells .tpc-title {
  font-family: var(--fn-l) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0a0a0a !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
}
/* Actions */
body.single-product .related .tpc-actions,
body.single-product .upsells .tpc-actions {
  padding: 8px 11px 13px !important;
}
body.single-product .related .tpc-actions .tribe-atc-btn,
body.single-product .related .tpc-actions a.button,
body.single-product .upsells .tpc-actions .tribe-atc-btn,
body.single-product .upsells .tpc-actions a.button {
  display: block !important;
  width: 100% !important;
  background: #0a0a0a !important;
  color: #fff !important;
  font-family: var(--fn-l) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
@media (max-width: 640px) {
  body.single-product .related ul.products,
  body.single-product .upsells ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION BELOW HERO — mobile padding fixes
═══════════════════════════════════════════════════════════ */
/* (These supplement the inline styles already in front-page.php) */


/* ═══════════════════════════════════════════════════════════
   MOBILE SEARCH ROW — Flipkart-style, part of the sticky header
   Hidden on desktop, shown on ≤820px inside .tl-header
═══════════════════════════════════════════════════════════ */
.tl-mobile-search {
  display: none;
  padding: 0 0 10px;
}

.tl-mobile-search__form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  height: 36px;
  overflow: hidden;
  gap: 0;
}

.tl-mobile-search__icon-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin: 0 8px 0 13px;
  stroke: rgba(255, 255, 255, .45);
  fill: none;
  display: block;
  pointer-events: none;
}

.tl-mobile-search__input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-family: var(--fn-b);
  font-size: 13px;
  color: #fff;
  padding: 0;
  height: 100%;
  -webkit-appearance: none;
}

.tl-mobile-search__input::placeholder {
  color: rgba(255, 255, 255, .38);
}

/* Show mobile search row + hamburger on ≤820px */
@media (max-width: 820px) {
  /* Show mobile search row */
  .tl-mobile-search {
    display: block;
  }
  /* Hide desktop search bar in header inner row */
  .tl-header .tl-search {
    display: none !important;
  }
  /* Hamburger always visible on non-front pages */
  .tl-hamburger {
    display: flex !important;
  }
  /* Tighten main inner row height */
  .tl-header__inner {
    height: 52px !important;
    gap: 8px !important;
  }
  /* Compact action icons */
  .tl-action {
    padding: 5px 6px !important;
  }
  .tl-action span:not(.tl-badge) {
    display: none !important;
  }
  .tl-action svg {
    width: 19px !important;
    height: 19px !important;
  }
}

/* Hamburger base style (desktop: hidden; mobile: flex) */
.tl-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.tl-hamburger span {
  display: block;
  width: 20px;
  height: 1.8px;
  background: rgba(255, 255, 255, .85);
  border-radius: 2px;
}

/* Fix Subscribe Bar Mobile Layout */
@media (max-width: 768px) {

  .tl-subscribe__form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .tl-subscribe__input {
    flex: 1 !important;
    width: auto !important;
  }

  .tl-subscribe__btn {
    width: auto !important;
    white-space: nowrap;
  }

}