*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1b2241; --navy2: #242c52; --gold: #c89a1a; --gold2: #e6b520;
  --gold-bg: #fdf3d0; --red: #d93025; --white: #ffffff; --gray: #f5f4ef;
  --text: #1a1a2e; --muted: #6b6b7a; --border: #e0ddd5; --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.10); --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.top-bar { background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 500; padding: 8px 0; }
.top-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.top-bar-item { display: flex; align-items: center; gap: 6px; opacity: .9; }
.top-bar-item svg { flex-shrink: 0; }

header { background: var(--navy2); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-wrap img { height: 52px; width: 52px; object-fit: contain; border-radius: 8px; background: white; padding: 2px; }
.logo-name { color: var(--white); font-size: 1.15rem; font-weight: 800; line-height: 1.2; letter-spacing: .02em; }
.logo-name span { color: var(--gold2); }

.search-bar { flex: 1; max-width: 580px; position: relative; }
.search-bar input { width: 100%; padding: 10px 44px 10px 16px; border-radius: 8px; border: none; font-size: .9rem; font-family: inherit; outline: none; background: rgba(255,255,255,.12); color: var(--white); }
.search-bar input::placeholder { color: rgba(255,255,255,.55); }
.search-bar button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: rgba(255,255,255,.7); }

header nav { margin-left: auto; display: flex; gap: 4px; }
header nav a { color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: background .2s, color .2s; }
header nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
header nav a.active { background: var(--gold); color: var(--white); }

