/* ==========================================================================
   Két Molnár Kereskedelmi Kft. - Stíluslap (Mobile-First)
   Természetes, kézműves tapéta- és lakberendezési szaküzlet arculat
   ========================================================================== */

:root {
  /* Világos téma (meleg vászon, agyag, természetes papír tónusok) */
  --bg-page: #fbf9f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f3eee6;
  --bg-surface-alt: #eae3d5;
  
  --text-main: #22252a;
  --text-muted: #5e646e;
  --text-soft: #858d99;
  
  --primary: #b85d38; /* Meleg terrakotta / tégla */
  --primary-hover: #9e4a27;
  --primary-subtle: #f9ede7;
  --primary-contrast: #ffffff;
  
  --secondary: #2d4a43; /* Mély erdei zöld / lakberendező zöld */
  --secondary-hover: #213833;
  --secondary-subtle: #e8f0ed;
  --secondary-contrast: #ffffff;

  --accent-gold: #c28833;
  --accent-gold-subtle: #fcf4e8;

  --border-color: #e5ded3;
  --border-subtle: #efeae1;
  --border-strong: #c8beae;

  --shadow-sm: 0 1px 3px rgba(34, 37, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(34, 37, 42, 0.07);
  --shadow-lg: 0 12px 28px rgba(34, 37, 42, 0.10);

  --status-open: #2e7d32;
  --status-open-bg: #e8f5e9;
  --status-closed: #b25e00;
  --status-closed-bg: #fff3e0;

  --font-heading: "Playfair Display", "Georgia", "Cambria", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --header-height: 64px;
  --mobile-bar-height: 62px;
  --container-max: 1140px;
}

[data-theme="dark"] {
  /* Sötét téma (mély antracit, meleg eszpresszó, finom terrakotta és borostyán) */
  --bg-page: #131517;
  --bg-surface: #1b1e22;
  --bg-surface-elevated: #23272d;
  --bg-surface-subtle: #20242a;
  --bg-surface-alt: #2a3038;

  --text-main: #f0ece3;
  --text-muted: #abb3be;
  --text-soft: #7a828e;

  --primary: #d97745;
  --primary-hover: #e68d5e;
  --primary-subtle: rgba(217, 119, 69, 0.15);
  --primary-contrast: #ffffff;

  --secondary: #4a776c;
  --secondary-hover: #5d8e82;
  --secondary-subtle: rgba(74, 119, 108, 0.2);
  --secondary-contrast: #ffffff;

  --accent-gold: #dba24a;
  --accent-gold-subtle: rgba(219, 162, 74, 0.15);

  --border-color: #2b3038;
  --border-subtle: #22262c;
  --border-strong: #3f4652;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);

  --status-open: #4caf50;
  --status-open-bg: rgba(76, 175, 80, 0.15);
  --status-closed: #ffb74d;
  --status-closed-bg: rgba(255, 183, 77, 0.15);
}

/* --------------------------------------------------------------------------
   Alapbeállítások & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
  padding-bottom: var(--mobile-bar-height); /* Hely a mobil alsó sávnak */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-main);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Segédosztályok & Konténerek
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-center { text-align: center; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* --------------------------------------------------------------------------
   Gombok (Handcrafted Buttons)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 2px 6px rgba(184, 93, 56, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-contrast);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  background-color: var(--bg-surface);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-subtle);
}

