@import url("https://fonts.googleapis.com/css2?family=Oregano&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --cream: #fce2c2;
  --cream-soft: #fff6e8;
  --paper: #fffdf8;
  --beige: #dec8a9;
  --beige-dark: #c9b08a;
  --green-deep: #3d5536;
  --green: #4a6741;
  --green-mid: #5b7a4c;
  --green-soft: #8a9666;
  --orange: #ec7712;
  --orange-hover: #d5660c;
  --gold: #c36e00;
  --brown: #5e3700;
  --ink: #2c241c;
  --muted: #6b5a48;
  --line: #e8d3b0;
  --focus: #c45a00;
  --summer: #5d7344;
  --spring: #6a7f4e;
  --font-display: "Oregano", cursive;
  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 28px rgba(94, 55, 0, 0.1);
  --shadow-soft: 0 4px 14px rgba(94, 55, 0, 0.08);
  --header-h: 58px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.13rem;
  line-height: 1.25;
  color: var(--ink);
  background: var(--cream);
  min-height: 100dvh;
}

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

a {
  color: var(--brown);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.brand-bar {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #3a4f32;
  background-image: url("../img/brand-bar-meadow.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 100%;
}

.brand-slogan {
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-shadow:
    0 1px 0 #000,
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 0 12px rgba(0, 0, 0, 0.45);
}
.site-footer .brand-slogan{
 /* color: var(--green-deep);
  text-shadow: 5px 4px 2px #cacaca;
  font-weight: 700;*/
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #639450;
  border-bottom: 1px solid black;
  box-shadow: 0 2px 10px rgba(40, 50, 30, 0.25);
}

.karbantartas-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 79;
  padding: 0.45rem 1rem;
  background: #c62828;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 0 7px black;
}

.karbantartas-bar--preview {
  background: #2e7d32;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  background: linear-gradient(90deg, rgba(99, 148, 80, 1) 0%, rgba(74, 103, 65, 1) 10%, rgba(74, 103, 65, 1) 90%, rgba(99, 148, 80, 1) 100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffdd;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: #fff;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-toggle,
.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffdd;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}

.nav-toggle:hover,
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 359px) {
  .header-actions .js-open-search {
    display: none;
  }
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.nav-main {
  display: none;
}

.nav-main a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ffffdd;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-main a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #ffffdd;
}

.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
}

.drawer.is-open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 28, 0.45);
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: var(--cream-soft);
  overflow: auto;
  padding: 18px 16px 32px;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.drawer-head strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 400;
}

.drawer-close {
  color: var(--brown);
  background: var(--beige);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.drawer-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-deep);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 8px;
}

.drawer .season a {
  padding: 3px 16px;
  min-height: 0;
}

.drawer-nav a:hover,
.drawer-nav a[aria-current="page"] {
  background: var(--beige);
}

.layout {
  display: grid;
  gap: 16px;
  padding: 16px 0 40px;
}

.panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(222, 200, 169, 0.7);
}

