/* ================================================================================
   ZZRot - Özgün Beyaz Tema (Modern E-Ticaret)
   ================================================================================ */

/* ===== 1) CSS Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --color-primary: #1a1a1a;
  --color-primary-hover: #000;
  --color-accent: #a17c4f;
  --color-accent-hover: #8b6840;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-error: #dc3545;
  --color-error-light: #fee;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;
  
  /* Neutral Scale (8-step) */
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Spacing Scale (8-point grid) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  
  /* Typography Scale (Major Third - 1.25 ratio) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius: 0.5rem;       /* 8px */
  --radius-md: 0.75rem;   /* 12px */
  --radius-lg: 1rem;      /* 16px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;  /* pill */
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Legacy aliases (backward compatibility) */
  --primary: var(--color-primary);
  --accent: var(--color-accent);
  --bg: var(--color-white);
  --bg-secondary: var(--color-gray-50);
  --border: var(--color-gray-200);
  --text: var(--color-gray-700);
  --text-muted: var(--color-gray-500);
}

/* NOTE: Dark mode support intentionally removed */

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* ===== Homepage: Brands (dynamic) ===== */
body.home .wd-brands[data-zz-carousel] .wd-carousel-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-8);
}

body.home .wd-brands[data-zz-carousel] .wd-carousel-item {
  flex: 0 0 auto;
  width: calc((100% - (var(--space-8) * 3)) / 4);
  max-width: 260px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  body.home .wd-brands[data-zz-carousel] .wd-carousel-item {
    width: calc((100% - (var(--space-6) * 1)) / 2);
  }
  body.home .wd-brands[data-zz-carousel] .wd-carousel-wrap {
    gap: var(--space-6);
  }
}

@media (max-width: 576px) {
  body.home .wd-brands[data-zz-carousel] .wd-carousel-item {
    width: 100%;
    max-width: none;
  }
  body.home .wd-brands[data-zz-carousel] .wd-carousel-wrap {
    flex-wrap: wrap;
  }
}

body.home .wd-brands[data-zz-carousel] .wd-brand-item {
  text-align: center;
}

body.home .wd-brands[data-zz-carousel] .wd-brand-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--space-4);
  position: relative;
  z-index: 1;
}

body.home .wd-brands[data-zz-carousel] .wd-brand-item img {
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

/* ===== 2) Layout Structure ===== */
.wd-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wd-page-content {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

body.home .container {
  max-width: 1320px;
}

/* ===== 3) Header & Navigation ===== */
.whb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  --zz-header-edge: rgba(66, 150, 255, 0.55);
  --zz-header-fade: clamp(220px, 20vw, 520px);
  background-color: #fff;
  background-image:
    linear-gradient(
      90deg,
      var(--zz-header-edge) 0,
      rgba(255, 255, 255, 1) var(--zz-header-fade),
      rgba(255, 255, 255, 1) calc(100% - var(--zz-header-fade)),
      var(--zz-header-edge) 100%
    );
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
}

/* Header logo: keep proportions, match header height */
.zz-site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: 360px;
  object-fit: contain;
}

.whb-header.whb-sticky-shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.whb-header.is-hidden {
  transform: translateY(-100%);
}

.whb-main-header {
  padding: 12px 0;
  background: transparent;
}

.whb-header .whb-row,
.whb-header .whb-general-header,
.whb-header .whb-general-header-inner {
  background: transparent;
}

.whb-general-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.whb-col-left {
  flex: 0 0 auto;
}

.site-logo img {
  height: auto;
}

/* Main Nav */
.whb-col-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.wd-header-main-nav .menu {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.wd-header-main-nav .menu-item {
  position: relative;
}

.wd-header-main-nav .menu-item > a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.wd-header-main-nav .menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4296FF 0%, #2563EB 100%);
  transition: width 0.3s ease;
}

.wd-header-main-nav .menu-item > a:hover::after,
.wd-header-main-nav .menu-item:hover > a::after {
  width: 100%;
}

.wd-header-main-nav .menu-item > a i {
  font-size: 12px;
}

/* Dropdown menu */
.menu-item-has-children {
  position: relative;
}

.wd-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.menu-item-has-children:hover .wd-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wd-dropdown-menu li {
  list-style: none;
}

.wd-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}

