/*
Theme Name: KARBÜR BURADA - Enterprise Edition
Theme URI: https://karburburada.com
Author: Enterprise WP Solutions
Author URI: https://enterprise-wp.com
Description: Kesici takım sektörü için geliştirilmiş, WooCommerce entegreli profesyonel e-ticaret teması. B2B/B2C uyumlu, çok dilli destek, SEO optimizasyonlu.
Version: 2.0.0
License: GPL v2 or later
Text Domain: karburburada
*/

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Nunito+Sans:wght@400;500;600&display=swap");

/* ==================== CSS VARIABLES ==================== */
:root {
  /* === PRIMARY DESIGN TOKENS === */
  --color-primary: #0a1628;
  --color-primary-light: #132040;
  --color-accent: #ff6b00;
  --color-accent-hover: #e05a00;
  --color-surface: #f5f7fa;
  --color-card: #fff;
  --color-border: #e2e8f0;
  --color-text-primary: #1a202c;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --color-warning: #f59e0b;
  --color-white: #fff;

  /* Typography Scale */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  --text-hero: 52px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadow & Transitions */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%);
  --transition: all 0.2s ease;

  /* === BACKWARD COMPATIBLE ALIASES ===
     Eski stillerde kullanılan kısa değişken adları.
     Yeni kod --color-* formatını kullanmalıdır. */
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --primary-dark: #060e1a;
  --accent: var(--color-accent);
  --accent-hover: var(--color-accent-hover);
  --accent-light: #ff8533;
  --accent-gradient: linear-gradient(135deg, #ff6b00 0%, #e05a00 100%);
  --bg: var(--color-surface);
  --bg-light: #f8fafc;
  --bg-white: var(--color-card);
  --bg-dark: var(--color-primary);
  --bg-red: #fff5f5;
  --text: var(--color-text-primary);
  --text-light: var(--color-text-secondary);
  --text-muted: var(--color-text-muted);
  --border: var(--color-border);
  --border-light: var(--color-border);
  --success: var(--color-success);
  --danger: var(--color-danger);
  --warning: var(--color-warning);
  --radius: var(--radius-md);
  --gold: #f59e0b;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --kb-red: #ef4444;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Nunito Sans", sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 148px;

  /* Default for new header (36px + 68px + 44px) */
}

@media (width <= 1100px) {
  body {
    padding-top: 104px;

    /* Desktop mega menu hides, leaving 36px + 68px */
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

@media (width <= 768px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Responsive Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Outfit, sans-serif;
  color: var(--color-text-primary);
  font-weight: 700;
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

@media (width <= 768px) {
  body {
    font-size: var(--text-sm);
  }

  h1 {
    font-size: calc(var(--text-3xl) * 0.9);
  }

  h2 {
    font-size: calc(var(--text-2xl) * 0.9);
  }

  h3 {
    font-size: calc(var(--text-xl) * 0.9);
  }

  h4 {
    font-size: calc(var(--text-lg) * 0.9);
  }
}

/* Global Responsive Typography Fixes */
@media (width <= 768px) {
  h1.hero-title,
  h1.page-title,
  .hero-title-tech {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    line-height: 1.2;
  }

  .kb-hero-section .hero-desc,
  .engineering-promo-new .hero-desc-tech {
    font-size: 14px !important;
    line-height: 1.5;
  }

  /* Prevent stray "white blob" by clipping overflowing absolute elements inside header */
  .site-header {
    overflow-x: clip;
  }
}

/* === Layout & Containers === */
main {
  flex: 1;
}

/* ==================== GENERAL INTERACTION ELEMENTS ==================== */
button {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* NOT: Genel button:hover kaldırıldı. Her bileşen kendi hover efektini yönetmeli.
   Eski kural tüm butonlara (nav linkleri dahil) scale(1.02) uyguluyordu. */

input,
select {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgb(255 107 0 / 12%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s ease forwards;
}

/* Badge Base Style */
.badge {
  font-family: Outfit, sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==================== HEADER ==================== */

/* Sticky Header State */
.sticky-header .header-top {
  display: none;
}

.sticky-header .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: white;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--color-card);
  box-shadow:
    0 1px 0 var(--color-border),
    0 4px 16px rgb(0 0 0 / 4%);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
}


/* Category Mega Navbar (Bottom Row of Header or Separate) */
.mega-nav-wrapper {
  background: var(--color-primary);
  height: 44px;
  width: 100%;
}

.mega-nav-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.tüm-kategoriler-btn {
  background: var(--color-accent);
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
}

.tüm-kategoriler-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.tüm-kategoriler-btn:hover {
  background: var(--color-accent-hover);
}

.header-top {
  background: linear-gradient(90deg, #0a1628 0%, #152441 100%);
  color: rgb(255 255 255 / 90%);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.01em;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
}

/* ==================== LOGO & BRANDING (unique rules) ==================== */
.site-branding a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.header-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-contact a {
  color: rgb(255 255 255 / 90%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-contact a:hover {
  color: white;
}

/* ==================== GOOGLE TRANSLATE HELPER ==================== */
.goog-te-banner-frame {
  display: none !important;
}

/* ==================== LANGUAGE SWITCHER ==================== */
.language-switcher {
  position: relative;
  z-index: 9999;
}

.current-lang {
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.current-lang:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text-dark);
}

.current-lang img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  width: 140px;
  display: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-top: 5px;
  z-index: 99999;
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.lang-option:hover {
  background: #334155;
  color: white;
}

.lang-option img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

/* ==================== SITE & FOOTER LOGOS ==================== */
.site-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 10;
  display: block;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .site-logo {
    transform: none;
    height: 48px;
    max-width: 160px;
  }
  .footer-logo-img {
    transform: none;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .site-logo {
    transform: none;
    height: 36px;
    max-width: 120px;
  }
  .footer-logo-img {
    transform: none;
    height: 50px;
  }
}

/* Header Actions Group (Search + Button) */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==================== SEARCH BAR ==================== */
.header-search {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.search-form {
  display: flex;
  width: 100%;
  position: relative;
  align-items: stretch;
}

.search-category-select {
  flex: 0 0 auto;
  border: 2px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  padding: 0 16px;
  display: flex;
  align-items: center;
  background: #fff;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.search-category-select:hover {
  background: var(--bg-light);
}

.search-category-select i {
  margin-left: 8px;
  font-size: 10px;
  color: var(--text-light);
}

.search-input {
  flex: 1;
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  border-right: none;
  border-radius: 0;
  background: white;
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

/* Remove default focus outlines globally from interactive elements */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus,
*:focus-visible {
  outline: none !important;
}

.search-input::placeholder {
  color: var(--text-light);
}

/* Hide native browser clear button on search inputs */
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-form:focus-within .search-category-select,
.search-form:focus-within .search-input {
  border-color: var(--color-accent);
}

.search-submit {
  flex: 0 0 auto;
  background: var(--color-accent);
  border: none;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  color: white;
  cursor: pointer;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-submit:hover {
  background: var(--color-accent-hover);
}

.search-submit i {
  font-size: 1.1rem;
}

/* Search Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-height: 400px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}

.search-result-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.search-result-item:hover,
.search-result-item.active {
  background: var(--bg);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-image {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-content {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.search-result-stock {
  font-size: 0.75rem;
  color: var(--text-light);
}

.search-result-item.out-of-stock .search-result-stock {
  color: var(--accent);
}

/* Loading & Empty States */
.search-loading,
.search-no-results,
.search-error {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.search-loading i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.search-no-results {
  color: var(--text);
}

.search-error {
  color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 0;
}

.header-actions a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions a:hover {
  color: var(--color-accent);
}

.header-actions .btn-quote {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8c42 100%);
  color: white !important;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.25);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-actions .btn-quote:hover {
  background: linear-gradient(135deg, #ff8c42 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 107, 0, 0.4);
}

/* Mobile Toggle - Hidden by default for desktop */
.mobile-menu-toggle {
  display: none;
}

/* Main Navigation - Desktop (Consolidated) */
/* NOTE: Breakpoint is 1101px (not 1025px) so that 790-1100px range is
   handled EXCLUSIVELY by the mobile drawer CSS in kb-refactor.css */
@media (width >= 1101px) {
  /* Main Navi (now acting as the Mega Menu bar) */
  .main-navigation {
    background: var(--color-primary);
    width: 100%;
    height: 44px;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
  }

  .nav-menu {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0 24px;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    max-width: 1280px;
  }

  .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .nav-item a {
    color: white;
    text-decoration: none;
    font-family: Outfit, sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-radius: 4px;
    white-space: nowrap;
    position: relative;
  }

  .nav-menu > li:hover > a,
  .nav-menu > li.current-menu-item > a {
    color: white;
    background: rgb(255 255 255 / 10%);
  }

  .nav-menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .nav-menu > li:hover > a::after,
  .nav-menu > li.current-menu-item > a::after {
    transform: scaleX(1);
  }

  .mobile-only {
    display: none !important;
  }
}

/* Mobile Toggle & Navigation (Broad Sweep) */
@media (width <= 1100px) {
  .header-main {
    flex-wrap: nowrap;

    /* Prevent wrapping */
    justify-content: flex-start;

    /* Align start, use margin-auto for spacing */
  }

  .site-branding {
    order: 1;
    margin-right: auto;

    /* Push everything else to the right */
  }

  .header-actions-wrapper {
    order: 2;
  }

  .mobile-menu-toggle {
    order: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;

    /* Slightly smaller */
    height: 40px;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
    margin-left: 0.75rem;

    /* Space from actions */
  }

  .header-actions {
    display: none !important;
  }
}

/* ==================== DROPDOWN MENU — PREMIUM ==================== */
.menu-item-has-children .dropdown-menu,
.menu-item-has-children .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  display: block;
  pointer-events: none;
}

/* Bridge gap between menu item and dropdown */
.menu-item-has-children .dropdown-menu::before,
.menu-item-has-children .sub-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
}

.menu-item-has-children:hover > .dropdown-menu,
.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Dropdown items */
.dropdown-menu li {
  margin: 0;
  display: block;
  width: 100%;
  position: relative;
}

.dropdown-menu a {
  padding: 10px 14px;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  gap: 12px;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.06), rgba(212, 175, 55, 0.06));
  color: var(--primary);
  padding-left: 18px;
}

/* Active parent item highlight */
.dropdown-menu .menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-menu .menu-item-has-children > a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: #94a3b8;
  transition: all 0.2s;
}

.dropdown-menu li.menu-item-has-children:hover > a::after {
  color: var(--primary);
  transform: translateX(3px);
}

/* ==================== SUB-MENU (2nd Level) — Integrated Flyout ==================== */
.dropdown-menu .sub-menu,
.dropdown-menu .dropdown-menu,
.sub-menu .sub-menu,
.sub-menu .dropdown-menu {
  position: absolute;
  top: -12px;
  left: calc(100% + 14px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--primary); /* Strong visual connection */
  z-index: 10000;
  pointer-events: none;
  transform: translateX(10px) scale(0.98);
  transform-origin: left top;
}

/* Connecting Arrow (Triangle) */
.dropdown-menu .sub-menu::before,
.dropdown-menu .dropdown-menu::before,
.sub-menu .sub-menu::before,
.sub-menu .dropdown-menu::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid var(--primary);
}

/* Invisible Bridge to keep hover active */
.dropdown-menu .sub-menu::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 100%;
  background: transparent;
}

/* Show Submenu on Hover */
.dropdown-menu li.menu-item-has-children:hover > .sub-menu,
.dropdown-menu li.menu-item-has-children:hover > .dropdown-menu,
.sub-menu li.menu-item-has-children:hover > .sub-menu,
.sub-menu li.menu-item-has-children:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

/* Maintain Parent Hover State when interacting with submenu */
.dropdown-menu li.menu-item-has-children:hover > a {
  background: var(--bg-light);
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}

/* Sub-menu items */
.dropdown-menu .sub-menu li {
  margin-bottom: 0;
}

.dropdown-menu .sub-menu a {
  font-size: 0.9rem;
  padding: 10px 14px;
  color: #475569;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-menu .sub-menu a::after {
  display: none !important;
}

.dropdown-menu .sub-menu a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 18px;
  padding-left: 18px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* Mobile Adjustments */
@media (width <= 991px) {
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 10px;
    display: none;

    /* JS toggle handles this generally, but default hidden */
  }

  .dropdown-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;

    /* Hide submenus by default on mobile */
    visibility: visible;
    opacity: 1;
    transform: none;
    margin-top: 0;
    background: transparent;
    min-width: auto;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }

  /* Reveal submenus on hover/focus - simpler for now, ideally JS click */
  .dropdown-menu .menu-item-has-children:hover > .sub-menu {
    display: block;
  }
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
}

/* Header Actions */
.header-actions {
  position: relative;
  z-index: 50;

  /* Menüden düşük olmalı */
  margin-left: auto;

  /* Sağa yasla */
}

/* İletişim Butonu - Premium Clean Style */
.header-actions .btn-quote {
  background: #fff;
  color: var(--color-accent) !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgb(255 255 255 / 15%);
  transition: all 0.25s ease;
}

.header-actions .btn-quote:hover {
  background: var(--color-accent);
  color: white !important;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(255 107 0 / 35%);
}

/* ==================== HEADER MAIN (Consolidated) ==================== */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.header-main > .site-branding {
  flex-shrink: 0;
}

.header-main > .header-actions-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

/* ==================== BRANDING (Consolidated) ==================== */
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  margin-right: auto;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.site-title span {
  color: var(--color-accent);
}

.site-description {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Header Actions Containers */
.header-compare-wrapper,
.header-account-wrapper,
.header-cart-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.header-compare,
.header-account {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
}

.header-compare:hover,
.header-account:hover {
  background: var(--bg);
  color: var(--accent);
}

.header-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  font-size: 0.9rem;
}

.header-cart:hover {
  background: var(--border-light);
}

.cart-icon {
  font-size: 1rem;
  color: var(--primary);
}

.header-cart i {
  font-size: 1rem !important;

  /* Override inline styles if present */
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-amount {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Mini Cart Dropdown */
.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1002;
  border: 1px solid var(--border-light);
}

.header-cart-wrapper:hover .mini-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-cart-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--primary);
}

