/* CRITICAL: Force dark mode and remove purple/default browser colors */
* {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Remove ALL purple/blue default link colors and outlines */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  color: inherit;
  -webkit-tap-highlight-color: rgba(14, 165, 233, 0.15) !important;
  tap-highlight-color: rgba(14, 165, 233, 0.15) !important;
}

/* Override browser default focus outline colors */
::-moz-focus-inner {
  border: 0 !important;
}
::-moz-focusring {
  outline-color: var(--accent) !important;
}

:root {
  --background: #0a0a0a;
  --foreground: #e5e5e5;
  --accent: #0ea5e9;
  --accent-hover: #38bdf8;
  --accent-foreground: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --container: 75rem;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 32px -8px rgba(14, 165, 233, 0.5);
}

/* Force HTML and BODY to be dark - CRITICAL */
html {
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
}

/* Base skin */
body {
  background-color: var(--background) !important;
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Enhanced background with better gradient */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px !important;
  background-position: 0 0, 0 0, 0 0, 0 0 !important;
  background-attachment: fixed;
}

a { 
  color: inherit; 
  text-decoration: none;
  transition: color 0.2s ease;
  outline: none;
}
a:hover { 
  color: var(--accent-hover);
}
a:focus,
a:active,
a:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
  border-radius: 4px;
  color: inherit;
}
/* Remove purple/blue browser default outline */
a:focus:not(:focus-visible) {
  outline: none;
}
a:-webkit-any-link:focus-visible {
  outline-color: var(--accent) !important;
}

/* FORCE dark theme - Kill ALL Storefront white backgrounds */
html,
body,
#page,
.site,
#content,
.site-content,
.content-area,
.site-main,
.hfeed,
#primary,
#secondary,
.woocommerce-page,
.woocommerce-page #primary,
.woocommerce-page #secondary,
.woocommerce-page .site-content,
.woocommerce-page .content-area,
.woocommerce-page .site-main,
.woocommerce-page .storefront-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-products-header,
.woocommerce-page .woocommerce-products-header__title,
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .storefront-sorting,
.storefront-primary-navigation,
.site-header,
.site-footer,
main,
.col-full,
.woocommerce,
.woocommerce-page,
.page-template-default,
.single-product,
.archive,
.blog,
.search,
.error404 {
  background: transparent !important;
  background-color: transparent !important;
}

/* Ensure Storefront can't force a white background on wrappers */
#page,
.site,
body.woocommerce,
body.woocommerce-page {
  background-color: var(--background) !important;
}

/* Force text colors */
body,
body.woocommerce,
body.woocommerce-page,
.site,
.site-content,
#content,
p,
.entry-content,
.woocommerce-page .entry-content {
  color: var(--foreground) !important;
}

/* Headings must be white */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.woocommerce-products-header__title,
.product_title {
  color: #fff !important;
}

/* Make Storefront content use the same max width as the Next layout */
.col-full {
  max-width: var(--container) !important;
  width: min(var(--container), calc(100% - 3rem)) !important;
  margin-inline: auto !important;
}
@media (min-width: 640px) {
  .col-full { width: min(var(--container), calc(100% - 4rem)) !important; }
}

/* Links & buttons accent */
a.button,
button.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--accent) !important;
  color: var(--accent-foreground) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 0.75rem 1.5rem !important;
  box-shadow: var(--shadow-accent) !important;
  border: none !important;
  transition: all 0.2s ease !important;
  line-height: 1.4 !important;
}
a.button:hover,
button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(14, 165, 233, 0.6) !important;
}

/* Secondary-ish button */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--accent) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--accent-hover) !important;
}

/* Promo bar (before header) */
.lc-promo {
  width: 100%;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0.12) 0%,
    rgba(14, 165, 233, 0.08) 50%,
    rgba(14, 165, 233, 0.12) 100%
  );
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.lc-promo__inner {
  padding: 0.875rem 1.5rem;
  text-align: center;
}
.lc-promo__inner p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.3px;
}
.lc-promo__inner strong { 
  color: var(--accent-hover); 
  font-weight: 700;
}
.lc-promo__link { 
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}
.lc-promo__link:hover { color: #fff; }

/* Storefront header wrapper => fixed like Next */
#masthead.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border: 0;
  padding: 0 !important;
}
body.admin-bar #masthead.site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #masthead.site-header { top: 46px; } }