.wd-dropdown-menu li a::after {
  display: none;
}

.wd-dropdown-menu li a:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

/* Header Tools (search/wishlist/cart/account) */
.whb-col-right {
  flex: 0 0 auto;
}

.zz-header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.wd-tools-element {
  position: relative;
}

.wd-tools-element a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-500);
  transition: var(--transition);
  min-height: 44px;
}

.wd-tools-element a:hover {
  color: var(--accent);
}

.wd-tools-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gray-100);
  transition: var(--transition);
  position: relative;
}

@media (max-width: 768px) {
  .wd-tools-icon {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
}

.wd-tools-element:hover .wd-tools-icon {
  background: var(--color-gray-200);
}

.zz-h-ico {
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
}

.wd-tools-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1.4;
}

.wd-cart-number span {
  display: none;
}

.wd-header-my-account .wd-tools-text {
  display: none;
}

@media (min-width: 992px) {
  .wd-header-my-account .wd-tools-text {
    display: block;
  }
}

/* Body padding for fixed header */
body {
  --zz-header-offset: 72px;
  --zz-category-navbar-offset: 56px;
  --zz-header-stack-offset: calc(var(--zz-header-offset) + var(--zz-category-navbar-offset));
  padding-top: var(--zz-header-stack-offset);
}

body.home {
  padding-top: var(--zz-header-stack-offset);
}

/* Mobile menu */
.whb-hidden-lg {
  display: none;
}

@media (max-width: 991px) {
  .zz-site-logo {
    max-height: 40px;
    max-width: min(70vw, 240px);
  }

  .whb-visible-lg {
    display: none !important;
  }
  
  .whb-hidden-lg {
    display: block;
  }

  .whb-general-header-inner {
    gap: var(--space-3);
  }

  .whb-main-header {
    padding: var(--space-3) 0;
  }

  .site-logo img {
    height: auto;
  }

  body {
    --zz-header-offset: 64px;
    --zz-category-navbar-offset: 52px;
    --zz-header-stack-offset: calc(var(--zz-header-offset) + var(--zz-category-navbar-offset));
    padding-top: var(--zz-header-stack-offset);
  }
  
  body.home {
    padding-top: var(--zz-header-stack-offset);
  }
  
  .zz-category-navbar {
    top: var(--zz-header-offset);
    padding: var(--space-2) 0;
  }
  
  .zz-header-tools {
    gap: var(--space-2);
  }
}

/* ===== 3.5) Category Navigation Bar ===== */
.zz-category-navbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: fixed;
  top: var(--zz-header-offset);
  left: 0;
  right: 0;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.zz-category-navbar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.zz-category-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 0;
}

.zz-category-navbar__inner::-webkit-scrollbar {
  display: none;
}

.zz-category-navbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: var(--transition);
}

