/* ParadeShop — Global Dark Luxury Styles */

/* ===== CSS Custom Properties ===== */
:root {
  --ps-bg: #0d1117;
  --ps-bg-alt: #161b22;
  --ps-card: #1c2333;
  --ps-border: #30363d;
  --ps-text: #e6edf3;
  --ps-muted: #8b949e;
  --ps-accent: #00c2ff;
  --ps-gold: #d4a853;
}

/* ===== Base & Typography ===== */
body,
.page-wrapper,
#content,
.page {
  background: var(--ps-bg) !important;
}
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--ps-text) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.heading-font,
.nav > li > a,
button,
input,
select,
textarea {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
p, li, td, th, label, span {
  color: inherit;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ps-bg); }
::-webkit-scrollbar-thumb { background: var(--ps-border); border-radius: 3px; }

/* Selection */
::selection {
  background: rgba(0, 194, 255, 0.25);
  color: var(--ps-text);
}

/* ===== Header / Navigation ===== */
.header-wrapper {
  background: var(--ps-bg) !important;
}
.header-main {
  background: var(--ps-bg) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.header-bottom {
  background: var(--ps-bg-alt) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.top-bar,
.header-top,
header-top {
  background: var(--ps-bg-alt) !important;
  background-color: var(--ps-bg-alt) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.top-bar-nav a,
.top-bar-nav li a {
  color: var(--ps-muted) !important;
}
.top-bar-nav a:hover {
  color: var(--ps-accent) !important;
}

/* ===== MegaMenu Plugin Overrides ===== */
/* Menu bar background — kills the #424242 and gradient */
#mega-menu-wrap-primary,
#mega-menu-wrap-primary #mega-menu-primary,
#mega-menu-wrap-primary_mobile,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile {
  background: var(--ps-bg-alt) !important;
  background-color: var(--ps-bg-alt) !important;
  background-image: none !important;
}
/* Top-level menu items */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile > li.mega-menu-item > a.mega-menu-link {
  color: var(--ps-text) !important;
  background: transparent !important;
  background-image: none !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile > li.mega-menu-item > a.mega-menu-link:focus {
  color: var(--ps-accent) !important;
  background: transparent !important;
  background-image: none !important;
}
/* Dropdown / sub-menu panels */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile > li.mega-menu-item > ul.mega-sub-menu {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
}
/* Sub-menu links */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile > li.mega-menu-item > ul.mega-sub-menu a.mega-menu-link {
  color: var(--ps-text) !important;
  background: transparent !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus,
#mega-menu-wrap-primary_mobile #mega-menu-primary_mobile > li.mega-menu-item > ul.mega-sub-menu a.mega-menu-link:hover {
  color: var(--ps-accent) !important;
  background: rgba(0, 194, 255, 0.05) !important;
}
/* Sub-menu headings */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu h4.mega-block-title {
  color: var(--ps-text) !important;
}
/* Arrow/caret color */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:after {
  border-color: var(--ps-muted) !important;
}

/* Nav links */
.nav > li > a,
.header-nav .nav > li > a,
.header-bottom-nav .nav > li > a {
  color: var(--ps-text) !important;
}
.nav > li > a:hover,
.header-nav .nav > li > a:hover,
.header-bottom-nav .nav > li > a:hover,
.nav > li.active > a,
.nav > li.current-menu-item > a,
.nav > li.current_page_item > a,
.nav > li.current-menu-ancestor > a {
  color: var(--ps-accent) !important;
}

/* Dropdown menus */
.nav-dropdown,
.header-nav .nav-dropdown,
.nav > li > .nav-dropdown {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
.nav-dropdown li a,
.nav-dropdown li > a {
  color: var(--ps-text) !important;
  border-bottom-color: var(--ps-border) !important;
}
.nav-dropdown li a:hover,
.nav-dropdown li > a:hover {
  color: var(--ps-accent) !important;
  background: rgba(0, 194, 255, 0.05) !important;
}
.nav-dropdown li.active > a,
.nav-dropdown li.current-menu-item > a {
  color: var(--ps-accent) !important;
}

/* Search bar */
.header-search-form input[type="search"],
.searchform input[type="search"],
.search-field {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
}
.header-search-form input[type="search"]::placeholder,
.searchform input[type="search"]::placeholder,
.search-field::placeholder {
  color: var(--ps-muted) !important;
}
.header-search-form input[type="search"]:focus,
.searchform input[type="search"]:focus,
.search-field:focus {
  border-color: var(--ps-accent) !important;
  outline: none !important;
}

/* Cart icon & mini-cart */
.cart-item .cart-icon,
.cart-icon strong {
  color: var(--ps-text) !important;
}
.cart-item:hover .cart-icon,
.cart-item:hover .cart-icon strong {
  color: var(--ps-accent) !important;
}
.cart-icon .cart-count,
.cart-item .cart-count {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
}
/* ===== Mini-cart dropdown ===== */
/* Outermost nav-dropdown for cart — the ONLY border */
.cart-item .nav-dropdown {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
  overflow: hidden !important;
}
/* Everything inside — no borders, no backgrounds, inherit layout */
.cart-item .nav-dropdown .widget_shopping_cart,
.cart-item .nav-dropdown .widget_shopping_cart_content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cart-item .nav-dropdown ul.cart_list {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Individual cart items — only bottom separator */
.cart-item .nav-dropdown .mini_cart_item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--ps-border) !important;
  padding: 14px 30px 14px 75px !important;
}
.cart-item .nav-dropdown .mini_cart_item:last-child {
  border-bottom: none !important;
}
/* Text colors */
.cart-item .nav-dropdown a {
  color: var(--ps-text) !important;
}
.cart-item .nav-dropdown .amount {
  color: var(--ps-accent) !important;
}
/* Hide duplicate quantity × price line */
.mini_cart_item .quantity {
  display: none !important;
}
/* Product image */
.cart-item .nav-dropdown .mini_cart_item img {
  border: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
/* Remove X */
.cart-item .nav-dropdown .remove {
  color: var(--ps-muted) !important;
}
.cart-item .nav-dropdown .remove:hover {
  color: #f85149 !important;
  background: transparent !important;
}
/* Subtotal */
.cart-item .nav-dropdown .total {
  border: none !important;
  border-top: 1px solid var(--ps-border) !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  color: var(--ps-text) !important;
  font-weight: 700 !important;
}
/* Buttons container */
.cart-item .nav-dropdown .buttons {
  border: none !important;
  padding: 0 16px 16px !important;
  margin: 0 !important;
}
.cart-item .nav-dropdown .buttons a {
  background: var(--ps-bg) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
  margin-bottom: 8px !important;
  display: block !important;
}
.cart-item .nav-dropdown .buttons a:last-child {
  margin-bottom: 0 !important;
}
.cart-item .nav-dropdown .buttons a:hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}
.cart-item .nav-dropdown .buttons a.checkout {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border-color: var(--ps-accent) !important;
}
.cart-item .nav-dropdown .buttons a.checkout:hover {
  background: #33d1ff !important;
}
/* ===== Off-canvas cart (mobile) ===== */
#cart-popup {
  background: var(--ps-bg) !important;
}
#cart-popup .cart-popup-inner {
  background: var(--ps-bg) !important;
}
#cart-popup .cart-popup-title {
  color: var(--ps-text) !important;
}
#cart-popup .cart-popup-title span {
  color: var(--ps-text) !important;
}
#cart-popup .widget_shopping_cart,
#cart-popup .widget_shopping_cart_content {
  background: transparent !important;
}
#cart-popup .mini_cart_item {
  background: transparent !important;
  border-bottom: 1px solid var(--ps-border) !important;
  padding: 14px 30px 14px 75px !important;
}
#cart-popup .mini_cart_item:last-child {
  border-bottom: none !important;
}
#cart-popup a {
  color: var(--ps-text) !important;
}
#cart-popup .amount {
  color: var(--ps-accent) !important;
}
#cart-popup .mini_cart_item img {
  border: none !important;
  border-radius: 6px !important;
}
#cart-popup .remove {
  color: var(--ps-muted) !important;
}
#cart-popup .remove:hover {
  color: #f85149 !important;
}
#cart-popup .total {
  border-top: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  font-weight: 700 !important;
}
#cart-popup .buttons a {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-align: center !important;
}
#cart-popup .buttons a:hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}
#cart-popup .buttons a.checkout {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border-color: var(--ps-accent) !important;
}
#cart-popup .buttons a.checkout:hover {
  background: #33d1ff !important;
}