.mini-cart-items {
  max-height: 320px;
  overflow-y: auto;
  padding: 1rem;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mini-cart-item:last-child {
  border-bottom: none;
}

.mini-cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg);
}

.mini-cart-item-details h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.mini-cart-item-details .quantity {
  color: var(--text-light);
  font-size: 0.875rem;
}

.mini-cart-item-price {
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

.mini-cart-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mini-cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
}

.mini-cart-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);

  /* Koyu teal - Cutron primary */
  color: white;
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--accent);

  /* Kırmızı/turuncu - Cutron accent */
  color: white;
}

.btn-secondary:hover {
  background: var(--accent-hover);
}

/* Turuncu gradient buton - Cutron stili */
.btn-gradient {
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgb(255 107 0 / 30%);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(255 107 0 / 40%);
}

/* Consolidated above */

/* ==================== PAGE HEADER ==================== */
.page-header {
  margin-top: 120px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"/></svg>');
  opacity: 0.3;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-title span {
  color: var(--accent);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.breadcrumbs a {
  color: rgb(255 255 255 / 80%);
}

.breadcrumbs a:hover {
  color: white;
}

.breadcrumbs i {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ==================== CONTENT ==================== */
.site-content {
  padding: 3rem 0;
  min-height: 600px;
}

.content-area {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* ==================== BUTTONS ==================== */
.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-outline {
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgb(220 38 38 / 5%);
}

/* ==================== PRODUCT GRID ==================== */
.products-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 1rem 0 2rem;

  /* Extra top/bottom padding to prevent hover clipping */
  overflow: visible;

  /* Ensure hover effects are not clipped */
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Cutron Stili - Gradient Ürün Kartı */
.product-card-gradient {
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgb(255 107 0 / 30%);
  transition: var(--transition);
  position: relative;
  padding: 2rem;
  color: white;
  text-align: center;
}

.product-card-gradient:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgb(255 107 0 / 40%);
}

.product-card-gradient h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-card-gradient .btn {
  background: white;
  color: var(--accent-light);
  font-weight: 600;
}

.product-card-gradient .btn:hover {
  background: rgb(255 255 255 / 90%);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgb(220 38 38 / 40%);
  text-align: center;
  line-height: 1.2;
}

.product-badge.out-of-stock {
  background: var(--text-muted);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-image img {
  max-height: 80%;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  bottom: 0;
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.product-action-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text);
}

.product-title a:hover {
  color: var(--accent);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price ins {
  text-decoration: none;
  color: var(--accent);
}

.product-price del {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.add-to-cart {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* ==================== WOOCOMMERCE SHOP ARCHIVE ==================== */
.product_archive_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.shop-sidebar {
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
}

.shop-products {
  flex: 1;
  min-width: 0;
}

@media (width <= 1024px) {
  .product_archive_wrapper {
    flex-direction: column;
  }

  .shop-sidebar {
    max-width: 100%;
  }
}

/* ==================== WOOCOMMERCE PRODUCT ==================== */
.woocommerce-product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* ==================== SINGLE PRODUCT ==================== */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-gallery {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.product-gallery-main {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.product-gallery-main img {
  max-height: 90%;
  transition: transform 0.3s ease;
}

.product-gallery-thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.product-gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  border-color: var(--accent);
}

.product-summary {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.product-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.product-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.product-sku {
  color: var(--text-light);
  font-size: 0.875rem;
}

.product-price-single {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-price-single .currency {
  font-size: 1.25rem;
  font-weight: 600;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.stock-available {
  background: rgb(5 150 105 / 10%);
  color: var(--success);
}

.stock-low {
  background: rgb(217 119 6 / 10%);
  color: var(--warning);
}

.stock-critical {
  background: rgb(220 38 38 / 10%);
  color: var(--danger);
}

.stock-out {
  background: rgb(156 163 175 / 10%);
  color: var(--text-muted);
}

/* Technical Specs */
.technical-specs {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent);
}

.technical-specs h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-table {
  width: 100%;
  font-size: 0.9375rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 0;
  text-align: left;
}

.specs-table th {
  color: var(--text-light);
  font-weight: 500;
  width: 40%;
}

.specs-table td {
  font-weight: 600;
  color: var(--text);
}

/* Quantity and Add to Cart */
.cart-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:hover {
  background: var(--border);
}

.quantity-input {
  width: 60px;
  height: 48px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.btn-add-to-cart {
  flex: 1;
  height: 48px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.btn-add-to-cart:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-add-to-cart:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

/* Product Tabs */
.product-tabs {
  margin-top: 4rem;
}

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 2rem;
}

.tab-link {
  padding: 1rem 2rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.tab-link:hover {
  color: var(--text);
}

.tab-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== CART PAGE ==================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
}

.cart-table {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table-header {
  display: grid;
  grid-template-columns: 100px 2fr 1fr 1fr 1fr 50px;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 2fr 1fr 1fr 1fr 50px;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.cart-item-details h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cart-item-meta {
  font-size: 0.875rem;
  color: var(--text-light);
}

.cart-item-price,
.cart-item-subtotal {
  font-weight: 700;
  color: var(--primary);
}

.remove-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--danger);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-item:hover {
  background: var(--danger);
  color: white;
}

.cart-summary {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 140px;
}

.cart-summary h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 1rem;
  border-top: 2px solid var(--border-light);
  margin-top: 1rem;
}

.coupon-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.coupon-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ==================== CHECKOUT ==================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 3rem;
}

.checkout-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9375rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(30 58 95 / 10%);
}

.form-row-wide {
  width: 100%;
}

.form-row-first,
.form-row-last {
  width: calc(50% - 0.75rem);
  float: left;
}

.form-row-first {
  margin-right: 1.5rem;
}

.checkout-sidebar {
  position: sticky;
  top: 140px;
  height: fit-content;
}

.order-review {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.order-review h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.review-table {
  width: 100%;
  margin-bottom: 1.5rem;
}

.review-table th,
.review-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.review-table th {
  text-align: left;
  font-weight: 600;
}

.review-table td {
  text-align: right;
}

.review-table .product-name {
  text-align: left;
  font-weight: 500;
}

.review-table .product-quantity {
  color: var(--text-light);
  font-size: 0.875rem;
}

.search-button {
  background: var(--gold-gradient);
  color: var(--bg-dark);
  border: none;
  padding: 0 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.search-button:hover {
  filter: brightness(1.1);
}

/* Checkout Custom Fields Styling */
.kb-tc-field,
.kb-corporate-field {
  transition: var(--transition);
}

.kb-customer-type select {
  border: 2px solid var(--gold);
  background-color: #fff9e6;
  font-weight: 600;
}

#billing_tc_no_field label,
#billing_tax_office_field label,
#billing_tax_no_field label {
  font-weight: 700;
  color: var(--kb-navy);
}

/* Telefon Zorunlu Görünümü */
#billing_phone_field .optional {
  display: none !important;
}

#billing_phone_field label::after {
  content: " *";
  color: #e31e24;
  margin-left: 4px;
}

/* Checkout Grid Layout */
.kb-checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

/* Responsive Checkout Form */
@media (max-width: 991px) {
  .site-content {
    padding: 1.5rem 0 !important;
  }

  .kb-checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .kb-checkout-grid > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Padding adjustments to maximize space */
  .kb-checkout-form .kb-checkout-grid > div > div {
    padding: 1.25rem !important;
  }

  /* Sticky Summary -> Static on Mobile */
  .kb-checkout-grid > div:last-child > div {
    position: relative !important;
    top: 0 !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  /* Header adjustments */
  .kb-checkout-form-header {
    padding: 2rem 0 !important;
  }
  
  .kb-checkout-form-header h1 {
    font-size: 1.5rem !important;
    text-align: center;
  }

  .woocommerce form .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 1rem !important;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
  }
  
  /* Progress steps spacing */
  .kb-checkout-progress-steps {
    gap: 0.5rem !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .kb-checkout-form .kb-checkout-grid > div > div {
    padding: 1rem !important;
  }
  
  .kb-checkout-form-header h1 {
    font-size: 1.25rem !important;
  }
}

/* Fix Country Dropdown - Make it selectable */
#billing_country_field .select2-container,
#shipping_country_field .select2-container {
  pointer-events: auto !important;
  cursor: pointer !important;
}

#billing_country_field .select2-selection,
#shipping_country_field .select2-selection {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

#billing_country_field .select2-selection__rendered,
#shipping_country_field .select2-selection__rendered {
  color: #333 !important;
  background: transparent !important;
}

/* Archive Layout Refinements */
.kb-archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-top: 30px;
}

@media (width <= 991px) {
  .kb-archive-layout {
    grid-template-columns: 1fr;
  }

  .kb-sidebar {
    order: -1;
    margin-bottom: 20px;
  }
}

.place-order-btn {
  width: 100%;
  padding: 1.25rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.place-order-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==================== MY ACCOUNT ==================== */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

.account-nav {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: fit-content;
}

.account-nav-header {
  background: var(--primary);
  color: white;
  padding: 1.5rem;
}

.account-nav-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.account-nav-header p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.account-menu {
  list-style: none;
  padding: 1rem 0;
}

.account-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.account-menu li a:hover,
.account-menu li.is-active a {
  background: var(--bg);
  color: var(--accent);
  border-left-color: var(--accent);
}

.account-menu li a i {
  width: 24px;
  text-align: center;
  color: var(--text-light);
}

.account-menu li a:hover i,
.account-menu li.is-active a i {
  color: var(--accent);
}

.account-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.account-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Dashboard Cards */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Orders Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.orders-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-processing {
  background: rgb(217 119 6 / 10%);
  color: var(--warning);
}

.status-completed {
  background: rgb(5 150 105 / 10%);
  color: var(--success);
}

.status-cancelled {
  background: rgb(220 38 38 / 10%);
  color: var(--danger);
}

/* ==================== SERVICES PAGE ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  height: 220px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ==================== ALERTS ==================== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert-success {
  background: rgb(5 150 105 / 10%);
  color: var(--success);
  border: 1px solid rgb(5 150 105 / 20%);
}

.alert-error {
  background: rgb(220 38 38 / 10%);
  color: var(--danger);
  border: 1px solid rgb(220 38 38 / 20%);
}

/* ==================== SIDEBAR ==================== */
.sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent);
  color: var(--primary);
}

.widget ul {
  list-style: none;
}

.widget li {
  margin-bottom: 0.75rem;
}

.widget li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
}

.widget li a:hover {
  color: var(--accent);
}

.widget .count {
  background: var(--bg);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0304 100%);
  color: rgb(255 255 255 / 80%);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-brand p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgb(255 255 255 / 80%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 0.25rem;
  font-size: 1.125rem;
  min-width: 20px;
}

.footer-bottom {
  background: rgb(0 0 0 / 20%);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 60%);
}

/* Hide mobile-specific elements completely on true desktop */
@media (min-width: 1101px) {
  .mobile-search-wrapper,
  .mobile-exchange-rate,
  .mobile-menu-close,
  .mobile-only {
    display: none !important;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (width <= 1100px) {
  .header-main {
    display: flex;

    /* Switch to flex for easier alignment control */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
  }

  .site-branding {
    flex: 0 0 auto;
  }

  .header-cart-wrapper {
    margin-left: auto;

    /* Push to right */
    margin-right: 1rem;
  }

  /* .main-navigation mobile layout is handled entirely by kb-refactor.css
     (position:fixed drawer). Rules here intentionally removed to prevent
     conflict with the drawer transform/position system. */

  /* Mobile Search Styling */
  .mobile-search-wrapper {
    padding: 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
  }

  #mobile-search-form {
    display: flex;
    gap: 8px;
    height: 46px;
  }

  #mobile-search-form .search-input {
    flex: 1;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
  }

  #mobile-search-form .search-input:focus {
    border-color: var(--color-accent);
  }

  #mobile-search-form .search-submit {
    width: 50px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  /* Search Results in Menu */
  #mobile-search-results {
    position: absolute;
    top: 100%;
    left: 1.25rem;
    right: 1.25rem;
    background: white;
    z-index: 10000;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-top: none;
    display: none;
  }

  #mobile-search-results:not(:empty) {
    display: block;
  }

  /* .main-navigation.toggled / .active open state is handled by kb-refactor.css
     (transform: translateX(0) !important). Removed display:block !important here
     to prevent display conflict with kb-refactor's display:flex !important. */

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    margin: 0;
  }

  .nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
  }

  .nav-item a:active,
  .nav-item.active > a {
    background: rgba(227, 30, 36, 0.03);
    color: var(--color-accent);
  }

  .nav-item:last-child a {
    border-bottom: none;
  }

  /* Submenu Refinement */
  .nav-item.menu-item-has-children .sub-menu,
  .nav-item.menu-item-has-children .dropdown-menu {
    display: none;
    background: #f8fafc;
    padding: 0;
    list-style: none;
    width: 100%;
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.menu-item-has-children.active .sub-menu,
  .nav-item.menu-item-has-children.active .dropdown-menu {
    display: block !important;
  }

  .sub-menu li a,
  .dropdown-menu li a {
    padding: 0.8rem 1.25rem 0.8rem 2.5rem;
    font-size: 0.92rem;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    color: #64748b;
    position: relative; /* For the arrow indicator */
  }

  .sub-menu li a::before,
  .dropdown-menu li a::before {
    content: "↳";
    position: absolute;
    left: 1.25rem;
    color: #cbd5e1;
  }

  .menu-toggle {
    display: block;
    order: 3;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
  }

  .single-product-layout,
  .cart-layout,
  .checkout-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-sidebar,
  .account-nav {
    position: static;
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 768px) {
  .header-top {
    display: none;
  }

  .page-title {
    font-size: 2rem;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .cart-table-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .cart-item > *:not(.cart-item-image, .cart-item-details) {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-content {
    padding: 2rem 0;
  }
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* References Slider */
.references-section {
  overflow: hidden;
}

.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  width: calc(250px * 16);

  /* 8 slides * 2 (duplicate) * width */
  animation: scroll 40s linear infinite;
}

.slide {
  width: 250px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  background: white;
  width: 100%;
  height: 120px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 5%),
    0 2px 4px -1px rgb(0 0 0 / 3%);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 10%),
    0 4px 6px -2px rgb(0 0 0 / 5%);
  border-color: var(--primary-light, #3b82f6);
}

.partner-logo img {
  max-width: 80%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 8));
  }
}