.zz-category-navbar__item:hover {
  background: linear-gradient(135deg, #4296FF 0%, #2563EB 100%);
  color: #fff;
  border-color: #4296FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 150, 255, 0.35);
}

.zz-category-navbar__item i {
  font-size: 18px;
}

/* Offcanvas mobile menu */
.zz-offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.zz-offcanvas[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.zz-offcanvas__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.zz-offcanvas__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 90%;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.zz-offcanvas[aria-hidden="false"] .zz-offcanvas__panel {
  transform: translateX(0);
}

.zz-offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.zz-offcanvas__close {
  font-size: 14px;
  color: var(--text-muted);
}

.zz-offcanvas__nav {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zz-offcanvas__nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.zz-offcanvas__nav a:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

.zz-offcanvas__nav hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

/* ===== 4) Main Content ===== */
.wd-page-content {
  padding-top: 32px;
  padding-bottom: 48px;
}

body.home .wd-page-content {
  padding-top: 0;
}

.entry-content {
  width: 100%;
}

.wd-section {
  margin-bottom: var(--space-12);
}

/* Category showcase directly under header */
.zz-category-showcase {
  margin-top: 0 !important;
  padding-top: 24px !important;
  margin-bottom: 32px !important;
}

/* ===== 5) Info Box Carousel (Kategoriler) ===== */
.info-box-carousel-wrapper {
  margin-top: 0;
  margin-bottom: 0;
}

.info-box-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

@media (min-width: 768px) {
  .info-box-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .info-box-carousel {
    grid-template-columns: repeat(5, 1fr);
  }
}

.wd-info-box {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.wd-info-box:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.info-box-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(66, 150, 255, 0.1);
  border-radius: 12px;
  transition: var(--transition);
}

.wd-info-box:hover .info-box-icon {
  background: linear-gradient(135deg, #4296FF 0%, #2563EB 100%);
}

.wd-info-box:hover .info-box-icon i {
  color: #fff !important;
}

.info-box-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.info-box-inner p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.wd-info-box-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Carousel navigation arrows */
.wd-nav-arrows {
  display: none;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .wd-nav-arrows {
    display: flex;
  }
}

.wd-btn-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.wd-btn-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.wd-arrow-inner {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.wd-btn-arrow.wd-prev .wd-arrow-inner {
  transform: rotate(135deg);
}

.wd-btn-arrow.wd-next .wd-arrow-inner {
  transform: rotate(-45deg);
}

/* ===== 6) Hero / Banner ===== */
.zz-hero {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

/* Homepage hero (top slider image) should never overflow vertically */
.zz-home-hero {
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  height: clamp(240px, 34vw, 520px);
}

.zz-home-hero > img,
.zz-home-hero img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.zz-home-hero .zz-img-placeholder {
  height: 100% !important;
}

.zz-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.zz-hero-content {
  position: absolute;
  top: 50%;
  left: 48px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 500px;
}

.zz-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.zz-hero-text {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
}

.zz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #4296FF 0%, #2563EB 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.zz-btn:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 150, 255, 0.4);
}

@media (max-width: 767px) {
  .zz-hero-content {
    left: 24px;
  }
  
  .zz-hero-title {
    font-size: 28px;
  }
  
  .zz-hero-text {
    font-size: 16px;
  }

  .zz-home-hero {
    height: clamp(200px, 56vw, 360px);
    border-radius: 14px;
  }
}

/* ===== 7) Product Grid & Cards ===== */
.zz-products-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.zz-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.zz-product-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.zz-product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--accent);
}

/* Product Image */
.zz-product-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-secondary);
}

.zz-product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.zz-product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.zz-product-card:hover .zz-product-card__image-wrapper img {
  transform: scale(1.08);
}

.zz-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Product Actions (Hover Buttons) */
.zz-product-card__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.zz-product-card:hover .zz-product-card__actions {
  opacity: 1;
  transform: translateX(0);
}

.zz-product-card__actions form {
  margin: 0;
}

.zz-product-card__action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  backdrop-filter: blur(8px);
}

.zz-product-card__action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

/* Product Info */
.zz-product-card__info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.zz-product-card__category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.zz-product-card__category:hover {
  color: var(--accent);
}

.zz-product-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.zz-product-card__title a {
  color: var(--primary);
  transition: var(--transition);
}

.zz-product-card__title a:hover {
  color: var(--accent);
}

/* Product Footer (Price + Cart) */
.zz-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.zz-product-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.zz-product-card__currency {
  font-size: 16px;
  font-weight: 600;
}

.zz-product-card__footer form {
  margin: 0;
}

.zz-product-card__cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4296FF 0%, #2563EB 100%);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.zz-product-card__cart-btn:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(66, 150, 255, 0.4);
}

/* Old product card styles - kept for compatibility */
.zz-product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-secondary);
}

.zz-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zz-product-card:hover .zz-product-image img {
  transform: scale(1.05);
}

.zz-product-info {
  padding: 20px;
}

.zz-product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.zz-product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.zz-product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.zz-product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.zz-product-card:hover .zz-product-actions {
  opacity: 1;
  transform: translateX(0);
}

.zz-product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.zz-product-action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== 8) Alerts ===== */
.zz-alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  border-left: 4px solid;
}

.zz-alert--success {
  background: #d1fae5;
  border-color: #059669;
  color: #065f46;
}

.zz-alert--danger {
  background: #fee2e2;
  border-color: #dc2626;
  color: #991b1b;
}

