/* ==========================================================================
   Kaffee-Produkte — v0 Design 1:1 Translation
   Every value directly from v0 Tailwind classes
   ========================================================================== */
@import url("../../../hummingbird/assets/css/theme.css");

/* --- CSS Custom Properties --- */
:root {
  --kp-bg: #FAFAF7;
  --kp-fg: #2C1810;
  --kp-card: #F5F0E8;
  --kp-primary: #B8956A;
  --kp-primary-fg: #fff;
  --kp-secondary: #E8E2DA;
  --kp-muted-fg: #4A3F35;
  --kp-border: #D5CFC7;
  --kp-success: #4A7C59;
  --kp-danger: #C45C5C;
  --kp-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --kp-sans: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Base overrides --- */
html body {
  background-color: var(--kp-bg);
  color: var(--kp-fg);
  font-family: var(--kp-sans);
  -webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3, body h4, body .h1, body .h2, body .h3, body .h4 {
  font-family: var(--kp-serif);
  color: var(--kp-fg);
}

body a { color: var(--kp-primary); }
body a:hover { color: #A6825A; }

/* --- Wrapper / Container --- */
#wrapper { background-color: var(--kp-bg); }
.wrapper__content { max-width: none; padding: 0; }
.kp-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

/* =======================================================================
   TOPBAR — v0: bg-primary py-2.5 text-primary-foreground
   ======================================================================= */
.kp-topbar {
  background-color: var(--kp-primary);
  color: var(--kp-primary-fg);
  padding: 0.625rem 0;
}
.kp-topbar__inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-direction: column; gap: 0.5rem;
}
@media (min-width: 640px) {
  .kp-topbar__inner { flex-direction: row; }
}
.kp-topbar__urgency { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; margin: 0; }
.kp-topbar__label { display: none; }
@media (min-width: 640px) { .kp-topbar__label { display: inline; } }
.kp-topbar__shipping { display: none; font-size: 0.875rem; font-weight: 500; margin: 0; }
@media (min-width: 768px) { .kp-topbar__shipping { display: block; } }
.kp-topbar__countdown { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-family: monospace; font-weight: 600; }
.kp-topbar__time-block {
  background-color: rgba(255,255,255,0.2);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
}
.kp-topbar__separator { font-weight: 700; }

/* Hide agent-generated topbar elements that don't match v0 */
.kp-topbar__message, .kp-topbar__icon, .kp-topbar__links,
.kp-topbar__countdown-block, .kp-topbar__countdown-num,
.kp-topbar__countdown-label, .kp-topbar__countdown-sep { display: revert; }

/* =======================================================================
   HEADER — v0: sticky top-0 z-50 border-b border-border bg-background
   ======================================================================= */
#header {
  background-color: var(--kp-bg);
  border-bottom: 1px solid var(--kp-border);
  z-index: 50;
  transition: all 0.3s ease;
}
#header.is-scrolled {
  padding-top: 0.5rem; padding-bottom: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.header__banner { display: none; }
.header-top { display: none; }
.header-bottom { padding: 1rem 0; transition: all 0.3s ease; }
.header-bottom__container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

/* Logo: font-serif text-2xl tracking-wide text-foreground */
.logo a, .header-bottom .logo a {
  font-family: var(--kp-serif); font-size: 1.5rem;
  letter-spacing: 0.025em; color: var(--kp-fg); text-decoration: none;
}
.logo a img { max-height: 44px; width: auto; }

/* Nav: text-sm tracking-wide text-foreground hover:text-primary */
#top-menu a, .top-menu a {
  font-size: 0.875rem; letter-spacing: 0.025em; color: var(--kp-fg);
  text-decoration: none; transition: color 0.15s ease;
}
#top-menu a:hover, .top-menu a:hover { color: var(--kp-primary); }

/* Header icons */
.header-block__action-btn { color: var(--kp-fg); transition: color 0.15s ease; }
.header-block__action-btn:hover { color: var(--kp-primary); }
.header-block__badge {
  position: absolute; right: -6px; top: -6px;
  width: 1rem; height: 1rem; border-radius: 9999px;
  background-color: var(--kp-primary); color: var(--kp-primary-fg);
  font-size: 10px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}

/* =======================================================================
   HERO — v0: min-h-[85vh] flex items-center justify-center
   Background: bg-gradient-to-r from-background/90 via-background/60 to-background/30
   ======================================================================= */
.kp-hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background-color: var(--kp-bg);
}
.kp-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* v0 gradient: from-background/90 via-background/60 to-background/30 = LEFT to RIGHT */
.kp-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(250,250,247,0.9),
    rgba(250,250,247,0.6),
    rgba(250,250,247,0.3)
  );
}
/* Hide any separate overlay div */
.kp-hero__overlay { display: none; }

/* Content: relative z-10 text-center max-w-3xl */
.kp-hero__content {
  position: relative; z-index: 10;
  max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
  text-align: center;
}
.kp-hero__inner { max-width: 48rem; margin: 0 auto; }

/* Decorative line: h-px w-24 bg-primary */
.kp-hero__divider-top { height: 1px; width: 6rem; background: var(--kp-primary); margin: 0 auto 2rem; }
.kp-hero__divider-bottom { height: 1px; width: 6rem; background: var(--kp-primary); margin: 3rem auto 0; }

/* Title: font-serif text-5xl md:text-6xl lg:text-7xl text-foreground */
.kp-hero__title {
  font-family: var(--kp-serif);
  font-size: 3rem; line-height: 1.1; letter-spacing: 0.025em;
  color: var(--kp-fg); text-wrap: balance;
}
@media (min-width: 768px) { .kp-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .kp-hero__title { font-size: 4.5rem; } }

/* Subtitle: mt-6 text-lg text-muted-foreground max-w-xl */
.kp-hero__subtitle {
  margin-top: 1.5rem; font-size: 1.125rem; color: var(--kp-muted-fg);
  max-width: 36rem; margin-left: auto; margin-right: auto;
}