/* Let our header manage widths; don't constrain it with Storefront's header container */
#masthead .col-full {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Offset for promo + fixed header */
#content,
.site-content {
  padding-top: 160px;
  min-height: 60vh;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: var(--accent);
  color: #fff;
}
::-moz-selection {
  background: var(--accent);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Next-like header layout */
.lc-container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}
.lc-container--wide {
  width: calc(100% - 1.5rem);
  margin-inline: auto;
  max-width: none;
}

.lc-header { position: relative; z-index: 50; }
.lc-header-shell { transition: all .5s ease-in-out; margin-top: .75rem; }
.lc-header-shell.is-scrolled { width: min(var(--container), calc(100% - 3rem)); }
.lc-header-shell:not(.is-scrolled) { width: calc(100% - 1.5rem); }

.lc-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.lc-card { 
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    var(--shadow-md);
  border-radius: var(--radius);
}

.lc-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 2rem;
  min-height: 64px;
}
.lc-header-bar > * {
  display: flex;
  align-items: center;
}
.lc-brand { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem; 
  color: #fff; 
  font-weight: 700;
  font-size: 18px;
  transition: opacity 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.lc-brand:hover {
  opacity: 0.9;
}
.lc-brand__logo { 
  display: inline-flex; 
  align-items: center;
  line-height: 1;
}

/* Hard-cap WP custom logo so it can never explode in size (header/footer/anywhere) */
.custom-logo-link { 
  display: inline-flex !important; 
  align-items: center;
  line-height: 1;
}
img.custom-logo {
  max-height: 36px !important;
  height: auto !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
  position: static !important;
  display: block !important;
}
footer img.custom-logo {
  max-height: 44px !important;
  max-width: 260px !important;
}

.lc-brand__logo img { 
  height: auto; 
  width: auto; 
  max-height: 36px; 
  object-fit: contain; 
}

/* Ensure site name is visible if no logo is set */
.lc-brand__logo {
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  min-height: 36px;
}

/* Style the site name when no logo exists */
.site-branding,
.site-title,
.site-description {
  margin: 0;
  color: #fff !important;
}

.lc-nav { 
  display: none; 
  font-size: 14px; 
  font-weight: 500;
  align-items: center;
}
.lc-nav__list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem;
  height: 100%;
}
.lc-nav__list li {
  display: flex;
  align-items: center;
  height: 100%;
}
.lc-nav a { 
  color: rgba(255, 255, 255, 0.75); 
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.5;
}
.lc-nav a:hover { 
  color: #fff; 
  background: rgba(255, 255, 255, 0.08);
}
.lc-nav a:focus,
.lc-nav a:active,
.lc-nav a:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
  background: rgba(14, 165, 233, 0.15) !important;
}

/* Nav links - no purple ever */
.lc-nav a:link,
.lc-nav a:visited {
  color: rgba(255, 255, 255, 0.75);
}

