/* ============================================
   TheCozyCorner — Components CSS
   ============================================ */

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 10px 0;
}

.nav.scrolled {
  background: rgba(239, 236, 236, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 0;
  box-shadow: 0 2px 24px rgba(61, 46, 30, 0.08);
}

.nav[data-compact-nav] {
  top: 0;
  transition: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 90px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  transition: height var(--transition);
}

.nav.scrolled .nav-logo-img {
  height: 52px !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-terracotta);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-terracotta);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 8px 0;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--color-white);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--color-dark-soft);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--color-terracotta);
  background: var(--color-cream);
  padding-left: 26px;
}

.nav-dropdown-menu a::after { display: none !important; }

.nav-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--color-warm-beige);
  margin: 6px 16px;
}

.nav-dropdown-menu a.dropdown-all {
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-warm-beige);
  margin-bottom: 4px;
  padding-bottom: 11px;
}

.nav-dropdown-menu a.dropdown-all:hover {
  color: var(--color-terracotta);
  background: var(--color-cream);
  padding-left: 26px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--color-terracotta);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-decoration: none;
  line-height: 0;
}

.cart-btn:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196, 132, 92, 0.35);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.cart-badge.visible { display: flex; }

/* Floating Cart Button (mobile only) */
.cart-fab {
  display: none;
}

@media (max-width: 768px) {
  .cart-fab {
    display: flex;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 1200;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-terracotta);
    color: var(--color-white);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(192, 97, 58, 0.45);
    text-decoration: none;
    line-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .cart-fab.cart-fab--visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
  .cart-fab:active { transform: scale(0.93); }
  .cart-fab .cart-badge {
    top: -5px;
    right: -5px;
    width: 19px;
    height: 19px;
    font-size: 0.65rem;
    background: var(--color-dark);
    border: 2px solid #fff;
  }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 40px 40px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  text-align: center;
  transition: color var(--transition);
}

.nav-mobile a:hover { color: var(--color-terracotta); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  border: 2px solid var(--color-terracotta);
  box-shadow: 0 4px 16px rgba(196,132,92,0.25);
}

.btn-primary:hover {
  background: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,132,92,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-warm-beige);
}

.btn-outline:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-cream);
  border: 2px solid rgba(245,240,232,0.4);
}

.btn-outline-light:hover {
  background: rgba(245,240,232,0.1);
  border-color: var(--color-cream);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--color-sage);
  color: var(--color-white);
  border: 2px solid var(--color-sage);
}

.btn-sage:hover {
  background: #7a8c6e;
  border-color: #7a8c6e;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---- Cards ---- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all var(--transition);
}

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

/* Product Card */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0 0 18px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  border: 1px solid transparent;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--color-warm-beige);
}

.product-card-visual {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-warm-beige) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(196,132,92,0.15) 0%, transparent 60%);
}

.candle-icon-sm {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

/* "Foto folgt" label on product cards (no image yet) */
.card-img-soon {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 0.68rem;
  color: var(--color-dark-soft);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  letter-spacing: 0.02em;
}

/* Product card: real photo (replaces CSS candle) */
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-status-pill {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  padding: 3px 10px;
  border-radius: var(--radius-lg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-available { background: rgba(139,158,126,0.15); color: #5a7a4e; border: 1px solid rgba(139,158,126,0.4); }
.pill-soldout   { background: rgba(196,132,92,0.12);  color: #a06030; border: 1px solid rgba(196,132,92,0.35); }
.pill-new       { background: rgba(201,169,110,0.15); color: #8a6a20; border: 1px solid rgba(201,169,110,0.4); }
.pill-aktion    { background: rgba(197,48,48,0.10);   color: #b91c1c; border: 1px solid rgba(197,48,48,0.30); }

.card-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.card-sale-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-lg);
  font-size: 0.72rem;
  font-weight: 700;
  background: #c53030;
  color: #fff;
  vertical-align: middle;
  margin-left: 4px;
}

.price-original {
  font-size: 0.8em;
  color: var(--color-text-light);
  text-decoration: line-through;
  margin-right: 4px;
  font-weight: 400;
}

.price-discounted {
  color: #c53030;
  font-weight: 700;
}

.product-card-body {
  padding: 14px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card-category {
  font-family: var(--font-script);
  font-size: 0.85rem;
  color: var(--color-terracotta);
  opacity: 0.8;
  line-height: 1;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.product-card-desc {
  font-size: 0.83rem;
  color: var(--color-dark-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--color-dark-soft);
  opacity: 0.75;
}

.product-card-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 18px 0;
  border-top: 1px solid var(--color-sand);
}

.product-card-footer > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-terracotta);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Forms ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--color-terracotta);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-white);
  border: 2px solid var(--color-warm-beige);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 4px rgba(196,132,92,0.1);
}

.form-input.field-invalid,
.form-select.field-invalid,
.form-textarea.field-invalid {
  border-color: #d94f3d;
  box-shadow: 0 0 0 4px rgba(217,79,61,0.12);
  animation: field-shake 0.35s ease;
}

.form-label.field-invalid {
  color: #d94f3d;
}

.checkbox-invalid {
  outline: 2px solid #d94f3d;
  outline-offset: 4px;
  border-radius: 6px;
  animation: field-shake 0.35s ease;
}

.field-hint-error {
  font-size: 0.78rem;
  color: #d94f3d;
  margin-top: 5px;
  display: block;
}

@keyframes field-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  60%      { transform: translateX(5px); }
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-warm-beige);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D2E1E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--color-warm-beige);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.form-radio-option:hover {
  border-color: var(--color-terracotta);
  background: rgba(196,132,92,0.04);
}

