/* ═══════════════════════════════════════
   Florá — style.css
   Hlavní styly eshopu
═══════════════════════════════════════ */

:root {
  --cream: #e8dfc8;
  --blush: #d9cba8;
  --rose: #7a6a45;
  --rose-dark: #5c4f32;
  --sage: #6b7c5a;
  --sage-light: #b8c4a0;
  --ink: #2c2416;
  --warm-gray: #8a7d65;
  --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: #e8dfc8; color: var(--ink); overflow-x: hidden; }

/* ─── HEADER ─── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(232,223,200,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122,106,69,0.2);
}
.logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; letter-spacing: 0.12em; color: var(--rose); text-decoration: none; display:flex; align-items:center; gap:10px; }
.logo span { font-style: italic; }
nav { display: flex; gap: 36px; }
nav a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm-gray); text-decoration: none; transition: color 0.2s; }
nav a:hover { color: var(--rose); }
.header-actions { display: flex; gap: 14px; align-items: center; }

/* ─── GOOGLE LOGIN BTN ─── */
.btn-google {
  display: flex; align-items: center; gap: 8px;
  background: #e8dfc8; color: var(--ink);
  border: 1px solid rgba(44,36,22,0.18);
  padding: 9px 18px;
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-google:hover { border-color: var(--rose); color: var(--rose); box-shadow: 0 2px 10px rgba(122,106,69,0.15); }

/* ─── USER MENU ─── */
.user-menu { position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blush); object-fit: cover; }
.user-name { font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.user-dropdown {
  display: none; position: absolute; top: calc(100% + 12px); right: 0;
  background: #e8dfc8; border: 1px solid var(--blush);
  box-shadow: 0 8px 32px rgba(107,124,90,0.12);
  min-width: 180px; padding: 8px 0; z-index: 200;
}
.user-dropdown a {
  display: block; padding: 10px 18px; font-size: 0.82rem; color: var(--ink);
  text-decoration: none; transition: background 0.15s;
}
.user-dropdown a:hover { background: var(--cream); color: var(--rose); }
.user-menu.open .user-dropdown { display: block; }

/* ─── CART BTN ─── */
.cart-btn {
  background: var(--rose); color: white; border: none; padding: 10px 22px;
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.cart-btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.cart-count { background: white; color: var(--rose); border-radius: 50%; width: 18px; height: 18px; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ─── BUTTONS ─── */
.btn-primary { background: var(--rose); color: white; border: none; padding: 16px 36px; font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,106,69,0.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(44,36,22,0.25); padding: 16px 36px; font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }

/* ─── HERO ─── */
.hero { margin-top: 80px; min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 80px; background: #e8dfc8; }
.hero-eyebrow { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--sage); }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 300; line-height: 1.05; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: #2c2416; }
.hero-desc { font-size: 1rem; line-height: 1.8; color: var(--warm-gray); max-width: 400px; margin-bottom: 48px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-image { position: relative; background: #cfc5a5; overflow: hidden; }
.hero-image-inner { width: 100%; height: 100%; background: radial-gradient(ellipse at 70% 40%, rgba(107,124,90,0.2) 0%, transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(122,106,69,0.15) 0%, transparent 50%), #cfc5a5; display: flex; align-items: center; justify-content: center; font-size: 12rem; user-select: none; }
.hero-float { position: absolute; font-size: 4rem; animation: float 4s ease-in-out infinite; opacity: 0.6; }
.hero-float:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; font-size: 2.5rem; }
.hero-float:nth-child(2) { top: 60%; right: 12%; animation-delay: 1.2s; font-size: 3rem; }
.hero-float:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 0.6s; font-size: 2rem; }
.hero-float:nth-child(4) { top: 35%; right: 30%; animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ─── SECTION LABELS ─── */
.section-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--sage); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.15; }
.section-title em { font-style: italic; color: var(--rose); }

/* ─── STRIP ─── */
.featured-strip { background: #2c2416; padding: 20px 0; overflow: hidden; display: flex; }
.strip-track { display: flex; gap: 48px; animation: marquee 18s linear infinite; white-space: nowrap; }
.strip-item { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: rgba(245,240,232,0.55); letter-spacing: 0.06em; display: flex; align-items: center; gap: 16px; }
.strip-item span { color: var(--rose); font-style: normal; font-size: 0.9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── CATEGORIES ─── */
.categories { padding: 100px 80px; }
.categories-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; transition: transform 0.35s; }
.category-card:hover { transform: translateY(-6px); }
.cat-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; transition: transform 0.5s; }
.category-card:hover .cat-bg { transform: scale(1.08); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,36,22,0.7) 0%, transparent 60%); opacity: 0.7; transition: opacity 0.3s; }
.category-card:hover .cat-overlay { opacity: 1; }
.cat-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px; color: white; }
.cat-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 4px; }
.cat-info p { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.category-card:nth-child(1) .cat-bg { background: #d4c9a8; }
.category-card:nth-child(2) .cat-bg { background: #c8d4a8; }
.category-card:nth-child(3) .cat-bg { background: #cec4a0; }
.category-card:nth-child(4) .cat-bg { background: #bfcf9c; }
.category-card:nth-child(2) { margin-top: 40px; }
.category-card:nth-child(4) { margin-top: 60px; }

/* ─── PRODUCTS ─── */
.products { padding: 80px; background: #cec4a0; }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.filter-tabs { display: flex; gap: 4px; align-self: flex-end; }
.filter-tab { padding: 8px 20px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid transparent; background: transparent; color: var(--warm-gray); cursor: pointer; transition: all 0.2s; font-family: 'Jost', sans-serif; }
.filter-tab:hover, .filter-tab.active { border-color: var(--rose); color: var(--rose); background: rgba(122,106,69,0.08); }

/* ── FILTER BAR ── */
.filter-bar { margin-bottom: 32px; border: 1px solid var(--blush); background: rgba(217, 203, 168, 1); padding: 20px 24px 16px; display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-group-label { font-family: 'Jost', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm-gray); min-width: 76px; flex-shrink: 0; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { font-family: 'Jost', sans-serif; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.06em; padding: 5px 14px; border: 1px solid var(--blush); background: transparent; color: var(--warm-gray); cursor: pointer; transition: all 0.2s; }
.fchip:hover { border-color: var(--rose); color: var(--rose); }
.fchip.active { border-color: var(--rose); background: var(--rose); color: #fff; }
.filter-price-wrap { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 380px; }
.filter-price-wrap input[type="range"] { flex: 1; accent-color: var(--rose); cursor: pointer; }
.filter-price-val { font-family: 'Jost', sans-serif; font-size: 0.72rem; color: var(--warm-gray); min-width: 52px; white-space: nowrap; }
.filter-price-input {
  font-family: 'Jost', sans-serif; font-size: 0.72rem; color: var(--ink);
  background: transparent; border: 1px solid var(--blush);
  padding: 4px 8px; width: 80px; outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.filter-price-input::-webkit-outer-spin-button,
.filter-price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filter-price-input:focus { border-color: var(--rose); }
.filter-price-input::placeholder { color: var(--warm-gray); opacity: 0.7; }
.filter-price-sep { font-size: 0.72rem; color: var(--warm-gray); }
.filter-price-currency { font-family: 'Jost', sans-serif; font-size: 0.72rem; color: var(--warm-gray); }
.filter-active-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--blush); }
.filter-active-tags { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.filter-active-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: var(--blush); color: var(--rose); font-family: 'Jost', sans-serif; font-size: 0.68rem; letter-spacing: 0.04em; }
.filter-active-tag button { background: none; border: none; cursor: pointer; color: var(--rose); font-size: 13px; line-height: 1; padding: 0; }
.filter-clear-all { font-family: 'Jost', sans-serif; font-size: 0.68rem; color: var(--warm-gray); background: none; border: none; cursor: pointer; text-decoration: underline; margin-left: auto; transition: color 0.2s; }
.filter-clear-all:hover { color: var(--rose); }
.filter-count-row { margin-bottom: 20px; min-height: 18px; }
.filter-count { font-family: 'Jost', sans-serif; font-size: 0.72rem; color: var(--warm-gray); letter-spacing: 0.06em; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.products-loading { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--warm-gray); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.product-card { position: relative; cursor: pointer; }
.prod-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; margin-bottom: 14px; background: #d9cba8; }
.prod-emoji { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5.5rem; transition: transform 0.4s; }
.product-card:hover .prod-emoji { transform: scale(1.08); }
.prod-badge { position: absolute; top: 14px; left: 14px; background: var(--rose); color: white; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; }
.prod-badge.new { background: var(--sage); }
.prod-badge.sale { background: #e06c6c; }
.add-to-cart-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(44,36,22,0.88); color: white; text-align: center; padding: 14px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: all 0.25s; border: none; cursor: pointer; font-family: 'Jost', sans-serif; width: 100%; }
.add-to-cart-overlay:hover { background: var(--rose); }
.product-card:hover .add-to-cart-overlay { opacity: 1; transform: translateY(0); }
.prod-info { padding: 0 14px; }
.prod-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 400; margin-bottom: 4px; }
.prod-desc { font-size: 0.75rem; color: var(--warm-gray); margin-bottom: 10px; line-height: 1.5; }
.prod-price { font-size: 1rem; font-weight: 500; color: var(--rose); }
.prod-price-old { font-size: 0.8rem; color: var(--warm-gray); text-decoration: line-through; margin-left: 8px; }

/* ─── BANNER ─── */
.banner { margin: 0 80px 80px; background: #2c2416; padding: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; overflow: hidden; }
.banner::before { content: '🌸'; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); font-size: 12rem; opacity: 0.08; pointer-events: none; }
.banner-text .section-label { color: var(--sage-light); }
.banner-text .section-label::before { background: var(--sage-light); }
.banner-title { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: white; line-height: 1.2; margin-bottom: 20px; }
.banner-title em { font-style: italic; color: var(--rose); }
.banner-body { color: rgba(245,240,232,0.55); line-height: 1.8; font-size: 0.9rem; font-weight: 300; margin-bottom: 36px; }
.banner-features { display: flex; flex-direction: column; gap: 16px; }
.banner-feature { display: flex; align-items: flex-start; gap: 16px; }
.feat-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feat-text h4 { font-size: 0.85rem; font-weight: 500; color: white; margin-bottom: 2px; }
.feat-text p { font-size: 0.75rem; color: rgba(245,240,232,0.5); font-weight: 300; }

/* ─── FOOTER ─── */
footer { background: #2c2416; color: rgba(245,240,232,0.5); padding: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo-foot { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: white; letter-spacing: 0.1em; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; font-weight: 300; max-width: 260px; }
.footer-col h4 { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,240,232,0.7); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { text-decoration: none; font-size: 0.82rem; color: rgba(245,240,232,0.45); font-weight: 300; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--rose); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(245,240,232,0.1); display: flex; justify-content: space-between; font-size: 0.72rem; }

/* ─── KOŠÍK ─── */
.cart-overlay { position: fixed; inset: 0; background: rgba(44,36,22,0.4); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 440px; height: 100vh; background: #e8dfc8; z-index: 201; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; overflow: hidden; }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { padding: 32px 36px 24px; border-bottom: 1px solid var(--blush); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.cart-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 400; color: #000; }
.cart-header span { font-size: 0.78rem; color: var(--warm-gray); font-weight: 300; }
.close-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--warm-gray); line-height: 1; padding: 4px; transition: color 0.2s; }
.close-btn:hover { color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 36px; display: flex; flex-direction: column; gap: 20px; }
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: #d9cba8; }
.cart-items::-webkit-scrollbar-thumb { background: var(--blush); }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--cream); }
.cart-item-img { width: 70px; height: 70px; background: #d9cba8; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; flex-shrink: 0; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 400; margin-bottom: 6px; color: #000; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--blush); background: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all 0.15s; color: var(--ink); }
.qty-btn:hover { border-color: var(--rose); color: var(--rose); }
.qty-num { font-size: 0.85rem; font-weight: 500; min-width: 20px; text-align: center; color: #000; }
.cart-item-price { font-size: 1rem; font-weight: 500; color: var(--rose); white-space: nowrap; text-align: right; }
.remove-btn { background: none; border: none; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); cursor: pointer; font-family: 'Jost', sans-serif; padding: 0; margin-top: 4px; transition: color 0.2s; }
.remove-btn:hover { color: var(--rose); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--warm-gray); }
.cart-empty .empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.cart-empty h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 8px; color: var(--ink); }
.cart-empty p { font-size: 0.85rem; font-weight: 300; }
.cart-footer { padding: 24px 36px 36px; border-top: 1px solid var(--blush); flex-shrink: 0; background: #e8dfc8; }
.cart-totals { margin-bottom: 20px; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--warm-gray); margin-bottom: 10px; font-weight: 300; }
.cart-row.total { font-size: 1.1rem; font-weight: 500; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--blush); margin-top: 8px; }
.cart-row.total span:last-child { color: var(--rose); }
.checkout-btn { width: 100%; background: var(--rose); color: white; border: none; padding: 18px; font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; margin-bottom: 10px; }
.checkout-btn:hover { background: var(--rose-dark); }
.checkout-note { text-align: center; font-size: 0.7rem; color: var(--warm-gray); font-weight: 300; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ─── MODALS ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(44,36,22,0.45); z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -60%); z-index: 301; background: #e8dfc8; width: 90%; max-width: 560px; max-height: 85vh; overflow-y: auto; opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%); }
.modal-header { padding: 28px 32px 20px; border-bottom: 1px solid var(--blush); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: #2c2416; }
.modal-body { padding: 28px 32px; }
.modal-footer { padding: 20px 32px 28px; border-top: 1px solid var(--blush); display: flex; justify-content: flex-end; gap: 12px; }

/* ─── ORDERS MODAL ─── */
.order-card { border: 1px solid var(--blush); padding: 20px; margin-bottom: 16px; }
.order-card-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.order-date { font-size: 0.75rem; color: var(--warm-gray); }
.order-total { font-weight: 500; color: var(--rose); }
.order-items-list { font-size: 0.82rem; color: var(--warm-gray); line-height: 1.8; }
.orders-empty { text-align: center; padding: 40px; color: var(--warm-gray); font-size: 0.9rem; }

/* ─── TOAST ─── */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px); background: #2c2416; color: white; padding: 14px 24px; font-size: 0.78rem; letter-spacing: 0.08em; z-index: 500; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); display: flex; align-items: center; gap: 10px; pointer-events: none; white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── HAMBURGER MENU ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(232,223,200,0.98);
  backdrop-filter: blur(16px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--rose); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  header { padding: 18px 32px; }
  .hero, .categories, .products, footer { padding-left: 32px; padding-right: 32px; }
  .banner { margin: 0 32px 60px; padding: 48px 32px; }
  .products-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text { padding: 60px 32px; }
  .banner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  header { padding: 16px 20px; }
  .logo { font-size: 1.6rem; }
  .hero-text { padding: 48px 20px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .categories { padding: 60px 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card:nth-child(2),
  .category-card:nth-child(4) { margin-top: 0; }
  .products { padding: 60px 20px; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .filter-bar { padding: 14px 16px; gap: 12px; }
  .filter-group-label { min-width: 64px; font-size: 0.6rem; }
  .filter-price-wrap { max-width: 100%; }
  .filter-clear-all { margin-left: 0; }
  .filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-tab { padding: 6px 14px; font-size: 0.68rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .banner { margin: 0 20px 48px; padding: 40px 20px; }
  footer { padding: 48px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cart-sidebar { width: 100%; }
  .btn-google { padding: 8px 12px; font-size: 0.7rem; }
  .btn-google svg { display: none; }
  .user-name { display: none; }
  .cart-btn { padding: 8px 14px; font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-emoji { font-size: 3.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════
   CHECKOUT MODAL
═══════════════════════════════════ */
.checkout-modal { max-width: 620px; }
.confirm-modal  { max-width: 460px; }

.checkout-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--blush); }
.checkout-section:last-child { border-bottom: none; margin-bottom: 0; }
.checkout-section-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 14px; }

.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.checkout-field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); }
.form-textarea { resize: vertical; min-height: 64px; font-family: 'Jost', sans-serif; }

.checkout-item { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(240,221,212,0.5); }
.checkout-item:last-child { border-bottom: none; }
.checkout-item-img { display: flex; align-items: center; justify-content: center; }
.checkout-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; }
.checkout-item-qty  { font-size: 0.8rem; color: var(--warm-gray); text-align: center; }
.checkout-item-price { font-size: 0.9rem; font-weight: 500; color: var(--rose); text-align: right; }

.checkout-total-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--warm-gray); margin-top: 8px; font-weight: 300; }
.checkout-total-row.total { font-size: 1.05rem; font-weight: 600; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--blush); margin-top: 10px; }
.checkout-total-row.total span:last-child { color: var(--rose); }