.lc-actions { 
  display: none; 
  gap: 0.75rem; 
  align-items: center;
}
.lc-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lc-burger:hover { 
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.lc-burger:focus,
.lc-burger:active,
.lc-burger:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

/* All buttons - remove purple active states */
button,
button:focus,
button:active,
.button,
.button:focus,
.button:active,
input[type="submit"],
input[type="submit"]:focus,
input[type="submit"]:active,
input[type="button"],
input[type="button"]:focus,
input[type="button"]:active {
  outline-color: var(--accent) !important;
  -webkit-tap-highlight-color: rgba(14, 165, 233, 0.2) !important;
}

.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.lc-btn-primary { 
  background: var(--accent); 
  color: var(--accent-foreground); 
  box-shadow: var(--shadow-accent);
}
.lc-btn-primary:hover { 
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(14, 165, 233, 0.6);
}
.lc-btn-secondary { 
  background: rgba(255, 255, 255, 0.06); 
  border: 1px solid rgba(255, 255, 255, 0.12); 
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.lc-btn-secondary:hover { 
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lc-mobile { 
  width: min(var(--container), calc(100% - 3rem)); 
  margin-inline: auto; 
}
.lc-mobile-panel {
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 0.875rem;
  opacity: 0;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.lc-mobile-panel.is-open { 
  opacity: 1; 
  max-height: 380px; 
}
.lc-mobile-panel__inner { 
  padding: 1.25rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.5rem; 
  color: rgba(255, 255, 255, 0.85); 
}
.lc-mobile__list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 0.375rem; 
}
.lc-mobile-panel__inner a { 
  padding: 0.75rem 1rem; 
  border-radius: 8px; 
  display: block;
  font-weight: 500;
  transition: all 0.2s ease;
}
.lc-mobile-panel__inner a:hover { 
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateX(4px);
}
.lc-divider { 
  height: 1px; 
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  margin: 0.875rem 0; 
}
.lc-mobile-actions { 
  display: flex; 
  gap: 0.75rem; 
}
.lc-mobile-actions .lc-btn { 
  flex: 1; 
}

/* Responsive improvements */
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
  .lc-promo__inner p {
    font-size: 12px;
  }
  .lc-header-bar {
    padding: 0.875rem 1rem;
    min-height: 56px;
  }
  #content,
  .site-content {
    padding-top: 140px;
  }
  .woocommerce ul.products {
    gap: 1rem !important;
  }
  .woocommerce ul.products li.product {
    padding: 1rem !important;
  }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  .lc-brand {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .lc-nav { display: flex; }
  .lc-actions { display: inline-flex; align-items: center; }
  .lc-burger, .lc-mobile { display: none; }
}

@media (min-width: 1024px) {
  .lc-header-bar {
    padding: 1rem 2rem;
    min-height: 68px;
  }
  .lc-nav__list {
    gap: 1rem;
  }
  .lc-brand {
    font-size: 20px;
  }
}

/* Loading state */
.woocommerce .blockUI.blockOverlay {
  background: rgba(10, 10, 10, 0.7) !important;
  backdrop-filter: blur(4px);
}

/* Focus improvements for accessibility - Remove purple, use our accent */
*:focus,
*:active {
  outline-color: var(--accent) !important;
}

button:focus,
button:active,
button:focus-visible,
a:focus,
a:active,
a:focus-visible,
input:focus,
input:active,
input:focus-visible,
select:focus,
select:active,
select:focus-visible,
textarea:focus,
textarea:active,
textarea:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

/* Completely remove default tap highlight on mobile */
* {
  -webkit-tap-highlight-color: rgba(14, 165, 233, 0.2) !important;
  -webkit-focus-ring-color: var(--accent) !important;
}

/* Remove browser default focus ring */
:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none !important;
}

/* NUCLEAR OPTION - Force dark on all remaining Storefront elements */
.storefront-product-section,
.storefront-featured-products,
.storefront-recent-products,
.storefront-popular-products,
.storefront-on-sale-products,
.storefront-best-selling-products,
.site-header-cart,
.widget_product_search,
.widget_shopping_cart,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.woocommerce-form,
.woocommerce-account,
.woocommerce-checkout,
.woocommerce-cart,
.shop_table,
.cart-collaterals,
.cross-sells,
.upsells,
.related,
.woocommerce-tabs,
.entry-summary,
.summary,
article.post,
article.page,
.type-post,
.type-page,
.hentry,
.entry,
.post,
.page {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Force all text elements to be light colored */
span,
li,
td,
th,
label,
legend,
caption,
dt,
dd {
  color: inherit;
}

/* Storefront specific overrides */
.storefront-sorting label,
.storefront-sorting select,
.woocommerce-ordering label,
.woocommerce-ordering select {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Post/Page entries */
.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
  background: transparent !important;
}
.entry-meta,
.entry-meta a,
.posted-on,
.byline,
.cat-links,
.tags-links,
.comments-link {
  color: rgba(255, 255, 255, 0.5) !important;
}
.entry-meta a:hover {
  color: var(--accent-hover) !important;
}

/* Improve widget styling */
.widget,
.widget-area .widget,
.sidebar .widget,
#secondary .widget {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.widget h2,
.widget h3,
.widget-title {
  color: #fff !important;
  font-size: 18px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.widget ul {
  list-style: none;
  padding: 0;
}
.widget ul li {
  margin-bottom: 0.625rem;
  padding-left: 1rem;
  position: relative;
  color: rgba(255, 255, 255, 0.7) !important;
}
.widget ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.widget a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.2s ease;
}
.widget a:hover {
  color: var(--accent-hover) !important;
}
.widget p,
.widget span,
.widget label {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Sidebar - Hide completely on shop and main pages */
body.woocommerce #secondary,
body.woocommerce-page #secondary,
body.home #secondary,
body.blog #secondary,
body.archive #secondary,
body.search #secondary,
.widget-area,
.sidebar {
  display: none !important;
}

/* Make content full width when sidebar is hidden */
body.woocommerce .content-area,
body.woocommerce-page .content-area,
body.home .content-area,
body.blog .content-area,
body.archive .content-area,
body.search .content-area {
  width: 100% !important;
  margin: 0 !important;
}

/* Ensure primary content takes full width */
body.woocommerce #primary,
body.woocommerce-page #primary,
body.home #primary,
body.blog #primary,
body.archive #primary,
body.search #primary {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Hide default page title area on the homepage (it doesn't match the Next hero) */
body.home .entry-header,
body.front-page .entry-header {
  display: none;
}

/* Glass cards */
.site-content .woocommerce-product-gallery,
.woocommerce .products li.product,
.woocommerce div.product div.summary,
.widget,
.site-main article,
.hentry {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    var(--shadow-sm);
  backdrop-filter: blur(8px);
  margin: 0.5rem;
  padding: 1rem;
}

/* Make WooCommerce grid spacing closer to Next cards */
.woocommerce ul.products {
  margin-top: 2rem;
  gap: 1.5rem !important;
}
.woocommerce ul.products li.product {
  padding: 1.25rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.woocommerce ul.products li.product::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0) 0%,
    rgba(14, 165, 233, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 16px 48px -12px rgba(14, 165, 233, 0.4),
    var(--shadow-lg);
}
.woocommerce ul.products li.product:hover::before {
  opacity: 1;
}

/* Product title/text colors */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  margin-top: 0 !important;
  margin-bottom: 0.625rem !important;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--accent-hover) !important;
}

/* Product links - prevent purple/default link colors */
.woocommerce ul.products li.product a,
.woocommerce ul.products li.product a:link,
.woocommerce ul.products li.product a:visited {
  color: inherit !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product a:focus,
.woocommerce ul.products li.product a:active {
  outline: 2px solid var(--accent) !important;
  outline-offset: 4px;
  color: inherit !important;
}
.woocommerce ul.products li.product a:focus .woocommerce-loop-product__title {
  color: var(--accent-hover) !important;
}
.woocommerce ul.products li.product .button {
  width: 100%;
  margin-top: 0.875rem;
  justify-content: center;
  font-size: 13px !important;
  padding: 0.625rem 1rem !important;
}
.woocommerce ul.products li.product .added_to_cart {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}
.woocommerce ul.products li.product .added_to_cart:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
}
.woocommerce ul.products li.product .price {
  color: var(--accent-hover) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  margin-bottom: 0.5rem;
}
.woocommerce ul.products li.product .star-rating {
  color: #fbbf24 !important;
  margin-bottom: 0.5rem;
}
.woocommerce ul.products li.product .star-rating::before {
  color: rgba(255, 255, 255, 0.15) !important;
}
.woocommerce .star-rating span::before {
  color: #fbbf24 !important;
}
/* Review/rating on single product */
.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 1.5rem;
}
.woocommerce div.product .woocommerce-product-rating .star-rating {
  color: #fbbf24;
}
.woocommerce div.product .woocommerce-review-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.woocommerce div.product .woocommerce-review-link:hover {
  color: var(--accent-hover);
}
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img {
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 0.875rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::after {
  opacity: 1;
}

/* Shop header */
.woocommerce-products-header {
  padding: 1.5rem 0 0;
  margin-bottom: 2rem;
}
.woocommerce-products-header__title.page-title {
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.storefront-sorting,
.woocommerce-result-count {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 14px;
}
.storefront-sorting select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Remove sticky add-to-cart bar */
.storefront-sticky-add-to-cart,
.storefront-sticky-add-to-cart--slideInDown {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Demo store notice (bottom bar) - match theme (you can also disable it in WooCommerce settings) */
.woocommerce-store-notice,
p.demo_store {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(10px);
}
.woocommerce-store-notice a,
p.demo_store a {
  color: var(--accent) !important;
}

/* WooCommerce Messages & Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 1.5rem !important;
  backdrop-filter: blur(8px);
}
.woocommerce-message {
  border-left: 4px solid #10b981 !important;
}
.woocommerce-info {
  border-left: 4px solid var(--accent) !important;
}
.woocommerce-error {
  border-left: 4px solid #ef4444 !important;
}

/* Cart table improvements */
.woocommerce-cart table.cart {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.woocommerce-cart table.cart td {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.woocommerce-cart .cart_totals {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0.75rem;
  backdrop-filter: blur(8px);
}
.woocommerce-cart .cart_totals h2 {
  color: #fff !important;
  margin-top: 0;
}

/* Checkout page styling - FORCE DARK */
.woocommerce-checkout,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-checkout-review-order,
#order_review,
#order_review_heading,
.woocommerce-checkout-review-order,
.checkout_coupon,
.woocommerce-form-coupon-toggle,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-checkout-payment {
  background: transparent !important;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Checkout order review table - Dark glass card */
#order_review,
.woocommerce-checkout-review-order-table {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius) !important;
  padding: 1.5rem !important;
  margin: 0.75rem !important;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}

/* Checkout form fields containers */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius) !important;
  padding: 1.5rem !important;
  margin: 0.75rem !important;
  margin-bottom: 1.5rem !important;
  backdrop-filter: blur(8px);
}

/* Checkout headings */
.woocommerce-checkout h3,
#order_review_heading {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 1.25rem !important;
}

/* Checkout table styling */
.woocommerce-checkout-review-order-table {
  color: rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
  border: none !important;
}
.woocommerce-checkout-review-order-table th {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1rem !important;
}
.woocommerce-checkout-review-order-table td {
  color: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 0.875rem 1rem !important;
}
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  background: rgba(255, 255, 255, 0.03) !important;
  font-weight: 600;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  background: rgba(14, 165, 233, 0.1) !important;
}
.woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
  color: var(--accent-hover) !important;
}

/* Payment methods */
.woocommerce-checkout-payment {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius) !important;
  padding: 1.5rem !important;
  margin: 0.75rem !important;
  margin-top: 1.5rem !important;
  backdrop-filter: blur(8px);
}
.woocommerce-checkout-payment ul.payment_methods {
  background: transparent !important;
  border: none !important;
}
.woocommerce-checkout-payment ul.payment_methods li {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 1rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.woocommerce-checkout-payment ul.payment_methods li.payment_method_selected {
  background: rgba(14, 165, 233, 0.1) !important;
  border-color: var(--accent) !important;
}
.woocommerce-checkout-payment ul.payment_methods li label {
  color: #fff !important;
  font-weight: 600;
}
.woocommerce-checkout-payment .payment_box {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  border-radius: 6px;
  padding: 1rem;
  margin-top: 0.75rem;
}
.woocommerce-checkout-payment .payment_box::before {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Checkout form labels */
.woocommerce-checkout label,
.woocommerce-form__label {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
}
.woocommerce-checkout .required {
  color: var(--accent-hover) !important;
}

/* Checkout place order button */
#place_order {
  width: 100% !important;
  padding: 1rem 2rem !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 1rem !important;
}

/* Checkout privacy policy text */
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1rem 0;
}
.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
  color: var(--accent-hover) !important;
}