.zz-alert--warning {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

/* ===== 8.5) Section Headers & Featured Grid ===== */
.zz-featured-products-section {
  margin-bottom: var(--space-8);
}

.zz-section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.zz-section-subtitle {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4296FF;
  margin-bottom: var(--space-3);
}

.zz-section-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.zz-section-description {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.zz-button {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
}

.zz-button--primary {
  background: linear-gradient(135deg, #4296FF 0%, #2563EB 100%);
  color: var(--color-white);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(66, 150, 255, 0.3);
}

.zz-button--primary:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Featured Categories Grid */
.zz-featured-categories {
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}

.zz-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  grid-template-areas: 
    'big top'
    'big bottom';
}

.zz-featured-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.zz-featured-item--large {
  grid-area: big;
  min-height: 480px;
}

.zz-featured-item--small {
  min-height: 230px;
}

.zz-featured-item:nth-child(2) {
  grid-area: top;
}

.zz-featured-item:nth-child(3) {
  grid-area: bottom;
}

.zz-featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.zz-featured-item:hover img {
  transform: scale(1.05);
}

.zz-featured-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  z-index: 1;
  transition: var(--transition);
}

.zz-featured-item:hover .zz-featured-item__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.zz-featured-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  color: white;
  z-index: 2;
}

.zz-featured-item--small .zz-featured-item__content {
  padding: 24px;
}

.zz-featured-item__content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
  letter-spacing: -0.3px;
  transition: var(--transition);
}

.zz-featured-item--small .zz-featured-item__content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.zz-featured-item__cta {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255,255,255,0.95);
  color: #333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-transform: uppercase;
  transition: var(--transition);
}

.zz-featured-item--small .zz-featured-item__cta {
  padding: 8px 20px;
  font-size: 11px;
}

.zz-featured-item:hover .zz-featured-item__cta {
  background: linear-gradient(135deg, #4296FF 0%, #2563EB 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(66, 150, 255, 0.4);
}

/* ===== 9) Footer ===== */
.wd-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: auto;
}

.wd-footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.wd-footer-widget h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary);
}

.wd-footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wd-footer-widget ul li {
  margin-bottom: 10px;
}

.wd-footer-widget ul li a {
  font-size: 14px;
  color: var(--text-muted);
}

.wd-footer-widget ul li a:hover {
  color: var(--accent);
}

.wd-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.wd-footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

/* Instagram floating CTA */
.zz-instagram-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  max-width: 56px;
  overflow: hidden;
}

.zz-instagram-cta:hover {
  max-width: 300px;
  padding-right: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
  color: #fff;
}

.zz-instagram-cta svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: #fff;
}

.zz-instagram-cta span {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}

.zz-instagram-cta:hover span {
  opacity: 1;
  color: #fff;
}

/* ===== 10) Utilities ===== */
.text-center {
  text-align: center;
}

.reset-last-child > *:last-child {
  margin-bottom: 0;
}

.zz-img-placeholder {
  background: var(--bg-secondary);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
}

.zz-img-placeholder--45 {
  width: 45px;
  height: 45px;
}

/* AOS Animation override */
[data-aos] {
  transition-duration: 600ms !important;
}

/* ===== 11) Responsive Adjustments ===== */
@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .wd-section {
    margin-bottom: 32px;
  }
  
  .zz-products-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .zz-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  
  .zz-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  
  .zz-product-card__info {
    padding: 12px;
  }
  
  .zz-product-card__title {
    font-size: 13px;
  }
  
  .zz-product-card__price {
    font-size: 16px;
  }
  
  .zz-product-card__cart-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .zz-product-card__action-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .zz-product-info {
    padding: 14px;
  }
  
  .zz-product-name {
    font-size: 14px;
  }
  
  .zz-product-price {
    font-size: 16px;
  }
  
  .zz-instagram-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .zz-category-navbar {
    top: 60px;
  }
  
  .zz-category-navbar__inner {
    justify-content: flex-start;
    padding: 10px 0;
  }
  
  .zz-category-navbar__item {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .zz-category-navbar__item i {
    font-size: 16px;
  }
  
  .zz-section-title {
    font-size: 28px;
  }
  
  .zz-section-description {
    font-size: 14px;
  }
  
  .zz-featured-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      'big'
      'top'
      'bottom';
  }
  
  .zz-featured-item--large {
    min-height: 320px;
  }
  
  .zz-featured-item--small {
    min-height: 220px;
  }
  
  .zz-featured-item__content {
    padding: 24px;
  }
  
  .zz-featured-item--small .zz-featured-item__content {
    padding: 20px;
  }
  
  .zz-featured-item__content h3 {
    font-size: 20px;
  }
  
  .zz-featured-item--small .zz-featured-item__content h3 {
    font-size: 18px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ================================================================================
   COMPONENT LIBRARY & UTILITY CLASSES
   ================================================================================ */

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Variants */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-accent:hover:not(:disabled) {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gray-700);
  border-color: var(--color-gray-300);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-gray-50);
  border-color: var(--color-gray-400);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gray-700);
  border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--color-gray-100);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-icon {
  padding: var(--space-3);
  aspect-ratio: 1;
}