/* CTAs: mt-10 flex gap-4 sm:flex-row */
.kp-hero__ctas {
  margin-top: 2.5rem; display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .kp-hero__ctas { flex-direction: row; justify-content: center; } }

/* Primary CTA: border border-primary bg-primary px-10 py-4 text-sm uppercase tracking-widest text-primary-foreground */
.kp-hero__cta-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--kp-primary); background-color: var(--kp-primary);
  padding: 1rem 2.5rem; font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--kp-primary-fg); text-decoration: none; transition: all 0.15s ease;
}
.kp-hero__cta-primary:hover { background-color: rgba(184,149,106,0.9); color: var(--kp-primary-fg); }

/* Secondary CTA: border border-primary text-primary hover:bg-primary hover:text-primary-foreground */
.kp-hero__cta-secondary {
  display: inline-block;
  border: 1px solid var(--kp-primary); background: transparent;
  padding: 1rem 2.5rem; font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--kp-primary); text-decoration: none; transition: all 0.15s ease;
}
.kp-hero__cta-secondary:hover { background-color: var(--kp-primary); color: var(--kp-primary-fg); }

/* Trust: mt-12 flex gap-6 text-sm text-muted-foreground */
.kp-hero__trust {
  margin-top: 3rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 1.5rem;
  font-size: 0.875rem; color: var(--kp-muted-fg);
}
.kp-hero__trust-item { display: flex; align-items: center; gap: 0.5rem; }
.kp-hero__trust-item svg { width: 1rem; height: 1rem; color: var(--kp-primary); }

/* Scroll: text-xs uppercase tracking-widest text-muted-foreground */
.kp-hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
@media (max-width: 767px) { .kp-hero__scroll { display: none; } }
.kp-hero__scroll span {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--kp-muted-fg);
}
.kp-hero__scroll::after {
  content: ""; width: 1px; height: 3rem;
  background: linear-gradient(to bottom, var(--kp-primary), transparent);
}

/* =======================================================================
   FEATURED PRODUCTS — v0: bg-background py-24
   ======================================================================= */
.kp-featured { background-color: var(--kp-bg); padding: 6rem 0; }

/* Header: mb-16 flex sm:flex-row justify-between */
.kp-featured__header {
  margin-bottom: 4rem; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px) { .kp-featured__header { flex-direction: row; text-align: left; align-items: flex-end; } }

/* Label: text-sm uppercase tracking-widest text-primary */
.kp-featured__label {
  font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--kp-primary);
}
/* Title: mt-2 font-serif text-4xl md:text-5xl text-foreground */
.kp-featured__title {
  margin-top: 0.5rem; font-family: var(--kp-serif);
  font-size: 2.25rem; letter-spacing: 0.025em; color: var(--kp-fg);
}
@media (min-width: 768px) { .kp-featured__title { font-size: 3rem; } }

/* Link: text-sm font-medium text-primary hover:underline */
.kp-featured__link {
  font-size: 0.875rem; font-weight: 500; color: var(--kp-primary); text-decoration: none;
}
.kp-featured__link:hover { text-decoration: underline; }

/* =======================================================================
   PRODUCT CARDS (PrestaShop miniatures)
   v0: rounded-lg bg-card shadow-sm hover:shadow-md hover:ring-1 hover:ring-primary/30
   ======================================================================= */
body .product-miniature .card,
body .product-miniature {
  background-color: var(--kp-card);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
}
body .product-miniature .card:hover,
body .product-miniature:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1),
              0 0 0 1px rgba(184,149,106,0.3);
  transform: none;
}

/* Image: aspect-square bg-secondary/30, hover:scale-105 */
body .product-miniature .thumbnail-container {
  aspect-ratio: 1/1; overflow: hidden;
  background-color: rgba(232,226,218,0.3);
}
body .product-miniature .thumbnail-container img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
body .product-miniature:hover .thumbnail-container img { transform: scale(1.05); }

/* Title: font-serif text-lg text-foreground hover:text-primary */
body .product-miniature .product-title,
body .product-miniature__title {
  font-family: var(--kp-serif); font-size: 1.125rem;
  line-height: 1.25; color: var(--kp-fg);
}
body .product-miniature .product-title a { color: inherit; text-decoration: none; }
body .product-miniature .product-title a:hover { color: var(--kp-primary); }

/* Price: text-lg font-semibold text-primary */
body .product-miniature .product-price-and-shipping .price,
body .product-miniature__price {
  font-size: 1.125rem; font-weight: 600; color: var(--kp-primary);
}
body .product-miniature .regular-price {
  font-size: 0.875rem; color: var(--kp-muted-fg); text-decoration: line-through;
}

/* Add to cart: rounded bg-primary py-2.5 text-sm text-primary-foreground */
body .product-miniature .btn-primary,
body .product-miniature [data-button-action="add-to-cart"] {
  background-color: var(--kp-primary); border-color: var(--kp-primary);
  color: var(--kp-primary-fg); border-radius: 0.25rem;
  font-size: 0.875rem; font-weight: 500;
}
body .product-miniature .btn-primary:hover { background-color: rgba(184,149,106,0.9); }

/* Flags: rounded px-2.5 py-1 text-xs font-semibold */
body .product-flag {
  border-radius: 0.25rem; padding: 0.25rem 0.625rem;
  font-size: 0.75rem; font-weight: 600;
}
body .product-flag.on-sale { background-color: var(--kp-primary); color: var(--kp-primary-fg); }
body .product-flag.new { background-color: var(--kp-fg); color: var(--kp-bg); }
body .product-flag.discount { background-color: var(--kp-primary); color: var(--kp-primary-fg); }

/* Star ratings */
body .star-content .star-on, body .grade-stars .material-icons { color: var(--kp-primary); }

/* =======================================================================
   CATEGORIES — v0: bg-background py-20, grid md:grid-cols-2 gap-8
   Cards: rounded-xl border border-border bg-card shadow-sm hover:shadow-md hover:border-primary/30
   ======================================================================= */