/* Mobile menu */
.mobile-sidebar-menu,
#main-menu,
.sidebar-menu,
.off-canvas-left,
.off-canvas-right,
.mfp-content .sidebar-menu {
  background: var(--ps-bg) !important;
}
.sidebar-menu .nav-sidebar li a,
.mobile-sidebar-menu li a,
#main-menu li a {
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
}
.sidebar-menu .nav-sidebar li a:hover,
.mobile-sidebar-menu li a:hover,
#main-menu li a:hover {
  color: var(--ps-accent) !important;
}
.sidebar-menu .nav-sidebar li.active > a,
.sidebar-menu .nav-sidebar li.current-menu-item > a {
  color: var(--ps-accent) !important;
}
/* Mobile menu overlay */
.mfp-bg {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs,
.woocommerce-breadcrumb,
.breadcrumb-row {
  color: var(--ps-muted) !important;
}
.breadcrumbs a,
.woocommerce-breadcrumb a {
  color: var(--ps-muted) !important;
}
.breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--ps-accent) !important;
}

/* ===== Footer ===== */
.footer-wrapper {
  background: var(--ps-bg) !important;
  border-top: 1px solid var(--ps-border) !important;
}
.footer-wrapper,
.footer-wrapper p,
.footer-wrapper li,
.footer-wrapper li a,
.footer-wrapper a,
.footer-wrapper span {
  color: var(--ps-muted) !important;
}
.footer-wrapper a:hover {
  color: var(--ps-accent) !important;
}
.footer-wrapper .widget-title,
.footer-wrapper h3 {
  color: var(--ps-text) !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 700 !important;
}
.absolute-footer {
  background: var(--ps-bg-alt) !important;
  border-top: 1px solid var(--ps-border) !important;
}
.absolute-footer,
.absolute-footer p,
.absolute-footer a,
.absolute-footer span {
  color: var(--ps-muted) !important;
}
.absolute-footer a:hover {
  color: var(--ps-accent) !important;
}

/* ===== WooCommerce Shop / Archive Pages ===== */

/* Product grid — equal height columns (grid rows) */
.products .product-small.col {
  display: flex !important;
  flex-direction: column !important;
}

/* Product cards */
.product-small .col-inner,
.product-small .product-inner {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  overflow: visible !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  height: 100% !important;
}