.btn-light {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-light:hover {
  background-color: var(--bg-surface-subtle);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding: 0.85rem 1rem;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Fejléc & Navigáció
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background-color: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

.top-notice-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notice-contact-list {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.notice-contact-list a {
  color: var(--text-muted);
  font-weight: 500;
}

.notice-contact-list a:hover {
  color: var(--primary);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.25s ease;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.main-header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), #d98862);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(184, 93, 56, 0.3);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  /* text-transform removed for natural Hungarian typography */
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Asztali navigáció */
.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
  }

  .nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color 0.15s ease;
  }

  .nav-link:hover {
    color: var(--primary);
  }

  .nav-link.has-badge {
    position: relative;
  }

  .nav-badge-pill {
    background-color: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-full);
    margin-left: 0.25rem;
    vertical-align: middle;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Elegáns, modern témaváltó kapcsoló (Handcrafted Theme Toggle)
   -------------------------------------------------------------------------- */
.theme-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 9999px;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.theme-switch:hover {
  opacity: 0.92;
  transform: scale(1.03);
}

.theme-switch:active {
  transform: scale(0.97);
}

.theme-switch:focus-visible {
  box-shadow: 0 0 0 3px var(--primary);
}

.theme-switch-track {
  position: relative;
  width: 58px;
  height: 30px;
  background-color: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-strong);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.theme-icon-sun,
.theme-icon-moon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  z-index: 1;
  pointer-events: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.theme-icon-sun {
  color: #d97706; /* Meleg napocska */
  opacity: 0.95;
}

.theme-icon-moon {
  color: #858d99;
  opacity: 0.55;
}

/* A simán átcsúszó korong (Thumb) */
.theme-switch-thumb {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
}

/* Sötét mód állapot */
[data-theme="dark"] .theme-switch-thumb {
  transform: translateX(26px);
  background-color: #2a3038;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .theme-switch-track {
  background-color: #1e2227;
  border-color: #3f4652;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .theme-icon-sun {
  color: #71717a;
  opacity: 0.45;
}

[data-theme="dark"] .theme-icon-moon {
  color: #93c5fd;
  opacity: 0.95;
}

/* Mobil menü gomb */
.nav-toggle-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface-subtle);
  gap: 5px;
}

@media (min-width: 992px) {
  .nav-toggle-btn {
    display: none;
  }
}

.nav-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.2s ease;
}