/* Coupon code area */
.woocommerce-form-coupon-toggle,
.checkout_coupon {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius);
  padding: 1rem !important;
  margin-bottom: 1.5rem;
}
.woocommerce-form-coupon-toggle .woocommerce-info,
.checkout_coupon .woocommerce-info {
  color: rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
  border: none !important;
}
.checkout_coupon input[type="text"] {
  margin-right: 0.5rem;
}

/* Product single page improvements */
.woocommerce div.product .product_title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.woocommerce div.product div.images img {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.woocommerce div.product .woocommerce-product-gallery {
  padding: 1.5rem;
}
/* Add spacing to product summary/entry-summary */
.woocommerce div.product div.summary,
.summary.entry-summary {
  padding: 1.5rem !important;
  margin: 0.75rem !important;
}
.woocommerce div.product .summary.entry-summary {
  margin-left: 1rem !important;
}

/* Quantity inputs */
.quantity input.qty {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 0.5rem !important;
  width: 70px !important;
  text-align: center;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 14px;
  margin-bottom: 1.5rem;
}
.woocommerce-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.woocommerce-breadcrumb a:hover {
  color: var(--accent-hover);
}

/* Pagination */
.woocommerce-pagination {
  margin-top: 3rem;
}
.woocommerce-pagination ul li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.woocommerce-pagination ul li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:focus,
.woocommerce-pagination ul li a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.woocommerce ul.products li.product {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}
.woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.05s; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.1s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.15s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.2s; }
.woocommerce ul.products li.product:nth-child(5) { animation-delay: 0.25s; }
.woocommerce ul.products li.product:nth-child(6) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(n+7) { animation-delay: 0.35s; }