.sidebar-shop,
.sidebar-account {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.headbox {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.55rem;
  text-align: center;
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  margin: 8px 12px;
  padding: 4px 0;
  letter-spacing: 0.04em;
}

.season {
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.season-summer {
  background:var(--orange);
}

.season-spring {
  background:#759D53;
}

.season h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0;
  padding: 10px 16px 6px;
}
.season.season-summer h2{
  background:linear-gradient(180deg, #DA6111, #d18756, #a5382b);
}
.season.season-spring h2{
  background:linear-gradient(180deg, #396415, #759D53, #1e350b);
}
.season ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.season a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 16px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.22rem;
  border-radius: 6px;
}

.season a:hover,
.season a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.season-note {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 8px 10px 2px;
}

.search-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 24px;
  box-shadow: 0 0 8px rgba(68, 68, 68, 0.28);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  margin: 8px 8px 0;
}

.search-pill:hover {
  background: var(--orange);
  color: #fff;
}

.account-box,
.order-box,
.calc-box {
  margin: 0 8px 10px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  padding: 12px 12px 14px;
}

.account-box label {
  display: block;
  font-size: 0.85rem;
  margin: 6px 0 3px;
}

.account-box input {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  font: inherit;
  text-align: center;
  background: #fff8ee;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 150ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-block {
  width: 100%;
}

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

.btn-primary:hover {
  background: #ff8000;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #f7c495;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-paper {
  background: var(--cream-soft);
  color: var(--brown);
  border-color: var(--beige);
}

.btn-paper:hover {
  background: #fff;
  color: var(--orange);
}

.account-actions {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.order-box {
  background: transparent;
  color: inherit;
  padding: 0 4px 8px;
}

.order-box a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px;
  color: var(--brown);
  text-decoration: none;
  border-radius: 6px;
}

.order-box a:hover {
  background: var(--cream);
  color: var(--orange);
}

.info-links {
  display: grid;
  gap: 2px;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.info-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px;
  color: var(--brown);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.info-links a:hover {
  background: var(--cream);
  color: var(--orange);
}

/* 980–1119: jobb aside rejtve → bal shop alá */
.shop-info-links {
  display: none;
}

.drawer-info-links {
  margin: 0 0 1rem;
  padding: 0.35rem 0 0.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.drawer-info-links a {
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.drawer-info-links a:hover {
  background: var(--beige);
  color: var(--orange);
}

.calc-box label {
  display: block;
  margin: 8px 0 4px;
  font-size: 0.92rem;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.calc-box input {
  width: 72px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  text-align: center;
  font: inherit;
  font-weight: 600;
}

.calc-result {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
}

.content {
  padding: 0 0 8px;
  min-width: 0;
}

.page-title {
  margin: 0;
  padding: 22px 24px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
  color: var(--gold);
}

.lead {
  text-align: center;
  color: var(--muted);
  margin: 0 24px 18px;
}

/* Admin nyitóoldal (extra/nyitooldal) – egyszerű tipográfia a nyers HTML-hez */
.admin-content {
  padding: 8px 24px 28px;
  font-size: 1.125rem;
  line-height: inherit;
  color: var(--ink);
}

.admin-content hr {
  border: 0;
  border-top: 1px solid var(--line, rgba(94, 55, 0, 0.14));
  margin: 1rem 0;
}

.admin-content a {
  color: var(--orange-deep, #d58000);
}

.admin-content a.btn-primary,
.admin-content a.btn-primary:hover {
  color: #fff;
}

.admin-content a.btn-ghost,
.admin-content a.btn-ghost:hover {
  color: #fff;
}

.admin-content h1:not(.shop-list-title):not(.product-name) {
  margin: 0;
  padding: 22px 24px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
  color: var(--gold);
}

.admin-content h2,
.admin-content h3 {
  margin: 0.5rem 0 0.75rem;
  text-align: center;
  color: var(--orange-deep, #d58000);
  font-family: var(--font-display);
  font-weight: 400;
}

.admin-content table {
  margin-inline: auto;
  max-width: 100%;
  width: 100% !important;
  border-collapse: collapse;
}

.admin-content img {
  max-width: 100%;
  height: auto;
}

/* Régi inc tartalom – táblák → olvasható, reszponzív main */
.legacy-content {
  padding-bottom: 28px;
}

.legacy-content > table {
  display: block;
  margin-bottom: 1.25rem;
}

.legacy-content > table > tbody {
  display: block;
}

.legacy-content > table > tbody > tr {
  display: block;
}

.legacy-content > table > tbody > tr > td {
  display: block;
  width: 100% !important;
  padding: 0.35rem 0;
  background: transparent !important;
}

.legacy-content p {
  text-align: left;
  margin: 0.55rem 0;
  line-height: 1.55;
}

.legacy-content .page-title {
  text-align: center;
}

/*
 * Belső (nested) táblák: maradjanak valódi táblák,
 * hogy a kép + felirat oszlopok ne csússzanak szét (lap=4 stb.).
 */
.legacy-content table table {
  display: table;
  width: 100% !important;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0.75rem 0.35rem;
  margin: 0.5rem 0 1rem;
}

.legacy-content table table tbody {
  display: table-row-group;
}

.legacy-content table table tr {
  display: table-row;
}

.legacy-content table table td {
  display: table-cell;
  width: auto !important;
  vertical-align: top;
  text-align: center;
  padding: 0.35rem 0.25rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.legacy-content table table td img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.35rem;
  border: 1px solid rgba(94, 55, 0, 0.2);
  border-radius: 6px;
}

/* lap=2 TOC: 2. külső tábla = linklista, maradjon 3 oszlopos tábla */
.legacy-content > table:nth-of-type(2) {
  display: table;
  width: 100% !important;
  table-layout: fixed;
  margin: 1rem 0 1.5rem;
}

.legacy-content > table:nth-of-type(2) > tbody {
  display: table-row-group;
}

.legacy-content > table:nth-of-type(2) > tbody > tr {
  display: table-row;
}

.legacy-content > table:nth-of-type(2) > tbody > tr > td {
  display: table-cell;
  width: 33.33% !important;
  padding: 0.25rem 0.4rem;
  text-align: left;
}

.legacy-content a.ilink,
.legacy-content a.linklink {
  color: var(--orange-deep, #d58000);
}

.legacy-content ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.legacy-content li {
  margin: 0.35rem 0;
}

.legacy-content hr {
  border: 0;
  border-top: 1px solid rgba(94, 55, 0, 0.14);
  margin: 1.25rem 0;
}

@media (max-width: 640px) {
  /* Nested képtáblák maradjanak táblák (kép+felirat oszlopban együtt) */
  .legacy-content table table {
    border-spacing: 0.4rem 0.25rem;
  }

  .legacy-content > table:nth-of-type(2),
  .legacy-content > table:nth-of-type(2) > tbody,
  .legacy-content > table:nth-of-type(2) > tbody > tr,
  .legacy-content > table:nth-of-type(2) > tbody > tr > td {
    display: block;
    width: 100% !important;
  }
}

.intro {
  padding: 8px 22px 22px;
}

.intro p {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.grid-cards {
  display: grid;
  gap: 12px;
  padding: 0 16px 20px;
}

.info-card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.info-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--gold);
}

.info-card h2 svg {
  flex-shrink: 0;
  color: var(--orange);
}

.info-card p,
.info-card li {
  color: var(--ink);
  font-size: 0.98rem;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

.banner-season {
  margin: 0 16px 16px;
  padding: 18px 18px 16px;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(236, 119, 18, 0.12), rgba(74, 103, 65, 0.16)),
    var(--cream-soft);
  border: 1px solid var(--beige);
}

.banner-season h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--orange);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #ffffdd;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.perk-grid {
  display: grid;
  gap: 10px;
}

.perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.perk strong {
  display: block;
  color: var(--gold);
  margin-bottom: 4px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 8px;
}

.trust-item {
  text-align: center;
  padding: 12px 8px;
  background: var(--green);
  color: #ffffdd;
  border-radius: 10px;
}

.trust-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.trust-item span {
  font-size: 0.78rem;
}

.videos {
  display: grid;
  gap: 12px;
  padding: 0 16px 20px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-note {
  padding: 0 22px 24px;
  color: var(--muted);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 1rem;
  padding: 16px 20px 0;
  color: #fff;
  font-size: 0.92rem;
}

.crumb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  background: linear-gradient(90deg, rgba(99, 148, 80, 1) 0%, rgba(74, 103, 65, 1) 10%, rgba(74, 103, 65, 1) 90%, rgba(99, 148, 80, 1) 100%);
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  color: #ffffdd;
}

.crumb a {
  color: #ffffdd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumb a:hover {
  color: #fff;
}

/* ——— Shop terméklista ——— */
.admin-content:has(.shop-list) {
  padding: 0 0 1rem;
}

.shop-list {
  padding: 0 0 1.25rem;
}

.shop-crumb {
  padding: 0.75rem 0.85rem 0;
}

.shop-list-title {
  margin: 0.85rem 0.85rem 0.5rem;
  padding: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.2;
}

.shop-legal {
  margin: 0 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
  text-align: center;
}

.shop-alert {
  margin: 0 0.85rem 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0 0.65rem 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.product-tile {
  margin: 0;
  background: #c9c39a;
  border: 1px solid rgba(61, 85, 54, 0.18);
}

.product-tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-tile-link:hover {
  color: inherit;
}

.product-tile-media {
  padding: 0;
}

.product-tile-media img {
  width: 100%;
  aspect-ratio: 150 / 170;
  object-fit: cover;
  border: 1px solid #1a1a1a;
  background: #d5cfa8;
  display: block;
}

.product-tile-media img.is-missing {
  object-fit: none;
  background:
    linear-gradient(135deg, rgba(94, 55, 0, 0.08), rgba(61, 85, 54, 0.12)),
    #d5cfa8;
  min-height: 12rem;
}

.product-tile-name {
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(0.92rem, 2.6vw, 1.02rem);
  line-height: 1.25;
  text-align: center;
  padding: 0.55rem 0.45rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-tile-link:hover .product-tile-name {
  background: var(--orange-hover);
  color: #fff;
}

.product-tile-status {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.4rem 0.35rem;
  background: #e0e0e0;
  color: var(--ink);
}

.product-tile.is-available .product-tile-status {
  background: #66cc00;
  color: #16300a;
}

.product-tile-family {
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.35;
  padding: 0.55rem 0.45rem 0.65rem;
  background: #c9c39a;
  color: var(--ink);
}

.product-tile-family span {
  font-weight: 600;
}

@media (min-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    padding-inline: 0.85rem;
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .product-tile-name {
    min-height: 3rem;
  }
}

.admin-content:has(.shop-product),
.admin-content:has(.shop-search),
.admin-content:has(.cms-page) {
  padding: 0 0 1rem;
}

.cms-page {
  padding: 0 0 1.25rem;
}

.cms-content {
  padding: 0.5rem 0.85rem 1rem;
}

.cms-content .cms-block {
  margin: 0 0 1rem;
}

.cms-content .cms-block p,
.cms-content p {
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0;
}

.photo-grid--2,
.photo-grid {
  list-style: none;
}

@media (min-width: 520px) {
  .photo-grid,
  .photo-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cms-block--figure,
.cms-block--center {
  text-align: center;
}

.cms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
}

.cms-row > .cms-block {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
}

/* Hagymás növények TOC – tömör 3 oszlop (régi táblás kinézet) */
.cms-toc--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  column-gap: 1.25rem;
  row-gap: 0.1rem;
  margin: 0.35rem 0 0.85rem;
  line-height: 1.35;
}

.cms-toc--3 a {
  display: block;
  font-weight: 700;
  text-decoration: none;
}

.cms-toc--3 a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .cms-toc--3 {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
    row-gap: 0.2rem;
  }
}

.cms-block--figure iframe,
.cms-block--figure img {
  max-width: 100%;
}

.cms-contact-row {
  margin: 0 0 0.35rem;
}

.cms-contact-row .cms-label {
  display: inline-block;
  min-width: 5.5rem;
}

.cms-fig-label {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.photo-card {
  margin: 0;
  background: var(--cream-soft);
  border: 1px solid var(--line);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 250 / 214;
  object-fit: cover;
  background: #d5cfa8;
}

.photo-card figcaption {
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: center;
  color: var(--ink);
}

.cms-content img {
  max-width: 100%;
  height: auto;
}

/* ÁSZF / Adatkezelés: csak az h1 legyen display + színes; h2/h3 törzsként, de tagoltan */
.cms-page--legal .cms-legal h2,
.cms-page--legal .cms-legal h3,
.cms-page--legal .admin-content h2,
.cms-page--legal .admin-content h3 {
  margin: 1.5rem 0 0.55rem;
  padding: 0.35rem 0 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  border-top: 1px solid var(--line);
}

.cms-page--legal .cms-legal h3,
.cms-page--legal .admin-content h3 {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
  font-size: 1rem;
  font-weight: 600;
}

.cms-page--legal .cms-legal p,
.cms-page--legal .cms-legal li {
  font-family: var(--font-body);
  color: var(--ink);
  text-align: left;
}

.cms-page--legal .cms-legal ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.25rem;
}

.cms-page--legal .cms-legal li {
  margin: 0.35rem 0;
}

/* Megrendelés menete: képek középre */
.cms-page--order .cms-content img,
.cms-page--order .cms-block img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.cms-page--order .cms-block {
  text-align: center;
}

.cms-page--order .cms-block p {
  text-align: justify;
}

.cms-reviews--plain {
  line-height: 1.6;
}

.cms-reviews--plain hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.1rem 0;
}

.cms-page--home .cms-reviews--plain {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.5rem 0.25rem 1rem;
}

.contact-form {
  margin: 1rem 0 1.75rem;
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-grid {
  display: grid;
  gap: 0.85rem;
}

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

.contact-row {
  margin: 0;
}

.contact-row label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.contact-row input,
.contact-row textarea,
.contact-row select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-row input:focus,
.contact-row textarea:focus,
.contact-row select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(236, 119, 18, 0.18);
}

.contact-row input[readonly] {
  background: #f3eee6;
  color: var(--muted);
}

.account-form {
  max-width: 44rem;
}

.account-form--narrow {
  max-width: 28rem;
}

.account-form-section {
  padding: 0.85rem 0 0.35rem;
  border-top: 1px solid var(--line);
}

.account-form-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-form-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--green-deep);
}

.account-form-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.account-form-heading-row .account-form-heading {
  margin: 0;
}

.account-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.account-check input {
  width: auto;
  height: auto;
}

.account-modal-form .contact-row {
  margin-bottom: 0.75rem;
}

.account-modal-form .contact-row label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.account-modal-form .contact-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--paper);
}

