/* ==========================================================================
   Şimşek Bags — B2B Leather Bag Catalog Stylesheet
   Single-file CSS: Design Tokens, Reset, Layout, Components, Utilities
   Mobile-First approach. No external dependencies.
   ========================================================================== */

/* ==========================================================================
   SECTION 1: Design Tokens (Custom Properties)
   ========================================================================== */
:root {
  /* --- Colors: Warm, muted leather palette --- */
  --color-bg:           #FAF8F5;  /* Off-white / warm ivory */
  --color-bg-alt:       #F2EDE6;  /* Slightly darker warm background */
  --color-surface:      #FFFFFF;  /* Card/component surface */
  --color-text:         #1A1714;  /* Near-black with warmth */
  --color-text-muted:   #6B6560;  /* Warm grey for secondary text */
  --color-text-light:   #9B9590;  /* Light grey for hints */
  --color-border:       #D9D3CB;  /* Warm light border */
  --color-border-hover: #B8B0A6;  /* Darker on hover */

  /* Accent: Cognac / Leather Brown */
  --color-accent:       #8B6914;  /* Cognac / warm leather gold */
  --color-accent-dark:  #6B4F0A;  /* Darker for hover states */
  --color-accent-light: #F5EDE0;  /* Light tint for backgrounds */

  /* WhatsApp & Telegram brand colors */
  --color-whatsapp:     #25D366;
  --color-whatsapp-dark:#128C7E;
  --color-telegram:     #0088CC;
  --color-telegram-dark:#006699;

  /* --- Typography: Elegant, readable system stack --- */
  --font-body:          system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading:       Georgia, 'Times New Roman', 'Noto Serif', serif;

  --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:  2rem;      /* 32px */
  --text-4xl:  2.5rem;    /* 40px */
  --text-5xl:  3.5rem;    /* 56px */

  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* --- Spacing Scale --- */
  --space-1: 0.25rem;   /* 4px  */
  --space-2: 0.5rem;    /* 8px  */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 5rem;     /* 80px */
  --space-16: 8rem;     /* 128px */

  /* --- Layout --- */
  --container-max: 1200px;
  --container-pad: var(--space-5);
  --header-height: 72px;

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ==========================================================================
   SECTION 2: Reset & Base Styles
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-accent-dark); }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip-to-content link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 10000;
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-2); }

/* Visually hidden (screen-reader only) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   SECTION 3: Layout (Container, Grid)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

main { min-height: 60vh; }

/* ==========================================================================
   SECTION 4: Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--color-text);
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

p { text-wrap: pretty; }

.lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 65ch;
}

/* ==========================================================================
   SECTION 5: Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-4);
}

/* Logo sizing: header logo larger for visibility, footer logo moderate */
.logo img { width: 240px; height: auto; }
.footer-col > img { width: 160px; height: auto; }

/* Desktop Navigation */
.main-nav { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-list a,
.nav-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-list a:hover,
.nav-link:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.nav-list a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
}

/* Dropdown */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.dropdown-toggle[aria-expanded="true"] { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  list-style: none;
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.has-dropdown:hover .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  font-size: var(--text-sm);
  text-transform: none;
  border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

/* Language Switcher */
.lang-switcher {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-switcher a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 999;
  background: var(--color-bg);
  padding: var(--space-6) var(--space-5);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-menu[hidden] { display: block; transform: translateX(100%); }
.mobile-menu.is-open { transform: translateX(0); }

.mobile-nav-list {
  list-style: none;
  margin-bottom: var(--space-8);
}

.mobile-nav-list li { margin-bottom: var(--space-1); }

.mobile-nav-list a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-list a[aria-current="page"] { color: var(--color-accent); }

.mobile-nav-list ul {
  list-style: none;
  padding-left: var(--space-5);
  margin-bottom: var(--space-3);
}

.mobile-nav-list ul a {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: none;
}

.mobile-lang-switcher {
  display: flex;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 2px solid var(--color-border);
}

.mobile-lang-switcher a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-muted);
}

.mobile-lang-switcher a:hover { color: var(--color-accent); }

/* ==========================================================================
   SECTION 6: Hero Section
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(26, 23, 20, 0.75) 0%,
    rgba(26, 23, 20, 0.4) 50%,
    rgba(26, 23, 20, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  padding: var(--space-8) var(--space-5);
  color: #fff;
}

.hero-content h1 {
  font-size: var(--text-4xl);
  color: #fff;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  opacity: 0.9;
  text-wrap: pretty;
}

/* ==========================================================================
   SECTION 7: Section Layouts
   ========================================================================== */
.section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.section-title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-intro {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* ==========================================================================
   SECTION 8: Category Grid
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.category-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.category-card-link { display: block; color: inherit; }
.category-card-link:hover { color: inherit; }

.category-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card-image img { transform: scale(1.05); }

.category-card-content {
  padding: var(--space-5);
}

.category-card-content h2,
.category-card-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.category-card-content p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   SECTION 9: USP Section
   ========================================================================== */
.section-usp { background: var(--color-bg-alt); }

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.usp-item {
  text-align: center;
  padding: var(--space-5);
}

.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50%;
}

.usp-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.usp-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   SECTION 10: CTA Section
   ========================================================================== */
.section-cta {
  background: var(--color-text);
  color: #fff;
  text-align: center;
}

.section-cta .section-title { color: #fff; }

.section-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-6);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.cta-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-hint {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* ==========================================================================
   SECTION 11: Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: #fff;
}