@media (width <= 768px) {
  .slider-track {
    width: calc(150px * 16);
  }

  .slide {
    width: 150px;
  }

  .partner-logo {
    height: 100px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-150px * 8));
    }
  }
}

/* ==================== HERO SLIDER ==================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: -40px;

  /* Header override */
}

.hero-slider {
  position: relative;
  height: 600px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease-in-out,
    visibility 0.8s;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgb(48 48 48 / 95%) 0%,
    rgb(26 3 4 / 85%) 100%
  );
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 3;
}

/* Animations */
.hero-slide .slide-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
}

.hero-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .slide-image {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}

.hero-slide.active .slide-image {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(255 255 255 / 30%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-arrow.prev {
  left: 40px;
}

.slider-arrow.next {
  right: 40px;
}

/* --- Features Section --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-desc {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.text-accent {
  color: var(--accent);
}

.hero-badge {
  display: inline-block;
  padding: 5px 15px;
  background: rgb(255 255 255 / 10%);
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgb(255 255 255 / 20%);
}

.hero-placeholder-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  color: #1e293b;
  text-align: center;
  box-shadow: 0 20px 50px rgb(0 0 0 / 30%);
}

.payment-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 2rem;
  color: #cbd5e1;
}

@media (width <= 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 768px) {
  .header-top {
    display: none;
  }

  /* --- Features & Content --- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  /* --- Hero Slider Mobile --- */
  .hero-slide-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .hero-title {
    font-size: 1.75rem !important;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-placeholder-card {
    padding: 1.5rem;
  }

  .hero-slider {
    height: auto;
    min-height: 400px;
  }

  .hero-slide {
    padding: 60px 0;
  }

  .hero-slide:not(.active) {
    display: none;
  }

  .slider-arrow {
    display: none;
  }

  .hero-slide .slide-image {
    display: none !important;
  }

  /* --- Header & Logo Mobile --- */
  .header-main {
    padding: 0.5rem 0;
    gap: 0.5rem;
  }

  .site-branding {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 70%;
  }

  .logo-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0;
  }

  .brand-text {
    overflow: hidden;
  }

  .site-title {
    font-size: 1.1rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-description {
    display: none !important;
  }

  /* Hide Account/Compare wrappers completely on mobile */
  .header-compare-wrapper,
  .header-account-wrapper {
    display: none !important;
  }

  /* Simplify Cart */
  .header-cart .cart-amount {
    display: none;
  }

  .header-cart {
    padding: 0.4rem;
    background: transparent;
  }

  .header-cart i {
    font-size: 1.2rem !important;
  }

  /* Menu Toggle Button */
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  /* --- Mobile Search --- */
  .mobile-search-item {
    padding: 1rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 1rem;
  }

  .mobile-search-item .search-form {
    margin-bottom: 0;
  }

  .mobile-search-item .search-input {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border-light);
  }

  .mobile-search-item .search-input:focus {
    background: white;
    border-color: var(--primary);
  }

  .mobile-search-item .search-submit {
    color: var(--primary);
  }

  .mobile-search-item .search-results-dropdown {
    position: relative;
    top: 0.5rem;
    margin-top: 0.5rem;
  }

  /* Hide desktop search on mobile */
  .header-search {
    display: none;
  }

  /* --- Spacing & Grids --- */
  .page-header {
    margin-top: 65px;
    padding: 1.5rem 0;
  }

  .hero-wrapper {
    margin-top: 0;
    padding-top: 65px;
  }

  .products-grid,
  .services-grid,
  .footer-grid,
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    padding: 3rem 0;
    gap: 2rem;
  }

  .cart-table-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .cart-item > *:not(.cart-item-image, .cart-item-details) {
    grid-column: 2;
  }

  .site-content {
    padding: 1.5rem 0;
  }
}

/* Header Interactions (Wrappers) */
.header-compare-wrapper,
.header-account-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 2.5rem;

  /* Increased spacing to prevent accidental cart hover */
  z-index: 1005;

  /* Base Z-index */
}

.header-compare-wrapper:hover,
.header-account-wrapper:hover {
  z-index: 1010;

  /* Bring to front on hover */
}

/* Specific Z-index for Cart Wrapper to prevent it covering others unless hovered */
.header-cart-wrapper {
  z-index: 1004;
}

.header-cart-wrapper:hover {
  z-index: 1010;
}

.header-dropdown {
  position: absolute;
  top: calc(100% + 15px);

  /* consistent spacing pushed down */
  right: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e2e8f0;
}

.header-compare-wrapper:hover .header-dropdown,
.header-account-wrapper:hover .header-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Compare Dropdown Items */
.compare-dropdown-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.compare-dropdown-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.compare-dropdown-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.compare-dropdown-item h4 {
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
  color: #334155;
}

.compare-remove {
  color: #ef4444;
  cursor: pointer;
  font-size: 0.8rem;
}

/* Account Dropdown Links */
.account-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-menu-list li {
  margin-bottom: 0.5rem;
}

.account-menu-list li:last-child {
  margin-bottom: 0;
}

.account-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  color: #334155;
  transition: background 0.2s;
  font-weight: 500;
}

.account-menu-list a:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.account-menu-list i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

/* ==============================================
   🚀 2500 YEAR FUTURISTIC PREMIUM ENHANCEMENTS
   ============================================== */

/* ==================== ENHANCED CSS VARIABLES ==================== */
:root {
  /* Futuristic Neon Colors */
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-cyan: #22d3ee;
  --neon-green: #10b981;

  /* Glassmorphism */
  --glass-bg: rgb(255 255 255 / 10%);
  --glass-border: rgb(255 255 255 / 20%);
  --glass-blur: blur(20px);

  /* Premium Gradients */
  --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-aurora: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --gradient-cosmic: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #7c3aed 50%,
    #db2777 100%
  );
  --gradient-gold: linear-gradient(
    135deg,
    #f59e0b 0%,
    #d97706 50%,
    #b45309 100%
  );

  /* Enhanced Shadows */
  --shadow-glow-blue: 0 0 20px rgb(0 212 255 / 40%);
  --shadow-glow-purple: 0 0 20px rgb(168 85 247 / 40%);
  --shadow-glow-accent: 0 0 30px rgb(220 38 38 / 30%);
  --shadow-premium: 0 25px 50px -12px rgb(0 0 0 / 25%);
  --shadow-3d: 0 20px 40px -15px rgb(30 58 95 / 30%);

  /* Animation Timing */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== ANIMATED BACKGROUND GRADIENTS ==================== */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgb(0 212 255 / 20%);
  }

  50% {
    box-shadow:
      0 0 40px rgb(0 212 255 / 40%),
      0 0 60px rgb(0 212 255 / 20%);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes rotate-gradient {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes scale-bounce {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* ==================== GLASSMORPHISM COMPONENTS ==================== */
.glass-card {
  background: rgb(255 255 255 / 70%);
  backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgb(31 38 135 / 15%);
}

.glass-dark {
  background: rgb(30 58 95 / 80%);
  backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 10%);
}

/* ==================== PREMIUM BUTTON STYLES ==================== */
.btn-futuristic {
  position: relative;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s var(--ease-bounce);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-futuristic::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 40%),
    transparent
  );
  transition: left 0.5s;
}

.btn-futuristic:hover::before {
  left: 100%;
}

.btn-futuristic:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-premium), var(--shadow-glow-accent);
}

.btn-neon {
  background: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  box-shadow:
    0 0 10px rgb(0 212 255 / 30%),
    inset 0 0 10px rgb(0 212 255 / 10%);
  transition: all 0.3s ease;
}

.btn-neon:hover {
  background: var(--neon-blue);
  color: #000;
  box-shadow:
    0 0 30px rgb(0 212 255 / 60%),
    0 0 60px rgb(0 212 255 / 30%);
  text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.btn-gradient {
  background: var(--gradient-cosmic);
  background-size: 200% 200%;
  color: white;
  border: none;
  animation: gradient-shift 3s ease infinite;
}

.btn-gradient:hover {
  animation: gradient-shift 1s ease infinite;
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

/* Shimmer effect on buttons */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 20%),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ==================== ENHANCED CARD DESIGNS ==================== */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.6s var(--ease-smooth);
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

.card-float {
  animation: float 6s ease-in-out infinite;
}

.card-premium {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow:
    0 4px 6px rgb(0 0 0 / 5%),
    0 10px 20px rgb(0 0 0 / 8%),
    0 20px 40px rgb(0 0 0 / 6%);
  border: 1px solid rgb(0 0 0 / 3%);
  transition: all 0.4s var(--ease-bounce);
}

.card-premium:hover {
  transform: translateY(-12px);
  box-shadow:
    0 12px 24px rgb(0 0 0 / 8%),
    0 24px 48px rgb(0 0 0 / 10%),
    0 48px 80px rgb(0 0 0 / 8%);
}

/* Gradient border cards */
.card-gradient-border {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  z-index: 1;
}

.card-gradient-border::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: var(--gradient-cosmic);
  border-radius: 23px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-gradient-border:hover::before {
  opacity: 1;
}

/* ==================== FUTURISTIC FORM INPUTS ==================== */
.input-futuristic {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: rgb(255 255 255 / 90%);
  border: 2px solid var(--border);
  border-radius: 16px;
  outline: none;
  transition: all 0.3s var(--ease-smooth);
}

.input-futuristic:focus {
  border-color: var(--primary);
  background: white;
  box-shadow:
    0 0 0 4px rgb(30 58 95 / 10%),
    var(--shadow-lg);
  transform: translateY(-2px);
}

.input-futuristic::placeholder {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.input-futuristic:focus::placeholder {
  opacity: 0.5;
  transform: translateX(10px);
}

/* Floating label inputs */
.input-floating-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-floating {
  width: 100%;
  padding: 1.5rem 1rem 0.5rem;
  font-size: 1rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.input-floating-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
  background: white;
  padding: 0 0.25rem;
}

.input-floating:focus + .input-floating-label,
.input-floating:not(:placeholder-shown) + .input-floating-label {
  top: 0;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.input-floating:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgb(30 58 95 / 10%);
}

/* ==================== SKELETON LOADING ==================== */
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
}

/* ==================== MODERN BADGES ==================== */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  background: var(--gradient-cosmic);
  color: white;
  box-shadow: 0 4px 15px rgb(124 58 237 / 30%);
}

.badge-glow {
  animation: pulse-glow 2s infinite;
}

.badge-new {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 15px rgb(16 185 129 / 30%);
}

.badge-hot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 15px rgb(245 158 11 / 30%);
}

.badge-sale {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 15px rgb(239 68 68 / 30%);
}

/* ==================== ENHANCED PRODUCT CARDS ==================== */
.product-card-futuristic {
  position: relative;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s var(--ease-bounce);
  box-shadow: 0 10px 40px rgb(0 0 0 / 8%);
}

.product-card-futuristic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cosmic);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.product-card-futuristic:hover::before {
  transform: scaleX(1);
}

.product-card-futuristic:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow:
    0 20px 60px rgb(0 0 0 / 12%),
    0 0 40px rgb(124 58 237 / 10%);
}