.cart-btn { display: flex; align-items: center; gap: 8px; background: var(--gold); color: var(--white); border: none; border-radius: 8px; padding: 9px 18px; font-size: .88rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .2s, box-shadow .2s; flex-shrink: 0; }
.cart-btn:hover { background: var(--gold2); }
/* зелёный пульс при наличии товаров */
@keyframes cartPulse {
  0%   { background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
  50%  { background: #22c55e; box-shadow: 0 0 0 7px rgba(34,197,94,.0); }
  100% { background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.0); }
}
.cart-btn.cart-has-items { animation: cartPulse 2.4s ease-in-out infinite; }
.cart-btn.cart-has-items:hover { animation: none; background: #15803d; }

.hero { position: relative; min-height: 88vh; overflow: hidden; padding-bottom: 60px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,20,50,.82) 0%, rgba(15,20,50,.42) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; max-width: 1280px; margin: 0 auto; padding: 80px 24px 60px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,154,26,.2); border: 1px solid var(--gold); color: var(--gold2); border-radius: 100px; padding: 5px 14px; font-size: .8rem; font-weight: 600; margin-bottom: 20px; width: fit-content; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: var(--white); line-height: 1.15; max-width: 640px; margin-bottom: 18px; }
.hero h1 span { color: var(--gold2); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 500px; margin-bottom: 24px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.btn-primary { background: var(--gold); color: var(--white); border: none; border-radius: 10px; padding: 13px 28px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s, transform .15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); border-radius: 10px; padding: 11px 24px; font-size: .95rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: border-color .2s, background .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.hero-stats { position: relative; z-index: 10; max-width: 1280px; margin: -40px auto 64px; padding: 0 24px; display: flex; gap: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,.14); border-radius: 14px; padding: 18px 24px; text-align: center; min-width: 130px; flex: 1; }
.stat-card .num { font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.stat-card .lbl { font-size: .75rem; color: var(--muted); margin-top: 4px; font-weight: 500; }


.section { padding: 72px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin-bottom: 40px; }
.dash { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 12px 0 16px; }

.categories { background: var(--gray); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,20,50,.85) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.cat-overlay h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.cat-overlay p { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 14px; }
.cat-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--white); border-radius: 8px; padding: 8px 16px; font-size: .82rem; font-weight: 700; width: fit-content; transition: background .2s; }
.cat-btn:hover { background: var(--gold2); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-img-wrap { height: 220px; overflow: hidden; position: relative; background: #ffffff; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.price-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: var(--white); border-radius: 100px; padding: 4px 12px; font-size: .82rem; font-weight: 700; }
.product-body { padding: 18px 20px 22px; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.product-name { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.wish-btn { background: none; border: none; cursor: pointer; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.old-price { font-size: .8rem; color: var(--muted); text-decoration: line-through; margin-bottom: 2px; }
.tiered-label { font-size: .75rem; color: var(--muted); margin-bottom: 14px; }
.tiered-label a { color: var(--gold); font-weight: 600; }
.select-wrap { margin-bottom: 14px; }
.select-wrap label { font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; display: block; }
.select-wrap select { width: 100%; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); font-family: inherit; font-size: .85rem; background: var(--white); cursor: pointer; outline: none; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-ctrl button { width: 34px; height: 36px; border: none; background: #f0ede5; font-size: 1.1rem; cursor: pointer; font-family: inherit; transition: background .15s; }
.qty-ctrl button:hover { background: #e0dcd0; }
.qty-ctrl span { width: 36px; text-align: center; font-weight: 600; font-size: .9rem; }
.add-btn { flex: 1; background: var(--gold); color: var(--white); border: none; border-radius: 8px; padding: 10px 12px; font-size: .88rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.add-btn:hover { background: var(--gold2); }
.mehr-link { font-size: .78rem; color: #3a7bd5; font-weight: 500; display: block; margin-top: 6px; }

.about { background: var(--gray); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-stack { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary { position: absolute; bottom: -24px; right: -24px; width: 180px; border-radius: var(--radius); overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow-lg); }
.about-img-secondary img { width: 100%; height: 130px; object-fit: cover; }
.about-text .section-title { margin-bottom: 0; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-checklist { list-style: none; margin: 20px 0 28px; }
.about-checklist li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; }
.about-checklist li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; flex-shrink: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 16px; }
.gallery-grid .g-item { border-radius: var(--radius); overflow: hidden; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-grid .g-item:hover img { transform: scale(1.05); }
.gallery-grid .g-item:first-child { grid-row: 1 / 3; }
.gallery-grid .g-item:first-child img { height: 100%; }
.gallery-grid .g-item:not(:first-child) img { height: 200px; }

.cta-section { background: var(--navy); position: relative; overflow: hidden; padding: 80px 0; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .15; }
.cta-content { position: relative; z-index: 2; text-align: center; color: var(--white); }
.cta-content .section-label { color: var(--gold2); }
.cta-content .section-title { color: var(--white); margin-bottom: 14px; }
.cta-content p { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h5 { font-size: .82rem; color: var(--muted); font-weight: 500; }
.contact-item p { font-size: .95rem; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); font-family: inherit; font-size: .9rem; outline: none; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { height: 120px; resize: vertical; }

footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.payment-logos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-badge { background: rgba(255,255,255,.12); border-radius: 6px; padding: 5px 10px; font-size: .75rem; font-weight: 600; color: var(--white); }
.footer-col h5 { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-col a { display: block; font-size: .84rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
.checkout-form { max-width: 500px; display: flex; flex-direction: column; gap: 14px; }
.checkout-form input, .checkout-form textarea { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); font-family: inherit; font-size: .9rem; }
.empty-cart { text-align: center; padding: 60px 20px; color: var(--muted); }


/* ===== ÜBER EUGEN ===== */
.eugen-section { background: var(--white); padding: 80px 0; }
.eugen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eugen-photo-wrap { position: relative; }

/* Eugen heading visibility toggle */
.eugen-mobile-heading { display: none; }
.eugen-desktop-heading { display: block; }

/* Compact 2×2 photo grid */
.eugen-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 16px; overflow: hidden; }
.eugen-photo-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.eugen-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.eugen-photo-item:hover img { transform: scale(1.06); }
.eugen-photo-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0); color: transparent; font-size: 1.4rem; transition: background .2s, color .2s; pointer-events: none; }
.eugen-photo-item:hover .eugen-photo-overlay { background: rgba(0,0,0,.32); color: #fff; }
.eugen-photo-caption { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }

/* About text */
.eugen-para { color: var(--muted); line-height: 1.7; margin-bottom: 16px; font-size: .97rem; }
.eugen-quote { font-size: 1.15rem; color: var(--muted); font-style: italic; line-height: 1.7; border-left: 3px solid var(--gold); padding-left: 20px; margin: 20px 0 28px; }

/* ===== WARUM UNS VERTRAUEN ===== */
.trust-section { background: var(--navy); padding: 72px 0; }
.trust-section .section-label { color: var(--gold2); }
.trust-section .section-title { color: var(--white); }
.trust-section .dash { background: var(--gold2); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.trust-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 28px 24px; color: var(--white); transition: background .2s; }
.trust-card:hover { background: rgba(255,255,255,.12); }
.trust-card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(200,154,26,.2); color: var(--gold2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.trust-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ===== SO FUNKTIONIERT ===== */
.process-section { background: var(--gray); padding: 72px 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: calc(12.5% + 28px); right: calc(12.5% + 28px); height: 2px; background: linear-gradient(to right, var(--gold), var(--gold2)); opacity: .4; }
.process-step { text-align: center; position: relative; }
.process-num { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(200,154,26,.35); }
.process-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ===== ZUCHT & QUALITÄT ===== */
.quality-section { background: var(--white); padding: 72px 0; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.quality-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quality-photo { border-radius: 12px; overflow: hidden; }
.quality-photo img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.quality-photo:hover img { transform: scale(1.05); }
.quality-photo.tall img { height: 240px; }
.quality-cards { display: flex; flex-direction: column; gap: 16px; }
.quality-card { display: flex; align-items: flex-start; gap: 16px; background: var(--gray); border-radius: 12px; padding: 18px 20px; }
.quality-card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quality-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.quality-card p { font-size: .82rem; color: var(--muted); }

/* ===== GALLERY с подписями ===== */
.gallery-caption-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(15,20,50,.85) 0%, transparent 100%); padding: 20px 16px 14px; }
.gallery-caption span { font-size: .78rem; font-weight: 700; color: var(--gold2); text-transform: uppercase; letter-spacing: .06em; display: block; }
.gallery-caption p { font-size: .88rem; color: var(--white); margin-top: 2px; }


/* ===== BEEKEEPING PRODUCT CARD ===== */
.bee-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; font-size: .72rem; font-weight: 700; border: 1px solid; }
.bee-badge-family { background: #fff8e1; color: #b8860b; border-color: #f5d67a; }
.bee-badge-package { background: #e8f5e9; color: #2e7d32; border-color: #81c784; }
.bee-badge-queen { background: #fce4ec; color: #c62828; border-color: #ef9a9a; }
.bee-badge-avail { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }
.bee-badge-bookable { background: #fff8e1; color: #b8860b; border-color: #f5d67a; }
.bee-badge-sold_out { background: #fce4ec; color: #c62828; border-color: #ef9a9a; }
.bee-badge-waiting_list { background: #f3e5f5; color: #6a1b9a; border-color: #ce93d8; }
.bee-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.bee-spec { background: #f8f7f3; border: 1px solid #e0ddd5; border-radius: 6px; padding: 3px 8px; font-size: .72rem; color: #555; display: flex; align-items: center; gap: 4px; }
.bee-spec strong { color: #1a1a2e; }
.product-type-section { margin-bottom: 56px; }
.product-type-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.product-type-header h2 { font-size: 1.4rem; font-weight: 800; }
.product-type-header .type-count { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold); border-radius: 20px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }
.product-type-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }

/* ===== LANGUAGE DROPDOWN ===== */
.lang-switcher { display: none; } /* скрываем старые кнопки */
.lang-dropdown { position: relative; flex-shrink: 0; }
.lang-current { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.88); border-radius: 8px; padding: 6px 11px; font-size: .8rem; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 5px; transition: background .2s; white-space: nowrap; letter-spacing: .04em; }
.lang-current:hover { background: rgba(255,255,255,.18); }
.lang-current svg { opacity: .7; transition: transform .2s; }
.lang-current.open svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; background: var(--navy); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.45); min-width: 78px; z-index: 500; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .15s, transform .15s; }
.lang-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-item { display: block; width: 100%; text-align: center; background: none; border: none; color: rgba(255,255,255,.7); padding: 9px 14px; font-size: .8rem; font-weight: 600; cursor: pointer; font-family: inherit; letter-spacing: .04em; transition: background .15s, color .15s; }
.lang-item:hover { background: rgba(255,255,255,.1); color: var(--white); }
.lang-item.active { color: var(--gold); }

/* ===== BOTTOM NAV (mobile only) ===== */
.bottom-nav { display: none; }
@media (max-width: 768px) {
  .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: var(--navy2); border-top: 1px solid rgba(255,255,255,.1); padding: 6px 0 env(safe-area-inset-bottom, 6px); box-shadow: 0 -2px 20px rgba(0,0,0,.3); }
  .bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 2px; color: rgba(255,255,255,.45); text-decoration: none; font-size: .58rem; font-weight: 600; letter-spacing: .02em; transition: color .15s; position: relative; }
  .bottom-nav-item svg { width: 22px; height: 22px; }
  .bottom-nav-item.active { color: #fff; }
  .bottom-nav-item:hover { color: rgba(255,255,255,.85); }
  .bottom-cart-badge { position: absolute; top: 1px; right: calc(50% - 20px); background: var(--gold); color: var(--navy); border-radius: 10px; font-size: .55rem; font-weight: 900; min-width: 16px; height: 16px; padding: 0 4px; display: none; align-items: center; justify-content: center; }
  .bottom-cart-badge.show { display: flex; }
  body { padding-bottom: 70px !important; }
}

/* ===== CART MODAL ===== */
.cart-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; }
.cart-modal-overlay.active { display: block; }
.cart-modal { display: none; position: fixed; z-index: 1001; background: #fff; border-radius: 20px; padding: 24px; width: calc(100% - 32px); max-width: 430px; }
.cart-modal.active { display: block; }
@media (max-width: 768px) {
  .cart-modal { left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; padding: 24px 20px 32px; animation: cartSlideUp .32s cubic-bezier(.34,1.3,.64,1); }
}
@media (min-width: 769px) {
  .cart-modal { top: 50%; left: 50%; transform: translate(-50%,-50%); animation: cartFadeIn .22s ease; }
}
@keyframes cartSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes cartFadeIn { from { opacity:0; transform:translate(-50%,-52%) scale(.96); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
.cart-modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cart-modal-check { width: 34px; height: 34px; background: #16a34a; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.cart-modal-htitle { font-weight: 700; font-size: 1rem; color: var(--navy); flex: 1; }
.cart-modal-x { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.cart-modal-x:hover { background: var(--gray); }
.cart-modal-row { display: flex; align-items: center; gap: 12px; background: var(--gray); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.cart-modal-row img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-modal-pname { font-weight: 600; font-size: .9rem; color: var(--navy); }
.cart-modal-pmeta { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.cart-modal-total { font-size: .85rem; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--border); margin-bottom: 16px; }
.cart-modal-total b { color: var(--navy); }
.cart-modal-btns { display: flex; gap: 10px; }
.cart-modal-btns button.btn-outline, .cart-modal-btns a.btn-outline { flex: 1; text-align: center; justify-content: center; padding: 11px 10px; font-size: .88rem; cursor: pointer; }
.cart-modal-btns a.btn-primary { flex: 1; text-align: center; justify-content: center; padding: 11px 10px; font-size: .88rem; text-decoration: none; display: flex; align-items: center; gap: 6px; }

/* Shop filter button overrides – displayed on light background */
.cat-filter { color: var(--text); border-color: var(--border); background: var(--white); }
.cat-filter:hover { background: var(--gray); border-color: var(--gold); color: var(--gold); }
.cat-filter.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.cat-filter.btn-primary:hover { background: var(--gold2); border-color: var(--gold2); color: var(--white); }

@media (max-width: 1024px) { .features-inner { grid-template-columns: repeat(2, 1fr); } .cat-grid { grid-template-columns: 1fr 1fr; } .products-grid { grid-template-columns: 1fr 1fr; } .about-grid { gap: 36px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .eugen-grid { gap: 36px; } .trust-grid { grid-template-columns: 1fr 1fr; } .process-steps { grid-template-columns: 1fr 1fr; } .process-steps::before { display: none; } }
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr; } .products-grid { grid-template-columns: 1fr; } .about-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-grid .g-item:first-child { grid-row: auto; } .footer-grid { grid-template-columns: 1fr; } nav { display: none; } .hero-stats { flex-wrap: wrap; margin-top: -24px; gap: 12px; } .hero-stats .stat-card { min-width: calc(50% - 6px); flex: none; } .features-strip { margin-top: 24px; } .features-inner { grid-template-columns: repeat(2, 1fr); } .eugen-grid { grid-template-columns: 1fr; } .trust-grid { grid-template-columns: 1fr; } .process-steps { grid-template-columns: 1fr 1fr; } .quality-grid { grid-template-columns: 1fr; } .gallery-caption-grid { grid-template-columns: 1fr 1fr; } .social-inner { flex-direction: column; text-align: center; } .social-links { flex-wrap: wrap; justify-content: center; } .eugen-photo-badge { left: 16px; } }

/* =========================================================
   MOBILE RESPONSIVENESS — IMPROVEMENTS
   ========================================================= */

/* ── Inline grid helpers (override inline style by class) ── */
.season-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.faq-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Cart helpers ── */
.cart-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cart-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ── Hamburger button ── */
.burger-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px;
  transition: background .2s; flex-shrink: 0; margin-left: 4px;
}
.burger-btn:hover { background: rgba(255,255,255,.12); }
.burger-btn span { display: block; width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ── Mobile nav overlay ── */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
body.nav-open { overflow: hidden; }
.mobile-nav-drawer {
  position: absolute; top: 0; right: 0;
  width: min(300px, 88vw); height: 100%;
  background: var(--navy2);
  padding: 20px 18px 32px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav-overlay.active .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-close {
  align-self: flex-end; background: rgba(255,255,255,.1); border: none;
  color: var(--white); border-radius: 8px; width: 40px; height: 40px;
  cursor: pointer; font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; flex-shrink: 0; transition: background .2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.18); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav-links a {
  color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 600;
  padding: 13px 16px; border-radius: 10px; transition: background .2s, color .2s; display: block;
}
.mobile-nav-links a:hover  { background: rgba(255,255,255,.08); color: var(--white); }
.mobile-nav-links a.active { background: var(--gold); color: var(--white); }
.mobile-lang-switcher {
  display: flex; gap: 8px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap; margin-top: auto;
}
.mobile-lang-switcher .lang-option { padding: 8px 14px; font-size: .85rem; }

/* ── 768 px ── */
@media (max-width: 768px) {
  /* скрываем топбар целиком */
  .top-bar { display: none; }
  /* скрываем бургер — навигация внизу */
  .burger-btn { display: none; }
  /* скрываем десктопный nav — он в нижнем навбаре */
  header nav { display: none; }
  .search-bar { display: none; }
  .header-inner { padding: 10px 16px; gap: 8px; }
  .logo-wrap img { height: 42px; width: 42px; }
  /* дропдаун языка прижат вправо */
  .lang-dropdown { margin-left: auto; }
  /* корзина компактная, прижата к краю */
  .cart-btn > span[data-i18n] { display: none; }
  .cart-btn { padding: 9px 12px; }
  /* season calendar: 4 → 2 */
  .season-grid { grid-template-columns: 1fr 1fr; }
  /* qty buttons: bigger touch targets */
  .qty-ctrl button { min-width: 44px; min-height: 44px; width: 44px; height: 44px; font-size: 1.2rem; }
  .qty-ctrl span { width: 44px; }
  /* cart actions: stack vertically */
  .cart-actions { flex-direction: column; }
  .cart-actions a, .cart-actions button { text-align: center; justify-content: center; }
}

/* ── Eugen gallery: mobile 2×2 grid + lightbox ── */
@media (max-width: 768px) {
  .eugen-mobile-heading { display: block; margin-bottom: 20px; }
  .eugen-desktop-heading { display: none; }
  .eugen-photo-grid { border-radius: 12px; }
  .eugen-photo-overlay { background: rgba(0,0,0,.18); color: rgba(255,255,255,.7); }
}

/* ── 480 px (small phones) ── */
@media (max-width: 480px) {
  .season-grid { grid-template-columns: 1fr; }
  .faq-grid    { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-caption-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  .hero { min-height: 72vh; }
  .hero-content { padding: 56px 14px 36px; min-height: 72vh; }
  .hero-stats { margin-top: -12px; }
  .cat-filter { font-size: .82rem; padding: 10px 12px; }
  .cart-table th, .cart-table td { padding: 8px 6px; font-size: .84rem; }
  /* top-bar уже скрыт на 768px */
}

/* =========================================================
   PRODUCT DETAIL PAGE  (pd-*)
   ========================================================= */

/* Breadcrumb */
.pd-breadcrumb { background: var(--gray); padding: 12px 0; font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.pd-breadcrumb a { color: var(--muted); transition: color .2s; }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb span { margin: 0 6px; }

/* ── БЛОК 1: Hero ── */
.pd-hero { padding: 48px 0 56px; }
.pd-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }

.pd-img-col {}
.pd-main-img { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

.pd-type-label { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.pd-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.pd-short-desc { color: var(--muted); font-size: .97rem; line-height: 1.65; margin-bottom: 24px; }

.pd-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.pd-price { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.pd-avail { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.pd-avail-ok   { background: #e8f5e9; color: #2e7d32; }
.pd-avail-book { background: #fff8e1; color: #b8860b; }
.pd-avail-sold { background: #fce4ec; color: #c62828; }
.pd-avail-wait { background: #f3e5f5; color: #6a1b9a; }

.pd-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pd-actions .qty-row { margin-bottom: 0; }
.pd-actions .add-btn { font-size: 1rem; padding: 13px 20px; }
.pd-contact-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; font-size: .95rem; }

.pd-trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-trust-badge { display: flex; align-items: center; gap: 8px; background: var(--gray); border-radius: 10px; padding: 10px 14px; font-size: .82rem; font-weight: 600; color: var(--text); }
.pd-trust-icon { font-size: 1rem; flex-shrink: 0; }

/* ── Общие стили секций ── */
.pd-section { padding: 56px 0; }
.pd-section-alt { background: var(--gray); }
.pd-section-head { margin-bottom: 32px; }
.pd-section-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; line-height: 1.2; margin-top: 6px; }
.pd-text { color: var(--muted); line-height: 1.7; font-size: .97rem; }
.pd-text p { margin-bottom: 12px; }

.pd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ── БЛОК 2: Specs ── */
.pd-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.pd-spec-row { display: flex; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--border); }
.pd-spec-row:nth-child(odd)  { border-right: 1px solid var(--border); }
.pd-spec-label { font-size: .82rem; font-weight: 700; color: var(--muted); min-width: 130px; flex-shrink: 0; }
.pd-spec-value { font-size: .9rem; font-weight: 600; color: var(--text); }

/* ── БЛОК 3: Checklist box ── */
.pd-checklist-box { background: var(--white); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.pd-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pd-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; padding: 0; }
.pd-checklist li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }

/* ── БЛОК 4: Icon list ── */
.pd-icon-list { display: flex; flex-direction: column; gap: 16px; }
.pd-icon-item { display: flex; align-items: flex-start; gap: 14px; background: var(--white); border-radius: 12px; padding: 16px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.pd-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.pd-icon-item h4 { font-size: .92rem; font-weight: 700; margin-bottom: 3px; }
.pd-icon-item p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ── БЛОК 5: Suitable cards ── */
.pd-suitable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pd-suitable-card { background: var(--white); border-radius: 14px; padding: 28px 24px; border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; }
.pd-suitable-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.pd-suitable-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.pd-suitable-card p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ── БЛОК 6: Process steps ── */
.pd-process { display: flex; flex-direction: column; gap: 0; }
.pd-process-step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.pd-process-step:last-child { border-bottom: none; }
.pd-process-num { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--white); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pd-process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.pd-process-step p { font-size: .88rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── БЛОК 7: Contact CTA ── */
.pd-contact-section { background: var(--navy2); padding: 56px 0; }
.pd-contact-inner { display: flex; gap: 32px; align-items: flex-start; }
.pd-contact-avatar { font-size: 3rem; flex-shrink: 0; margin-top: 4px; }
.pd-contact-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Мобильная адаптация ── */
@media (max-width: 1024px) {
  .pd-hero-grid { gap: 36px; }
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-spec-row:nth-child(odd) { border-right: none; }
  .pd-suitable-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pd-hero { padding: 32px 0 40px; }
  .pd-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-trust-badges { grid-template-columns: 1fr 1fr; }
  .pd-two-col { grid-template-columns: 1fr; gap: 28px; }
  .pd-suitable-grid { grid-template-columns: 1fr; }
  .pd-contact-inner { flex-direction: column; gap: 16px; }
  .pd-contact-btns { flex-direction: column; }
  .pd-contact-btns a { text-align: center; justify-content: center; }
  .pd-section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .pd-price { font-size: 1.6rem; }
  .pd-trust-badges { grid-template-columns: 1fr; }
  .pd-specs-grid { border-radius: 10px; }
}