.btn-telegram {
  background: var(--color-telegram);
  color: #fff;
  border-color: var(--color-telegram);
}

.btn-telegram:hover {
  background: var(--color-telegram-dark);
  border-color: var(--color-telegram-dark);
  color: #fff;
}

.btn-text {
  background: none;
  color: var(--color-accent);
  padding: var(--space-2) 0;
  text-transform: none;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--color-accent-dark);
  background: none;
}

.btn-large {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

.btn-submit { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ==========================================================================
   SECTION 12: Breadcrumb
   ========================================================================== */
.breadcrumb {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-2);
  color: var(--color-border-hover);
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* ==========================================================================
   SECTION 13: Page Header
   ========================================================================== */
.page-header {
  padding-bottom: var(--space-8);
}

.page-header h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   SECTION 14: Product Grid (Category Pages)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
  padding-bottom: var(--space-10);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-card-link { display: block; color: inherit; }
.product-card-link:hover { color: inherit; }

.product-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-card-content {
  padding: var(--space-4);
}

.product-sku {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.product-card-content h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.product-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-10) var(--space-5);
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 15: Product Detail Page
   ========================================================================== */
.product-detail { padding-bottom: var(--space-10); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  min-width: 0;
}

.product-gallery-col,
.product-info-col {
  min-width: 0;
}

/* --- Gallery --- */
.product-gallery { margin: 0; }

.gallery-main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  margin-bottom: var(--space-3);
  width: 100%;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-fast);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
  display: block;
  width: 64px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  opacity: 0.7;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--color-accent);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Product Info --- */
.product-info-header {
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: var(--space-5);
}

.product-info-header h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  overflow-wrap: break-word;
}

.product-lead {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  overflow-wrap: break-word;
}

/* --- Specs Table --- */
.product-specs { margin-bottom: var(--space-8); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.specs-table th,
.specs-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  word-break: break-word;
  overflow-wrap: break-word;
  vertical-align: top;
}

.specs-table th {
  width: 40%;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
}

.specs-table tr:hover th,
.specs-table tr:hover td {
  background: var(--color-accent-light);
}

/* --- Product CTA --- */
.product-cta {
  background: var(--color-bg-alt);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.product-cta .btn {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* --- Product Nav --- */
.product-nav {
  padding-top: var(--space-4);
}

/* ==========================================================================
   SECTION 16: Contact Page
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
}

/* --- Contact Form --- */
.contact-form { max-width: 600px; }

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.required { color: #C0392B; margin-left: var(--space-1); }

.form-hint {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* --- Contact Info --- */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.contact-method:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
  color: var(--color-text);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.card-whatsapp .contact-icon { background: rgba(37, 211, 102, 0.1); color: var(--color-whatsapp); }
.card-telegram .contact-icon { background: rgba(0, 136, 204, 0.1); color: var(--color-telegram); }
.card-email .contact-icon { background: var(--color-accent-light); color: var(--color-accent); }

.contact-method-content {
  display: flex;
  flex-direction: column;
}

.contact-method-content strong {
  font-size: var(--text-base);
}

.contact-method-content span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Company Address */
.company-address {
  margin-bottom: var(--space-8);
}

.company-address h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.company-address address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Business Info */
.business-info h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.business-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.business-info dt {
  color: var(--color-text-muted);
  font-weight: 500;
}

.business-info dd {
  color: var(--color-text);
  font-weight: 600;
}

/* ==========================================================================
   SECTION 17: Footer
   ========================================================================== */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-10);
  padding-bottom: var(--space-6);
}

.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-col h2 {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: var(--space-2); }

.footer-col address {
  font-style: normal;
  line-height: var(--leading-relaxed);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: var(--text-sm);
}

.footer-lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-lang-switcher a {
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
}

.footer-minimal {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  text-align: center;
}

/* ==========================================================================
   SECTION 18: Error / 404 Page
   ========================================================================== */
.page-error { background: var(--color-bg); }

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: var(--space-10) var(--space-5);
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.error-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.error-categories .category-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  list-style: none;
}

.error-categories .category-shortcuts a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   SECTION 19: Language Selection Page
   ========================================================================== */
.page-lang-select { background: var(--color-bg); }

.lang-select-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-8);
}

.lang-select-container {
  text-align: center;
  max-width: 480px;
}

.lang-select-logo {
  margin-bottom: var(--space-8);
  display: flex;
  justify-content: center;
}

.lang-select-main h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.lang-select-subtitle {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.lang-select-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.btn-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
  transition: all var(--transition-base);
}

.btn-lang:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}

.lang-flag { font-size: var(--text-xl); }

.lang-select-hint {
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.lang-select-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: var(--space-4);
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 20: Tablet Breakpoint (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --container-pad: var(--space-6);
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-2xl); }

  .hero { min-height: 80vh; }
  .hero-content h1 { font-size: var(--text-5xl); }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumb {
    width: 100px;
    height: 125px;
  }

  .contact-layout {
    gap: var(--space-12);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .lang-select-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .error-nav ul {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==========================================================================
   SECTION 21: Desktop Breakpoint (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .lang-switcher { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero-content { padding: var(--space-12); }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-10);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .specs-table th { width: 45%; }
}

/* ==========================================================================
   SECTION 22: Print Styles
   ========================================================================== */
@media print {
  .site-header,
  .mobile-menu,
  .hero-overlay,
  .section-cta,
  .site-footer,
  .product-cta,
  .contact-methods,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  a { color: #000 !important; text-decoration: underline; }
}