.account-box--logged {
  text-align: center;
}

.account-logged-label {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.account-logged-email {
  margin: 0 0 0.5rem;
  font-weight: 700;
  word-break: break-word;
}

@media (min-width: 640px) {
  .contact-grid--3 {
    grid-template-columns: minmax(5.5rem, 7rem) 1fr 1fr;
  }

  .contact-row--span2 {
    grid-column: span 2;
  }
}

.contact-row textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-hint {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.contact-actions .btn {
  min-width: 8.5rem;
  padding: 0.7rem 1.25rem;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-flash {
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
}

.contact-flash--ok {
  background: #e7f5e8;
  border: 1px solid #9ccc9f;
  color: var(--green-deep);
}

.contact-flash--err {
  background: #fdeceb;
  border: 1px solid #e6a5a0;
}

.contact-flash--err ul {
  margin: 0;
  padding-left: 1.1rem;
}

.cms-page--contact .cms-block {
  margin-bottom: 0.35rem;
}

.cms-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.cms-content table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
}

@media (max-width: 640px) {
  .cms-content table,
  .cms-content tbody,
  .cms-content tr,
  .cms-content td {
    display: block;
    width: 100% !important;
  }
}

.shop-product,
.shop-search {
  padding: 0 0 1.25rem;
}

.search-form {
  margin: 0 0.85rem 1rem;
  padding: 1rem;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.search-field {
  display: grid;
  gap: 0.3rem;
}

.search-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brown);
}

.search-field select,
.search-field input[type="text"] {
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.search-field--full {
  grid-column: 1 / -1;
}

.search-actions {
  display: flex;
  justify-content: stretch;
  padding-top: 0.25rem;
  grid-column: 1 / -1;
}

.search-actions .btn-primary {
  width: 100%;
  min-width: 0;
}

.search-count {
  margin: 0 0.85rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.search-count-range {
  font-weight: 400;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.85rem 0.85rem;
  padding: 0.35rem 0;
}

.pager-btn,
.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brown);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.pager-btn:hover,
.pager-num:hover {
  background: var(--cream-soft);
  color: var(--orange);
}

.pager-num.is-current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pager-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.pager-gap {
  padding: 0 0.15rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .search-form {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .search-actions {
    grid-column: 1 / -1;
  }
}

.product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.85rem 0.85rem 1.5rem;
}

.product-head {
  text-align: center;
}

.product-name {
  margin: 0 0 0.65rem;
  padding: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.15;
}

.product-family-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.55rem 1rem;
  background: #e7f0d8;
  color: #355226;
  border-radius: 99px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.product-family-label {
  font-weight: 400;
}

.product-family-value {
  font-weight: 700;
}

.product-hero {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.product-media {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
}

.product-media button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #d5cfa8;
}

.product-media img.is-missing {
  min-height: 14rem;
  object-fit: none;
}

.product-buy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}

.price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e7f0d8;
  color: #355226;
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4d7c32;
}

