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

:root {
  --cream: #faf8f5;
  --beige: #f2ede6;
  --warm-gray: #e8e2d9;
  --mid-gray: #b8b0a4;
  --text-dark: #1a1714;
  --text-mid: #5c564e;
  --text-light: #9c9289;
  --lego-red: #e3000b;
  --lego-yellow: #f5c400;
  --lego-blue: #006cb7;
  --accent: #e3000b;
  --card-shadow: 0 2px 20px rgba(26, 23, 20, 0.07);
  --card-shadow-hover: 0 12px 40px rgba(26, 23, 20, 0.14);

  /* Admin Compatibility */
  --accent-color: var(--lego-red);
  --accent-hover: #b30009;
  --card-bg: white;
  --text-color: var(--text-dark);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --shadow-hover: var(--card-shadow-hover);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  height: 72px;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 176, 164, 0.25);
  transition: background 0.3s;
}

.nav-logo {
  justify-self: start;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-logo span {
  color: var(--lego-red);
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--lego-red);
}

/* Language Switcher */
.lang-switcher {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 0.8rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(184, 176, 164, 0.3);
}

.lang-btn {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 2px solid transparent;
  outline: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-light);
  transition: all 0.2s;
  opacity: 0.5;
}

.lang-btn.active {
  opacity: 1;
  color: var(--text-dark);
  border-color: var(--warm-gray);
  background: white;
  transform: scale(1.05);
}

.lang-btn:hover {
  opacity: 1;
  color: var(--text-dark);
}

.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-dark);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 40px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.nav-cart:hover {
  background: var(--lego-red);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      #fff9e6 0%,
      #ffe8e8 25%,
      #e8f0ff 55%,
      #fff3d6 80%,
      #fce8ff 100%);
  z-index: 0;
}

/* Decorative LEGO studs pattern */
.hero-studs {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  background-image: radial-gradient(circle, #1a1714 1.5px, transparent 1.5px);
  background-size: 32px 32px;
}

/* Floating colored bricks */
.brick {
  position: absolute;
  border-radius: 6px;
  z-index: 2;
  animation: float linear infinite;
}

.brick::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 7px;
  border-radius: 4px;
  background: inherit;
  filter: brightness(1.1);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(4deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 780px;
  padding: 0 2rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lego-red);
  margin-bottom: 1.25rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(227, 0, 11, 0.25);
  border-radius: 40px;
  background: rgba(227, 0, 11, 0.05);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title em {
  font-style: italic;
  color: var(--lego-red);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  animation: heroIn 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--lego-red);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(227, 0, 11, 0.3);
  animation: heroIn 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(227, 0, 11, 0.4);
}

.hero-cta svg {
  transition: transform 0.2s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 1.2s 0.8s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--mid-gray), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}

/* ─── CATALOG SECTION ─── */
#catalog {
  padding: 7rem 5vw 5rem;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--lego-red);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* SIDEBAR */
.sidebar {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--warm-gray);
  /* position: fixed; */
  top: 90px;
}

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-group-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

/* Price range */
.price-inputs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.price-inputs input[type="number"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.5rem;
  border: 1px solid var(--warm-gray);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.price-inputs input::-webkit-inner-spin-button,
.price-inputs input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.price-inputs input:focus {
  border-color: var(--lego-red);
}

.price-sep {
  color: var(--mid-gray);
  font-size: 0.8rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--warm-gray);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--lego-red);
  box-shadow: 0 1px 6px rgba(227, 0, 11, 0.25);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Checkboxes */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--lego-red);
  cursor: pointer;
  border-radius: 4px;
}

.checkbox-item label {
  font-size: 0.85rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.15s;
}

.checkbox-item:hover label {
  color: var(--text-dark);
}

/* Discount toggle */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-wrap span {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.toggle {
  position: relative;
  width: 40px;
  height: 22px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: var(--warm-gray);
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.toggle input:checked~.toggle-slider {
  background: var(--lego-red);
}

.toggle input:checked~.toggle-slider::before {
  transform: translateX(18px);
}

.apply-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--text-dark);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.apply-btn:hover {
  background: var(--lego-red);
  transform: translateY(-1px);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--warm-gray);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--card-shadow-hover);
}