.payment-options { display: flex; gap: 10px; flex-wrap: wrap; }
.payment-option { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--blush); cursor: pointer; transition: all 0.2s; font-size: 0.82rem; }
.payment-option:hover { border-color: var(--rose); }
.payment-option input[type="radio"] { accent-color: var(--rose); }
.payment-option input[type="radio"]:checked + .payment-icon + span { color: var(--rose); font-weight: 500; }
.payment-icon { font-size: 1.1rem; }

/* ═══════════════════════════════════
   ADMIN ORDERS FULL VIEW
═══════════════════════════════════ */
.order-card-full { padding: 20px; background: #e8dfc8; border: 1px solid var(--blush); margin: 8px 0; }
.order-card-row { display: flex; gap: 12px; align-items: baseline; margin-bottom: 7px; font-size: 0.85rem; }
.order-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-gray); min-width: 80px; flex-shrink: 0; }

.order-items-section { background: #d9cba8; padding: 12px 14px; margin: 12px 0; }
.order-item-row { display: grid; grid-template-columns: 28px 1fr 36px 80px; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(240,221,212,0.5); font-size: 0.82rem; }
.order-item-row:last-child { border-bottom: none; }
.order-item-emoji { font-size: 1.2rem; text-align: center; }
.order-item-name  { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; }
.order-item-qty   { color: var(--warm-gray); text-align: center; }
.order-item-price { font-weight: 500; color: var(--rose); text-align: right; }

.order-card-footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--blush); flex-wrap: wrap; }
.order-date-small { font-size: 0.72rem; color: var(--warm-gray); flex: 1; }
.order-total-big  { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--rose); }
.order-status-select { padding: 5px 10px; border: 1px solid var(--blush); font-family: 'Jost', sans-serif; font-size: 0.72rem; background: #e8dfc8; cursor: pointer; outline: none; }
.order-status-select:focus { border-color: var(--rose); }

/* ─── PHONE INPUT ─── */
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--blush);
  background: var(--cream);
  transition: border-color 0.2s;
}
.phone-input-wrap:focus-within { border-color: var(--rose); background: #e8dfc8; }
.phone-prefix {
  padding: 11px 12px 11px 14px;
  font-size: 0.88rem;
  color: var(--warm-gray);
  font-weight: 500;
  border-right: 1px solid var(--blush);
  background: white;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-input {
  border: none !important;
  background: transparent !important;
  flex: 1;
  outline: none !important;
  padding-left: 10px !important;
}
.phone-input:focus { background: transparent !important; }

/* ─── ADDRESS AUTOCOMPLETE ─── */
.address-wrap { position: relative; }
.address-suggestions {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: white;
  border: 1px solid var(--blush);
  border-top: none;
  z-index: 500;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 8px 24px rgba(44,36,22,0.1);
}
.address-suggestions.open { display: block; }
.suggestion-item {
  padding: 11px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(240,221,212,0.4);
  transition: background 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #d9cba8; }
.suggestion-main { font-weight: 500; color: var(--ink); }
.suggestion-sub  { font-size: 0.75rem; color: var(--warm-gray); margin-top: 1px; }
.suggestion-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ─── FIELD ERROR ─── */
.field-error { font-size: 0.72rem; color: #e06c6c; margin-top: 4px; min-height: 16px; }
.input-valid  { border-color: var(--sage) !important; }
.input-error  { border-color: #e06c6c !important; }

/* Google Places dropdown override */
.pac-container {
  font-family: 'Jost', sans-serif;
  border: 1px solid var(--blush);
  border-top: none;
  box-shadow: 0 8px 24px rgba(44,36,22,0.1);
  border-radius: 0;
}
.pac-item { padding: 10px 16px; font-size: 0.85rem; cursor: pointer; }
.pac-item:hover { background: #d9cba8; }
.pac-item-query { font-weight: 500; color: var(--ink); }

/* ─── PŘEDOBJEDNÁVKA ─── */
.preorder-overlay {
  background: rgba(107,124,90,0.88) !important;
}
.preorder-overlay:hover {
  background: var(--sage) !important;
}
.preorder-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(107,124,90,0.15);
  color: var(--sage);
  margin-left: 6px;
  vertical-align: middle;
}

/* ─── ORDER PAYMENT SECTION ─── */
.order-card-highlight {
  border: 1px solid var(--rose);
  box-shadow: 0 2px 12px rgba(122,106,69,0.15);
}
.order-pay-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--blush);
}
.order-pay-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--rose);
  margin-bottom: 12px;
}
.order-pay-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.order-pay-btn {
  padding: 10px 16px;
  border: 1px solid var(--rose);
  background: white;
  color: var(--rose);
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.06em;
}
.order-pay-btn:hover {
  background: var(--rose);
  color: white;
}
/* ── TERMS CHECKBOX ── */
.terms-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}

