/* styles.css */
:root {
  /* Default Theme (Light) */
  --bg-main: #fcfcfc;
  --bg-alt: #f0f0f0;
  --bg-card: #ffffff;
  --color-tan: #8a633c;
  --color-accent: #cf2e2e;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #e5e5e5;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* 8px Grid Spacing */
  --spacing-1: 8px;
  --spacing-2: 16px;
  --spacing-3: 24px;
  --spacing-4: 32px;
  --spacing-6: 48px;
  --spacing-8: 64px;
  --spacing-12: 96px;
  --spacing-16: 128px;

  /* Layout */
  --container-width: 1200px;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-main: #1a1a1a;
  --bg-alt: #242424;
  --bg-card: #2a2a2a;
  --color-tan: #a67c52;
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --border-color: #3d3d3d;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  margin-bottom: var(--spacing-2);
  color: var(--text-main);
  transition: color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-3);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.max-w-800 {
  max-width: 800px;
  margin-inline: auto;
}

.margin-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-8 {
  margin-bottom: var(--spacing-8);
}

.mb-4 {
  margin-bottom: var(--spacing-4);
}

.text-large {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Animations & Reduced Motion */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .product-card {
    transition: none !important;
  }

  .scroll-indicator {
    animation: none !important;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(var(--bg-main), 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] header {
  background-color: rgba(252, 252, 252, 0.9);
}

[data-theme="dark"] header {
  background-color: rgba(26, 26, 26, 0.9);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--spacing-4) 0;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.theme-toggle-wrapper {
  display: flex;
  justify-content: flex-end;
}

.social-icons {
  display: flex;
  gap: var(--spacing-2);
  flex: 1;
  /* per bilanciare il lato sx con il lato dx */
}

.social-icons a {
  color: var(--text-main);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--color-tan);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo img {
  height: 60px;
  /* logo più grande per dargli enfasi */
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.header-nav {
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-2) 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-6);
  flex-wrap: wrap;
  /* per mobile */
}

.nav-links a {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

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

/* Sottolineatura animata */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

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

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: var(--spacing-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.3s ease;
  border-radius: 50%;
}

.theme-toggle:hover {
  background-color: var(--bg-alt);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 var(--spacing-3);
  overflow: hidden;
  margin-top: 120px; /* offset per l'header più grande */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/img/hero-red%20point%20logo.webp') center/cover no-repeat;
  opacity: 0.15; /* Ripristinato effetto sfumato in trasparenza */
  z-index: -1;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .hero-bg {
  opacity: 0.08; /* Ripristinato effetto sfumato più chiaro per il tema light */
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: var(--spacing-2);
  color: var(--text-main);
  letter-spacing: -1px;
}



.hero p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--color-tan);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: bold;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-6);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  fill: var(--color-tan);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-7px);
  }
}

/* Sections Common */
section {
  padding: var(--spacing-12) 0;
}

.section-light {
  background-color: var(--bg-main);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-4);
  color: var(--color-tan);
}

.section-title.text-center::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: var(--spacing-3) auto 0;
}

.section-title.text-left::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: var(--spacing-3) 0 0;
}

.red-divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: var(--spacing-4) auto;
}

/* Made in Puglia */
.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-8);
  align-items: center;
}

.history-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.history-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-4);
  margin-top: var(--spacing-8);
  align-items: stretch;
}

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

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

.product-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

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

.product-image {
  height: 224px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-4) var(--spacing-4) 0 var(--spacing-4);
}

.product-image.square {
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
}

.product-image img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.product-info {
  padding: var(--spacing-4) var(--spacing-4) 30px var(--spacing-4);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* Ensure top alignment so titles match height */
}

.product-info .btn {
  margin-top: auto !important;
  /* Pushes the button to the bottom of the card */
}

.product-info p {
  margin-bottom: 35px !important;
}

.product-info p:last-child {
  margin-bottom: 0 !important;
}

/* Common Card Title Style */
.card-title,
.product-name,
.value-card h3,
.product-card h3 {
  position: relative;
  margin-bottom: 30px;
  /* Exactly double the 15px bottom property so the red line is centered between title and text */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tan) !important;
  font-family: 'Source Serif Pro', serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.card-title::after,
.product-name::after,
.value-card h3::after,
.product-card h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  /* Closer to the text */
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 2px;
  background-color: var(--color-accent);
}

.card-divider-top {
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 0 auto 15px auto;
}

.no-after::after {
  display: none !important;
}

.text-left.card-title {
  justify-content: flex-start;
}

.text-left.card-title::after {
  left: 0;
  transform: none;
}

/* Values / Benefici */
.value-card {
  background: var(--bg-card);
  padding: var(--spacing-6);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-shadow {
  box-shadow: var(--shadow-lg);
}

/* Forms */
.contact-card {
  background: var(--bg-card);
  padding: var(--spacing-8);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-4);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.form-checkbox {
  margin-bottom: var(--spacing-4);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4);
}

label {
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  margin-bottom: var(--spacing-1);
  color: var(--text-main);
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-alt) !important;
  color: var(--text-main);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a67c52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 18px !important;
  padding-right: 48px !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-tan);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2) var(--spacing-4);
  font-size: 1.1rem;
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid var(--text-main);
  color: var(--text-main) !important;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--bg-main) !important;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-tan);
  color: #fff;
  border: none;
  padding: var(--spacing-2) var(--spacing-6);
  font-size: 1.1rem;
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  margin-top: var(--spacing-2);
}

