:root {
  --bg-color: #0f172a;
  --text-color: #e2e8f0;
  --primary-color: #38bdf8;
  --secondary-color: #818cf8;
  --card-bg: #1e293b;
  --border-color: #334155;
  --font-main: 'Inter', sans-serif;
  --container-width: 1200px;
  --spacing-unit: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--secondary-color);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  color: var(--primary-color);
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--primary-color);
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: 1rem;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-color);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s;
}

.language-toggle:hover {
  border-color: var(--primary-color);
  background-color: rgba(56, 189, 248, 0.1);
}

.language-toggle svg {
  transition: transform 0.2s;
}

.language-selector:hover .language-toggle svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  list-style: none;
  padding: 0.5rem 0;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.language-selector:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.language-menu li a:hover {
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--primary-color);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.25rem 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #0f172a;
}

.btn-secondary {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.product-image-wrapper {
  aspect-ratio: 1 / 1;
  background-color: #000;
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--border-color);
}

.product-info {
  padding: 1.5rem;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.product-title {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
  flex-shrink: 0;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Content Pages (Contact, Privacy) */
.content-page {
  max-width: 800px;
  margin: 2rem auto;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 3rem;
}

.content-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.content-header h1 {
  font-size: 2.5rem;
  color: #fff;
  margin: 0;
}

.content-body {
  line-height: 1.8;
  color: #cbd5e1;
}

.content-body h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-body h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-body p {
  margin-bottom: 1rem;
}

.content-body ul,
.content-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

.content-body a {
  color: var(--primary-color);
  text-decoration: underline;
}

.content-body a:hover {
  color: var(--secondary-color);
}

.content-body strong {
  color: #fff;
  font-weight: 700;
}

.content-body code {
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.product-gallery img {
  width: 100%;
  border-radius: 1rem;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.thumbnail {
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.thumbnail:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.product-title-large {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-price-large {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  display: block;
  margin-bottom: 2rem;
}

.product-description {
  color: #94a3b8;
  margin-bottom: 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  line-height: 1;
  border-radius: 50%;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background-color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary-color);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
}

.cookie-banner-link {
  color: var(--primary-color);
  text-decoration: underline;
  margin-left: 0.5rem;
}

.cookie-banner-accept {
  background-color: var(--primary-color);
  color: #0f172a;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.cookie-banner-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  color: #64748b;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

  /* Header */
  .site-header {
    padding: 0.75rem 0;
  }

  .site-header .container {
    gap: 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .main-nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .language-toggle {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  /* Hero */
  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Product Grid */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .product-info {
    padding: 1rem;
  }

  .product-title {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1rem;
  }

  /* Product Detail */
  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .product-title-large {
    font-size: 1.75rem;
  }

  .product-price-large {
    font-size: 1.5rem;
  }

  .thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  /* Lightbox */
  .lightbox-content {
    max-width: 95%;
    max-height: 90%;
    padding: 1rem;
  }

  .lightbox-image {
    max-height: 60vh;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    padding: 0.5rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-counter {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Buttons */
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Content Pages */
  .content-page {
    padding: 2rem 1.5rem;
    margin: 1rem auto;
  }

  .content-header h1 {
    font-size: 1.75rem;
  }

  .content-body h2 {
    font-size: 1.5rem;
  }

  .content-body h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {

  /* Extra small screens */
  .main-nav ul {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

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

  .product-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .product-title {
    white-space: normal;
    overflow: visible;
  }

  .product-title-large {
    font-size: 1.5rem;
  }

  .product-price-large {
    font-size: 1.25rem;
  }

  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .product-actions .btn {
    width: 100%;
  }
}
.arrow-down {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #333;
    margin: 20px auto;
}