.product-card-futuristic .product-image {
  position: relative;
  overflow: hidden;
}

.product-card-futuristic .product-image img {
  transition: transform 0.7s var(--ease-smooth);
}

.product-card-futuristic:hover .product-image img {
  transform: scale(1.15);
}

/* Gradient price display */
.price-gradient {
  background: var(--gradient-cosmic);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 1.75rem;
}

.price-gradient-large {
  font-size: 2.5rem;
}

/* ==================== PREMIUM NAVIGATION ENHANCEMENTS ==================== */
.nav-item-futuristic {
  position: relative;
}

.nav-item-futuristic::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-cosmic);
  border-radius: 2px;
  transition: width 0.4s var(--ease-bounce);
}

.nav-item-futuristic:hover::after {
  width: 100%;
}

/* Mega Menu Enhancement */
.mega-menu-futuristic {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgb(0 0 0 / 15%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-smooth);
  min-width: 600px;
}

.nav-item-futuristic:hover .mega-menu-futuristic {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* Staggered animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up 0.6s var(--ease-smooth) forwards;
}

.stagger-children > *:nth-child(1) {
  animation-delay: 0.1s;
}

.stagger-children > *:nth-child(2) {
  animation-delay: 0.2s;
}

.stagger-children > *:nth-child(3) {
  animation-delay: 0.3s;
}

.stagger-children > *:nth-child(4) {
  animation-delay: 0.4s;
}

.stagger-children > *:nth-child(5) {
  animation-delay: 0.5s;
}

.stagger-children > *:nth-child(6) {
  animation-delay: 0.6s;
}

/* ==================== MORPHING BACKGROUNDS ==================== */
.bg-morph {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

.bg-cosmic {
  background: var(--gradient-cosmic);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.bg-aurora {
  background: linear-gradient(
    45deg,
    #ff6b6b,
    #c56cf0,
    #7d5fff,
    #00d2d3,
    #54a0ff,
    #ff6b6b
  );
  background-size: 300% 300%;
  animation: gradient-shift 10s ease infinite;
}

/* Particle effect backgrounds */
.bg-particles {
  position: relative;
  overflow: hidden;
}

.bg-particles::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgb(255 255 255 / 10%) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgb(255 255 255 / 10%) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgb(255 255 255 / 5%) 0%,
      transparent 30%
    );
  pointer-events: none;
}

/* ==================== PREMIUM HERO SECTIONS ==================== */
.hero-futuristic {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--gradient-cosmic);
  overflow: hidden;
}

.hero-futuristic::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgb(255 255 255 / 10%) 0%,
    transparent 70%
  );
  animation: rotate-gradient 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title-futuristic {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  text-shadow: 0 10px 30px rgb(0 0 0 / 20%);
}

.hero-subtitle-futuristic {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgb(255 255 255 / 90%);
  margin-top: 1.5rem;
  max-width: 600px;
}

/* ==================== ENHANCED TOOLTIPS ==================== */
.tooltip-premium {
  position: relative;
}

.tooltip-premium::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-bounce);
  box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
}

.tooltip-premium::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-bounce);
}

.tooltip-premium:hover::before,
.tooltip-premium:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* ==================== ENHANCED MODAL DESIGN ==================== */
.modal-futuristic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 60%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-futuristic.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-futuristic {
  background: white;
  border-radius: 32px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8) translateY(50px);
  transition: transform 0.5s var(--ease-bounce);
  box-shadow: 0 50px 100px rgb(0 0 0 / 30%);
}

.modal-futuristic.active .modal-content-futuristic {
  transform: scale(1) translateY(0);
}

/* ==================== SCROLL PROGRESS INDICATOR ==================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-cosmic);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ==================== ENHANCED FOOTER ==================== */

/* ==================== ENHANCED FOOTER PREMIUM V2 ==================== */

/* FORCED SPECIFICITY */
html body.home .site-footer.footer-premium,
html body .site-footer.footer-premium {
  background: #0f172a !important;
  color: rgb(255 255 255 / 90%) !important;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  border-top: 1px solid rgb(255 255 255 / 10%) !important;
}

.site-footer.footer-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
  z-index: 2;
}

/* Subtle Scanline Overlay */
.site-footer.footer-premium::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgb(18 16 16 / 0%) 50%, rgb(0 0 0 / 10%) 50%),
    linear-gradient(
      90deg,
      rgb(255 0 0 / 2%),
      rgb(0 255 0 / 1%),
      rgb(0 0 255 / 2%)
    );
  background-size:
    100% 4px,
    3px 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
}

.footer-premium .footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-premium .logo-icon {
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgb(227 30 36 / 30%);
  position: relative;
  overflow: hidden;
}

.footer-premium .logo-icon::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgb(255 255 255 / 20%),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.footer-premium h4 {
  color: white;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-premium h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.footer-premium .footer-links li {
  margin-bottom: 0.75rem;
  transition: transform 0.3s var(--ease-bounce);
}

.footer-premium .footer-links a {
  color: rgb(255 255 255 / 60%);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-premium .footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-premium .footer-links a::before {
  content: "→";
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-premium .footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* Social Icons Glow */
.footer-social .social-link {
  width: 40px;
  height: 40px;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 10px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  transition: all 0.4s var(--ease-bounce);
}

.footer-social .social-link:hover {
  background: var(--primary);
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 20px rgb(227 30 36 / 40%);
  border-color: var(--primary-light);
}

/* Glassmorphism Bottom Bar */

/* Glassmorphism Bottom Bar - Premium V3 */
.footer-premium .footer-bottom {
  margin-top: 4rem;
  padding: 2.5rem 0;
  background: rgb(15 23 42 / 40%);
  backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgb(255 255 255 / 8%);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Moving Light Reflection (Sweep) */
.footer-premium .footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(255 255 255 / 3%) 45%,
    rgb(255 255 255 / 8%) 50%,
    rgb(255 255 255 / 3%) 55%,
    transparent 100%
  );
  animation: reflection-sweep 8s infinite linear;
  pointer-events: none;
}

@keyframes reflection-sweep {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(50%);
  }
}

/* Tech Animated Lines */
.footer-tech-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
}

.tech-line {
  position: absolute;
  top: 0;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: tech-line-move 4s infinite linear;
}

.tech-line:nth-child(2) {
  animation-delay: -2s;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

@keyframes tech-line-move {
  0% {
    left: -150px;
  }

  100% {
    left: 100%;
  }
}

.footer-premium .copyright-text {
  font-weight: 500;
  letter-spacing: 0.8px;
  color: rgb(255 255 255 / 70%);
  font-size: 0.9rem;
}

/* Shimmering Brand Text */
.footer-premium .copyright-text strong {
  color: white;
  background: linear-gradient(
    120deg,
    #fff 0%,
    #fff 40%,
    var(--primary-light) 50%,
    #fff 60%,
    #fff 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-text 5s linear infinite;
}

@keyframes shimmer-text {
  to {
    background-position: 200% center;
  }
}

/* Voxelon "Heartbeat" Premium Badge */
.voxelon-badge {
  background: rgb(15 23 42 / 60%) !important;
  border: 1px solid rgb(239 68 68 / 30%) !important;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  color: #ef4444 !important;
  box-shadow: 0 0 15px rgb(239 68 68 / 10%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative;
  overflow: hidden;
}

.voxelon-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgb(239 68 68 / 20%) 0%,
    transparent 70%
  );
  opacity: 0;
  animation: heartbeat 3s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.voxelon-badge:hover {
  background: rgb(239 68 68 / 10%) !important;
  border-color: rgb(239 68 68 / 60%) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgb(239 68 68 / 30%);
}

/* Cutron Premium Animated Link */
.cutron-link {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: all 0.3s ease;
  display: inline-block;
}

.cutron-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  background-size: 200% auto;
  animation: cutron-line-shimmer 3s infinite linear;
}

@keyframes cutron-line-shimmer {
  0% {
    background-position: -100% 0;
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    background-position: 100% 0;
    opacity: 0.3;
  }
}

.cutron-link:hover {
  color: var(--primary-light) !important;
  text-shadow: 0 0 10px rgb(227 30 36 / 40%);
  transform: translateY(-1px);
}

.cutron-link:hover::after {
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

@media (width <= 768px) {
  .site-footer.footer-premium {
    padding-top: 3rem;
  }

  .footer-premium .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 20px !important;
  }
}

/* ==================== RESPONSIVE DESIGN ENHANCEMENTS ==================== */

/* Extra Small Devices (phones, 320px - 480px) */
@media (width <= 480px) {
  :root {
    --radius: 12px;
    --radius-lg: 16px;
  }

  .hero-title-futuristic {
    font-size: 2rem;
  }

  .card-premium {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .btn-futuristic {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .modal-content-futuristic {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .price-gradient {
    font-size: 1.25rem;
  }

  .price-gradient-large {
    font-size: 1.75rem;
  }
}

/* Small Devices (landscape phones, 481px - 767px) */
@media (width >= 481px) and (width <= 767px) {
  .hero-title-futuristic {
    font-size: 2.5rem;
  }

  .card-premium {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .mega-menu-futuristic {
    min-width: 100%;
    left: 0;
    transform: translateY(20px);
  }

  .nav-item-futuristic:hover .mega-menu-futuristic {
    transform: translateY(0);
  }
}

/* Medium Devices (tablets, 768px - 1023px) */
@media (width >= 768px) and (width <= 1023px) {
  .hero-futuristic {
    min-height: 60vh;
  }

  .hero-title-futuristic {
    font-size: 3.5rem;
  }

  .mega-menu-futuristic {
    min-width: 500px;
  }
}

/* Large Devices (desktops, 1024px - 1279px) */
@media (width >= 1024px) and (width <= 1279px) {
  .hero-title-futuristic {
    font-size: 4.5rem;
  }
}

/* Extra Large Devices (large desktops, 1280px+) */
@media (width >= 1280px) {
  .hero-title-futuristic {
    font-size: 5rem;
  }

  .card-premium:hover {
    transform: translateY(-16px);
  }
}

/* Ultra Wide Screens (1536px+) */
@media (width >= 1536px) {
  .container {
    max-width: 1536px;
  }

  .hero-title-futuristic {
    font-size: 6rem;
  }

  .card-premium {
    padding: 2.5rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .card-3d:hover {
    transform: none;
  }

  .product-card-futuristic:hover {
    transform: translateY(-8px);
  }

  .btn-futuristic:hover {
    transform: translateY(-2px);
  }

  .card-premium:hover {
    transform: translateY(-6px);
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card-float {
    animation: none;
  }

  .bg-morph,
  .bg-cosmic,
  .bg-aurora {
    animation: none;
  }
}

/* Dark Mode Support (Optional Enhancement) */
@media (prefers-color-scheme: dark) {
  .card-premium {
    background: #1e293b;
    border-color: rgb(255 255 255 / 10%);
  }

  .input-futuristic {
    background: rgb(30 41 59 / 90%);
    border-color: rgb(255 255 255 / 10%);
    color: white;
  }

  .input-futuristic:focus {
    background: #1e293b;
  }

  .glass-card {
    background: rgb(30 41 59 / 70%);
    border-color: rgb(255 255 255 / 10%);
  }
}

/* Print Styles */
@media print {
  .hero-futuristic,
  .bg-morph,
  .bg-cosmic {
    background: white !important;
    color: black !important;
  }

  .btn-futuristic,
  .badge-premium {
    border: 1px solid #333;
    background: white;
    color: #333;
    box-shadow: none;
  }
}

/* ==================== ENHANCED EXISTING COMPONENTS ==================== */

/* Enhanced Site Header */
.site-header {
  backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgb(255 255 255 / 95%);
}

.site-header.scrolled {
  box-shadow: 0 10px 40px rgb(0 0 0 / 10%);
}

/* Enhanced Logo */
.logo-icon {
  background: var(--gradient-cosmic);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgb(124 58 237 / 30%);
}

/* Enhanced Navigation Items */
.nav-menu .nav-item a {
  position: relative;
}

.nav-menu .nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-menu .nav-item a:hover::after,
.nav-menu .nav-item.current-menu-item a::after {
  width: 80%;
}

/* Enhanced Dropdown Menus — consolidated into main dropdown block above */

/* Enhanced Buttons */
.btn,
.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-bounce);
}

.btn::before,
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 30%),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before,
.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgb(220 38 38 / 30%);
}

/* Enhanced Product Grid Items */
.product-grid-item {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s var(--ease-bounce);
}

.product-grid-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgb(0 0 0 / 15%);
}

/* Enhanced Trust Icons */
.trust-icons .trust-icon {
  transition: all 0.4s var(--ease-bounce);
}

.trust-icons .trust-icon:hover {
  transform: translateY(-8px) scale(1.05);
}

/* Enhanced Footer - DISABLED: was using neon-cyan which is not in our palette */
/* .footer-links a:hover { color: white; transform: translateX(5px); } */

/* Enhanced Search */
.header-search .search-input {
  border-radius: 50px;
  transition: all 0.4s var(--ease-bounce);
}

.header-search .search-input:focus {
  box-shadow: 0 0 20px rgb(0 212 255 / 20%);
}

/* Enhanced WhatsApp Widget */
.whatsapp-widget {
  animation: pulse-glow 3s infinite;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgb(37 211 102 / 50%);
}

/* Enhanced Toast Notifications */
.toast {
  border-radius: 16px;
  backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgb(0 0 0 / 20%);
}

/* Enhanced Breadcrumbs */
.breadcrumb a {
  transition: all 0.3s var(--ease-smooth);
}

.breadcrumb a:hover {
  color: var(--neon-cyan);
}

/* Loading Spinner Enhancement */
@keyframes spin-gradient {
  0% {
    transform: rotate(0deg);
    border-color: var(--primary) transparent transparent transparent;
  }

  25% {
    border-color: var(--neon-purple) transparent transparent transparent;
  }

  50% {
    border-color: var(--neon-pink) transparent transparent transparent;
  }

  75% {
    border-color: var(--neon-cyan) transparent transparent transparent;
  }

  100% {
    transform: rotate(360deg);
    border-color: var(--primary) transparent transparent transparent;
  }
}

.loading-spinner-premium {
  width: 50px;
  height: 50px;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: spin-gradient 1s linear infinite;
}

/* ==================== CROSS-BROWSER COMPATIBILITY ==================== */

/* Safari Fixes */
@supports (-webkit-touch-callout: none) {
  .glass-card,
  .glass-dark {
    background: rgb(255 255 255 / 85%);
  }
}

/* Firefox Fixes */
@document url-prefix() {
  .glass-card,
  .glass-dark {
    background: rgb(255 255 255 / 90%);
  }
}

/* IE/Edge Legacy Fallbacks */
@supports not (backdrop-filter: blur(20px)) {
  .glass-card {
    background: rgb(255 255 255 / 95%);
  }

  .site-header {
    background: white;
  }

  .menu-item-has-children .dropdown-menu {
    background: white;
  }
}

/* Appearance standardization */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
  appearance: none;
  appearance: none;
  appearance: none;
}

/* ==============================================
   🛒 WOOCOMMERCE PREMIUM PRODUCT STYLES
   ============================================== */

/* Product Archive/Shop Page Layout */
.woocommerce-page .site-content,
.archive .site-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Result Count - Centered */
.woocommerce-result-count {
  text-align: center !important;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    rgb(30 58 95 / 5%) 0%,
    rgb(124 58 237 / 5%) 100%
  );
  border-radius: 50px;
  display: inline-block;
  font-weight: 500;
}

