/* Florry wine / ivory overlay — loaded after style.css */

html {
  color: var(--ink, #111);
}

body {
  font-family: var(--font-body);
  background: var(--ivory-100, #f5efea);
  color: var(--ink, #111);
}

h1, h2, h3, h4,
.catalog-title,
.about-title,
.product-card h3,
.footer-heading,
.category-seasonal-notice {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--wine-900, #3b0714);
}

.top-bar a,
.top-bar .top-left a {
  color: inherit;
  text-decoration: none;
}
.top-bar a:hover {
  text-decoration: underline;
}

.top-item,
.top-left,
.top-right,
.language {
  color: #f5efea;
}

.top-center [data-i18n="top.pickup"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5EFEA' d='M12 22a10 10 0 1 1 0-20a10 10 0 0 1 0 20Zm0-18a8 8 0 1 0 0 16a8 8 0 0 0 0-16Zm1 9h4v2h-6V7h2v6Z'/%3E%3C/svg%3E");
}

.top-center [data-i18n="top.delivery"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5EFEA' d='M3 7a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1h2.59A2 2 0 0 1 21 8.59V16a2 2 0 0 1-2 2h-1.17a3 3 0 0 1-5.66 0H10.83a3 3 0 0 1-5.66 0H5a2 2 0 0 1-2-2V7Zm14 3v6h2V9.41L17.59 10H17ZM6.5 19a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3Zm9 0a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3Z'/%3E%3C/svg%3E");
}

.top-bar .language-btn,
.top-bar .language-btn:visited,
.top-bar .language-btn:active,
.top-bar .language-btn:focus,
.top-bar .language-current,
.top-bar .language-current-full {
  color: #f5efea;
  font-weight: 600;
}

.language-dropdown button {
  color: #2c2c2c;
}

.categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wine-800, #5a1024);
  box-shadow: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.categories-btn::before {
  content: "";
  width: 16px;
  height: 12px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 5px / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px / 100% 2px no-repeat;
}
.categories-btn:hover,
.categories-btn:active {
  transform: none;
  box-shadow: none;
  background: var(--wine-900, #3b0714);
}

.login-btn,
.more-btn,
.reviews-cta,
.reviews-submit,
button.buy-btn,
.cart-checkout-btn,
.checkout-submit-btn {
  background: var(--wine-800, #5a1024);
  box-shadow: none;
  border-radius: 999px;
}
.login-btn:hover,
.more-btn:hover {
  transform: none;
  background: var(--wine-900, #3b0714);
  box-shadow: none;
}

.header-inner {
  min-height: 72px;
}

.logo img {
  height: 52px;
}

.cart-count {
  background: var(--wine-800, #5a1024);
}

.sidebar {
  background: var(--ivory-50, #fffdfc);
  box-shadow: 8px 0 40px rgba(59, 7, 20, 0.16);
}
.sidebar a:hover {
  background: var(--ivory-200, #e8d9d2);
  color: var(--wine-800, #5a1024);
}
.close-btn {
  color: var(--wine-800, #5a1024);
}

.footer-main,
.footer-main {
  background: var(--wine-900, #3b0714) !important;
  color: var(--ivory-100, #f5efea);
}
.footer-heading,
.footer-col h4,
.footer-heading,
.footer-brand-main,
.footer-brand-sub,
.footer-col a,
.footer-col span,
.footer-legal a,
.footer-sub-left p {
  color: var(--ivory-100, #f5efea) !important;
}
.footer-col a:hover,
.footer-legal a:hover {
  color: #fff !important;
  opacity: 0.92;
}
.footer-sub {
  background: #2a0510;
  color: var(--ivory-200, #e8d9d2);
}
.footer-icon {
  fill: var(--ivory-200, #e8d9d2);
}

.footer-brand img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

/* Product cards */
.catalog-grid,
#catalog,
#favoritesGrid,
.favorites-grid,
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 1200px;
  overflow: visible;
}
.product-card {
  background: var(--ivory-50, #fffdfc);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(59, 7, 20, 0.06);
  border: 1px solid rgba(59, 7, 20, 0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  transform: none;
  opacity: 1;
}
.product-card:hover {
  transform: none;
  box-shadow: 0 14px 32px rgba(59, 7, 20, 0.12);
  border-color: rgba(116, 27, 52, 0.2);
}
.product-card-media,
.product-card-media {
  aspect-ratio: 4 / 5;
}
.product-card-media img,
.product-card img {
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.product-card h3 {
  font-size: 1.05rem;
  margin: 4px 2px 0;
}
.product-card .price,
.product-card .price {
  color: var(--wine-700, #741b34);
  font-weight: 600;
  margin: 4px 2px 0;
}
.product-meta {
  font-size: 0.82rem;
  color: #6b5b62;
  margin: 4px 2px 10px;
}

/* Homepage */
.vis-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.home-hero-wrap {
  background: var(--ivory-100, #f5efea);
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 28px;
  min-height: min(72vh, 640px);
}
.home-hero h1,
.home-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--wine-900, #3b0714);
  white-space: pre-line;
}
.home-hero__copy p,
.home-hero__copy p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4a3a40;
  margin: 0 0 28px;
  max-width: 28rem;
  white-space: pre-line;
}
.home-hero__cta,
.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--wine-800, #5a1024);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.home-hero__cta:hover,
.home-hero__cta:hover {
  background: var(--wine-900, #3b0714);
}
.home-hero__visual,
.home-hero__visual {
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  min-width: 0;
  max-width: 100%;
  background:
    radial-gradient(circle at 70% 40%, #8e304a 0%, transparent 50%),
    linear-gradient(160deg, #e8d9d2 0%, #741b34 55%, #3b0714 100%);
}
.home-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* Pre-order marquee under header */
.home-preorder-marquee {
  background: var(--wine-900, #3b0714);
  color: var(--ivory-50, #fffdfc);
  max-width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(245, 239, 234, 0.12);
  border-bottom: 1px solid rgba(245, 239, 234, 0.12);
}
.home-preorder-marquee__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.home-preorder-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: home-preorder-marquee 32s linear infinite;
  will-change: transform;
}
.home-preorder-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  /* no min-width: empty flex space caused visible gaps in the loop */
}
.home-preorder-marquee__text {
  display: inline-block;
  padding: 10px 14px;
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.3;
  color: var(--ivory-50, #fffdfc);
}
.home-preorder-marquee__sep {
  display: inline-block;
  padding: 0 2px;
  opacity: 0.45;
  font-size: 0.85rem;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}
@keyframes home-preorder-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .home-preorder-marquee__track {
    animation-duration: 48s;
  }
  .home-preorder-marquee__text {
    padding: 9px 14px;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-preorder-marquee__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }
  .home-preorder-marquee__group[aria-hidden="true"] {
    display: none;
  }
  .home-preorder-marquee__group {
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
  .home-preorder-marquee__group .home-preorder-marquee__text:nth-child(n + 3),
  .home-preorder-marquee__group .home-preorder-marquee__sep {
    display: none;
  }
  .home-preorder-marquee__group .home-preorder-marquee__text:first-child {
    display: inline-block;
  }
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 12px 0 40px;
}
.home-benefit,
.home-benefit {
  background: var(--ivory-50, #fffdfc);
  border: 1px solid rgba(59, 7, 20, 0.06);
  border-radius: 14px;
  padding: 18px 16px 20px;
}
.home-benefit__icon,
.home-benefit__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--wine-700, #741b34);
}
.home-benefit h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.home-benefit p {
  margin: 0;
  font-size: 0.88rem;
  color: #5c4d52;
  line-height: 1.45;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 22px;
}
.home-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.home-section-head a {
  color: var(--wine-700, #741b34);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.home-section-head a:hover {
  text-decoration: underline;
}

.home-promo {
  margin: 48px 0;
  padding: 40px 36px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 50%, rgba(201, 143, 160, 0.25), transparent 42%),
    linear-gradient(100deg, #3b0714 0%, #5a1024 55%, #741b34 100%);
  color: #f5efea;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.home-promo__kicker,
.home-promo__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 10px;
}
.home-promo h2 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: #f5efea;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 22px;
  white-space: pre-line;
  -webkit-font-smoothing: antialiased;
}
.home-promo__cta,
.home-promo__cta {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 253, 252, 0.12);
  border: 1px solid rgba(255, 253, 252, 0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.home-promo__cta:hover {
  background: rgba(255, 253, 252, 0.2);
}

.top-bar a.top-item {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar a.top-item:hover {
  text-decoration: underline;
}

.product-card {
  max-width: none;
  width: 100%;
}

.language-dropdown {
  background: #fffdfc !important;
  border-color: rgba(59, 7, 20, 0.14) !important;
  box-shadow: 0 10px 28px rgba(59, 7, 20, 0.12) !important;
}

.sidebar {
  box-shadow: 8px 0 36px rgba(59, 7, 20, 0.16);
}

.reviews-cta {
  box-shadow: none;
  background: var(--wine-800, #5a1024);
  color: #fff;
  border: none;
}
.reviews-cta:hover {
  background: var(--wine-900, #3b0714);
}

.cookie-consent button,
#cookieConsent button {
  background: var(--wine-800, #5a1024) !important;
}
.home-promo__mark {
  width: 140px;
  height: 140px;
  margin-left: auto;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  display: block;
  background: transparent;
  padding: 0;
}
.home-promo__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
  overflow: visible;
}
.home-cat-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  color: #fff;
  transform: none;
  opacity: 1;
}
.home-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}
.home-cat-card:hover img {
  transform: scale(1.04);
}
.home-cat-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px 14px;
  background: linear-gradient(transparent, rgba(59, 7, 20, 0.82));
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.legal-page .catalog--compact,
.legal-page .impressum-content,
.legal-page .legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 0 64px;
  line-height: 1.7;
  color: #2a1a20;
}
.legal-page .catalog-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 20px;
}

.page-checkout .checkout-nav__back,
.page-checkout .checkout-nav__next {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.page-checkout .checkout-nav__next {
  margin-left: auto;
  background: var(--wine-800, #5a1024);
  color: #fff;
  border: none;
}
.page-checkout .checkout-nav__back {
  background: #fff;
  border: 1.5px solid rgba(59, 7, 20, 0.18);
  color: var(--wine-800, #5a1024);
}

@media (max-width: 900px) {
  .home-hero h1,
  .home-hero__copy h1 {
    line-height: 1.22;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
  .home-hero,
  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 24px;
    gap: 22px;
    min-width: 0;
  }
  .home-hero__copy {
    min-width: 0;
    max-width: 100%;
  }
  .home-hero__visual,
  .home-hero__visual,
  .home-hero__visual img,
  .home-hero__visual img {
    min-height: 280px;
    max-width: 100%;
    min-width: 0;
  }
  .home-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .home-promo {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .home-promo__mark {
    margin: 0;
  }
}

@media (max-width: 560px) {
  .home-benefits {
    grid-template-columns: 1fr;
  }
  .top-center {
    display: none;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-hero h1,
  .home-hero__copy h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.4rem);
  }
  .home-hero__copy p {
    max-width: 100%;
  }
  .home-hero__visual {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Readability QA: beat style.css transforms / fixed heights */
.catalog-grid,
#catalog,
#favoritesGrid,
.favorites-grid,
.home-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.product-card,
.catalog.is-visible .product-card,
.product-card:hover,
.home-cat-card,
.home-categories.is-visible .home-cat-card {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  transform: none !important;
  opacity: 1 !important;
}

.home-cat-card {
  height: auto !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.home-cat-card:hover .home-cat-label {
  transform: none;
}

.product-card img,
.product-card-media img {
  min-height: 0 !important;
}

@media (max-width: 520px) {
  .catalog-grid,
  #catalog,
  #favoritesGrid,
  .home-cat-grid {
    grid-template-columns: 1fr;
  }
}