.btn-block {
  width: 100%;
}

/* ===== Cards ===== */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: var(--transition-fast);
}

.card-hover:hover {
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-6);
}

.card-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-gray-200);
  margin: var(--space-6) calc(var(--space-6) * -1) calc(var(--space-6) * -1);
}

/* ===== Badges & Tags ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.badge-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.badge-success {
  background: var(--color-success-light);
  color: var(--color-success);
}

.badge-error {
  background: var(--color-error-light);
  color: var(--color-error);
}

.badge-warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.badge-info {
  background: var(--color-info-light);
  color: var(--color-info);
}

/* ===== Alerts ===== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--text-sm);
  line-height: 1.5;
  position: relative;
}

.alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.alert-dismiss {
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  transition: opacity var(--transition);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-dismiss:hover {
  opacity: 1;
}

/* Alert Variants */
.alert-success {
  background: var(--color-success-light);
  border-color: var(--color-success);
  color: var(--color-success);
}

.alert-error {
  background: var(--color-error-light);
  border-color: var(--color-error);
  color: var(--color-error);
}

.alert-warning {
  background: var(--color-warning-light);
  border-color: var(--color-warning);
  color: var(--color-warning);
}

.alert-info {
  background: var(--color-info-light);
  border-color: var(--color-info);
  color: var(--color-info);
}

.alert-neutral {
  background: var(--color-gray-100);
  border-color: var(--color-gray-300);
  color: var(--color-gray-700);
}