.kp-categories { background-color: var(--kp-bg); padding: 5rem 0; }
.kp-categories__header { text-align: center; margin-bottom: 3rem; }
.kp-categories__title {
  font-family: var(--kp-serif); font-size: 1.875rem; color: var(--kp-fg);
}
@media (min-width: 768px) { .kp-categories__title { font-size: 2.25rem; } }
.kp-divider { height: 1px; width: 4rem; background: var(--kp-primary); margin: 1rem auto 0; }

.kp-categories__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .kp-categories__grid { grid-template-columns: repeat(2, 1fr); } }

.kp-category-card {
  position: relative; overflow: hidden; border-radius: 0.75rem;
  border: 1px solid var(--kp-border); background-color: var(--kp-card);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.15s ease; display: block; text-decoration: none;
}
.kp-category-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border-color: rgba(184,149,106,0.3);
}

/* Image: aspect-[4/3] hover:scale-105 duration-700 */
.kp-category-card__image {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.kp-category-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.kp-category-card:hover .kp-category-card__image img { transform: scale(1.05); }
/* Overlay: bg-gradient-to-t from-white/90 via-white/40 to-transparent */
.kp-category-card__image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0.4), transparent);
}

/* Content positioned over image */
.kp-category-card__content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 2rem; text-align: center; z-index: 2;
}
/* Divider: mb-3 h-px w-12 bg-primary hover:w-20 */
.kp-category-card__divider {
  height: 1px; width: 3rem; background: var(--kp-primary);
  margin-bottom: 0.75rem; transition: all 0.3s ease;
}
.kp-category-card:hover .kp-category-card__divider { width: 5rem; }
/* Name: font-serif text-2xl md:text-3xl text-foreground */
.kp-category-card__name {
  font-family: var(--kp-serif); font-size: 1.5rem;
  letter-spacing: 0.025em; color: var(--kp-fg);
}
@media (min-width: 768px) { .kp-category-card__name { font-size: 1.875rem; } }
.kp-category-card__desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--kp-muted-fg); }
/* Button: rounded-full bg-primary px-4 py-2 text-xs uppercase tracking-wider text-primary-foreground */
.kp-category-card__btn {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background: var(--kp-primary);
  padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--kp-primary-fg); transition: all 0.3s ease;
}
.kp-category-card:hover .kp-category-card__btn { background: rgba(184,149,106,0.9); }

/* =======================================================================
   BRAND STORY — v0: bg-card py-20, grid lg:grid-cols-2 gap-16
   ======================================================================= */
.kp-brand-story { background-color: var(--kp-card); padding: 5rem 0; }
.kp-brand-story__grid {
  display: grid; align-items: center; gap: 3rem;
}
@media (min-width: 1024px) { .kp-brand-story__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Image: aspect-[4/5] rounded-xl border shadow-md */
.kp-brand-story__image-wrap { position: relative; }
.kp-brand-story__image-wrap::after {
  content: ""; position: absolute; bottom: -1rem; right: -1rem;
  width: 100%; height: 100%; border-radius: 0.75rem;
  border: 2px solid rgba(184,149,106,0.2); z-index: -1;
}
.kp-brand-story__image {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: 0.75rem; border: 1px solid var(--kp-border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.kp-brand-story__image img { width: 100%; height: 100%; object-fit: cover; }

/* Tag: rounded-full bg-primary/10 text-xs uppercase tracking-wider text-primary */
.kp-brand-story__tag {
  display: inline-block; border-radius: 9999px;
  background: rgba(184,149,106,0.1); padding: 0.375rem 1rem;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--kp-primary);
}
/* Title: mt-6 font-serif text-3xl md:text-4xl text-foreground */
.kp-brand-story__title {
  margin-top: 1.5rem; font-family: var(--kp-serif);
  font-size: 1.875rem; line-height: 1.25; color: var(--kp-fg);
}
@media (min-width: 768px) { .kp-brand-story__title { font-size: 2.25rem; } }
.kp-brand-story__divider { height: 1px; width: 4rem; background: var(--kp-primary); margin-top: 1rem; }
.kp-brand-story__text { margin-top: 1.5rem; color: var(--kp-muted-fg); line-height: 1.625; }
.kp-brand-story__text p + p { margin-top: 1rem; }

/* Stats: mt-10 grid grid-cols-3 rounded-xl border bg-background p-6 */
.kp-brand-story__stats {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; border-radius: 0.75rem; border: 1px solid var(--kp-border);
  background: var(--kp-bg); padding: 1.5rem;
}
.kp-brand-story__stat { text-align: center; }
.kp-brand-story__stat:not(:last-child) { border-right: 1px solid var(--kp-border); }
.kp-brand-story__stat-number { font-family: var(--kp-serif); font-size: 1.875rem; color: var(--kp-primary); }
.kp-brand-story__stat-label { margin-top: 0.25rem; font-size: 0.75rem; color: var(--kp-muted-fg); }

/* =======================================================================
   VALUES — v0: bg-card py-24, grid sm:2 lg:4 gap-8
   ======================================================================= */
.kp-values { background-color: var(--kp-card); padding: 6rem 0; }
.kp-values__header { text-align: center; margin-bottom: 4rem; }
.kp-values__label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--kp-primary); }
.kp-values__title {
  margin-top: 1rem; font-family: var(--kp-serif);
  font-size: 2.25rem; letter-spacing: 0.025em; color: var(--kp-fg);
}
@media (min-width: 768px) { .kp-values__title { font-size: 3rem; } }
.kp-values__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .kp-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kp-values__grid { grid-template-columns: repeat(4, 1fr); } }