.status-soldout {
  background: #ececec;
  color: #555;
}

.status-soldout::before {
  background: #999;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 0.25rem 0 0;
  overflow: hidden;
  border-radius: 8px;
}

.specs th,
.specs td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.specs th {
  width: 42%;
  color: var(--gold);
  font-weight: 700;
  background: #f7ead3;
}

.specs td {
  background: #fff8dc;
}

.specs tr:last-child th,
.specs tr:last-child td {
  border-bottom: 0;
}

.buy-bar {
  display: grid;
  gap: 10px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty label {
  font-weight: 600;
}

.qty-ctrl {
  display: inline-flex;
  border: 1px solid var(--beige);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty-ctrl button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--cream);
  color: var(--brown);
  font-size: 1.2rem;
  cursor: pointer;
}

.qty-ctrl input {
  width: 56px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
}

.min-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.cart-form {
  margin: 0.75rem 0 1.25rem;
}

.cart-list,
.order-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.cart-card {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.cart-card:last-child {
  border-bottom: 0;
}

.cart-card--total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--cream-soft);
  font-size: 1.05rem;
  font-weight: 600;
}

.cart-product-link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.cart-product-link:hover {
  color: var(--orange);
}

.cart-product-link img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--cream);
  flex-shrink: 0;
}