/* Inner product box fills col-inner */
.product-small .col-inner .product-small.box {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Override Flatsome .box grey (#333) background */
.product-small.box,
.product-small.box:not(.box-overlay):not(.box-shade),
.has-shadow.product-small.box:not(.box-overlay):not(.box-shade),
.dark .product-small.box:not(.box-overlay):not(.box-shade),
.dark .has-shadow.product-small.box:not(.box-overlay):not(.box-shade) {
  background-color: var(--ps-bg-alt) !important;
  background: var(--ps-bg-alt) !important;
}

/* Image area */
.product-small .box-image {
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.product-small .box-image img {
  border-radius: 10px 10px 0 0 !important;
}

/* Inner product box — match card rounding */
.product-small.box {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Text area */
.product-small .box-text-products {
  border-radius: 0 !important;
}
.product-small .col-inner:hover,
.product-small .product-inner:hover {
  border-color: var(--ps-accent) !important;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

/* Product text area */
.box-text-products {
  background: var(--ps-bg-alt) !important;
  padding: 12px 14px 10px !important;
}
.box-text-products .title-wrapper {
  overflow: hidden;
}
.box-text-products .price-wrapper {
  padding-top: 4px !important;
}

/* Product title — clamp to 2 lines */
.product-title,
.name.product-title,
.woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3 !important;
  max-height: 2.6em !important;
}
.product-title,
.product-title a,
.name.product-title a,
.woocommerce-loop-product__title {
  color: var(--ps-text) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

/* Price */
.price,
.price span.woocommerce-Price-amount,
.price ins .woocommerce-Price-amount {
  color: var(--ps-accent) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.price del,
.price del .woocommerce-Price-amount {
  color: var(--ps-muted) !important;
  opacity: 0.6 !important;
}

/* Product category label */
.product-cat,
.category.product-cat {
  color: var(--ps-muted) !important;
  font-size: 10px !important;
  margin-bottom: 2px !important;
}

/* Add to cart button (loop) */
.add-to-cart-button a,
.product-small .add-to-cart-button a {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  transition: all 0.2s ease !important;
  font-size: 13px !important;
}
.add-to-cart-button a:hover,
.product-small .add-to-cart-button a:hover {
  background: var(--ps-accent) !important;
  border-color: var(--ps-accent) !important;
  color: #0d1117 !important;
}

/* Sale & out-of-stock badges */
.badge-container {
  z-index: 3 !important;
  overflow: visible !important;
}
.onsale,
.badge-inner .onsale {
  background: var(--ps-gold) !important;
  border-radius: 6px !important;
  color: #0d1117 !important;
  font-weight: 700 !important;
}
.badge-inner.on-sale {
  background: var(--ps-gold) !important;
}
.out-of-stock-label {
  background: #6b7280 !important;
  border-radius: 6px !important;
  z-index: 3 !important;
}
.star-rating span::before {
  color: var(--ps-gold) !important;
}

/* Image tools (quick view, wishlist) */
.image-tools .inner,
.image-tools button {
  background: rgba(28, 35, 51, 0.9) !important;
  color: var(--ps-text) !important;
}

/* Vendor sold-by — pinned to card bottom */
.wcpv-sold-by-loop {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-top: 1px solid var(--ps-border) !important;
  margin: 0 !important;
  margin-top: auto !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border-radius: 0 0 10px 10px !important;
}
.wcpv-sold-by-loop a {
  color: var(--ps-accent) !important;
}

/* Pagination */
.page-numbers,
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
}
.page-numbers.current,
.woocommerce-pagination .page-numbers li span.current {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border-color: var(--ps-accent) !important;
}
.page-numbers:hover,
.woocommerce-pagination .page-numbers li a:hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}

/* Sidebar / Filters */
.shop-sidebar .widget,
.sidebar .widget {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
}
.shop-sidebar .widget-title,
.sidebar .widget-title {
  color: var(--ps-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border-bottom: 1px solid var(--ps-border) !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
}
.shop-sidebar a,
.sidebar a {
  color: var(--ps-text) !important;
}
.shop-sidebar a:hover,
.sidebar a:hover {
  color: var(--ps-accent) !important;
}

/* Category headers */
.shop-page-title,
.category-page-title,
.archive-page-header {
  color: var(--ps-text) !important;
}
.term-description,
.taxonomy-description {
  color: var(--ps-muted) !important;
}

/* Result count & ordering */
.woocommerce-result-count {
  color: var(--ps-muted) !important;
}
.woocommerce-ordering select {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
}

/* ===== Single Product Page ===== */
.product-info .product_title,
.product-title-container h1 {
  color: var(--ps-text) !important;
  font-weight: 700 !important;
}
.product-info .price,
.product-info .price .woocommerce-Price-amount,
.product-info .price ins .woocommerce-Price-amount {
  color: var(--ps-accent) !important;
  font-weight: 700 !important;
  font-size: 24px !important;
}
.product-info .price del .woocommerce-Price-amount {
  color: var(--ps-muted) !important;
}
.product-short-description,
.woocommerce-product-details__short-description {
  color: var(--ps-muted) !important;
}

/* Product gallery — match page background */
.product-gallery,
.product-gallery .slide,
.product-gallery .flickity-viewport,
.product-thumbnails,
.product-thumbnails .col,
.product-gallery-slider,
.product-gallery .col-inner {
  background: var(--ps-bg) !important;
}
.product-gallery img {
  border-radius: 8px !important;
}

/* ===== Quantity Selector — Polished Design ===== */
.quantity {
  display: inline-flex !important;
  align-items: stretch !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  height: 44px !important;
}
.quantity input.qty {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: none !important;
  border-left: 1px solid var(--ps-border) !important;
  border-right: 1px solid var(--ps-border) !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 100% !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  margin: 0 !important;
  -moz-appearance: textfield !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
.quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.quantity .minus,
.quantity .plus {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: none !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 100% !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.15s ease !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
.quantity .minus:hover,
.quantity .plus:hover {
  background: rgba(0, 194, 255, 0.1) !important;
  color: var(--ps-accent) !important;
}

/* Single add to cart button */
.single_add_to_cart_button,
.product-info .single_add_to_cart_button {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 28px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
.single_add_to_cart_button:hover,
.product-info .single_add_to_cart_button:hover {
  background: #33d1ff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.25) !important;
}

/* Cart form row — align qty + button */
form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Product tabs */
.woocommerce-tabs .tabs,
.product-page-accordian .tabs,
.wc-tabs {
  background: transparent !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.woocommerce-tabs .tabs li a,
.wc-tabs li a {
  color: var(--ps-muted) !important;
  background: transparent !important;
  border: none !important;
  font-weight: 600 !important;
}
.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover,
.wc-tabs li.active a,
.wc-tabs li a:hover {
  color: var(--ps-accent) !important;
  border-bottom: 2px solid var(--ps-accent) !important;
}
.woocommerce-tabs .panel,
.wc-tab {
  background: transparent !important;
  color: var(--ps-text) !important;
}
.woocommerce-tabs .panel h2,
.wc-tab h2 {
  color: var(--ps-text) !important;
}

/* Related / upsell products section */
.related.products > h2,
.upsells.products > h2,
.cross-sells > h2 {
  color: var(--ps-text) !important;
  font-weight: 700 !important;
}

/* Product meta */
.product_meta,
.product_meta span {
  color: var(--ps-muted) !important;
}
.product_meta a {
  color: var(--ps-accent) !important;
}
.product_meta a:hover {
  color: #33d1ff !important;
}

/* ===== Cart Page ===== */
.woocommerce-cart-form table,
.shop_table {
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
}
.woocommerce-cart-form table th,
.shop_table th {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
  font-weight: 700 !important;
  padding: 14px 16px !important;
}
.woocommerce-cart-form table td,
.shop_table td {
  background: var(--ps-card) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
  padding: 14px 16px !important;
}
.woocommerce-cart-form table td a,
.shop_table td a {
  color: var(--ps-text) !important;
}
.woocommerce-cart-form table td a:hover,
.shop_table td a:hover {
  color: var(--ps-accent) !important;
}
/* Cart actions row */
.woocommerce-cart-form .actions {
  padding: 16px !important;
}
.woocommerce-cart-form .actions .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Remove item button */
.product-remove a.remove,
a.remove {
  color: var(--ps-muted) !important;
}
.product-remove a.remove:hover,
a.remove:hover {
  color: #f85149 !important;
  background: transparent !important;
}

/* Cart collaterals wrapper — single card, no double borders */
.cart-collaterals {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 24px !important;
}
/* Cart totals — remove inner border/bg since collaterals wraps it */
.cart_totals {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.cart_totals h2 {
  color: var(--ps-text) !important;
  margin-bottom: 12px !important;
}
.cart_totals table,
.cart_totals .shop_table {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.cart_totals table td,
.cart_totals table th {
  background: transparent !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
  padding: 12px 0 !important;
}
.cart_totals .order-total .amount {
  color: var(--ps-accent) !important;
  font-weight: 700 !important;
}
/* Proceed to checkout inside cart totals */
.wc-proceed-to-checkout {
  padding: 0 !important;
  margin-top: 16px !important;
}

/* Coupon widget in sidebar — flatten into same card */
.cart-collaterals > .coupon-area,
.cart-collaterals > div {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
/* Coupon section */
.cart-collaterals .widget_shopping_cart_content,
.cart-collaterals .coupon-toggle {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--ps-border) !important;
}
/* Coupon input */
.coupon input[type="text"],
.coupon .input-text {
  background: var(--ps-bg) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  margin-bottom: 10px !important;
}
.coupon .button,
.coupon button,
.coupon input[type="submit"] {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.coupon .button:hover,
.coupon button:hover,
.coupon input[type="submit"]:hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}

/* Proceed to checkout */
.wc-proceed-to-checkout a.checkout-button,
a.checkout-button {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
}
.wc-proceed-to-checkout a.checkout-button:hover,
a.checkout-button:hover {
  background: #33d1ff !important;
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.25) !important;
}

/* Cart page action buttons */
button[name="update_cart"],
.woocommerce-cart-form .button,
.wc-backward,
a.wc-backward,
.return-to-shop a,
.cart-actions .button,
.actions .button,
.woocommerce .button:not(.checkout-button):not(#place_order):not(.single_add_to_cart_button) {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
button[name="update_cart"]:hover,
.woocommerce-cart-form .button:hover,
.wc-backward:hover,
a.wc-backward:hover,
.return-to-shop a:hover,
.cart-actions .button:hover,
.actions .button:hover,
.woocommerce .button:not(.checkout-button):not(#place_order):not(.single_add_to_cart_button):hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}

/* ===== Checkout Page ===== */
/* Info notices (Returning customer, coupon) */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-left: 3px solid var(--ps-accent) !important;
  color: var(--ps-text) !important;
  border-radius: 8px !important;
  padding: 14px 20px !important;
  line-height: 1.5 !important;
}
.woocommerce-info a,
.woocommerce-message a {
  color: var(--ps-accent) !important;
}
.woocommerce-error {
  border-left-color: #f85149 !important;
}
.woocommerce-info::before,
.woocommerce-message::before {
  color: var(--ps-accent) !important;
}
.woocommerce-error::before {
  color: #f85149 !important;
}
/* Login/coupon form on checkout */
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon,
.checkout_coupon {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 24px !important;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details {
  background: transparent !important;
}

/* Form fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection,
.form-row input.input-text,
.form-row textarea,
.form-row select {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: var(--ps-accent) !important;
  outline: none !important;
}
.woocommerce-checkout label,
.form-row label {
  color: var(--ps-text) !important;
}
.woocommerce-checkout .optional {
  color: var(--ps-muted) !important;
}

/* Select2 dropdowns (country/state) */
.select2-container--default .select2-selection--single {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ps-text) !important;
}
.select2-dropdown {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
}
.select2-results__option {
  color: var(--ps-text) !important;
}
.select2-results__option--highlighted {
  background: rgba(0, 194, 255, 0.15) !important;
  color: var(--ps-text) !important;
}
.select2-search__field {
  background: var(--ps-bg) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
}

/* Order review / summary */
.woocommerce-checkout-review-order-table,
#order_review {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.woocommerce-checkout-review-order-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
  background: transparent !important;
  padding: 12px 16px !important;
}
.woocommerce-checkout-review-order-table .order-total .amount {
  color: var(--ps-accent) !important;
}
/* Checkout order review wrapper */
.woocommerce-checkout-review-order {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 24px !important;
}
.woocommerce-checkout-review-order .woocommerce-checkout-review-order-table {
  border: none !important;
  border-radius: 0 !important;
}
.woocommerce-checkout-review-order h3,
#order_review_heading {
  color: var(--ps-text) !important;
  margin-bottom: 16px !important;
}

/* Payment methods */
.woocommerce-checkout-payment,
#payment {
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0 !important;
  margin-top: 16px !important;
}
#payment .payment_methods,
.wc_payment_methods {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  padding: 0 !important;
}
#payment .payment_methods li,
.wc_payment_methods li {
  background: transparent !important;
  border-bottom: 1px solid var(--ps-border) !important;
  padding: 14px 16px !important;
}
#payment .payment_methods li:last-child,
.wc_payment_methods li:last-child {
  border-bottom: none !important;
}
#payment .payment_methods li label,
.wc_payment_methods li label {
  color: var(--ps-text) !important;
}
#payment .payment_box,
.payment_box {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  margin-top: 8px !important;
}
#payment .payment_box::before {
  border-bottom-color: var(--ps-bg-alt) !important;
}

/* Place order button */
#place_order {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 16px 32px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  margin-top: 16px !important;
}
#place_order:hover {
  background: #33d1ff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.3) !important;
}

/* ===== My Account Pages ===== */
.woocommerce-MyAccount-navigation {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--ps-border) !important;
}
.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none !important;
}
.woocommerce-MyAccount-navigation ul li a {
  color: var(--ps-text) !important;
  padding: 12px 20px !important;
  display: block !important;
  transition: all 0.15s ease !important;
}
.woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(0, 194, 255, 0.05) !important;
  color: var(--ps-accent) !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
  border-left: 3px solid var(--ps-accent) !important;
  color: var(--ps-accent) !important;
  background: rgba(0, 194, 255, 0.05) !important;
}

/* Account content */
.woocommerce-MyAccount-content {
  color: var(--ps-text) !important;
}
.woocommerce-MyAccount-content p {
  color: var(--ps-text) !important;
}
.woocommerce-MyAccount-content a {
  color: var(--ps-accent) !important;
}
.woocommerce-MyAccount-content a:hover {
  color: #33d1ff !important;
}

/* Order history table */
.woocommerce-orders-table,
.woocommerce-MyAccount-content table {
  border-color: var(--ps-border) !important;
}
.woocommerce-orders-table th,
.woocommerce-MyAccount-content table th {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
  font-weight: 700 !important;
}
.woocommerce-orders-table td,
.woocommerce-MyAccount-content table td {
  background: var(--ps-card) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
}

/* Login / Register forms */
.woocommerce-form-login,
.woocommerce-form-register,
.u-columns .col-1,
.u-columns .col-2,
#customer_login .col-1,
#customer_login .col-2 {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 28px !important;
}
.woocommerce-form-login h2,
.woocommerce-form-register h2,
#customer_login h2 {
  color: var(--ps-text) !important;
}
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="password"],
.woocommerce-form-register input[type="email"] {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
}
.woocommerce-form-login .button,
.woocommerce-form-register .button {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover {
  background: #33d1ff !important;
}
.lost_password a,
.woocommerce-LostPassword a {
  color: var(--ps-accent) !important;
}

/* ===== Global Elements ===== */

/* All buttons */
.button,
button,
input[type="submit"],
.wp-block-button__link {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

/* Primary buttons */
.button.primary,
.button.alt,
.woocommerce .button.alt {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 8px !important;
}
.button.primary:hover,
.button.alt:hover,
.woocommerce .button.alt:hover {
  background: #33d1ff !important;
}

/* Secondary buttons */
.button.secondary,
.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(#place_order) {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
}
.button.secondary:hover,
.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(#place_order):hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}

/* Form inputs & selects (global) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
textarea,
select {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--ps-accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.1) !important;
}
input::placeholder,
textarea::placeholder {
  color: var(--ps-muted) !important;
}

/* Tables */
table {
  border-color: var(--ps-border) !important;
}
table th {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
}
table td {
  background: var(--ps-card) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info {
  background: var(--ps-card) !important;
  border-top: none !important;
  border-left: 4px solid var(--ps-accent) !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--ps-accent) !important;
}
.woocommerce-error {
  background: var(--ps-card) !important;
  border-top: none !important;
  border-left: 4px solid #f85149 !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
}
.woocommerce-error::before {
  color: #f85149 !important;
}
.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
}

/* Alert boxes */
.woocommerce-notice,
.wc-block-components-notice-banner {
  background: var(--ps-card) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
}

/* Links (global) */
a {
  transition: color 0.15s ease !important;
}
a:hover {
  color: var(--ps-accent) !important;
}

/* Flatsome global overrides */
.section {
  background-color: transparent !important;
}
.is-divider,
hr {
  background: var(--ps-border) !important;
  border-color: var(--ps-border) !important;
  opacity: 1 !important;
}
.bulletin-bar {
  background: var(--ps-bg-alt) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}

/* Section titles (global) */
.section-title {
  border-bottom: none !important;
}
.section-title .section-title-main {
  color: var(--ps-text) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}
.section-title a {
  color: var(--ps-accent) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Flatsome lightbox / popups */
.mfp-content,
.mfp-content .product-lightbox {
  background: var(--ps-bg) !important;
}
.mfp-close {
  color: var(--ps-text) !important;
}

/* Back to top button */
.back-to-top {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
}
.back-to-top:hover {
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}

/* Loading spinner */
.blockUI.blockOverlay {
  background: rgba(13, 17, 23, 0.6) !important;
}

/* Flatsome row/column backgrounds */
.col-inner {
  background: transparent !important;
}

/* Page title area */
.page-title,
.shop-page-title h1,
.category-title h1,
.entry-title {
  color: var(--ps-text) !important;
}

/* Widget areas (non-shop) */
.widget {
  color: var(--ps-text) !important;
}
.widget a {
  color: var(--ps-text) !important;
}
.widget a:hover {
  color: var(--ps-accent) !important;
}
.widget-title {
  color: var(--ps-text) !important;
}

/* WooCommerce tabs on shop/category */
.tabbed-content .tabs li a {
  color: var(--ps-muted) !important;
}
.tabbed-content .tabs li.active a,
.tabbed-content .tabs li a:hover {
  color: var(--ps-accent) !important;
}

/* Reviews */
.woocommerce-Reviews .comment-text {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 8px !important;
  color: var(--ps-text) !important;
}
.woocommerce-Reviews .comment-text .meta {
  color: var(--ps-muted) !important;
}
.woocommerce-Reviews .comment-text .description p {
  color: var(--ps-text) !important;
}
#review_form #respond {
  background: transparent !important;
}
#review_form label {
  color: var(--ps-text) !important;
}

/* Variation swatches */
.variations td,
.variations th {
  background: transparent !important;
}
.variations label {
  color: var(--ps-text) !important;
}
.variations select {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}
.reset_variations {
  color: var(--ps-accent) !important;
}

/* ===== Header / Nav — High Specificity Overrides ===== */
/* Override Flatsome customizer inline styles & Additional CSS remnants */
#header,
#header .header-wrapper,
#header .header-main {
  background-color: var(--ps-bg) !important;
  background: var(--ps-bg) !important;
}
#header .header-bottom,
.header-bottom {
  background-color: var(--ps-bg-alt) !important;
  background: var(--ps-bg-alt) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
/* Nav items — remove grey box backgrounds */
.header-bottom-nav .nav > li > a,
.header-bottom .nav > li > a {
  background: transparent !important;
  color: var(--ps-text) !important;
}
.header-bottom-nav .nav > li > a:hover,
.header-bottom .nav > li > a:hover,
.header-bottom-nav .nav > li.active > a,
.header-bottom .nav > li.active > a,
.header-bottom-nav .nav > li.current-menu-item > a,
.header-bottom .nav > li.current-menu-item > a,
.header-bottom-nav .nav > li.current-menu-ancestor > a {
  color: var(--ps-accent) !important;
}
/* Dropdown overrides (was #414141 in old Additional CSS) */
.nav-dropdown,
.header-nav .nav-dropdown,
.nav > li > .nav-dropdown,
ul.nav-dropdown {
  background-color: var(--ps-bg-alt) !important;
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
.nav-dropdown *,
.nav-dropdown li,
.nav-dropdown a {
  border-color: var(--ps-border) !important;
}
.nav > li > a,
.nav-dropdown > li > a,
.nav-column > li > a {
  color: var(--ps-text) !important;
}
.nav > li:hover > a,
.nav-dropdown > li:hover > a,
.nav-column > li:hover > a {
  color: var(--ps-accent) !important;
}
/* Mini-cart in dropdown */
.nav-dropdown .mini_cart_item a:not(.remove) {
  color: var(--ps-text) !important;
}
.nav-dropdown a.remove:hover {
  color: #f85149 !important;
}

/* ===== Live Search Results ===== */
.live-search-results {
  background-color: var(--ps-bg-alt) !important;
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
}
.autocomplete-suggestion {
  border-color: var(--ps-border) !important;
  color: var(--ps-text) !important;
}
.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
  background: rgba(0, 194, 255, 0.08) !important;
}
.live-search-results .search-result a {
  color: var(--ps-text) !important;
}
.live-search-results .search-result .amount {
  color: var(--ps-accent) !important;
}

/* ===== Shop Page Title Bar ===== */
.shop-page-title,
.page-title-inner,
.page-title-bar {
  background-color: var(--ps-bg) !important;
  background: var(--ps-bg) !important;
}
.shop-page-title .breadcrumbs a {
  color: var(--ps-muted) !important;
}
.shop-page-title .breadcrumbs a:hover {
  color: var(--ps-accent) !important;
}
.shop-page-title .breadcrumbs {
  color: var(--ps-muted) !important;
}

/* ===== Product Quick View ===== */
.product-quick-view-container,
.mfp-content .product-lightbox,
.product-lightbox {
  background-color: var(--ps-bg) !important;
  background: var(--ps-bg) !important;
  color: var(--ps-text) !important;
}
.product-quick-view-container h1,
.product-quick-view-container .product_title,
.product-lightbox h1,
.product-lightbox .product_title {
  color: var(--ps-text) !important;
}
.product-quick-view-container .price,
.product-quick-view-container .price .woocommerce-Price-amount,
.product-lightbox .price,
.product-lightbox .price .woocommerce-Price-amount {
  color: var(--ps-accent) !important;
}
.product-quick-view-container .product_meta,
.product-lightbox .product_meta {
  color: var(--ps-muted) !important;
}
.product-quick-view-container .product_meta a,
.product-lightbox .product_meta a {
  color: var(--ps-accent) !important;
}
.product-quick-view-container .product_meta a:hover,
.product-lightbox .product_meta a:hover {
  color: #33d1ff !important;
}
.product-quick-view-container .product-short-description,
.product-quick-view-container .woocommerce-product-details__short-description,
.product-lightbox .product-short-description {
  color: var(--ps-muted) !important;
}
.product-quick-view-container .single_add_to_cart_button,
.product-lightbox .single_add_to_cart_button {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}
.product-quick-view-container .single_add_to_cart_button:hover,
.product-lightbox .single_add_to_cart_button:hover {
  background: #33d1ff !important;
}
.product-quick-view-container .quantity input.qty,
.product-quick-view-container .quantity .minus,
.product-quick-view-container .quantity .plus,
.product-lightbox .quantity input.qty,
.product-lightbox .quantity .minus,
.product-lightbox .quantity .plus {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
}
.product-quick-view-container .star-rating span::before,
.product-lightbox .star-rating span::before {
  color: var(--ps-gold) !important;
}
.product-quick-view-container .product-gallery,
.product-lightbox .product-gallery,
.product-quick-view-container .product-gallery-slider,
.product-lightbox .product-gallery-slider,
.product-quick-view-container .flickity-viewport,
.product-lightbox .flickity-viewport,
.product-quick-view-container .slide,
.product-lightbox .slide {
  background: var(--ps-bg-alt) !important;
}
/* Quick view close button */
.mfp-close {
  color: var(--ps-text) !important;
}
.mfp-close:hover {
  color: var(--ps-accent) !important;
}
/* Quick view variation selects */
.product-quick-view-container .variations select,
.product-lightbox .variations select {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
}
.product-quick-view-container .variations label,
.product-lightbox .variations label {
  color: var(--ps-text) !important;
}
.product-quick-view-container .variations td,
.product-quick-view-container .variations th,
.product-lightbox .variations td,
.product-lightbox .variations th {
  background: transparent !important;
}
/* Quick view warranty/extra info */
.product-quick-view-container p,
.product-lightbox p {
  color: var(--ps-muted) !important;
}
.product-quick-view-container strong,
.product-lightbox strong {
  color: var(--ps-text) !important;
}

/* ===== Related Products — Ensure Card Style ===== */
.related.products .product-small.col,
.upsells.products .product-small.col,
.cross-sells .product-small.col {
  display: flex !important;
  flex-direction: column !important;
}
.related.products .product-small .col-inner,
.upsells.products .product-small .col-inner,
.cross-sells .product-small .col-inner {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  overflow: visible !important;
  height: 100% !important;
}
.related.products .product-small .col-inner .product-small.box,
.upsells.products .product-small .col-inner .product-small.box,
.cross-sells .product-small .col-inner .product-small.box {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.related.products .product-small .col-inner:hover,
.upsells.products .product-small .col-inner:hover {
  border-color: var(--ps-accent) !important;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
.related.products .box-text-products,
.upsells.products .box-text-products,
.cross-sells .box-text-products {
  background: var(--ps-bg-alt) !important;
}
.related.products .product-title a,
.upsells.products .product-title a,
.cross-sells .product-title a {
  color: var(--ps-text) !important;
}
.related.products .wcpv-sold-by-loop,
.upsells.products .wcpv-sold-by-loop {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-top: 1px solid var(--ps-border) !important;
}
.related.products .wcpv-sold-by-loop a,
.upsells.products .wcpv-sold-by-loop a {
  color: var(--ps-accent) !important;
}

/* Vendor sold-by (global — higher specificity override) */
.product-small .wcpv-sold-by-loop {
  background-color: var(--ps-bg-alt) !important;
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
}

/* ===== Woo Wallet Plugin — Dark Theme ===== */
/* Override wallet CSS custom properties */
.woo-wallet-my-wallet-container {
  --wallet-primary-color: var(--ps-accent) !important;
  --wallet-text-color: var(--ps-text) !important;
  --wallet-bg-color: var(--ps-bg) !important;
  --wallet-border-color: var(--ps-border) !important;
  color: var(--ps-text) !important;
}

/* Balance card — dark gradient instead of purple */
.woo-wallet-my-wallet-container .woo-wallet-balance-card {
  background: linear-gradient(135deg, #161b22 0%, #1c2333 100%) !important;
  border: 1px solid var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-balance-card h3 {
  color: var(--ps-muted) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-balance-card .woo-wallet-price {
  color: var(--ps-accent) !important;
}

/* Top section wrapper */
.woo-wallet-my-wallet-container .woo-wallet-top-section {
  background: var(--ps-card) !important;
  border-radius: 12px !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Nav tabs */
.woo-wallet-my-wallet-container .woo-wallet-nav-tabs {
  background: var(--ps-bg-alt) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-nav-tab {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-color: var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-nav-tab:hover,
.woo-wallet-my-wallet-container .woo-wallet-nav-tab:focus,
.woo-wallet-my-wallet-container .woo-wallet-nav-tab:active {
  background: rgba(0, 194, 255, 0.05) !important;
  color: var(--ps-accent) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-nav-tab.active {
  background: rgba(0, 194, 255, 0.08) !important;
  color: var(--ps-accent) !important;
}

/* Header */
.woo-wallet-my-wallet-container .woo-wallet-header h2 {
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-header p {
  color: var(--ps-muted) !important;
}

/* Content area */
.woo-wallet-my-wallet-container .woo-wallet-content-area {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

/* Section titles */
.woo-wallet-my-wallet-container .woo-wallet-section-title {
  background: transparent !important;
  color: var(--ps-text) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}

/* Transactions list */
.woo-wallet-my-wallet-container .woo-wallet-transactions-list {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: none !important;
}

/* Transactions table */
.woo-wallet-my-wallet-container .woo-wallet-transactions-table th {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-transactions-table td {
  background: transparent !important;
  color: var(--ps-text) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-transactions-table tr:hover td {
  background: rgba(0, 194, 255, 0.03) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-transactions-table .amount.credit {
  color: #3fb950 !important;
}
.woo-wallet-my-wallet-container .woo-wallet-transactions-table .amount.debit {
  color: #f85149 !important;
}

/* DataTables overrides */
.woo-wallet-my-wallet-container .dataTables_wrapper {
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .dataTables_wrapper .dataTables_info {
  color: var(--ps-muted) !important;
}
table.dataTable tbody tr {
  background-color: var(--ps-card) !important;
  color: var(--ps-text) !important;
}
table.dataTable thead th,
table.dataTable thead td {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
table.dataTable tbody td,
table.dataTable tbody th {
  border-bottom: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}
table.dataTable.no-footer {
  border-bottom: 1px solid var(--ps-border) !important;
}
table.dataTable tbody tr:hover {
  background-color: rgba(0, 194, 255, 0.03) !important;
}
.woo-wallet-my-wallet-container .dataTables_wrapper .dataTables_paginate .paginate_button {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
}
.woo-wallet-my-wallet-container .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(0, 194, 255, 0.1) !important;
  border-color: var(--ps-accent) !important;
  color: var(--ps-accent) !important;
}
.woo-wallet-my-wallet-container .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.woo-wallet-my-wallet-container .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--ps-accent) !important;
  border-color: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  box-shadow: none !important;
}
.woo-wallet-my-wallet-container .dataTables_length select {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .dataTables_filter input {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .dataTables_filter input:focus {
  border-color: var(--ps-accent) !important;
}

/* Wallet form wrapper */
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper label {
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="text"],
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="number"],
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper select,
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper textarea {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="text"]:focus,
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="number"]:focus,
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper select:focus {
  border-color: var(--ps-accent) !important;
  background: var(--ps-bg-alt) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="submit"] {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
}
.woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="submit"]:hover {
  background: #33d1ff !important;
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.25) !important;
}

/* Wallet copy button */
.woo-wallet-my-wallet-container .woo-wallet-copy-btn {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-copy-btn:hover {
  opacity: 1 !important;
  background: #33d1ff !important;
}

/* Wallet referral card */
.woo-wallet-my-wallet-container .woo-wallet-referral-link-card,
.woo-wallet-my-wallet-container .woo-wallet-referral-stats {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: none !important;
}
.woo-wallet-my-wallet-container .woo-wallet-referral-link-card h3 {
  color: var(--ps-text) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-referral-stats th {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-muted) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-referral-stats td {
  color: var(--ps-text) !important;
  border-bottom: 1px solid var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-referral-input-wrapper input[type="text"] {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}

/* Wallet submenu */
.woo-wallet-my-wallet-container .woo-wallet-submenu {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-submenu .woo-wallet-submenu-item {
  color: var(--ps-text) !important;
  border-bottom-color: var(--ps-border) !important;
}
.woo-wallet-my-wallet-container .woo-wallet-submenu .woo-wallet-submenu-item:hover {
  background: rgba(0, 194, 255, 0.05) !important;
  color: var(--ps-accent) !important;
}

/* Old wallet sidebar (legacy layout) */
.woo-wallet-sidebar {
  background-color: var(--ps-card) !important;
  background: var(--ps-card) !important;
}
.woo-wallet-sidebar .card {
  background: var(--ps-bg-alt) !important;
}

/* ===== My Account — Additional Fixes ===== */
/* Ensure content area is dark */
.woocommerce-account .woocommerce,
.woocommerce-account #content,
.woocommerce-account .page-wrapper {
  background: var(--ps-bg) !important;
}
.woocommerce-MyAccount-content {
  background: transparent !important;
}

/* ===== Title Wrapper Height (from old Additional CSS) ===== */
.title-wrapper {
  height: 59px;
}

/* ===== Payment Method Selly Image Hide (from old Additional CSS) ===== */
.payment_method_selly img {
  display: none;
}

/* ===== Footer Widgets — Higher Specificity ===== */
.footer-widgets,
.footer-widgets .col-inner {
  background-color: var(--ps-bg) !important;
  background: var(--ps-bg) !important;
}

/* ===== Daterangepicker (Wallet) ===== */
.daterangepicker {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}
.daterangepicker .calendar-table {
  background: var(--ps-bg-alt) !important;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: var(--ps-accent) !important;
}
.daterangepicker .drp-buttons {
  border-top: 1px solid var(--ps-border) !important;
}
.daterangepicker .drp-buttons .btn-primary {
  background-color: var(--ps-accent) !important;
  border-color: var(--ps-accent) !important;
}
.daterangepicker .drp-buttons .btn-default {
  background-color: var(--ps-bg) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
}
.daterangepicker .ranges li.active {
  background-color: var(--ps-accent) !important;
}
.daterangepicker .ranges li:hover {
  background-color: rgba(0, 194, 255, 0.08) !important;
}
.daterangepicker th.month {
  color: var(--ps-text) !important;
}
.daterangepicker td {
  color: var(--ps-text) !important;
}
.daterangepicker td.in-range {
  background-color: rgba(0, 194, 255, 0.1) !important;
  color: var(--ps-text) !important;
}
.daterangepicker td.off {
  color: var(--ps-muted) !important;
}

/* ===== Quick View / Product — Grouped & Variable Product Tables ===== */
/* Fix unreadable product names in quick view tables */
.product-quick-view-container table,
.product-lightbox table,
.product-quick-view-container .group_table,
.product-lightbox .group_table,
.product-quick-view-container .grouped_form table,
.product-lightbox .grouped_form table {
  border-color: var(--ps-border) !important;
}
.product-quick-view-container table td,
.product-lightbox table td,
.product-quick-view-container table th,
.product-lightbox table th,
.product-quick-view-container .group_table td,
.product-lightbox .group_table td {
  background: var(--ps-card) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-border) !important;
}
/* Product name labels in grouped products */
.product-quick-view-container .group_table label,
.product-quick-view-container .group_table td.label,
.product-quick-view-container .group_table a,
.product-lightbox .group_table label,
.product-lightbox .group_table td.label,
.product-lightbox .group_table a,
.product-quick-view-container .woocommerce-grouped-product-list-item__label label,
.product-quick-view-container .woocommerce-grouped-product-list-item__label a,
.product-lightbox .woocommerce-grouped-product-list-item__label label,
.product-lightbox .woocommerce-grouped-product-list-item__label a {
  color: var(--ps-text) !important;
}
/* Prices in grouped product table */
.product-quick-view-container .group_table .woocommerce-Price-amount,
.product-quick-view-container .group_table .amount,
.product-lightbox .group_table .woocommerce-Price-amount,
.product-lightbox .group_table .amount,
.product-quick-view-container .woocommerce-grouped-product-list-item__price .woocommerce-Price-amount,
.product-lightbox .woocommerce-grouped-product-list-item__price .woocommerce-Price-amount {
  color: var(--ps-accent) !important;
  font-weight: 700 !important;
}
/* Quantity inputs in grouped table */
.product-quick-view-container .group_table .quantity input,
.product-lightbox .group_table .quantity input,
.product-quick-view-container .group_table .quantity .minus,
.product-quick-view-container .group_table .quantity .plus,
.product-lightbox .group_table .quantity .minus,
.product-lightbox .group_table .quantity .plus {
  background: var(--ps-bg-alt) !important;
  color: var(--ps-text) !important;
  border: 1px solid var(--ps-border) !important;
}

/* ===== Grouped Product Table — Polished Design ===== */
.group_table,
.woocommerce-grouped-product-list {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}
.group_table tr,
.woocommerce-grouped-product-list tr {
  border-bottom: 1px solid var(--ps-border) !important;
}
.group_table tr:last-child,
.woocommerce-grouped-product-list tr:last-child {
  border-bottom: none !important;
}
.group_table td,
.woocommerce-grouped-product-list td {
  background: transparent !important;
  color: var(--ps-text) !important;
  border: none !important;
  border-bottom: 1px solid var(--ps-border) !important;
  padding: 14px 16px !important;
  vertical-align: middle !important;
}
.group_table tr:last-child td,
.woocommerce-grouped-product-list tr:last-child td {
  border-bottom: none !important;
}
.woocommerce-grouped-product-list-item__label label,
.woocommerce-grouped-product-list-item__label a,
.group_table label,
.group_table a,
.group_table td.label {
  color: var(--ps-text) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.woocommerce-grouped-product-list-item__price .woocommerce-Price-amount,
.group_table .woocommerce-Price-amount {
  color: var(--ps-accent) !important;
  font-weight: 700 !important;
}
/* Stock info in grouped table */
.group_table .stock,
.woocommerce-grouped-product-list .stock {
  color: var(--ps-muted) !important;
  font-size: 12px !important;
}
/* Quantity in grouped table */
.group_table .quantity,
.woocommerce-grouped-product-list .quantity {
  height: 36px !important;
}
.group_table .quantity input.qty,
.woocommerce-grouped-product-list .quantity input.qty {
  width: 40px !important;
  min-width: 40px !important;
  font-size: 13px !important;
}
.group_table .quantity .minus,
.group_table .quantity .plus,
.woocommerce-grouped-product-list .quantity .minus,
.woocommerce-grouped-product-list .quantity .plus {
  width: 32px !important;
  min-width: 32px !important;
  font-size: 15px !important;
}

/* Out-of-stock "Read More" button in grouped table */
.group_table td a.button,
.woocommerce-grouped-product-list td a.button,
.group_table td .button[href],
.woocommerce-grouped-product-list td .button[href] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 12px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  background: transparent !important;
  color: var(--ps-muted) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 6px !important;
  min-height: 36px !important;
  height: 36px !important;
  line-height: 1 !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}
.group_table td a.button:hover,
.woocommerce-grouped-product-list td a.button:hover {
  color: var(--ps-accent) !important;
  border-color: var(--ps-accent) !important;
}

/* Out of stock text in grouped table */
.group_table .stock.out-of-stock,
.woocommerce-grouped-product-list .stock.out-of-stock {
  color: #f87171 !important;
  font-size: 11px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Notifima stock alert plugin — subscribe form */
.notifima-subscribe-form {
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
/* Hide the "Receive in-stock notifications" text to save space */
.notifima-subscribe-form .subscribe-for-interest-text {
  display: none !important;
}
.notifima-subscribe-form .fields_wrap {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.notifima-subscribe-form .fields_wrap br {
  display: none !important;
}
.notifima-subscribe-form .notifima-email {
  background: var(--ps-bg) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 4px !important;
  padding: 4px 6px !important;
  font-size: 11px !important;
  width: 110px !important;
  min-width: 90px !important;
  height: 26px !important;
  box-sizing: border-box !important;
}
.notifima-subscribe-form .notifima-email::placeholder {
  color: var(--ps-muted) !important;
  font-size: 10px !important;
}
.notifima-subscribe-form .notifima-subscribe,
.notifima-subscribe-form .notifima-button {
  background: transparent !important;
  color: var(--ps-accent) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  height: 26px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.notifima-subscribe-form .notifima-subscribe:hover {
  background: var(--ps-accent) !important;
  color: #0d1117 !important;
}
/* Compact grouped table cells for out-of-stock rows */
.group_table td .notifima-subscribe-form ~ *,
.group_table td p.stock {
  margin: 0 !important;
  padding: 0 !important;
}
/* Reduce grouped table cell padding */
.group_table td,
.woocommerce-grouped-product-list td {
  padding: 10px 12px !important;
}
/* Price in grouped table — keep compact */
.group_table td .woocommerce-Price-amount,
.group_table td del,
.group_table td ins {
  line-height: 1.3 !important;
}

/* ===== Catch-all grey background overrides ===== */
/* Any remaining Flatsome elements that might render grey */
.page-title-inner,
.page-title-bar,
.page-title-small,
.dark .page-title-inner {
  background-color: var(--ps-bg) !important;
  background: var(--ps-bg) !important;
}
.row-dark,
.dark,
.dark .col-inner {
  background-color: transparent !important;
}
/* Product page right sidebar */
.product-sidebar .widget {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 20px !important;
}
/* Content area backgrounds — prevent any grey leaks */
#content .row,
.page-wrapper .row,
.product-container,
.product-main {
  background: transparent !important;
}
/* Shop category header */
.category-page-row,
.shop-page-title-row {
  background: var(--ps-bg) !important;
}

/* Login popup container background */
#login-form-popup,
.account-container,
.account-container.lightbox-inner {
  background: var(--ps-bg) !important;
}

/* ===== Login / Register Form Layout Fix ===== */
/* Fix register column being squished */
#customer_login .col-1,
#customer_login .col-2,
.u-columns .col-1,
.u-columns .col-2 {
  background: var(--ps-card) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: 10px !important;
  padding: 28px !important;
  min-width: 0 !important;
  flex: 1 1 0% !important;
  width: unset !important;
  max-width: unset !important;
  float: none !important;
  box-sizing: border-box !important;
}
#customer_login,
.u-columns,
.account-container .col2-set {
  display: flex !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
}
#customer_login h2,
.u-columns h2 {
  color: var(--ps-text) !important;
  font-size: 18px !important;
  margin-bottom: 20px !important;
}
#customer_login .form-row,
.u-columns .form-row {
  margin-bottom: 16px !important;
}
#customer_login input[type="text"],
#customer_login input[type="password"],
#customer_login input[type="email"],
.u-columns input[type="text"],
.u-columns input[type="password"],
.u-columns input[type="email"] {
  background: var(--ps-bg-alt) !important;
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text) !important;
  border-radius: 6px !important;
  width: 100% !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
}
#customer_login .button,
.u-columns .button {
  background: var(--ps-accent) !important;
  color: var(--ps-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
}
#customer_login .button:hover,
.u-columns .button:hover {
  background: #33d1ff !important;
}
/* My Account page when not logged in */
.woocommerce-account .woocommerce > .col2-set {
  display: flex !important;
  gap: 20px !important;
}
.woocommerce-account .woocommerce > .col2-set .col-1,
.woocommerce-account .woocommerce > .col2-set .col-2 {
  flex: 1 !important;
  width: auto !important;
  float: none !important;
}

/* ===== Force dark background on body ===== */
body,
html {
  background-color: #0d1117 !important;
}
.page-wrapper,
#wrapper,
#content,
.page,
main {
  background-color: #0d1117 !important;
}