.terms-label input[type="checkbox"] {
  display: none;
}

.terms-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--rose, #8B6F47);
  border-radius: 3px;
  background: transparent;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.terms-label input:checked + .terms-box {
  background: var(--rose, #8B6F47);
}

.terms-label input:checked + .terms-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.terms-text {
  font-size: 0.78rem;
  color: var(--warm-gray, #888);
  font-weight: 300;
  line-height: 1.4;
}

.terms-link {
  color: var(--rose, #8B6F47);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-shake {
  animation: termsShake 0.4s ease;
}

@keyframes termsShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

/* ── PAYMENT LABEL DARK TEXT ── */
.payment-option .payment-label {
  color: var(--dark, #2c2016);
  font-weight: 400;
}

/* ══════════════════════════════════════
   WHATSAPP BUTTON
══════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ══════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 860px;
  background: var(--ink);
  color: white;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.15);
}
.cookie-banner.show { bottom: 24px; }

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
}
.cookie-icon { font-size: 1.4rem; flex-shrink: 0; }
.cookie-link {
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-decline {
  padding: 9px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.cookie-btn-accept {
  padding: 9px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rose);
  border: 1px solid var(--rose);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-btn-accept:hover { background: var(--rose-dark); }

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 32px);
  }
  .cookie-actions { width: 100%; }
  .cookie-btn-decline, .cookie-btn-accept { flex: 1; text-align: center; }
  .wa-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