.form-radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-radio-option.selected {
  border-color: var(--color-terracotta);
  background: rgba(196,132,92,0.06);
}

.form-radio-group.radio-invalid {
  animation: field-shake 0.35s ease;
}
.form-radio-group.radio-invalid .form-radio-option {
  border-color: #d94f3d;
  box-shadow: 0 0 0 3px rgba(217,79,61,0.10);
}

.form-radio-option .option-title {
  font-weight: 500;
  font-size: 0.95rem;
}

.form-radio-option .option-desc {
  font-size: 0.85rem;
  color: var(--color-dark-soft);
  margin-top: 2px;
}

.form-error {
  font-size: 0.8rem;
  color: #c0392b;
  display: none;
}

.form-error.visible { display: block; }

.form-hint {
  font-size: 0.8rem;
  color: var(--color-dark-soft);
  opacity: 0.7;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ---- Accordion (FAQ) ---- */
.accordion-item {
  border-bottom: 1px solid var(--color-warm-beige);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
  background: none;
  border: none;
}

.accordion-trigger:hover { color: var(--color-terracotta); }

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-warm-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1rem;
  line-height: 1;
}

.accordion-item.open .accordion-trigger { color: var(--color-terracotta); }
.accordion-item.open .accordion-icon {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: white;
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content-inner {
  padding: 0 0 24px;
  color: var(--color-dark-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---- Toast notification ---- */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  background: var(--color-dark);
  color: var(--color-cream);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success { border-left: 4px solid var(--color-sage); }
.toast-error   { border-left: 4px solid #c0392b; }

/* ---- Info Box ---- */
.info-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,132,92,0.08);
  border: 1px solid rgba(196,132,92,0.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-dark-soft);
  line-height: 1.6;
}

.info-box.sage {
  background: rgba(139,158,126,0.08);
  border-color: rgba(139,158,126,0.25);
}

/* ---- Footer ---- */
.footer {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: clamp(60px, 8vw, 100px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245,240,232,0.1);
}

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

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
  line-height: 0;
}

.footer-logo-img {
  height: 80px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  /* Footer is dark — invert so logo reads white on dark background */
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-logo-sm {
  height: 44px !important;
  width: auto !important;
  max-width: none !important;
  margin-bottom: 0;
}

/* Fallback text (kept) */
.footer-brand .logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-cream);
  display: block;
  margin-bottom: 4px;
}

.footer-brand .logo-sub {
  font-family: var(--font-script);
  font-size: 0.9rem;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.65);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--color-cream); }

.btn-widerruf {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 9px 16px;
  background: rgba(197, 48, 48, 0.15);
  border: 1.5px solid rgba(197, 48, 48, 0.5);
  border-radius: 8px;
  color: #feb2b2;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-widerruf:hover {
  background: rgba(197, 48, 48, 0.28);
  border-color: #fc8181;
  color: #fff;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--color-cream); }

/* ---- Footer Social ---- */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--color-cream);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.social-btn:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
  background: rgba(192, 97, 58, 0.12);
}

/* ---- USP Strip ---- */
.usp-strip {
  background: var(--color-sand);
  padding: 32px 0;
  border-top: 1px solid var(--color-warm-beige);
  border-bottom: 1px solid var(--color-warm-beige);
}

.usp-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
}

.usp-item .usp-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,132,92,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---- Quantity Control ---- */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--color-warm-beige);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-dark);
  font-size: 1.1rem;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  line-height: 1;
}

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