/* PAGINATION */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 100%;
  overflow: hidden;
  flex-wrap: nowrap;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  font-size: 0.9rem;
  color: var(--text-light);
  user-select: none;
  pointer-events: none;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-mid);
  background: white;
  border: 1px solid var(--warm-gray);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.page-btn:hover {
  border-color: var(--mid-gray);
  color: var(--text-dark);
}

.page-btn.active {
  background: var(--lego-red);
  color: white;
  border-color: #b5c49f;
}

.page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── PRODUCT DETAIL ─── */
.product-detail-container {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  background: var(--beige);
  border-radius: 24px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.main-detail-image {
  width: 100%;
  height: auto;
  display: block;
}

.product-content-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.back-btn:hover {
  color: var(--lego-red);
}

.detail-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lego-red);
}

.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-dark);
}

.detail-price-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.detail-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.detail-price.sale {
  color: var(--lego-red);
}

.original-price-detail {
  font-size: 1.5rem;
  color: var(--mid-gray);
  text-decoration: line-through;
}

.detail-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-top: 1rem;
}

.buy-now-btn {
  background: var(--text-dark);
  color: white;
  border: none;
  padding: 1.25rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
  margin-top: 1rem;
}

.buy-now-btn:hover {
  background: var(--lego-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 0, 11, 0.25);
}

@media (max-width: 900px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 80px;
  }

  .product-gallery {
    position: static;
  }

  .detail-title {
    font-size: 2.5rem;
  }
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  user-select: none;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--lego-red);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.card-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.35rem;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-original {
  font-size: 0.8rem;
  color: var(--mid-gray);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.price-current.discounted {
  color: var(--lego-red);
}

.card-add {
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem;
  background: var(--beige);
  border: 1px solid var(--warm-gray);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.card-add:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  font-size: 1rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--beige);
  border-top: 1px solid var(--warm-gray);
  padding: 4rem 5vw 3rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--lego-red);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.footer-tagline2 {
  font-size: 1rem;
  color: black;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--lego-red);
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 40px;
  border: 1px solid var(--warm-gray);
  background: white;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.social-link.tiktok:hover {
  border-color: #000;
  color: #000;
}

.social-link.insta:hover {
  border-color: #e1306c;
  color: #e1306c;
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.2);
}

.footer-divider {
  width: 48px;
  height: 1px;
  background: var(--warm-gray);
  margin: 2rem auto;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ─── RESPONSIVE ─── */

/* Ultra-wide: 4 columns for very large screens */
@media (min-width: 1600px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop: 3 columns (default) */
@media (max-width: 1599px) and (min-width: 1247px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Large tablet/small desktop: 2-3 columns */
@media (max-width: 1246px) and (min-width: 901px) {
  .nav-logo {
    font-weight: 900;
    font-size: 1.3rem !important;
    letter-spacing: 0.04em;
  }

  .sidebar {
    max-width: 80%;
  }

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

  .catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1rem;
    align-items: start;
  }
}

/* Tablet: 2 columns */
@media (max-width: 900px) and (min-width: 601px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .nav-links {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}
/* Mobile: 2 columns */
@media (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    height: 56px;
  }

  .nav-logo {
    font-size: clamp(0.75rem, 3.5vw, 1rem) !important;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65vw;
  }

  .lang-switcher {
    grid-column: unset;
    justify-self: unset;
    padding-left: 0.5rem;
    border-left: none;
    flex-shrink: 0;
    gap: 0.4rem;
  }

  .lang-btn {
    font-size: 0.65rem;
    padding: 3px 6px;
  }

  .nav-links {
    display: none;
  }

  .catalog-layout {
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 1.5rem;
  }

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

  .product-card {
    border-radius: 12px;
  }

  .hero-cta {
    padding: 0.85rem 1.75rem;
    font-size: 0.82rem;
  }

  .social-links {
    flex-direction: column;
  }
}