/* ── STORE LAYOUT ── */
.store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(247,244,239,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.store-nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
}

.store-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.store-nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.store-nav-links a:hover { color: var(--fg); }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: background 0.2s;
  text-decoration: none;
}

.cart-btn:hover { background: var(--accent-dark); }

.cart-badge {
  background: #fff;
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  min-width: 20px;
  text-align: center;
}

/* ── HERO BANNER ── */
.store-hero {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2b 50%, #6aaa42 100%);
  color: #fff;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.store-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.75;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-currency {
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
}

.hero-currency span {
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-currency span.active {
  background: rgba(255,255,255,0.3);
}

/* ── PRODUCT GRID ── */
.store-main { padding: 60px; max-width: 1200px; margin: 0 auto; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--fg);
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-card-arti {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.product-meta {
  padding: 20px;
}

.product-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.2;
}

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

.price-eur {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-dark);
}

.price-pln {
  font-size: 13px;
  color: var(--fg-muted);
}

.add-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: background 0.2s;
}

.add-btn:hover { background: var(--accent-dark); }

/* ── PRODUCT DETAIL ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.detail-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px solid var(--border);
}

.detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info { padding-top: 20px; }

.detail-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.detail-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.detail-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.detail-price-eur {
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-dark);
}

.detail-price-pln {
  font-size: 16px;
  color: var(--fg-muted);
}

.detail-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 36px;
}

.detail-seo {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
  padding: 20px;
  background: var(--accent-pale);
  border-radius: 12px;
  margin-bottom: 36px;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 48px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  background: var(--bg-alt);
  transition: background 0.2s;
}

.qty-btn:hover { background: var(--warm); }

.qty-display {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.add-to-cart-btn {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: background 0.2s;
}

.add-to-cart-btn:hover { background: var(--accent-dark); }

.shipping-note {
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── CART ── */
.cart-page { padding: 60px; max-width: 900px; margin: 0 auto; }

.cart-page h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 40px;
}

.cart-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--fg-muted);
}

.cart-empty h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.cart-items-list { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 20px;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-alt);
}

.cart-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  margin-bottom: 6px;
}

.cart-item-price { font-size: 14px; color: var(--fg-muted); }

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

.cart-item-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-size: 16px;
}

.cart-item-qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 500;
}

.cart-item-total {
  text-align: right;
  min-width: 80px;
}

.cart-item-total strong {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.cart-item-remove {
  color: var(--fg-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
}

.cart-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 16px;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 20px;
  font-size: 20px;
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  margin-top: 24px;
  transition: background 0.2s;
}

.checkout-btn:hover { background: var(--accent-dark); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.checkout-form {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 12px;
}

.checkout-form h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  margin-bottom: 20px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--fg-muted);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ORDER CONFIRMATION ── */
.order-page { padding: 60px; max-width: 700px; margin: 0 auto; text-align: center; }

.order-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 40px;
}

.order-page h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  margin-bottom: 12px;
}

.order-page .order-number {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.order-details {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  margin: 32px 0;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.order-detail-row:last-child { border-bottom: none; }

/* ── LEGAL PAGES ── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.legal-page h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--accent-pale);
}

.legal-page h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--accent-dark);
}

.legal-page p { margin-bottom: 16px; line-height: 1.75; color: var(--fg-muted); }

.legal-page ul { margin: 0 0 16px 24px; color: var(--fg-muted); line-height: 1.75; }

.legal-page strong { color: var(--fg); }

.legal-contact {
  background: var(--accent-pale);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 32px;
  font-size: 14px;
}

/* ── NOTIFICATION TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--fg);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 9999;
  animation: slideUp 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .store-nav { padding: 16px 24px; }
  .store-hero { padding: 60px 24px; }
  .store-main { padding: 40px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; padding: 32px 24px; }
  .cart-page { padding: 40px 24px; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 12px; }
  .cart-item-total { grid-column: 2; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .order-page { padding: 40px 24px; }
  .legal-page { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .detail-name { font-size: 30px; }
}