/* Footer (Next-like) */
.lc-footer {
  position: relative;
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(14, 165, 233, 0.03) 100%
  );
}
.lc-footer__inner { 
  padding: 3rem 0 2.5rem; 
}
.lc-footer__grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 2rem; 
}
@media (min-width: 768px) { 
  .lc-footer__grid { 
    grid-template-columns: 1.5fr 1fr; 
    gap: 2.5rem;
  } 
}
@media (min-width: 1024px) { 
  .lc-footer__grid { 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 3rem; 
  } 
}
.lc-footer h3 { 
  margin: 0 0 1.25rem; 
  font-size: 16px; 
  font-weight: 700; 
  color: #fff;
  letter-spacing: 0.3px;
}
.lc-footer p { 
  margin: 0.875rem 0 0; 
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  font-size: 14px;
}
.lc-footer ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  gap: 0.625rem; 
}
.lc-footer li a { 
  color: rgba(255, 255, 255, 0.6); 
  display: inline-flex; 
  gap: 0.625rem; 
  align-items: center;
  font-size: 14px;
  transition: all 0.2s ease;
}
.lc-footer li a:hover { 
  color: var(--accent-hover);
  transform: translateX(2px);
}
.lc-footer__dot { 
  width: 5px; 
  height: 5px; 
  border-radius: 999px; 
  background: rgba(255, 255, 255, 0.3); 
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.lc-footer li a:hover .lc-footer__dot { 
  background: var(--accent-hover);
  transform: scale(1.2);
}
.lc-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 640px) { 
  .lc-footer__bottom { 
    flex-direction: row; 
  } 
}
.lc-footer__bottom small { 
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
.lc-footer__bottom a { 
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.lc-footer__bottom a:hover { 
  color: var(--accent-hover);
}

/* Typography - FORCE DARK */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.product_title,
.woocommerce-loop-product__title,
.widget-title { 
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
h1 { 
  font-size: clamp(2rem, 5vw, 3rem); 
  margin-bottom: 1.5rem;
}
h2 { 
  font-size: clamp(1.75rem, 4vw, 2.5rem); 
  margin-bottom: 1.25rem;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem); 
  margin-bottom: 1rem;
}
.site-content, 
.entry-content, 
.woocommerce, 
.widget,
.entry-content p,
.woocommerce p,
article,
.page-content,
.post-content { 
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.7;
}

/* Links in content */
.entry-content a:not(.button),
.page-content a:not(.button),
.widget a:not(.button) {
  color: var(--accent-hover);
  text-decoration: underline;
}
.entry-content a:not(.button):hover,
.page-content a:not(.button):hover,
.widget a:not(.button):hover {
  color: #fff;
}

/* WooCommerce price accent */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.price,
.amount {
  color: var(--accent-hover) !important;
  font-weight: 700;
}

/* Force WooCommerce text colors */
.woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product div.summary,
.woocommerce-Tabs-panel,
.woocommerce #reviews #comments ol.commentlist li .comment-text {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* WooCommerce descriptions */
.woocommerce-product-details__short-description p,
.woocommerce div.product div.summary p,
.woocommerce-Tabs-panel p {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Product meta */
.product_meta,
.product_meta a,
.posted_in a,
.tagged_as a {
  color: rgba(255, 255, 255, 0.6) !important;
}
.product_meta a:hover,
.posted_in a:hover,
.tagged_as a:hover {
  color: var(--accent-hover) !important;
}

/* Forms & Inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 0.75rem 1rem !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}
input:focus,
textarea:focus,
select:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}
::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Tables */
table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
table th {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}