.btn-primary:hover {
  background-color: #7a5430;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: #111111;
  /* Always dark for premium feel */
  color: #eeeeee;
  padding: var(--spacing-12) 0 var(--spacing-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-8);
}

.footer-brand p {
  margin-top: var(--spacing-3);
  color: #999;
}

.footer-logo {
  height: 150px;
  width: auto;
}

footer h4 {
  color: var(--color-tan);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-3);
}

.footer-nav a,
.footer-contact a,
.footer-social a {
  display: block;
  color: #aaaaaa;
  margin-bottom: var(--spacing-1);
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: var(--spacing-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-4);
}

.legal-links a {
  color: #888;
  margin-right: var(--spacing-3);
  font-size: 0.9rem;
}

.copyright {
  color: #666;
  font-size: 0.85rem;
  text-align: right;
}

.copyright a {
  color: var(--color-tan);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .history-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: var(--spacing-2);
  }

  .social-icons,
  .theme-toggle-wrapper {
    justify-content: center;
  }

  .nav-links {
    gap: var(--spacing-3);
    font-size: 0.8rem;
  }

  .hero {
    margin-top: 180px;
    /* header più alto su mobile */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-offset {
    padding-top: 180px;
  }
}

/* Page Layout Helpers */
.page-offset {
  padding-top: 140px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
  align-items: center;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-4);
  align-items: stretch;
}

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

  .grid-4-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .grid-4-col {
    grid-template-columns: 1fr;
  }
}

/* Quote Banner */
.quote-banner {
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--spacing-12) 0;
}

.quote-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
  filter: brightness(0.4);
  /* Darken image here instead of overlay if needed */
}

.quote-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.quote-banner-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #ffffff;
}

.quote-banner-content h2,
.quote-banner-content p {
  color: #ffffff;
}

.quote-banner-content blockquote {
  font-family: 'Source Serif Pro', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.quote-banner-content cite {
  display: block;
  margin-top: var(--spacing-4);
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-tan);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Quote Hover Effect (Word by Word) */
.quote-banner blockquote {
  transition: color 0.3s ease;
}

.quote-banner blockquote span {
  display: inline-block;
  transition: color 0.8s ease, transform 0.8s ease;
  /* Long fade-out */
  cursor: default;
}

.quote-banner blockquote span:hover {
  color: var(--color-accent) !important;
  transform: scale(1.1);
  transition: color 0.1s ease, transform 0.1s ease;
  /* Quick fade-in */
}

/* Logo Ticker */
.logo-ticker-section {
  padding: var(--spacing-6) 0;
  background-color: var(--bg-alt);
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.logo-ticker-container {
  display: flex;
  width: max-content;
  animation: scroll-left-to-right 60s linear infinite;
}

.logo-ticker-item {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.logo-ticker-item img {
  max-width: 180px;
  max-height: 80px;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  shape-rendering: geometricPrecision;
}

/* Theme adaptation for logos */
[data-theme="dark"] .logo-ticker-item img {
  filter: grayscale(100%) invert(1) opacity(0.8);
}

.logo-ticker-item img:hover {
  filter: grayscale(0) opacity(1) !important;
  transform: scale(1.05);
}

@keyframes scroll-left-to-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ==========================================================================
   Article Pages (Storie d'Eccellenza)
   ========================================================================== */

.article-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 140px;
  /* offset for fixed header */
}

@media (max-width: 768px) {
  .article-hero {
    margin-top: 180px;
  }
}

.article-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
}

.article-hero .container {
  position: relative;
  z-index: 1;
}

.article-meta {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.article-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.article-author {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  opacity: 0.9;
}

.container-small {
  max-width: 800px;
  margin-inline: auto;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
}

.article-body p {
  margin-bottom: 2rem;
}

.dropcap::first-letter {
  float: left;
  font-size: 5rem;
  line-height: 4rem;
  padding-top: 4px;
  padding-right: 12px;
  padding-left: 3px;
  font-weight: 700;
  color: var(--color-primary);
}

.premium-quote {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  padding-left: 2.5rem;
  margin: 4rem 0;
  line-height: 1.4;
  font-family: var(--font-serif);
}

.article-footer-cta {
  border: 1px solid var(--border-color);
  background-color: var(--bg-alt);
}

.rounded-lg {
  border-radius: 16px;
}

.italic {
  font-style: italic;
}

.text-xl {
  font-size: 1.5rem;
}

/* Custom styles for bar logo feature */
.bar-logo-feature img {
  box-shadow: var(--shadow-lg);
  border-radius: 50%;
  background: white;
  padding: 20px;
  border: 4px solid var(--bg-card);
}

.bar-logo-overlay img {
  transition: transform 0.3s ease;
}

.product-card:hover .bar-logo-overlay img {
  transform: scale(1.1);
  filter: grayscale(0) !important;
}

.py-12 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mt-12 {
  margin-top: 4rem;
}

.mb-8 {
  margin-bottom: 2rem;
}