/* Ordering Dropdown */
.woocommerce-ordering {
  margin-bottom: 2rem;
}

.woocommerce-ordering select {
  padding: 0.75rem 2rem 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce-ordering select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgb(30 58 95 / 10%);
}

/* Products Grid Container */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Individual Product Items */
.woocommerce ul.products li.product,
ul.products li.product {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  text-align: center !important;
}

/* Override WooCommerce Default Product Card */
.woocommerce ul.products li.product {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgb(0 0 0 / 15%);
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.onsale {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  left: auto !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  z-index: 10 !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1 !important;
  box-shadow: 0 4px 15px rgb(239 68 68 / 40%) !important;
}

/* Product Image Container */
.woocommerce ul.products li.product a img,
ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: contain !important;
  padding: 1.5rem !important;
  background: linear-gradient(135deg, #f9fafb 0%, #fff 100%) !important;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  border-bottom: 1px solid var(--border-light);
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.1) !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
ul.products li.product h2 {
  text-align: center !important;
  padding: 1.5rem 1.5rem 0.5rem !important;
  margin: 0 !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 3.2em !important;
}

/* Product Title Link */
.woocommerce ul.products li.product a {
  text-decoration: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
ul.products li.product h2:hover {
  color: var(--accent) !important;
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating,
ul.products li.product .star-rating {
  margin: 0.5rem auto !important;
  display: block !important;
}

/* Product Price */
.woocommerce ul.products li.product .price,
ul.products li.product .price {
  text-align: center !important;
  padding: 0.5rem 1.5rem 1rem !important;
  margin: 0 !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Price - Regular + Sale */
.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  background: none !important;
  -webkit-text-fill-color: var(--text-muted) !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}

.woocommerce ul.products li.product .price ins,
ul.products li.product .price ins {
  text-decoration: none !important;
  display: block !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block !important;
  width: calc(100% - 3rem) !important;
  margin: 0 1.5rem 1.5rem !important;
  padding: 1rem !important;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #ef4444 100%
  ) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 4px 15px rgb(220 38 38 / 30%) !important;
  text-align: center !important;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgb(220 38 38 / 50%) !important;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

/* View Product Button (Variable products) */
.woocommerce ul.products li.product .product_type_variable,
.woocommerce ul.products li.product .product_type_grouped {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #2a5080 100%
  ) !important;
  box-shadow: 0 4px 15px rgb(30 58 138 / 30%) !important;
}

.woocommerce ul.products li.product .product_type_variable:hover,
.woocommerce ul.products li.product .product_type_grouped:hover {
  box-shadow: 0 8px 25px rgb(30 58 138 / 50%) !important;
}

/* Added to Cart */
.woocommerce ul.products li.product .added_to_cart {
  display: block !important;
  width: calc(100% - 3rem) !important;
  margin: 0.5rem 1.5rem 1.5rem !important;
  padding: 0.75rem !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgb(16 185 129 / 30%) !important;
}

/* Shop Page Header */
.woocommerce-products-header,
.page-header {
  text-align: center !important;
  margin-bottom: 3rem !important;
}

.woocommerce-products-header__title,
.page-title {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #7c3aed 100%
  ) !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: 0.5rem !important;
}

/* Archive Description */
.term-description,
.woocommerce-products-header__description {
  text-align: center !important;
  max-width: 700px !important;
  margin: 0 auto 2rem !important;
  color: var(--text-light) !important;
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
}

/* Shop Controls (Result count + Ordering) */
.woocommerce-notices-wrapper + .woocommerce-result-count,
.woocommerce-notices-wrapper + .woocommerce-ordering {
  margin-bottom: 2rem;
}

/* Flexbox layout for controls */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  float: none !important;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.5rem 2rem;
}

/* Center the controls wrapper */
.woocommerce-page .content-area::before,
.archive .content-area::before {
  content: "";
  display: block;
  clear: both;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
  text-align: center !important;
  padding: 1rem 0 !important;
  margin-bottom: 2rem !important;
  color: var(--text-light) !important;
  font-size: 0.9rem !important;
}

.woocommerce-breadcrumb a {
  color: var(--primary) !important;
  transition: color 0.2s !important;
}

.woocommerce-breadcrumb a:hover {
  color: var(--accent) !important;
}

/* Pagination */
.woocommerce-pagination {
  margin-top: 3rem !important;
  text-align: center !important;
}

.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  background: white !important;
  border: 2px solid var(--border) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.woocommerce-pagination ul li a:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.woocommerce-pagination ul li span.current {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #ef4444 100%
  ) !important;
  border-color: var(--accent) !important;
  color: white !important;
}

/* No Products Found */
.woocommerce-info {
  text-align: center !important;
  background: linear-gradient(
    135deg,
    rgb(30 58 95 / 5%) 0%,
    rgb(124 58 237 / 5%) 100%
  ) !important;
  padding: 3rem !important;
  border-radius: 24px !important;
  border: none !important;
  color: var(--text) !important;
}

/* Responsive Grid */
@media (width <= 768px) {
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .woocommerce ul.products li.product .button,
  ul.products li.product .button {
    width: calc(100% - 2rem) !important;
    margin: 0 1rem 1rem !important;
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 1.25rem !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.9rem !important;
    padding: 1rem 1rem 0.5rem !important;
  }
}

@media (width <= 480px) {
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* Premium Card Override - For our custom template */
.product-card-premium {
  text-align: center !important;
}

.product-card-premium .product-info-premium {
  text-align: center !important;
}

.product-card-premium .product-info-premium h3,
.product-card-premium .product-info-premium span,
.product-card-premium .product-info-premium div {
  text-align: center !important;
}

/* Top Bar Centered */
.woocommerce-result-count,
.woocommerce-ordering {
  text-align: center;
}

/* Wrapper for shop controls */
.woocommerce-notices-wrapper {
  text-align: center !important;
}

/* Override left-aligned defaults */
.woocommerce ul.products li.product *,
ul.products li.product * {
  text-align: center;
}

/* ==================== WooCommerce Tabs Styling - AGGRESSIVE OVERRIDE ==================== */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-tabs,
div.woocommerce-tabs {
  margin-top: 3rem !important;
  background: var(--bg-white) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgb(0 0 0 / 10%) !important;
  overflow: hidden !important;
  border: 1px solid var(--border-light) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs,
.woocommerce-tabs > ul.tabs,
ul.tabs.wc-tabs,
.wc-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #1e3a8a 100%
  ) !important;
  gap: 0 !important;
  border-bottom: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
ul.tabs.wc-tabs::before,
ul.tabs.wc-tabs::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li,
ul.tabs.wc-tabs li,
.wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: block !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a,
ul.tabs.wc-tabs li a,
.wc-tabs li a {
  display: block !important;
  padding: 1.25rem 2rem !important;
  color: rgb(255 255 255 / 70%) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  border-bottom: 4px solid transparent !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li a:hover,
ul.tabs.wc-tabs li a:hover,
.wc-tabs li a:hover {
  color: white !important;
  background: rgb(255 255 255 / 10%) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li.active,
ul.tabs.wc-tabs li.active,
.wc-tabs li.active {
  background: rgb(255 255 255 / 10%) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.active a,
ul.tabs.wc-tabs li.active a,
.wc-tabs li.active a {
  color: white !important;
  background: rgb(255 255 255 / 10%) !important;
  border-bottom-color: var(--accent) !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-Tabs-panel,
.wc-tab {
  padding: 2.5rem !important;
  background: white !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel h2,
.woocommerce-tabs .woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h2,
.wc-tab h2 {
  color: var(--primary) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 2px solid var(--border-light) !important;
}

/* Reviews Section */
.woocommerce-Reviews {
  padding: 0 !important;
}

#reviews #comments {
  padding: 0;
}

#reviews .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

#reviews .commentlist li {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

#reviews .comment_container {
  display: flex;
  gap: 1rem;
}

#reviews .comment_container img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

#reviews .comment-text {
  flex: 1;
}

#reviews .star-rating {
  margin-bottom: 0.5rem;
}

#reviews .meta {
  margin-bottom: 0.75rem;
}

#reviews .meta strong {
  color: var(--primary);
  font-weight: 600;
}

#reviews .description p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Review Form */
#review_form_wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-light);
}

#review_form .comment-reply-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

#review_form .comment-form-rating {
  margin-bottom: 1rem;
}

#review_form .comment-form-rating label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

#review_form .comment-form-comment textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s ease;
}

#review_form .comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--primary);
}

#review_form .form-submit input[type="submit"] {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 99px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#review_form .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgb(30 58 138 / 30%);
}

/* Account Layout Styles */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.account-nav {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: fit-content;
}

.account-nav-header {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.account-nav-header h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.account-nav-header p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.account-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-menu li {
  border-bottom: 1px solid var(--border-light);
}

.account-menu li:last-child {
  border-bottom: none;
}

.account-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.account-menu li a i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.account-menu li a:hover {
  background: var(--bg);
  color: var(--primary);
}

.account-menu li.is-active a {
  background: rgb(30 58 138 / 10%);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

.account-menu li.logout a {
  color: var(--accent);
}

.account-menu li.logout a i {
  color: var(--accent);
}

.account-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}

/* Responsive Account Layout */
@media (width <= 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-nav {
    margin-bottom: 1rem;
  }
}

/* ==================== SINGLE PRODUCT PREMIUM STYLING ==================== */

/* Technical Specs Table - Glassmorphism */
.technical-specs {
  background: linear-gradient(
    135deg,
    rgb(255 255 255 / 90%) 0%,
    rgb(249 250 251 / 95%) 100%
  );
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgb(30 58 138 / 10%);
  box-shadow: 0 10px 40px rgb(0 0 0 / 8%);
  backdrop-filter: blur(10px);
}

.technical-specs h4 {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid linear-gradient(90deg, var(--accent), transparent);
}

.technical-specs h4 i {
  color: var(--accent);
  font-size: 1.5rem;
}

.technical-specs .specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
}

.technical-specs .specs-table tr {
  transition: background 0.2s ease;
}

.technical-specs .specs-table tr:nth-child(even) {
  background: rgb(30 58 138 / 3%);
}

.technical-specs .specs-table tr:hover {
  background: rgb(220 38 38 / 5%);
}

.technical-specs .specs-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  color: white;
  width: 40%;
  font-size: 0.9375rem;
  border-bottom: 2px solid var(--accent);
}

.technical-specs .specs-table td {
  padding: 1rem 1.25rem;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.technical-specs .specs-table tr:last-child td {
  border-bottom: none;
}

/* PDF Download Button */
.technical-specs .pdf-download a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgb(239 68 68 / 35%);
}

.technical-specs .pdf-download a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgb(239 68 68 / 45%);
}