/* Mobil Drawer menü */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background-color: var(--bg-surface);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.drawer-close-btn {
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 2rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-link:hover {
  color: var(--primary);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Élő Nyitvatartás Jelvény
   -------------------------------------------------------------------------- */
.live-shop-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  width: fit-content;
}

.live-shop-status.is-open {
  background-color: var(--status-open-bg);
  color: var(--status-open);
}

.live-shop-status.is-closed {
  background-color: var(--status-closed-bg);
  color: var(--status-closed);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   Kiemelt Szalag (Highlight Banner)
   -------------------------------------------------------------------------- */
.highlight-banner {
  background: linear-gradient(90deg, var(--primary), #c96e48);
  color: #fff;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  /* text-transform removed for natural Hungarian typography */
  letter-spacing: 0.05em;
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 240px;
}

.banner-content strong {
  font-size: 0.95rem;
}

.banner-content span {
  font-size: 0.82rem;
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   Hero Szekció (Kézműves bemutatkozás)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 2.5rem 0 3rem;
  background-color: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-section {
    padding: 4rem 0 4.5rem;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-badge-item .icon {
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-surface);
  background-color: var(--bg-surface);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-floating-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="dark"] .hero-card-floating-badge {
  background-color: rgba(27, 30, 34, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Szekció Fejlécek
   -------------------------------------------------------------------------- */
.section {
  padding: 3.5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section-alt {
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  /* text-transform removed for natural Hungarian typography */
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Termékkategóriák Kártyái (Kínálat)
   -------------------------------------------------------------------------- */
.category-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.cat-card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-surface-alt);
}

.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cat-card:hover .cat-card-img-wrap img {
  transform: scale(1.04);
}

.cat-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.cat-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cat-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cat-card-list {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cat-card-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-main);
}

.cat-card-list li::before {
  content: "✔";
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.75rem;
}

.cat-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-price-from {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Öntapadós Fólia Táblázat & Kalkulátor
   -------------------------------------------------------------------------- */
.foil-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .foil-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.foil-pricing-table-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.foil-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.foil-table th, .foil-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.foil-table th {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.8rem;
  /* text-transform removed for natural Hungarian typography */
  letter-spacing: 0.05em;
}

.foil-table .price-cell {
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  white-space: nowrap;
}

.foil-table tr.is-popular {
  background-color: var(--primary-subtle);
}

.foil-quick-calc {
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.foil-calc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 480px) {
  .foil-calc-row {
    grid-template-columns: 1fr 1fr;
  }
}

.foil-calc-total {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foil-calc-total strong {
  font-size: 1.3rem;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Hírek & Akciók Szekció (SPA Dinamikus Rész)
   -------------------------------------------------------------------------- */
.promo-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.promo-filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.promo-filter-btn:hover,
.promo-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.promotions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promotions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.promo-card-image-wrap {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

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

.promo-discount-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #d32f2f;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.promo-discount-tag-inline {
  background-color: #d32f2f;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.promo-category-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  /* text-transform removed for natural Hungarian typography */
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .promo-category-tag {
  background-color: rgba(27, 30, 34, 0.9);
  color: var(--text-main);
}

.promo-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.promo-badge {
  font-weight: 600;
  color: var(--accent-gold);
}

.promo-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.promo-card-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.promo-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Tapéta Tekercs Kalkulátor Szekció
   -------------------------------------------------------------------------- */
.calculator-card-wrap {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.85rem;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 480px) {
  .calculator-card-wrap {
    padding: 1.75rem;
  }
}

@media (min-width: 768px) {
  .calculator-card-wrap {
    padding: 2.5rem;
  }
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .calc-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-col-full {
    grid-column: span 2;
  }
}

.calc-col-full {
  width: 100%;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-word;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-soft);
  word-break: break-word;
}

.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select.form-control {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  display: block;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235e646e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  padding-right: 2.2rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

/* Kalkulátor Eredmény Kártya */
.calc-result-card {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-subtle);
  border: 2px dashed var(--primary);
}

.result-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.result-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.result-unit {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-advice-box {
  background-color: var(--accent-gold-subtle);
  border-left: 3px solid var(--accent-gold);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.calc-actions .btn {
  white-space: normal;
  text-align: center;
  flex: 1 1 200px;
}

/* --------------------------------------------------------------------------
   Tanácsok & Gyakori Kérdések Harmonika
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-main);
}

.faq-icon {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
  color: var(--primary);
  flex-shrink: 0;
  pointer-events: none;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   Kapcsolat & Elérhetőség
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-text-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-map-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.contact-map-image-wrap {
  aspect-ratio: 16 / 10;
  min-height: 280px;
  max-height: 380px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-surface-alt);
}

.contact-map-image-wrap img,
.contact-map-image-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.contact-map-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Lábléc (Footer)
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list a {
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.admin-secret-link {
  color: var(--text-soft);
  text-decoration: underline;
  font-size: 0.8rem;
}

.admin-secret-link:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Mobil Alsó Gyorsgombok (Sticky Mobile Bar)
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-bar-height);
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 800;
  padding: 0 0.5rem;
}

@media (min-width: 900px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  flex: 1;
  padding: 0.35rem 0;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.mobile-bar-btn:active,
.mobile-bar-btn:hover {
  color: var(--primary);
  background-color: var(--primary-subtle);
}

.mobile-bar-btn .btn-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-bar-btn.is-cta {
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  margin: 0 0.25rem;
}

.mobile-bar-btn.is-cta:active {
  background-color: var(--primary-hover);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Modál Ablak (Hír / Akció részletek)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  z-index: 2001;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--primary);
  background-color: var(--bg-surface-alt);
}

.modal-promo-header {
  margin-bottom: 1.25rem;
}

.modal-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal-promo-title {
  font-size: 1.5rem;
  line-height: 1.25;
}

.modal-promo-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  max-height: 320px;
}

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

.modal-promo-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.modal-promo-text p {
  margin-bottom: 0.85rem;
}

.cta-box {
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.cta-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.cta-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Toast Értesítések
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .toast-container {
    bottom: 2rem;
  }
}

.toast-msg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  animation: slide-in 0.25s ease forwards;
}

.toast-msg.toast-success {
  border-left: 4px solid #2e7d32;
}

.toast-msg.toast-danger {
  border-left: 4px solid #d32f2f;
}

.toast-msg.toast-info {
  border-left: 4px solid var(--primary);
}

.toast-msg.is-fadeout {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