.kp-value-item { text-align: center; }
/* Icon: h-16 w-16 rounded-full bg-primary/10 */
.kp-value-item__icon {
  width: 4rem; height: 4rem; border-radius: 9999px;
  background: rgba(184,149,106,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.kp-value-item__icon svg { width: 1.75rem; height: 1.75rem; color: var(--kp-primary); }
.kp-value-item__title {
  margin-top: 1.5rem; font-family: var(--kp-serif);
  font-size: 1.25rem; letter-spacing: 0.025em; color: var(--kp-fg);
}
.kp-value-item__desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--kp-muted-fg); }

/* =======================================================================
   NEWSLETTER — v0: bg-foreground py-24 (espresso dark section)
   ======================================================================= */
.kp-newsletter { background-color: var(--kp-fg); padding: 6rem 0; }
.kp-newsletter__inner { max-width: 42rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
.kp-newsletter__title { font-family: var(--kp-serif); font-size: 2.25rem; letter-spacing: 0.025em; color: var(--kp-bg); }
@media (min-width: 768px) { .kp-newsletter__title { font-size: 3rem; } }
.kp-newsletter__desc { margin-top: 1rem; color: rgba(250,250,247,0.7); }

/* PrestaShop email subscription module override */
.block_newsletter { background-color: var(--kp-fg); padding: 6rem 1.5rem; }
.block_newsletter h2, .block_newsletter .h2 { font-family: var(--kp-serif); color: var(--kp-bg); }
.block_newsletter p { color: rgba(250,250,247,0.7); }
.block_newsletter input[type="email"] {
  background: rgba(250,250,247,0.1); border: 1px solid rgba(250,250,247,0.2);
  border-radius: 0.5rem; color: var(--kp-bg); padding: 1rem 1.5rem;
}
.block_newsletter input[type="email"]:focus { border-color: var(--kp-primary); outline: none; }
.block_newsletter .btn-primary { background: var(--kp-primary); border-color: var(--kp-primary); }

/* =======================================================================
   FOOTER — v0: bg-foreground text-background
   ======================================================================= */
#footer { background-color: var(--kp-fg); color: var(--kp-bg); }
.footer__before { background-color: var(--kp-fg); }
.footer__main { background-color: var(--kp-fg); padding: 4rem 0; }
.footer__main .container { max-width: 80rem; }

body .footer .links .h3, body .footer .links h3 {
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--kp-bg); font-family: var(--kp-sans);
  margin-bottom: 1rem;
}
body .footer .links ul { list-style: none; padding: 0; }
body .footer .links a { font-size: 0.875rem; color: rgba(250,250,247,0.7); transition: color 0.15s; text-decoration: none; }
body .footer .links a:hover { color: var(--kp-primary); }
body .footer .block-contact { color: rgba(250,250,247,0.7); font-size: 0.875rem; }
body .footer .block-contact a { color: rgba(250,250,247,0.7); }
body .footer .block-contact a:hover { color: var(--kp-primary); }

/* Payment icons */
.kp-footer-payments {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 1rem;
  padding: 2.5rem 0; margin-top: 2.5rem;
  border-top: 1px solid rgba(250,250,247,0.2);
}
.kp-footer-payments__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 2rem; border-radius: 0.25rem;
  border: 1px solid rgba(250,250,247,0.2);
  font-size: 0.75rem; color: rgba(250,250,247,0.7);
}
.kp-footer-swiss {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-size: 0.875rem; color: rgba(250,250,247,0.7); padding: 1rem 0;
}
.copyright {
  text-align: center; font-size: 0.75rem; color: rgba(250,250,247,0.5);
  padding-top: 1rem; border-top: 1px solid rgba(250,250,247,0.1);
}
.copyright a { color: rgba(250,250,247,0.5); }

/* =======================================================================
   BUTTONS — Global overrides
   ======================================================================= */
body .btn-primary {
  background-color: var(--kp-primary); border-color: var(--kp-primary);
  color: var(--kp-primary-fg); text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 500; border-radius: 0.5rem;
}
body .btn-primary:hover, body .btn-primary:focus {
  background-color: rgba(184,149,106,0.9); border-color: rgba(184,149,106,0.9); color: #fff;
}
body .btn-outline-primary {
  color: var(--kp-primary); border-color: var(--kp-primary);
  text-transform: uppercase; letter-spacing: 0.1em;
}
body .btn-outline-primary:hover {
  background-color: var(--kp-primary); border-color: var(--kp-primary); color: #fff;
}

/* Card global */
body .card { background-color: var(--kp-card); border: 1px solid rgba(213,207,199,0.3); border-radius: 0.5rem; }

/* =======================================================================
   PRODUCT DETAIL — Trust + Sticky Mobile
   ======================================================================= */
.kp-pdp { max-width: 80rem; margin: 0 auto; padding: 2rem 1.5rem; }
.product__name { font-family: var(--kp-serif); font-size: 1.875rem; color: var(--kp-fg); }
@media (min-width: 768px) { .product__name { font-size: 2.25rem; } }
.product__brand { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--kp-primary); }
.current-price-value { font-family: var(--kp-serif); font-size: 1.875rem; color: var(--kp-primary); }
.product .add-to-cart, .product .btn-add-to-cart {
  width: 100%; height: 3.5rem; background: var(--kp-primary); border: none;
  color: #fff; font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 500; border-radius: 0.5rem;
}
.product .add-to-cart:hover { background: #A6825A; }

.kp-trust {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(213,207,199,0.3);
}
.kp-trust__item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.kp-trust__icon { width: 1.5rem; height: 1.5rem; color: var(--kp-primary); }
.kp-trust__icon--circle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: rgba(184,149,106,0.1);
}
.kp-trust__icon--circle svg { width: 1.25rem; height: 1.25rem; color: var(--kp-primary); }
.kp-trust__text { font-size: 0.75rem; color: var(--kp-muted-fg); }

/* Accordion tabs */
.product__infos .accordion-button {
  font-family: var(--kp-serif); color: var(--kp-fg); background: transparent;
  box-shadow: none; padding: 1rem 0;
}
.product__infos .accordion-button:not(.collapsed) { color: var(--kp-primary); background: transparent; }
.product__infos .accordion-item { border: none; border-bottom: 1px solid rgba(213,207,199,0.3); background: transparent; }