/* Single Product Cart Form */
.single_add_to_cart_button,
.cart .btn-primary,
form.cart button[type="submit"] {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #ef4444 100%
  ) !important;
  color: white !important;
  padding: 1rem 2rem !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 25px rgb(220 38 38 / 40%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.single_add_to_cart_button:hover,
.cart .btn-primary:hover,
form.cart button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgb(220 38 38 / 50%);
}

/* Compare Button */
.btn-compare-add {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #1e3a8a 100%
  ) !important;
  color: white !important;
  padding: 1rem 2rem !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgb(30 58 138 / 35%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem !important;
}

.btn-compare-add:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgb(30 58 138 / 45%);
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
}

/* SWIPER GALLERY */
.product-main-slider {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;

  /* White background for transparent PNGs */
  border: 1px solid var(--border-light);
}

.product-main-slider .swiper-slide {
  height: 300px;

  /* Reduced to 300px optimized */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

@media (width <= 768px) {
  .product-main-slider .swiper-slide {
    height: 220px;

    /* Smaller on mobile */
  }

  .single-product .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.product-summary {
  padding-left: 2rem;

  /* Space between image and text on desktop */
}

@media (width <= 992px) {
  .product-summary {
    padding-left: 0;
    margin-top: 2rem;
  }
}

.product-main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* Prevents stretching */
  max-height: 450px;
}

/* Premium Quantity Selector */
.quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
}

.quantity .qty,
.quantity input[type="number"] {
  width: 70px;
  height: 52px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  background: transparent;
}

.quantity .qty:focus {
  outline: none;
}

/* Remove spinner for number inputs */
.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.quantity input[type="number"] {
  appearance: textfield;
}

/* Stock Status Badges - Enhanced */
.stock-status {
  padding: 1.25rem 2rem !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.stock-status.stock-available {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 8px 25px rgb(16 185 129 / 40%);
}

.stock-status.stock-low {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 8px 25px rgb(245 158 11 / 40%);
}

.stock-status.stock-critical {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 8px 25px rgb(239 68 68 / 40%);
  animation: pulse-urgent 2s infinite;
}

.stock-status.stock-out {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 8px 25px rgb(107 114 128 / 40%);
}

@keyframes pulse-urgent {
  0%,
  100% {
    box-shadow: 0 8px 25px rgb(239 68 68 / 40%);
  }

  50% {
    box-shadow: 0 8px 35px rgb(239 68 68 / 60%);
  }
}

/* Product Meta Info Bar */
.product-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  color: white;
}

.product-meta-bar .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.product-meta-bar .meta-item i {
  opacity: 0.8;
}

.product-meta-bar .meta-item a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.product-meta-bar .meta-item a:hover {
  opacity: 0.8;
}

/* Single Product Summary Enhancements */
.product-summary-section {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 50px rgb(0 0 0 / 8%);
  border: 1px solid var(--border-light);
}

/* Gallery Enhancement */
.product-gallery-main {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
  border-radius: 24px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--border-light);
  box-shadow: 0 20px 60px rgb(0 0 0 / 12%);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-gallery-main:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 70px rgb(220 38 38 / 15%);
}

/* Responsive Single Product */
@media (width <= 992px) {
  .single-product-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .product-summary-section {
    padding: 1.5rem;
  }

  .technical-specs {
    padding: 1.5rem;
  }
}