.qty-input {
  width: 48px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-warm-beige);
  border-right: 1px solid var(--color-warm-beige);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---- Price Badge ---- */
.price-tag {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-terracotta);
}

.price-tag-sm {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-terracotta);
}

/* ---- Tag chips ---- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-lg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.tag-beige {
  background: var(--color-sand);
  color: var(--color-dark-soft);
  border: 1px solid var(--color-warm-beige);
}

.tag-terracotta {
  background: rgba(196,132,92,0.12);
  color: var(--color-terracotta);
  border: 1px solid rgba(196,132,92,0.25);
}

.tag-sage {
  background: rgba(139,158,126,0.12);
  color: var(--color-sage);
  border: 1px solid rgba(139,158,126,0.25);
}

/* ---- Shipping Bar ---- */
.shipping-bar {
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-light) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  min-height: 40px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-aggregate {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-warm-beige);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  box-shadow: var(--shadow-soft);
}

.reviews-score-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--color-terracotta);
  line-height: 1;
}

.reviews-score-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.reviews-score-sub {
  font-size: 0.8rem;
  color: var(--color-dark-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

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

.review-card-enter {
  animation: review-enter 0.5s ease both;
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--color-warm-beige);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.star-icon {
  fill: none;
  stroke: none;
}

.star-filled {
  fill: #e6a817;
  stroke: #e6a817;
}

.star-empty {
  fill: var(--color-warm-beige);
  stroke: var(--color-warm-beige);
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-dark-soft);
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  border-top: 1px solid var(--color-sand);
  padding-top: 12px;
}

.review-name {
  font-weight: 600;
  color: var(--color-dark);
}

.review-city::before,
.review-date::before {
  content: '·';
  margin-right: 8px;
  color: var(--color-warm-beige);
}

.review-city,
.review-date {
  color: var(--color-dark-soft);
}


/* ============================================================
   MOBILE RESPONSIVE — global component fixes
   ============================================================ */

@media (max-width: 768px) {
  /* Nav logo smaller */
  .nav-logo-img { height: 60px !important; }
  .nav.scrolled .nav-logo-img { height: 42px !important; }

  /* Product card footer: stack price above buttons */
  .product-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .product-card-footer > div {
    width: 100%;
  }
  .product-card-footer .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  /* Buttons: touch-friendly size */
  .btn { padding: 12px 20px; font-size: 0.85rem; }
  .btn-sm { padding: 9px 16px; font-size: 0.78rem; }
}

/* USP strip: tighter row gap on mobile */
@media (max-width: 600px) {
  .usp-list { gap: 12px 20px; }
  .usp-strip { padding: 20px 0; }
}

@media (max-width: 480px) {
  /* Nav: follows actual bar height via CSS var (updated by JS) */
  .nav { top: var(--bar-height, 40px); padding-top: 6px; }
  /* Page hero: clears shipping bar + nav */
  .page-hero { padding-top: calc(var(--bar-height, 40px) + 90px); }
  /* Shipping bar: slightly smaller text on very narrow screens */
  .shipping-bar { font-size: 0.78rem; padding: 8px 14px; }

  /* Product grid: 2 columns on small screens */
  .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Product card: compact */
  .product-card-body { padding: 10px 12px 0; }
  .product-card-footer { padding: 10px 12px 0; }
  .product-card-name { font-size: 0.95rem; }
  .product-card-desc { display: none; }

  /* Product card buttons: stack vertically so text doesn't clip */
  .product-card-footer > div {
    flex-direction: column;
    gap: 6px;
  }
  .product-card-footer .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  /* Sale pill redundant at small card widths (strike-through price shows discount) */
  .card-sale-pill { display: none; }
  .product-price { white-space: normal; }

  /* Cart item: stack on mobile */
  .cart-item { flex-wrap: wrap; gap: 12px; }
  .cart-item-controls { width: 100%; justify-content: space-between; }
  .cart-item-total { min-width: unset; }

  /* Footer grid */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- KI-Kennzeichnung ---- */
.ki-img-wrap {
  position: relative;
  display: block;
  line-height: 0;
}

.ki-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.65rem;
  font-family: var(--font-body, sans-serif);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 3px;
  pointer-events: none;
  user-select: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Hero-Badge: über dem Hintergrundbild, unten rechts */
.hero-ki-badge {
  position: absolute;
  bottom: 56px; /* über dem scroll hint */
  right: 16px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.62rem;
  font-family: var(--font-body, sans-serif);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 3px;
  pointer-events: none;
  user-select: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2;
}