.cart-product-link img.is-missing {
  opacity: 0.35;
}

.cart-card-title {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.cart-meta,
.cart-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.cart-card-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 0.65rem;
}

.cart-card-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.cart-price {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.cart-line,
.cart-total {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cart-total {
  font-weight: 700;
  color: var(--orange);
}

.cart-note {
  margin: 0.85rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cart-actions .btn {
  flex: 1 1 auto;
  min-width: 8.5rem;
}

.cart-extras {
  margin: 1.35rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.cart-extras-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange-deep, #d58000);
  text-align: left;
}

.cart-discount-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.cart-discount-list li {
  margin: 0 0 0.55rem;
}

.cart-info-html {
  font-size: 0.95rem;
  line-height: 1.45;
}

.cart-info-html p {
  margin: 0 0 0.65rem;
}

.order-summary-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-summary-item {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.order-summary-name {
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.order-summary-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.order-summary-meta span {
  color: var(--muted);
}

.order-summary-totals {
  margin: 0;
  padding: 0;
  background: var(--cream-soft);
}

.order-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.order-summary-row:last-child {
  border-bottom: 0;
}

.order-summary-row dt,
.order-summary-row dd {
  margin: 0;
}

.order-summary-row dt {
  flex: 1;
  min-width: 0;
}

.order-summary-row dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.order-summary-row--pay {
  align-items: center;
}

.order-summary-row--pay select {
  width: min(100%, 12.5rem);
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--paper);
}

.order-summary-row--grand {
  align-items: center;
}

.order-summary-row--grand .cart-total {
  font-size: 1.1rem;
}

.checkout-form {
  max-width: 48rem;
  width: 100%;
  box-sizing: border-box;
}

.checkout-pay-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
}

.checkout-terms {
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}

.checkout-terms a {
  color: var(--orange);
}

.cart-actions .btn:disabled,
.cart-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .admin-content[data-route="cart"],
  .admin-content[data-route="checkout"] {
    padding: 6px 0 20px;
  }

  .cms-page--cart .page-title,
  .cms-page--checkout .page-title {
    margin: 0.35rem 0 0.75rem;
    font-size: 1.55rem;
  }

  .cms-page--checkout .checkout-form.contact-form {
    margin: 0.5rem 0 1rem;
    padding: 0.8rem 0.7rem 1rem;
  }

  .cart-card,
  .order-summary-item,
  .order-summary-row {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .cart-product-link img {
    width: 56px;
    height: 56px;
  }

  .cart-actions .btn {
    min-width: 0;
    flex: 1 1 calc(50% - 0.4rem);
  }

  .order-summary-row--pay {
    flex-direction: column;
    align-items: stretch;
  }

  .order-summary-row--pay select {
    width: 100%;
    max-width: none;
  }
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-actions .btn-primary {
  width: 100%;
  justify-content: center;
}

.product-back {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.25rem;
}

.product-back .btn-paper {
  text-align: center;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(20, 16, 12, 0.82);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: min(88vh, 720px);
  max-width: 100%;
  border-radius: 8px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 130;
  background: var(--green-deep);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.is-on {
  transform: none;
  opacity: 1;
}

.site-footer {
  background-color: #3a4f32;
    background-image: url(../img/brand-bar-meadow.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    padding: 22px 16px 28px;
    margin-top: auto;
    border-top: 3px solid var(--green);
}

.site-footer p,
.site-footer .footer-meta {
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 0 7px black;
}

.site-footer .footer-copy,
.site-footer .footer-sep {
  color: #fff;
  text-shadow: 0 0 7px black;
}

.site-footer a,
.site-footer .footer-elallas {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 7px black;
}

.site-footer .footer-elallas {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer .footer-elallas:hover {
  color: #fff;
  text-decoration: underline;
  text-shadow: 0 0 7px black;
}

.footer-bloom {
  width: min(620px, 100%);
  height: 48px;
  margin: 8px auto 0;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 110;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 28, 0.5);
}

.modal-card {
  position: relative;
  width: min(92vw, 420px);
  margin: 10vh auto 0;
  background: var(--paper);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--gold);
}

.desktop-shop,
.desktop-account {
  display: none;
}

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

  .perk-grid {
    grid-template-columns: 1fr 1fr;
  }

  .videos {
    grid-template-columns: 1fr 1fr;
  }

  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

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

  .logo-text span {
    display: none;
  }

  .nav-main {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
  }

  .layout {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }

  .desktop-shop {
    display: flex;
  }

  .shop-info-links {
    display: grid;
  }

  .header-actions .js-open-search {
    display: none;
  }
}

@media (min-width: 1120px) {
  .layout {
    grid-template-columns: 220px minmax(0, 1fr) 220px;
  }

  .desktop-account {
    display: flex;
  }

  .shop-info-links {
    display: none;
  }

  /* kosár ikon marad a headerben; fiók/bejelentkezés a jobb sávban */
  .header-actions .header-account-btn {
    display: none;
  }
}

.account-actions form {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .toast {
    transition: none;
  }
}