@media (width <= 576px) {
  .product-summary-section h1 {
    font-size: 2rem !important;
  }

  .single_add_to_cart_button,
  .btn-compare-add {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .stock-status {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ==================== WOOCOMMERCE AGGRESSIVE OVERRIDES ==================== */

/* Stock Status - WooCommerce Default Override */
.woocommerce div.product p.stock,
.woocommerce div.product .stock,
p.stock,
.stock {
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  margin: 1.5rem 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.woocommerce div.product p.stock.in-stock,
.woocommerce div.product .stock.in-stock,
p.stock.in-stock,
.stock.in-stock,
.stock-available {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgb(16 185 129 / 40%) !important;
}

.woocommerce div.product p.stock.out-of-stock,
.woocommerce div.product .stock.out-of-stock,
p.stock.out-of-stock,
.stock.out-of-stock,
.stock-out {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgb(107 114 128 / 40%) !important;
}

.stock.stock-low,
.stock-low {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgb(245 158 11 / 40%) !important;
}

.stock.stock-critical,
.stock-critical {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgb(239 68 68 / 40%) !important;
  animation: pulse-urgent 2s infinite;
}

/* Quantity Input - WooCommerce Default Override */
.woocommerce div.product form.cart div.quantity,
.woocommerce div.product form.cart .quantity,
.woocommerce .quantity,
form.cart .quantity {
  display: flex !important;
  align-items: center !important;
  border: 2px solid var(--border) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: white !important;
  box-shadow: 0 4px 15px rgb(0 0 0 / 8%) !important;
  margin-right: 1rem !important;
}

.woocommerce div.product form.cart div.quantity input.qty,
.woocommerce .quantity input.qty,
.woocommerce .quantity input[type="number"],
form.cart .quantity input.qty,
input.qty {
  width: 60px !important;
  height: 52px !important;
  border: none !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  color: var(--primary) !important;
  background: transparent !important;
  appearance: textfield !important;
  appearance: textfield !important;
  appearance: textfield !important;
}

.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button {
  appearance: none !important;
  margin: 0 !important;
}

/* Add to Cart Button - WooCommerce Default Override */
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce button.single_add_to_cart_button,
button.single_add_to_cart_button,
.single_add_to_cart_button {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #ef4444 100%
  ) !important;
  color: white !important;
  padding: 1rem 2.5rem !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 8px 30px rgb(220 38 38 / 45%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  min-height: 54px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,
button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 40px rgb(220 38 38 / 55%) !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Cart Form Layout */
.woocommerce div.product form.cart,
form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
  padding: 1.5rem !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-radius: 16px !important;
  border: 1px solid var(--border-light) !important;
}

/* Price Styling for Single Product */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: var(--accent) !important;
  margin-bottom: 1rem !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce div.product .price del {
  font-size: 1.25rem !important;
  color: var(--text-muted) !important;
  opacity: 0.6 !important;
  font-weight: 500 !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce div.product .price ins {
  text-decoration: none !important;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #ef4444 100%
  ) !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Product Title */
.woocommerce div.product .product_title,
.product_title {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

/* Rating Stars */

/* ==================== WOOCOMMERCE SINGLE PRODUCT RESPONSIVENESS ==================== */
@media (width <= 768px) {
  .woocommerce div.product {
    display: flex !important;
    flex-direction: column !important;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary,
  .woocommerce-product-gallery,
  .woocommerce-product-gallery__wrapper,
  .woocommerce-product-gallery__image {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .woocommerce div.product div.images {
    margin-bottom: 2rem !important;
  }

  .woocommerce div.product div.summary {
    margin-top: 0 !important;
  }

  /* Prevent Horizontal Scroll */
  .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    height: auto !important;
  }

  /* Fix Content/Image Overflow in Tabs (Technical Drawings) */
  .woocommerce-Tabs-panel img,
  .woocommerce-product-details__short-description img,
  .product-content img,
  #tab-description img,
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .woocommerce-Tabs-panel,
  .woocommerce-Tabs-panel table {
    overflow-x: auto !important;
    display: block !important;
    width: 100% !important;
  }
}

.woocommerce-product-rating {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  padding: 0.75rem 1.25rem !important;
  background: rgb(251 191 36 / 10%) !important;
  border-radius: 99px !important;
  width: fit-content !important;
}

.woocommerce div.product .star-rating,
.star-rating {
  color: #fbbf24 !important;
  font-size: 1rem !important;
}

.woocommerce div.product .woocommerce-review-link,
.woocommerce-review-link {
  color: var(--text-light) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.woocommerce div.product .woocommerce-review-link:hover {
  color: var(--accent) !important;
}

/* Short Description */
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce-product-details__short-description {
  padding: 1.5rem !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-radius: 12px !important;
  border-left: 4px solid var(--accent) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.8 !important;
  color: var(--text) !important;
}

/* Product Meta (SKU, Categories, Tags) */
.woocommerce div.product .product_meta,
.product_meta {
  padding: 1.5rem !important;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #1e3a8a 100%
  ) !important;
  border-radius: 12px !important;
  margin-top: 2rem !important;
  color: white !important;
}

.woocommerce div.product .product_meta > span,
.product_meta > span {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.9rem !important;
}

.woocommerce div.product .product_meta > span:last-child {
  margin-bottom: 0 !important;
}

.woocommerce div.product .product_meta a,
.product_meta a {
  color: rgb(255 255 255 / 90%) !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
}

.woocommerce div.product .product_meta a:hover {
  opacity: 0.8 !important;
}

/* ==================== RELATED PRODUCTS SLIDER ==================== */
.related-products-slider-wrapper {
  overflow: visible;
}

.related-products-slider {
  overflow: hidden;
}

.related-products-slider .swiper-slide {
  height: auto;
  display: flex;
}

.related-products-slider .product-card {
  width: 100%;
  margin-bottom: 0 !important;
}

.related-next,
.related-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-next::after,
.related-prev::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.2rem;
}

.related-next::after {
  content: "\f054";

  /* fa-chevron-right */
}

.related-prev::after {
  content: "\f053";

  /* fa-chevron-left */
}

.related-next:hover,
.related-prev:hover {
  background: var(--accent) !important;
  color: white !important;
  transform: translateY(-50%) scale(1.1);
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ==================== PERFORMANCE OPTIMIZATIONS (Lag Fix 2.0) ==================== */

/* Hardware Acceleration Hints */
.product-card,
.hero-banner,
.category-card,
.animate-on-scroll {
  will-change: transform, opacity;
}

/* Containment for heavy unrelated sections */
.site-footer,
.widget-area,
.related-products {
  contain: content;
}

/* Mobile Optimizations - Disable heavy filters & effects */
@media (width <= 1024px) {
  *,
  *::before,
  *::after {
    backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Fallback backgrounds for glassmorphism elements */
  .header-main,
  .mobile-menu,
  .glass-effect,
  .premium-card,
  .floating-bar {
    background: rgb(255 255 255 / 98%) !important;
  }

  /* Disable expensive Layout Thrashing hover effects on touch */
  .product-card:hover,
  .category-card:hover,
  .btn:hover {
    transform: none !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%) !important;
  }

  /* Disable Parallax via CSS just in case JS doesn't catch it */
  .parallax,
  .hero-banner {
    background-attachment: scroll !important;
    background-position: center !important;
  }

  /* ==================== SINGLE PRODUCT TECH SPECS ==================== */
  .tech-specs-section {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
  }

  .tech-grid {
    display: grid;
    gap: 2rem;
  }

  @media (width >= 1024px) {
    .tech-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .tech-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 5%);
    border: 1px solid var(--border-light);
    height: 100%;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%);
  }

  .iso-row {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
  }

  .iso-row:hover {
    background: #f9fafb;
  }

  /* ==================== SWIPER GALLERY STYLES ==================== */
  .swiper-button-next,
  .swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    background: rgb(255 255 255 / 90%);
    border-radius: 50%;
    color: var(--primary) !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: var(--primary);
    color: white !important;
    transform: scale(1.1);
  }

  .product-gallery-thumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  .product-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary) !important;
  }

  .product-gallery-section {
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .product-gallery-section.loaded {
    opacity: 1;
  }
}

/* ==================== TEKNIK VARYASYONLAR TABLOSU ==================== */

/* Frontend product page technical variations table - force visibility */
.karbur-tech-variations-wrapper {
  margin-top: 2.5rem;
}

.karbur-tech-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff !important;
}

.karbur-tech-table thead {
  background: linear-gradient(135deg, #303030 0%, #1a0304 100%) !important;
}

.karbur-tech-table thead tr {
  background: linear-gradient(135deg, #303030 0%, #1a0304 100%) !important;
}

.karbur-tech-table thead th {
  background: linear-gradient(135deg, #303030 0%, #1a0304 100%) !important;
  color: #fff !important;
  padding: 1rem !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
}

.karbur-tech-table tbody td {
  padding: 0.875rem;
  text-align: center;
  color: #1f2937 !important;
  background: #fff !important;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.karbur-tech-table tbody tr:nth-child(even) td {
  background: #fafafa !important;
}

.karbur-tech-table tbody tr:hover td {
  background: #f0f9ff !important;
}

/* ==================== FULL CHECKUP FIXES ==================== */

/* High contrast for archive and page headers */
.kb-archive-header,
.page-header-premium {
  background: var(--primary) !important;

  /* Fallback */
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  ) !important;
  color: white !important;
}

.kb-archive-header h1,
.page-header-premium h1 {
  color: white !important;
  text-shadow: 0 2px 4px rgb(0 0 0 / 20%);
}

/* Fix for WooCommerce "Ürünler" page specifically if background fails */
.post-type-archive-product .kb-archive-header {
  background-color: var(--primary) !important;
}

/* ==================== HOMEPAGE SLIDER ==================== */
.kb-hero-slider {
  position: relative;
  width: 100%;
  height: clamp(400px, 60vh, 550px);
  overflow: hidden;
  margin-top: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Slide Backgrounds */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-1 .slide-bg {
  background: linear-gradient(135deg, #e31e24 0%, #b0171c 50%, #7a0f12 100%);
}

.slide-2 .slide-bg {
  background: linear-gradient(135deg, #303030 0%, #1a1a1a 50%, #000 100%);
}

.slide-3 .slide-bg {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}

/* Pattern Overlay */
.slide-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Slide Content */
.slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

/* Slide Animation on Active */
.slide.active .slide-content {
  animation: slideContentIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide Icon */
.slide-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgb(255 255 255 / 15%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgb(255 255 255 / 30%);
  animation: iconPulse 2s ease-in-out infinite;
}

.slide-icon i {
  font-size: 2rem;
  color: white;
}

.slide-3 .slide-icon i {
  color: #303030;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgb(255 255 255 / 40%);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgb(255 255 255 / 0%);
  }
}

/* Slide Title */
.slide-title {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-main {
  display: block;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 10px rgb(0 0 0 / 30%);
  line-height: 1.2;
}

.slide-3 .title-main {
  color: #303030;
  text-shadow: none;
}

.title-accent {
  display: block;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-3 .title-accent {
  background: linear-gradient(90deg, #e31e24 0%, #b0171c 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Slide Description */
.slide-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgb(255 255 255 / 95%);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.slide-3 .slide-desc {
  color: rgb(48 48 48 / 90%);
}

/* Slide Buttons */
.slide-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-slider {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-slider-primary {
  background: #fbbf24;
  color: #1f2937;
  box-shadow: 0 10px 25px rgb(251 191 36 / 40%);
}

.btn-slider-primary:hover {
  background: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgb(251 191 36 / 50%);
  color: #1f2937;
}

.slide-3 .btn-slider-primary {
  background: #e31e24;
  color: white;
  box-shadow: 0 10px 25px rgb(227 30 36 / 40%);
}

.slide-3 .btn-slider-primary:hover {
  background: #b0171c;
  box-shadow: 0 15px 35px rgb(227 30 36 / 50%);
}

.btn-slider-outline {
  background: rgb(255 255 255 / 10%);
  color: white;
  border: 2px solid rgb(255 255 255 / 50%);
  backdrop-filter: blur(10px);
}

.btn-slider-outline:hover {
  background: rgb(255 255 255 / 20%);
  border-color: white;
  transform: translateY(-3px);
  color: white;
}

.slide-3 .btn-slider-outline {
  background: rgb(48 48 48 / 10%);
  color: #303030;
  border-color: rgb(48 48 48 / 50%);
}

.slide-3 .btn-slider-outline:hover {
  background: rgb(48 48 48 / 20%);
  border-color: #303030;
  color: #303030;
}

/* Category Buttons in Slide 2 */
.slide-categories {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.slide-cat-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgb(255 255 255 / 15%);
  color: white;
  border: 2px solid rgb(255 255 255 / 30%);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slide-cat-btn:hover {
  background: white;
  color: #303030;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgb(255 255 255 / 30%);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgb(255 255 255 / 15%);
  border: 2px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.slider-prev {
  left: 2rem;
}

.slider-next {
  right: 2rem;
}

.slider-arrow:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 30px rgb(0 0 0 / 20%);
}

@media (width <= 768px) {
  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .slider-prev {
    left: 1rem;
  }

  .slider-next {
    right: 1rem;
  }
}

.slider-arrow i {
  font-size: 1rem;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(255 255 255 / 40%);
  border: 2px solid rgb(255 255 255 / 60%);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot:hover {
  background: rgb(255 255 255 / 70%);
}

.dot.active {
  background: white;
  border-color: white;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgb(255 255 255 / 50%);
}

/* Slider Responsive */
@media (width <= 768px) {
  .kb-hero-slider {
    height: clamp(350px, 70vh, 500px);
  }

  .slide-content {
    padding: 1.5rem;
  }

  .slide-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .slide-icon i {
    font-size: 1.5rem;
  }

  .btn-slider {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .slider-nav {
    bottom: 1.5rem;
    gap: 1rem;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .slide-cat-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

@media (width <= 480px) {
  .kb-hero-slider {
    height: clamp(380px, 80vh, 480px);
  }

  .slide-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-slider {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .slider-arrow {
    display: none;
  }

  .slide-categories {
    flex-direction: column;
    align-items: center;
  }

  .slide-cat-btn {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

/* ==================== REFERENCES SECTION SLIDER ==================== */
.references-section {
  overflow: hidden;
}

.refs-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.refs-slider-track {
  display: flex;
  animation: scroll-refs 30s linear infinite;
  width: max-content;
}

.refs-slide {
  flex: 0 0 auto;
  width: 180px;
  padding: 0 15px;
}

.partner-logo {
  background: white;
  padding: 25px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 2px 10px rgb(0 0 0 / 5%);
  transition: all 0.3s ease;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgb(0 0 0 / 10%);
}

.partner-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-refs {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.refs-slider-container:hover .refs-slider-track {
  animation-play-state: paused;
}

/* Responsive */
@media (width <= 768px) {
  .refs-slide {
    width: 150px;
    padding: 0 10px;
  }

  .partner-logo {
    padding: 20px 15px;
    min-height: 100px;
  }
}

/* ==================== HOMEPAGE FEATURED PRODUCTS GRID ==================== */
.products-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Custom Product Card (kb-product-card) styling */
.kb-product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgb(0 0 0 / 5%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-light);
  position: relative;
  text-decoration: none !important;
}

.kb-product-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 10%),
    0 10px 10px -5px rgb(0 0 0 / 4%);
  border-color: rgb(227 30 36 / 20%);
}

.kb-card-image {
  /* Layout handled by kb-responsive.css (aspect-ratio: 3/4 + object-fit:contain) */
  position: relative;
  background: #f9fafb;
  overflow: hidden;
}

.kb-card-image img {
  /* IMPORTANT: object-fit:contain is mandatory for 124x1570px tall product images */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 0.5rem;
}

.kb-product-card:hover .kb-card-image img {
  transform: scale(1.05);
}

.kb-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kb-card-cat {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.kb-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.kb-product-card:hover .kb-card-title {
  color: var(--primary);
}

.kb-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.kb-card-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kb-card-price del {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: line-through;
}

.kb-card-price ins {
  text-decoration: none;
}

.kb-card-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.kb-product-card:hover .kb-card-action {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

/* User asked for "small cards", so adjusting mobile view specifically */
@media (width <= 768px) {
  .products-grid-home {
    grid-template-columns: repeat(2, 1fr);

    /* 2 columns on mobile for smaller feel */
    gap: 10px;
  }

  .kb-card-content {
    padding: 1rem;
  }

  .kb-card-title {
    font-size: 0.95rem;
  }

  .kb-card-price {
    font-size: 1rem;
  }

  .kb-card-action {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   WOOCOMMERCE PRODUCT CARDS & GRID (NEW UI)
   ========================================================================== */

/* Grid overrides */
.products-grid-home,
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

ul.products::before,
ul.products::after {
  display: none !important;

  /* Fix WC clearfloats */
}

ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (width <= 1200px) {
  .products-grid-home,
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (width <= 992px) {
  .products-grid-home,
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (width <= 768px) {
  .products-grid-home,
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* Product Card Base */
.kb-product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kb-product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgb(10 22 40 / 8%);

  /* Minimal shadow */
  transform: translateY(-4px);
}

/* Image Wrapper */
.kb-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #f8fafc;

  /* Light gray for image background */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kb-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.kb-card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* Contain to show full tool */
  mix-blend-mode: multiply;

  /* Helps blend white bg images into light gray */
  transition: transform 0.5s ease;
  padding: 1rem;

  /* Some padding around the image */
}

.kb-product-card:hover .kb-card-image-link img {
  transform: scale(1.08);

  /* slight zoom */
}

/* Badges */
.kb-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.badge {
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-primary);
}

.badge-sale {
  background: #ef4444;

  /* Red for sale */
}

.kb-card-out-of-stock {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgb(255 255 255 / 95%);
  color: #ef4444;
  text-align: center;
  padding: 8px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  z-index: 10;
  backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border);
}

/* Desktop Hover Add to Cart Button */
.kb-card-hover-action {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgb(255 255 255 / 100%) 40%,
    rgb(255 255 255 / 0%) 100%
  );
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
  opacity: 0;
  pointer-events: none;

  /* Let touches pass through if not hovered */
}

.kb-product-card:hover .kb-card-hover-action {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.btn-add-to-cart-hover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--color-accent) !important;
  color: white !important;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-add-to-cart-hover:hover {
  background: var(--color-accent-hover) !important;
}

/* Content Area */
.kb-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  position: relative;
  z-index: 5;

  /* Above hover gradient if it leaks */
}

.kb-card-cat {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--color-text-muted) !important;
  text-decoration: none;
  margin-bottom: 6px;
  display: block;
  transition: color 0.2s ease;
}

.kb-card-cat:hover {
  color: var(--color-accent) !important;
}

.kb-card-title {
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin: 0 0 12px;

  /* 2 Line Clamp Constraint */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Ensure height is consistent for aligned grids */
  min-height: calc(15px * 1.4 * 2);
}

.kb-card-title a {
  color: inherit;
  text-decoration: none;
}

.kb-card-title a:hover {
  color: var(--color-accent);
}

/* Price & Action Row */
.kb-card-price-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.kb-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kb-card-price del,
.kb-card-price del .woocommerce-Price-amount {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.kb-card-price ins,
.kb-card-price > .woocommerce-Price-amount {
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-accent);
  text-decoration: none;
}

/* The sub-elements generated by woo in prices */
.kb-card-price .woocommerce-Price-currencySymbol {
  font-size: 0.9em;
  margin-left: 2px;
}

.kdv-label {
  font-family: "Nunito Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
  display: inline-block;
}

/* Wrapper to keep Price and KDV somewhat inline */
.kb-card-price ins,
.kb-card-price > .woocommerce-Price-amount {
  display: flex;
  align-items: baseline;
}

/* Mobile Icon CTA */
.btn-mobile-add {
  display: none;

  /* Hidden on desktop */
  width: 36px;
  height: 36px;
  background: rgb(10 22 40 / 5%);

  /* very light primary variant */
  color: var(--color-primary);
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-mobile-add i {
  font-size: 14px;
}

.btn-mobile-add:hover {
  background: var(--color-primary);
  color: white;
}

@media (width <= 1024px) {
  /* Touch devices config */
  .kb-card-hover-action {
    display: none !important;
  }

  .btn-mobile-add {
    display: flex;
  }

  .kb-card-price ins,
  .kb-card-price > .woocommerce-Price-amount {
    font-size: 16px;
  }

  .kb-card-content {
    padding: 12px;
  }
}

/* ==========================================================================
   FOOTER & TRUST BAR
   ========================================================================== */
.kb-trust-bar {
  position: relative;
  z-index: 10;
}

.kb-trust-bar .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 5%);
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 5%);
  color: white;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgb(255 255 255 / 10%);
}

.footer-social .social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-links a {
  color: rgb(255 255 255 / 70%) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: white !important;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact li i {
  color: var(--color-accent) !important;
}

.footer-contact li a:hover {
  color: var(--color-accent) !important;
}

/* Fix Iyzico Logo on mobile */
@media (width <= 768px) {
  .site-footer {
    padding-top: 40px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* --- UI/UX AUDIT FIXES --- */

/* 1. Typography Colors */
.woocommerce-products-header__title,
.page-title,
.kb-archive-title h1,
.product_title {
    color: var(--color-primary) !important;
}

.price .woocommerce-price-suffix,
.kb-card-price .woocommerce-price-suffix {
    color: var(--color-text-secondary) !important;
    font-weight: 500;
}

/* 2. Interactive Hover States */
.nav-item > a:hover {
    color: var(--color-accent) !important;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 2;
}

/* 3. Layout Spacing Fixes */
.site-content {
    margin-bottom: 0 !important;
}

.references-section + footer,
.references-section + .kb-trust-bar {
    margin-top: 0 !important;
}

/* 4. Floating Elements Collision */
#kvkk-cookie-banner {
    z-index: 99999 !important;
}

div.wa-chat-box, 
.wa-chat-button,
#wp-whatsapp-button {
    z-index: 99998 !important;
}

@media (max-width: 768px) {
    div.wa-chat-box, 
    .wa-chat-button,
    #wp-whatsapp-button {
        bottom: 90px !important;
    }
}

/* 5. Mobile Menu Toggle Visibility */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-navy);
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-toggle:focus {
    outline: none;
}

/* ==================== GLOBAL MOBILE HEADER FIX (OVERRIDE) ==================== */
@media (max-width: 1100px) {
    .header-main {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        height: 70px !important;
        padding: 0 15px !important;
        gap: 10px !important;
    }

    .site-branding {
        order: -1 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        max-width: 150px !important;
    }

    .header-center-search {
        display: none !important;
    }

    .mobile-nav-group {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex: 0 1 auto !important;
    }

    .header-actions-wrapper {
        order: 2 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .header-cart-wrapper {
        margin: 0 !important;
    }

    .mobile-menu-toggle {
        order: 3 !important;
        display: flex !important;
        background: var(--color-accent) !important;
        color: white !important;
        margin: 0 0 0 5px !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 10px rgba(227, 30, 36, 0.2) !important;
    }
    
    .site-logo {
        height: 36px !important;
        width: auto !important;
        transform: none !important;
    }
}

/* 3D STL Viewer */
#kb-stl-viewer {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    background: #fbfbfb;
    border-radius: 12px;
    box-shadow: inset 0 2px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

.kb-stl-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 100;
}

.kb-stl-ctrl-group {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.kb-stl-ctrl-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    outline: none !important;
}

.kb-stl-ctrl-btn:hover {
    color: #0f172a;
    background: rgba(0,0,0,0.03);
    transform: translateY(-1px);
}

.kb-stl-ctrl-btn.active {
    color: #ef4444;
}

/* 3D Fallback UI */
.kb-stl-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.fallback-preview {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 0.95;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
    animation: fadeIn 0.8s ease-out;
}

.fallback-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 13px;
    color: #475569;
}

.fallback-content i {
    color: #3b82f6;
    font-size: 16px;
}

.fallback-content small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-left: 5px;
}

.fallback-icon {
    font-size: 80px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 0.95; transform: translateY(0); }
}

/* Summary Visual Boxes */
.kb-summary-tech {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid #f1f5f9;
}

.kb-main-visual-box {
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
    border-color: #f1f5f9 !important;
}

.kb-main-visual-box img {
    mix-blend-mode: multiply;
}

/* =======================================================
   WooCommerce Modern UI Fixes (Cart Notices, Checkout) 
   ======================================================= */

/* Notices and Info Boxes */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
    padding: 1rem 1.5rem 1rem 3.5rem !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03) !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    position: relative !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.woocommerce-message::before, 
.woocommerce-error::before, 
.woocommerce-info::before {
    content: '' !important;
    position: absolute !important;
    left: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.woocommerce-message {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-left: 4px solid #10b981 !important;
}

.woocommerce-info {
    background: #eff6ff !important;
    color: #1e40af !important;
    border-left: 4px solid #3b82f6 !important;
}

.woocommerce-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid #ef4444 !important;
    list-style: none !important;
}

.woocommerce-message a.button, 
.woocommerce-info a.button {
    margin-left: auto !important;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    text-transform: none !important;
}

/* Empty Cart View */
.cart-empty {
    text-align: center !important;
    font-size: 1.1rem !important;
    padding: 3rem 2rem !important;
    display: block !important;
    background: #f8fafc !important;
}

.cart-empty::before {
    display: none !important;
}

p.return-to-shop {
    text-align: center !important;
    margin-top: 1.5rem !important;
}

p.return-to-shop .button {
    background: #ff6b00 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

p.return-to-shop .button:hover {
    background: #cf5800 !important;
    box-shadow: 0 4px 6px -1px rgba(255, 107, 0, 0.2) !important;
}

/* Checkout Fixes - Payment Overlap & Policy */
#payment ul.payment_methods {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    background: #fff !important;
}

#payment ul.payment_methods li.wc_payment_method {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1rem 0 !important;
}

#payment ul.payment_methods li.wc_payment_method:last-child {
    border-bottom: none !important;
}

/* Overlapping Fix for Payment Box */
#payment div.payment_box {
    background-color: #f8fafc !important;
    border-radius: 6px !important;
    padding: 1rem 1.25rem !important;
    margin: 1rem 0 0.5rem 0 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 0.95rem !important;
    position: relative !important;
    clear: both !important;
}

#payment div.payment_box::before {
    content: '' !important;
    position: absolute !important;
    top: -6px !important;
    left: 20px !important;
    width: 10px !important;
    height: 10px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-left: 1px solid #e2e8f0 !important;
    transform: rotate(45deg) !important;
}

/* Checkout Privacy Policy Bottom Text */
.woocommerce-privacy-policy-text {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 1.5rem 0 !important;
    background: #f1f5f9 !important;
    padding: 1rem !important;
    border-radius: 6px !important;
}

/* Sipariş Ver (Place Order) Button */
#place_order, .button#place_order {
    width: 100% !important;
    background: #ff6b00 !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    padding: 1.25rem !important;
    border-radius: 8px !important;
    margin-top: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

#place_order:hover {
    background: #e65c00 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* =======================================================
   Scroll to Top Button Customization
   ======================================================= */
.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff6b00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: none;
    outline: none;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #e65c00;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .scroll-to-top {
        right: 20px;
        bottom: 80px; /* Leave space for potential mobile nav */
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* =======================================================
   Cart Mobile Responsive Fixes
   ======================================================= */
@media (max-width: 991px) {
    /* 1. Container & Overflow Fixes */
    .woocommerce-cart .site-content,
    .woocommerce-cart .container,
    .woocommerce-cart-form,
    .kb-cart-main-grid,
    .kb-cart-items-column,
    .kb-cart-inner-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .woocommerce-cart .site-content {
        padding: 1.5rem 0.5rem !important;
        overflow-x: hidden;
    }
    
    .woocommerce-cart .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-x: hidden;
        width: 100% !important;
    }

    /* 2. Cart Table to Blocks/Cards Override */
    .woocommerce-cart-form {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .woocommerce-cart-form__contents {
        display: block !important;
        width: 100% !important;
    }
    
    .woocommerce-cart-form__cart-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
        margin-bottom: 20px !important;
        background: #fff;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }

    .woocommerce-cart-form__cart-item * {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    .woocommerce-cart-form__cart-item > td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border: none !important;
        padding: 5px 0 !important;
        clear: both !important;
        min-width: 0 !important;
    }
    
    .woocommerce-cart-form__cart-item td::before {
        display: none !important;
    }

    .woocommerce-cart-form__cart-item .product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        padding: 0 !important;
        width: auto !important;
        text-align: right !important;
    }
    
    .woocommerce-cart-form__cart-item .product-remove a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        background: #fff0f0 !important;
        color: #e31e24 !important;
        border-radius: 50% !important;
        font-size: 1.2rem !important;
        line-height: 1 !important;
        text-decoration: none !important;
    }

    .woocommerce-cart-form__cart-item .product-thumbnail {
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    
    .woocommerce-cart-form__cart-item .product-thumbnail img {
        max-width: 100px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .woocommerce-cart-form__cart-item .product-name {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 5px !important;
        width: 100% !important;
    }
    
    .woocommerce-cart-form__cart-item .product-price {
        color: #64748b !important;
        font-size: 0.95rem !important;
        width: 100% !important;
    }

    .woocommerce-cart-form__cart-item .product-quantity {
        display: flex !important;
        justify-content: center !important;
        margin: 10px 0 !important;
        width: 100% !important;
    }

    .woocommerce-cart-form__cart-item .product-subtotal {
        font-weight: 700 !important;
        color: #ff6b00 !important;
        font-size: 1.1rem !important;
        width: 100% !important;
    }

    /* 3. Action Buttons */
    .woocommerce-cart-form .actions,
    .woocommerce .cart-collaterals .cart_totals {
        padding: 15px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-cart-form .actions .coupon {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid #e5e7eb !important;
        margin-bottom: 15px !important;
    }

    .woocommerce-cart-form .actions .coupon input.input-text {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .woocommerce-cart-form .actions .button,
    .woocommerce-cart-form .actions .btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 10px !important;
        white-space: normal !important;
        text-align: center !important;
        box-sizing: border-box !important;
        padding: 12px !important;
    }

    /* 4. Cart Totals Block */
    .cart-collaterals, .kb-cart-sidebar-column {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 20px !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .cart_totals, .kb-cart-totals-sidebar {
        background: #f8fafc !important;
        padding: 15px !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .cart_totals h2, .kb-cart-totals-sidebar h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        border-bottom: 2px solid #e2e8f0 !important;
        padding-bottom: 10px !important;
        width: 100% !important;
    }

    /* Wrap text inside flex containers in Sidebar */
    .kb-cart-totals-sidebar div {
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .cart_totals table.shop_table_responsive {
        width: 100% !important;
        display: block !important;
    }

    .cart_totals table.shop_table_responsive tbody,
    .cart_totals table.shop_table_responsive tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .cart_totals table.shop_table_responsive th,
    .cart_totals table.shop_table_responsive td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border: none !important;
        padding: 5px 0 !important;
        box-sizing: border-box !important;
    }

    .cart_totals table.shop_table_responsive th {
        font-size: 0.95rem !important;
        color: #64748b !important;
    }

    .cart_totals table.shop_table_responsive td {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
        border-bottom: 1px dashed #cbd5e1 !important;
        padding-bottom: 10px !important;
    }

    .cart_totals table.shop_table_responsive tr.order-total td {
        font-size: 1.3rem !important;
        color: #ff6b00 !important;
        font-weight: 700 !important;
        border-bottom: none !important;
    }

    /* 5. Checkout Button & WhatsApp Overlap Fix */
    .wc-proceed-to-checkout {
        padding: 15px 0 60px 0 !important; /* Space for WhatsApp and scroll-top buttons */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .wc-proceed-to-checkout a.checkout-button,
    .wc-proceed-to-checkout .btn-primary {
        width: 100% !important;
        display: block !important;
        padding: 15px !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    /* 6. Kaldır (Remove) Button Overflow Fix */
    .kb-cart-item-row .cart-item-total .remove {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        width: auto !important;
        height: 36px !important;
        padding: 0 15px !important;
        border-radius: 18px !important; /* Create pill shape to contain text correctly */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        background: #fee2e2 !important;
        color: #e31e24 !important;
        z-index: 10 !important;
    }
    
    .kb-cart-item-row .cart-item-total .remove span {
        display: inline-block !important; /* Show text cleanly */
    }

    /* 7. Sepetim (1 Ürün) Heading Wrapping Fix */
    .kb-cart-inner-card > h2 {
        font-size: 1.4rem !important;
        text-align: center !important;
        white-space: normal !important;
        word-wrap: normal !important;
        line-height: 1.3 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
}

/* Mini Cart Variations styles */
.mini-cart-item-details dl.variation { font-size: 0.75rem; color: #64748b; margin: 4px 0; }
.mini-cart-item-details dl.variation dt { display: inline-block; font-weight: 600; margin-right: 4px; }
.mini-cart-item-details dl.variation dd { display: inline; margin: 0; }
.mini

/* =========================================================================
   3DFINDIT STYLE PROFESSIONAL CAD VIEWER UI
   ========================================================================= */
.kb-pro-3d-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    user-select: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

/* TOP BAR */
.kb-pro-3d-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 42px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
}
.kb-pro-3d-top-left, .kb-pro-3d-top-right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.kb-pro-3d-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.kb-pro-3d-btn:hover { background: #f3f4f6; color: #111827; }
.kb-pro-3d-btn.active {
    background: #f8fafc;
    border-color: #d1d5db;
    border-bottom-color: #ffffff; 
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: -1px;
    color: #000;
}

.kb-pro-searches {
    font-size: 13px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    cursor: pointer;
}

.kb-pro-3d-action {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.kb-pro-3d-action:hover { background: #f3f4f6; }
.kb-pro-3d-icon {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #6b7280;
    width: 30px; height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center;
}
.kb-pro-3d-icon:hover { background: #f3f4f6; color: #374151; }

/* LEFT TOOLBAR */
.kb-pro-3d-left {
    position: absolute;
    top: 52px; left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}
.kb-pro-tool-btn {
    width: 38px; height: 38px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #6b7280;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s;
    display: flex; justify-content: center; align-items: center;
}
.kb-pro-tool-btn:hover { background: #f8fafc; color: #111827; border-color: #cbd5e1; }
.kb-pro-tool-btn.active {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

/* WATERMARK */
.kb-pro-3d-watermark {
    position: absolute;
    bottom: 10px; left: 15px;
    z-index: 10;
    pointer-events: none;
    display: flex; flex-direction: column;
}
.kb-pro-3d-watermark div:first-child {
    font-size: 15px;
    font-family: Arial, sans-serif;
    letter-spacing: -0.5px;
}
.kb-pro-3d-copy {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
}

/* BOTTOM RIGHT CONTROLS */
.kb-pro-3d-bottom-right {
    position: absolute;
    bottom: 10px; right: 10px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

/* === VIEW CUBE (CSS 3D) === */
.kb-pro-3d-cube-container {
    position: absolute;
    top: 52px; right: 20px;
    width: 70px; height: 70px;
    perspective: 400px;
    z-index: 20;
}
.kb-cube-scene {
    width: 100%; height: 100%;
    transform-style: preserve-3d;
}
.kb-cube {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-35px) rotateX(-20deg) rotateY(-45deg);
    transition: transform 0.1s linear;
}
.kb-cube-face {
    position: absolute;
    width: 70px; height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
}
.kb-cube-face:hover {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #818cf8;
}

/* Face positions */
.kb-cube-front  { transform: rotateY(0deg) translateZ(35px); }
.kb-cube-back   { transform: rotateY(180deg) translateZ(35px); }
.kb-cube-right  { transform: rotateY(90deg) translateZ(35px); }
.kb-cube-left   { transform: rotateY(-90deg) translateZ(35px); }
.kb-cube-top    { transform: rotateX(90deg) translateZ(35px); }
.kb-cube-bottom { transform: rotateX(-90deg) translateZ(35px); }

/* FULLSCREEN OVERRIDE */
.kb-pro-3d-wrapper:fullscreen {
    width: 100vw !important; height: 100vh !important; background: #fff; border: 0; box-shadow: none; border-radius: 0;
}