/* Sticky mobile CTA */
.kp-sticky-mobile { display: none; }
@media (max-width: 767px) {
  .kp-sticky-mobile {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
    background: var(--kp-bg); border-top: 1px solid rgba(213,207,199,0.3);
    box-shadow: 0 -4px 12px rgba(44,24,16,0.1); padding: 0.75rem 1.5rem;
    align-items: center; justify-content: space-between; gap: 1rem;
  }
  body.page-product #wrapper, body.page-cart #wrapper { padding-bottom: 5rem; }
}
.kp-sticky-mobile__price { font-family: var(--kp-serif); font-size: 1.25rem; color: var(--kp-primary); font-weight: 600; }
.kp-sticky-mobile__label { font-size: 0.75rem; color: var(--kp-muted-fg); }
.kp-sticky-mobile__btn {
  flex: 1; max-width: 16rem; display: flex; align-items: center; justify-content: center;
  background: var(--kp-primary); color: #fff; border: none; border-radius: 0.5rem;
  padding: 0.875rem 1.5rem; font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none;
  min-height: 44px;
}
.kp-sticky-mobile__btn:hover { background: #A6825A; color: #fff; }

/* =======================================================================
   CART PAGE
   ======================================================================= */
.kp-cart { max-width: 72rem; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.kp-cart__title { font-family: var(--kp-serif); font-size: 1.875rem; color: var(--kp-fg); margin-bottom: 2rem; }
@media (min-width: 768px) { .kp-cart__title { font-size: 2.25rem; margin-bottom: 3rem; } }
.cart-summary { background: var(--kp-card); border: 1px solid rgba(213,207,199,0.3); border-radius: 0.75rem; padding: 1.5rem; }
.cart-detailed-actions .btn-primary { width: 100%; font-size: 1rem; font-weight: 600; padding: 1rem; }

/* Breadcrumb */
.breadcrumb__wrapper { background: var(--kp-bg); padding: 1rem 0; }
.breadcrumb-item a { color: var(--kp-muted-fg); text-decoration: none; font-size: 0.875rem; }
.breadcrumb-item a:hover { color: var(--kp-primary); }
.breadcrumb-item:last-child span { color: var(--kp-primary); }

/* Listing header */
.kp-listing-header { text-align: center; margin-bottom: 3rem; }
.kp-listing-header__title { font-family: var(--kp-serif); font-size: 2.25rem; color: var(--kp-fg); }
@media (min-width: 768px) { .kp-listing-header__title { font-size: 3rem; } }
.kp-listing-header__divider { height: 1px; width: 6rem; background: var(--kp-primary); margin: 1rem auto; }
.kp-listing-header__count { color: var(--kp-muted-fg); }

/* Pagination */
.pagination .page-item.active .page-link { background: var(--kp-primary); border-color: var(--kp-primary); color: #fff; }
.pagination .page-link:hover { border-color: var(--kp-primary); color: var(--kp-primary); }

/* Shipping bar */
.kp-shipping-bar {
  background: rgba(184,149,106,0.1); border: 1px solid rgba(184,149,106,0.2);
  border-radius: 0.75rem; padding: 0.75rem 1rem;
}
.kp-shipping-bar__text { font-size: 0.75rem; color: var(--kp-primary); display: flex; align-items: center; gap: 0.5rem; }

/* Search widget */
.search-widget input { border: 1px solid var(--kp-border); border-radius: 0.5rem; }
.search-widget input:focus { border-color: var(--kp-primary); box-shadow: 0 0 0 2px rgba(184,149,106,0.1); }

/* Faceted search */
#search_filters .facet-title { font-family: var(--kp-serif); color: var(--kp-fg); }
#search_filters .custom-checkbox input:checked + span { background: var(--kp-primary); border-color: var(--kp-primary); }

/* Reassurance module color fix */
.blockreassurance_product .item-product .block-icon svg { color: var(--kp-primary); }

/* =======================================================================
   HIDE UNWANTED MODULE OUTPUT IN HOMEPAGE
   ps_imageslider, ps_banner, ps_customtext — not in v0 design
   ======================================================================= */
#content-wrapper > .wrapper__content > section > #content > .page-home .homeslider-container,
.ratio-homeSlider,
#homeslider,
.banner,
.custom-text,
.custom-text__content {
  display: none !important;
}

/* Style the ps_featuredproducts module output to match v0 */
.featured-products {
  padding: 0;
}

.featured-products .products-section-title {
  display: none; /* We have our own header */
}

.featured-products .products {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 640px) {
  .featured-products .products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .featured-products .products { grid-template-columns: repeat(4, 1fr); }
}

.featured-products .products > li {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  flex: none;
}

/* Featured products footer link */
.featured-products-footer { display: none; }

/* =======================================================================
   Fix product-miniature card body padding (v0: p-4)
   ======================================================================= */
body .product-miniature .card-body,
body .product-miniature__infos {
  padding: 1rem;
}

body .product-miniature .card-body .product-miniature__infos__bottom {
  margin-top: auto;
}

/* Quick view button styling */
body .product-miniature__quickview_button {
  color: var(--kp-muted-fg);
  font-size: 0.875rem;
}

/* Products in row override for homepage */
.page-home .featured-products .products .col-12,
.page-home .featured-products .products .col-xs-6,
.page-home .featured-products .products .col-lg-4,
.page-home .featured-products .products .col-xl-3 {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* =======================================================================
   FIX: Product grid — work WITH Bootstrap row/col, not against it
   ======================================================================= */

/* Remove grid override - let Bootstrap row handle it */
.featured-products .products.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

/* Ensure columns have proper width */
.featured-products .products > .product-miniature {
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
}

/* Card must fill its column */
body .product-miniature .card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body .product-miniature__link {
  display: block;
}

body .product-miniature__image-container {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: rgba(232,226,218,0.3);
}

body .product-miniature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .product-miniature__infos {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

body .product-miniature__infos__top {
  flex: 1;
}

/* Ensure product title doesn't break per-character */
body .product-miniature__title {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  width: 100%;
}

/* "Nicht verfügbar" flag fix */
body .product-flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
}

/* Section title override - show PS title if our section header exists */
.kp-featured .featured-products .products-section-title {
  display: none;
}

/* NEW PRODUCTS section similar fix */
.newproducts .products.row,
.bestsellers .products.row {
  display: flex;
  flex-wrap: wrap;
}

/* =======================================================================
   HEADER v2 — v0 layout: Logo | Nav center | Icons right
   ======================================================================= */

/* Hide old header-top but keep it rendered for JS component relocation */
.header-top { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* New header row: 3-section flex layout */
.kp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo section */
.kp-header__logo {
  flex-shrink: 0;
}
.kp-header__logo a {
  font-family: var(--kp-serif);
  font-size: 1.5rem;
  letter-spacing: 0.025em;
  color: var(--kp-fg);
  text-decoration: none;
}
.kp-header__logo img {
  max-height: 44px;
  width: auto;
}

/* Nav section — takes remaining space, centers content */
.kp-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Override main-menu module to be centered inline nav */
.kp-header__nav .main-menu {
  width: auto;
  flex: none;
  padding: 0;
}

.kp-header__nav .main-menu .js-menu-desktop {
  display: flex !important;
  align-items: center;
}

/* Hide the search bar inside displayTop — we have our own icon */
.kp-header__nav .search-widget-container,
.kp-header__nav #search_widget,
.kp-header__nav .search-widget {
  display: none !important;
}

/* Style nav links: text-sm tracking-wide text-foreground hover:text-primary */
.kp-header__nav #top-menu,
.kp-header__nav .main-menu__tree {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kp-header__nav .main-menu__tree__link {
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: var(--kp-fg);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0;
  background: none;
  border: none;
  white-space: nowrap;
}

.kp-header__nav .main-menu__tree__link:hover {
  color: var(--kp-primary);
}

/* Hide dropdown arrow on main nav items */
.kp-header__nav .main-menu__tree__link.dropdown-toggle::after {
  display: none;
}

/* Dropdown menu styling */
.kp-header__nav .menu-container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--kp-bg);
  border: 1px solid rgba(213,207,199,0.3);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  padding: 1rem;
  min-width: 200px;
}

.kp-header__nav .menu-container .dropdown-item {
  color: var(--kp-fg);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.kp-header__nav .menu-container .dropdown-item:hover {
  color: var(--kp-primary);
  background: rgba(184,149,106,0.05);
}

/* Icons section — right aligned */
.kp-header__icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.kp-header__icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--kp-fg);
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
}

.kp-header__icon-btn:hover {
  color: var(--kp-primary);
}

.kp-header__icon-btn .material-icons {
  font-size: 1.25rem;
}

.kp-header__icon-wrap {
  display: flex;
  align-items: center;
}

/* Style the PS signin/cart blocks when relocated here */
.kp-header__icon-wrap .header-block {
  display: flex;
  align-items: center;
}

.kp-header__icon-wrap .header-block__action-btn {
  color: var(--kp-fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.15s ease;
}

.kp-header__icon-wrap .header-block__action-btn:hover {
  color: var(--kp-primary);
}

.kp-header__icon-wrap .header-block__icon {
  font-size: 1.25rem;
}

/* Hide text labels on desktop header icons */
.kp-header__icon-wrap .header-block__title {
  display: none;
}

/* Cart badge: absolute -right-1.5 -top-1.5 bg-primary text-[10px] */
.kp-header__icon-wrap .header-block__badge {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--kp-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile toggle */
.kp-header__mobile-toggle {
  display: flex;
  align-items: center;
}

/* Hide search mobile from header-bottom (we have it in kp-header__icons) */
.header-bottom .search__mobile {
  display: none !important;
}

/* Hide old mobile user/cart placeholders */
#_mobile_user_info:not(.kp-header__icon-wrap *),
#_mobile_cart:not(.kp-header__icon-wrap *) {
  display: none !important;
}

/* Header scrolled state: py-2 shadow-sm */
#header.is-scrolled .header-bottom {
  padding: 0.5rem 0;
}

/* =======================================================================
   HEADER v3 — displayNav2 inline icons fix
   ======================================================================= */

/* Hide header-top completely (we render displayNav2 in header-bottom) */
.header-top,
.header__banner {
  display: none !important;
}

/* Nav2 container (account + cart inline) */
.kp-header__nav2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Style all blocks from displayNav2 as icon-only */
.kp-header__nav2 > div,
.kp-header__nav2 > span {
  display: flex;
  align-items: center;
}

/* Hide language/currency selectors in this position */
.kp-header__nav2 .language-selector,
.kp-header__nav2 .currency-selector {
  display: none;
}

/* Customer signin block: show just the icon */
.kp-header__nav2 .user-info,
.kp-header__nav2 #_desktop_user_info {
  display: flex;
  align-items: center;
}

.kp-header__nav2 .header-block {
  display: flex;
  align-items: center;
}

.kp-header__nav2 .header-block__action-btn {
  color: var(--kp-fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.15s ease;
}

.kp-header__nav2 .header-block__action-btn:hover {
  color: var(--kp-primary);
}

.kp-header__nav2 .header-block__icon {
  font-size: 1.25rem;
}

/* Hide text labels — icon only */
.kp-header__nav2 .header-block__title,
.kp-header__nav2 .header-block__user-name,
.kp-header__nav2 .header-block span:not(.material-icons):not(.header-block__icon):not(.header-block__badge) {
  display: none;
}

/* Cart badge */
.kp-header__nav2 .header-block__badge {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--kp-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search icon button */
.kp-header__icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--kp-fg);
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.kp-header__icon-btn:hover {
  color: var(--kp-primary);
}
.kp-header__icon-btn .material-icons {
  font-size: 1.25rem;
}

/* Search offcanvas panel styling */
.search__offcanvas {
  background: var(--kp-bg);
  border-bottom: 1px solid var(--kp-border);
}

/* Hide language + currency selector from header icons */
.kp-header__nav2 .language-selector-wrapper,
.kp-header__nav2 .currency-selector,
.kp-header__nav2 #_desktop_language_selector,
.kp-header__nav2 #_desktop_currency_selector,
.kp-header__nav2 > .language-selector,
.kp-header__nav2 .js-language-selector,
.kp-header__nav2 .btn-unstyle[aria-label*="anguage"],
.kp-header__nav2 .dropdown:has(.language-selector),
.kp-header__icons .language-selector,
.kp-header__icons select,
.kp-header__icons form:has(select) {
  display: none !important;
}

/* Force "Anmelden" to be icon-only */
.kp-header__nav2 .header-block a,
.kp-header__nav2 .user-info a,
.kp-header__nav2 a[href*="anmeldung"],
.kp-header__nav2 a[href*="mein-Konto"] {
  font-size: 0;
  color: var(--kp-fg);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.kp-header__nav2 .header-block a .material-icons,
.kp-header__nav2 .user-info a::before,
.kp-header__nav2 a[href*="anmeldung"]::before,
.kp-header__nav2 a[href*="mein-Konto"]::before {
  font-size: 1.25rem;
}

/* If no material-icons in account link, add one via CSS */
.kp-header__nav2 a[href*="anmeldung"],
.kp-header__nav2 a[href*="mein-Konto"],
.kp-header__nav2 .user-info a {
  font-family: 'Material Icons';
  font-size: 1.25rem;
  font-feature-settings: 'liga';
}

/* Force nav centering — override main-menu col-xl */
.kp-header__nav .main-menu.col-xl {
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

/* Account link icon display */
.kp-header__nav2 .ps_customersignin {
  font-size: 0;
}

.kp-header__nav2 .ps_customersignin a {
  font-size: 0;
  display: flex;
  align-items: center;
}

.kp-header__nav2 .ps_customersignin .material-icons,
.kp-header__nav2 .ps_customersignin i {
  font-size: 1.25rem !important;
}

/* Shopping cart icon */
.kp-header__nav2 .ps_shoppingcart,
.kp-header__nav2 .blockcart {
  display: flex;
  align-items: center;
}

.kp-header__nav2 .blockcart .header-block__action-btn {
  position: relative;
}

/* Also hide "Deutsch v" text - it's a button/dropdown */
.kp-header__nav2 button,
.kp-header__nav2 .btn {
  display: none !important;
}

/* But keep header-block links/buttons */
.kp-header__nav2 .header-block .header-block__action-btn,
.kp-header__nav2 .header-block a {
  display: flex !important;
}

/* === FINAL HEADER POLISH === */

/* Hide ALL text in nav2 — only show material-icons and badges */
.kp-header__nav2 * {
  font-size: 0;
  line-height: 0;
}
.kp-header__nav2 .material-icons,
.kp-header__nav2 .header-block__icon,
.kp-header__nav2 i[class*="material"] {
  font-size: 1.25rem !important;
  line-height: 1 !important;
}
.kp-header__nav2 .header-block__badge {
  font-size: 10px !important;
  line-height: 1 !important;
}

/* Ensure nav2 items are flex-aligned */
.kp-header__nav2,
.kp-header__nav2 > *,
.kp-header__nav2 .header-block,
.kp-header__nav2 a,
.kp-header__nav2 span:not(.material-icons):not(.header-block__icon):not(.header-block__badge) {
  display: flex !important;
  align-items: center;
}

/* Hide stray text characters */
.kp-header__nav2 span:not(.material-icons):not(.header-block__icon):not(.header-block__badge) {
  font-size: 0 !important;
  width: 0;
  overflow: hidden;
}
/* But show icon spans properly */
.kp-header__nav2 .material-icons,
.kp-header__nav2 .header-block__icon {
  width: auto !important;
  overflow: visible !important;
}

/* Center nav by making it absolutely positioned center */
.kp-header-row {
  position: relative;
}

.kp-header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

/* Keep logo and icons at edges */
.kp-header__logo { position: relative; z-index: 2; }
.kp-header__icons { position: relative; z-index: 2; margin-left: auto; }

/* Main menu should not take full width when centered */
.kp-header__nav .main-menu {
  width: auto !important;
  flex: none !important;
}

.kp-header__nav .main-menu.col-xl,
.kp-header__nav .main-menu.col-auto {
  width: auto !important;
  flex: none !important;
  padding: 0 !important;
}

/* Gap between header icon groups */
.kp-header__icons { gap: 1rem; }
.kp-header__nav2 { gap: 1rem; }

/* === FINAL POLISH === */

/* Hide PS module's duplicate section title */
.featured-products .products-section-title,
.featured-products > .container > h2,
.newproducts .products-section-title,
.bestsellers .products-section-title {
  display: none !important;
}

/* Force 4 columns on xl for featured products */
.featured-products .products.row {
  margin: 0 -0.75rem;
}

.featured-products .products.row > .product-miniature {
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
  .featured-products .products.row > .product-miniature.col-xl-3 {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Product card cream background */
body .product-miniature .card {
  background-color: #F5F0E8 !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  overflow: hidden;
  width: 100%;
  transition: all 0.3s ease;
}

body .product-miniature .card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 0 0 1px rgba(184,149,106,0.3);
}

/* Product image container */
body .product-miniature .thumbnail-container {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: rgba(232,226,218,0.3);
}

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

body .product-miniature:hover .thumbnail-container img {
  transform: scale(1.05);
}

/* Product title serif font */
body .product-miniature .product-miniature__title {
  font-family: var(--kp-serif);
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--kp-fg);
}

/* Price in gold */
body .product-miniature .product-miniature__price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--kp-primary);
}

/* "Siehe Details" button styling */
body .product-miniature .btn-outline-primary {
  border-color: var(--kp-primary);
  color: var(--kp-primary);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body .product-miniature .btn-outline-primary:hover {
  background: var(--kp-primary);
  color: #fff;
}

/* Add to cart button gold */
body .product-miniature .btn-primary,
body .product-miniature [data-button-action="add-to-cart"] {
  background: var(--kp-primary) !important;
  border-color: var(--kp-primary) !important;
  color: #fff !important;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* Product flags better styling */
body .product-flag {
  border-radius: 0.25rem !important;
  padding: 0.25rem 0.625rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
}

body .product-flag.out_of_stock {
  background: var(--kp-danger) !important;
  color: #fff !important;
}

/* Quick view button fix */
body .product-miniature__quickview {
  opacity: 0;
  transition: opacity 0.3s ease;
}
body .product-miniature:hover .product-miniature__quickview {
  opacity: 1;
}

/* Hide "Alle Artikel" footer link (we have our own) */
.featured-products-footer {
  display: none !important;
}

/* Ensure footer sections have proper bg */
.footer__before {
  background-color: var(--kp-fg) !important;
}

/* =======================================================================
   FINAL FIX: Bootstrap specificity overrides for buttons + footer
   ======================================================================= */

/* 1. Product card buttons — force gold */
body .product-miniature .btn-outline-primary,
body .product-miniature a.btn-outline-primary,
body .product-miniature a.btn,
.featured-products .product-miniature .btn-outline-primary,
.featured-products .product-miniature a.btn {
  background: transparent !important;
  color: #B8956A !important;
  border-color: #B8956A !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border-radius: 0.25rem !important;
  transition: all 0.15s ease !important;
}

body .product-miniature .btn-outline-primary:hover,
body .product-miniature a.btn-outline-primary:hover,
body .product-miniature a.btn:hover,
.featured-products .product-miniature .btn-outline-primary:hover {
  background: #B8956A !important;
  color: #fff !important;
  border-color: #B8956A !important;
}

/* Add-to-cart buttons gold filled */
body .product-miniature .btn-primary,
body .product-miniature button[data-button-action="add-to-cart"],
.featured-products .product-miniature .btn-primary {
  background: #B8956A !important;
  border-color: #B8956A !important;
  color: #fff !important;
  border-radius: 0.25rem !important;
}

body .product-miniature .btn-primary:hover {
  background: #A6825A !important;
}

/* Quantity input styling */
body .product-miniature .quantity-button,
body .product-miniature .qty-input {
  border-color: #D5CFC7 !important;
  border-radius: 0.25rem !important;
}

/* 2. Newsletter / Email subscription button */
body .block_newsletter .btn,
body .block_newsletter button,
body .block_newsletter input[type="submit"],
body .ps-emailsubscription .btn,
body .footer__before .btn,
body .footer__before button[type="submit"] {
  background: #B8956A !important;
  border-color: #B8956A !important;
  color: #fff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-weight: 500 !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem 2rem !important;
}

body .block_newsletter .btn:hover,
body .footer__before .btn:hover {
  background: #A6825A !important;
  border-color: #A6825A !important;
}

/* Newsletter input field */
body .block_newsletter input[type="email"],
body .footer__before input[type="email"] {
  background: rgba(250,250,247,0.1) !important;
  border: 1px solid rgba(250,250,247,0.2) !important;
  border-radius: 0.5rem !important;
  color: #FAFAF7 !important;
  padding: 0.75rem 1.5rem !important;
}

body .block_newsletter input[type="email"]:focus {
  border-color: #B8956A !important;
  box-shadow: 0 0 0 2px rgba(184,149,106,0.3) !important;
  outline: none !important;
}

/* 3. Copyright & footer bottom */
body .copyright,
body .copyright a,
body .copyright p {
  color: rgba(250,250,247,0.5) !important;
  font-size: 0.75rem !important;
}

body .copyright a:hover {
  color: #B8956A !important;
}

/* Footer "before" section (newsletter) text colors */
body .footer__before,
body .footer__before h2,
body .footer__before .h2,
body .footer__before p {
  color: #FAFAF7;
}

body .footer__before h2,
body .footer__before .h2 {
  font-family: 'Playfair Display', serif;
}

/* Footer main bottom row */
body .footer__main__bottom {
  border-top: 1px solid rgba(250,250,247,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

/* 4. All global .btn overrides to catch any stragglers */
body .btn-primary {
  background-color: #B8956A !important;
  border-color: #B8956A !important;
  color: #fff !important;
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active {
  background-color: #A6825A !important;
  border-color: #A6825A !important;
  color: #fff !important;
}

body .btn-outline-primary {
  color: #B8956A !important;
  border-color: #B8956A !important;
  background: transparent !important;
}

body .btn-outline-primary:hover,
body .btn-outline-primary:focus {
  background-color: #B8956A !important;
  border-color: #B8956A !important;
  color: #fff !important;
}

/* Active/focus states */
body .btn-primary:focus-visible,
body .btn-outline-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(184,149,106,0.3) !important;
}

/* Blockreassurance module (trust icons) color fix */
body .blockreassurance_product span,
body .blockreassurance span {
  color: var(--kp-muted-fg) !important;
}

body .blockreassurance svg,
body .blockreassurance img {
  filter: sepia(50%) hue-rotate(-10deg) saturate(150%);
}

/* Quick-view button fix */
body .product-miniature__quickview_touch {
  background: var(--kp-card, #F5F0E8) !important;
  border: 1px solid rgba(213,207,199,0.3) !important;
  color: var(--kp-fg, #2C1810) !important;
  border-radius: 0.25rem !important;
}
body .product-miniature__quickview_touch:hover {
  border-color: #B8956A !important;
  color: #B8956A !important;
}