/* ===== Loading States ===== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-gray-200) 25%,
    var(--color-gray-100) 50%,
    var(--color-gray-200) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-2);
}

.skeleton-title {
  height: 1.5em;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
}

.skeleton-button {
  height: 40px;
  width: 100px;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Spinner Variants */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gray-200);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spinner-spin 0.6s linear infinite;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-md {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.spinner-primary {
  border-top-color: var(--color-primary);
}

.spinner-success {
  border-top-color: var(--color-success);
}

.spinner-white {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

@keyframes spinner-spin {
  to { transform: rotate(360deg); }
}

/* Pulse Loading */
.pulse {
  animation: pulse-animation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== Focus States ===== */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #4296FF;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(66, 150, 255, 0.3);
}

/* ===== Form Elements ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text);
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius);
  transition: var(--transition-fast);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
  border-color: var(--color-gray-400);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-accent);
  outline: none;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="tel"]:disabled,
input[type="number"]:disabled,
input[type="search"]:disabled,
input[type="url"]:disabled,
textarea:disabled,
select:disabled {
  background: var(--color-gray-100);
  cursor: not-allowed;
  opacity: 0.6;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Form Labels */
label {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  color: var(--text);
}

/* Form Groups */
.form-group {
  margin-bottom: var(--space-5);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

.form-help {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

/* ===== Image Containers ===== */
.aspect-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.aspect-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.aspect-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.img-wrapper {
  position: relative;
  background: var(--color-gray-100);
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Utility Classes ===== */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }
.text-warning { color: var(--color-warning); }
.text-muted { color: var(--color-gray-500); }

.bg-white { background: var(--color-white); }
.bg-gray-50 { background: var(--color-gray-50); }
.bg-gray-100 { background: var(--color-gray-100); }

/* Spacing utilities */
.m-0 { margin: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

.p-0 { padding: 0; }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Border utilities */
.border { border: 1px solid var(--color-gray-200); }
.border-0 { border: none; }
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow utilities */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ===== Responsive Touch Targets ===== */
@media (max-width: 768px) {
  .btn,
  .wd-tools-icon,
  button {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== Animations & Transitions ===== */

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-10px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(10px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Animation Utility Classes */
.animate-fade-in { animation: fadeIn var(--transition) ease-out; }
.animate-fade-out { animation: fadeOut var(--transition) ease-out; }
.animate-slide-up { animation: slideUp var(--transition) ease-out; }
.animate-slide-down { animation: slideDown var(--transition) ease-out; }
.animate-slide-in-left { animation: slideInLeft var(--transition) ease-out; }
.animate-slide-in-right { animation: slideInRight var(--transition) ease-out; }
.animate-scale-in { animation: scaleIn var(--transition) ease-out; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s ease-in-out infinite; }

/* Transition Utilities */
.transition-all { transition: all var(--transition); }
.transition-colors { transition: color var(--transition), background-color var(--transition), border-color var(--transition); }
.transition-transform { transition: transform var(--transition); }
.transition-opacity { transition: opacity var(--transition); }

/* Hover Effects */
.hover-lift { transition: transform var(--transition), box-shadow var(--transition); }
.hover-lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hover-scale { transition: transform var(--transition); }
.hover-scale:hover { transform: scale(1.05); }

.hover-opacity { transition: opacity var(--transition); }
.hover-opacity:hover { opacity: 0.8; }

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .animate-pulse,
  .animate-spin,
  .animate-bounce {
    animation: none !important;
  }
}

/* ===== SEARCH - Icon + gizli input ===== */
.zz-search-wrapper {
  position: relative;
}

/* ===== HESABIM (Account) layout ===== */
.zz-hesabim-page {
  padding: 28px 0;
}

.zz-hesabim-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.zz-hesabim-sidebar {
  position: sticky;
  top: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.zz-hesabim-user {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.zz-hesabim-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.zz-hesabim-user-info strong {
  display: block;
  font-size: 14px;
  color: #111;
}

.zz-hesabim-user-info span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  word-break: break-word;
}

.zz-hesabim-nav {
  display: flex;
  flex-direction: column;
}

.zz-hesabim-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.zz-hesabim-nav-item:last-child {
  border-bottom: none;
}

.zz-hesabim-nav-item.active {
  background: rgba(66, 150, 255, 0.08);
}

.zz-hesabim-nav-logout {
  color: #b91c1c;
}

.zz-hesabim-content {
  min-width: 0;
}

.zz-hesabim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.zz-hesabim-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #111;
}

.zz-form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #111;
  background: #fff;
}

.zz-form-input:focus {
  outline: none;
  border-color: rgba(66, 150, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(66, 150, 255, 0.12);
}

.zz-form-input:disabled {
  background: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.zz-form-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #9ca3af;
}

.zz-page-hint {
  margin: -6px 0 14px;
  color: #6b7280;
  font-size: 14px;
}

.zz-profil-form {
  max-width: 720px;
}

.zz-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.zz-form-group {
  margin-bottom: 12px;
}

.zz-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.zz-form-actions {
  margin-top: 14px;
}

.zz-btn--outline {
  background: transparent;
  color: #4296FF;
  border: 1px solid rgba(66, 150, 255, 0.55);
}

.zz-btn--outline:hover {
  background: rgba(66, 150, 255, 0.10);
  box-shadow: none;
}

.zz-btn--ghost {
  background: transparent;
  color: #111;
  border: 1px solid #e5e7eb;
}

.zz-btn--ghost:hover {
  background: #f9fafb;
  transform: none;
  box-shadow: none;
}

.zz-btn--danger {
  background: #dc2626;
  color: #fff;
}

.zz-btn--danger:hover {
  background: #b91c1c;
}

.zz-btn--sm {
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.2px;
  text-transform: none;
  transform: none;
}

.zz-btn--sm:hover {
  transform: none;
}

.zz-empty-state {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
}

.zz-empty-state i {
  font-size: 40px;
  color: #d1d5db;
}

.zz-empty-state h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.zz-empty-state p {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 14px;
}

.zz-siparis-list {
  display: grid;
  gap: 12px;
}

.zz-siparis-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.zz-siparis-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.zz-siparis-info {
  display: grid;
  gap: 4px;
}

.zz-siparis-no {
  font-weight: 800;
  color: #111;
}

.zz-siparis-tarih {
  font-size: 13px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zz-siparis-durum {
  align-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid;
  white-space: nowrap;
}

.zz-durum-success { background: #d1fae5; border-color: #059669; color: #065f46; }
.zz-durum-info { background: #dbeafe; border-color: #2563eb; color: #1e40af; }
.zz-durum-warning { background: #fef3c7; border-color: #f59e0b; color: #92400e; }
.zz-durum-danger { background: #fee2e2; border-color: #dc2626; color: #991b1b; }
.zz-durum-completed { background: #ede9fe; border-color: #7c3aed; color: #5b21b6; }

.zz-siparis-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 16px;
}

.zz-siparis-adres strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #111;
}

.zz-siparis-adres p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.zz-siparis-tutar {
  text-align: right;
}

.zz-siparis-tutar strong {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.zz-siparis-fiyat {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.zz-siparis-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
}

.zz-siparis-kargo {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #111;
  font-size: 13px;
}

.zz-adres-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zz-adres-form-inline {
  margin: 0;
}

@media (max-width: 640px) {
  .zz-siparis-body {
    grid-template-columns: 1fr;
  }
  .zz-siparis-tutar {
    text-align: left;
  }
}

.zz-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px;
}

.zz-card__header {
  margin-bottom: 14px;
}

.zz-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.zz-card__hint {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

.zz-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zz-dashboard-card {
  display: block;
  padding: 14px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.zz-dashboard-card:hover {
  border-color: rgba(66, 150, 255, 0.55);
  box-shadow: 0 8px 25px rgba(66, 150, 255, 0.12);
}

.zz-dashboard-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.zz-dashboard-card__desc {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.zz-order-lookup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.zz-empty-inline {
  padding: 14px;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  color: #6b7280;
  font-size: 14px;
}

.zz-orders-mini {
  display: grid;
  gap: 8px;
}

.zz-orders-mini__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.zz-orders-mini__no {
  font-weight: 700;
  color: #111;
}

.zz-orders-mini__meta {
  color: #6b7280;
  font-size: 13px;
}

.zz-orders-mini__price {
  font-weight: 700;
  color: #111;
}

.zz-auth-cta {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.zz-auth-cta__title {
  font-weight: 800;
  color: #111;
  font-size: 14px;
}

.zz-auth-cta__desc {
  margin-top: 4px;
  color: #6b7280;
  font-size: 13px;
}

.zz-auth-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .zz-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .zz-order-lookup-form {
    grid-template-columns: 1fr;
  }
  .zz-auth-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .zz-auth-cta__actions {
    justify-content: stretch;
  }

  .zz-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .zz-hesabim-wrapper {
    grid-template-columns: 1fr;
  }
  .zz-hesabim-sidebar {
    position: static;
  }
}

.zz-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.zz-search-trigger:focus {
  outline: none;
}

.zz-search-trigger:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.zz-search-wrapper .zz-search-box {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: width 220ms ease, opacity 160ms ease, visibility 0s linear 220ms;
}
.zz-search-wrapper.is-open .zz-search-box {
  width: var(--zz-search-open-width, 260px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: width 220ms ease, opacity 160ms ease;
}
.zz-search-box__input {
  width: 100%;
  height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}
.zz-search-box__input:focus {
  border-color: #a17c4f;
}
.zz-search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 999;
}
.zz-search-wrapper.is-open.has-results .zz-search-dropdown {
  display: block;
}
.zz-search-dropdown__loading,
.zz-search-dropdown__empty {
  padding: 16px;
  text-align: center;
  color: #888;
  font-size: 13px;
}
.zz-search-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 4px;
}
.zz-search-dropdown__item:hover {
  background: #f5f5f5;
}
.zz-search-dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
}
.zz-search-dropdown__img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.zz-search-dropdown__title {
  font-size: 13px;
  color: #333;
}
.zz-search-dropdown__price {
  font-size: 12px;
  color: #a17c4f;
  font-weight: 600;
}
.zz-search-dropdown__more {
  display: block;
  padding: 10px;
  text-align: center;
  color: #a17c4f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid #eee;
}
@media (max-width: 991px) {
  .zz-search-wrapper .zz-search-box,
  .zz-search-wrapper .zz-search-dropdown {
    display: none !important;
  }
}