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

:root {
  --color-primary: #A89F84;
  --color-primary-dark: #3F2D0B;
  --color-primary-light: #32322D;
  --color-accent: #C8A96E;
  --color-text: #1a1a1a;
  --color-text-light: #777;
  --color-bg: #fff;
  --color-bg-alt: #f5f5f5;
  --color-border: #e0e0e0;
  --color-border-light: #eee;
  --color-header-bg: #272725;
  --color-footer-bg: #1e1e1d;
  --color-dark-bg: #272725;
  --color-success: #4caf50;
  --color-error: #c62828;
  --font-heading: 'Marcellus', serif;
  --font-body: 'Jost', sans-serif;
  --header-height: 80px;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font: inherit; transition: opacity var(--transition-fast), color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast); }
button:hover { opacity: 0.85; }
a[style*="display:inline-flex"][style*="padding"] { transition: opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast); }
a[style*="display:inline-flex"][style*="padding"]:hover { opacity: 0.85; transform: translateY(-1px); }
input, textarea { font: inherit; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body.no-scroll { overflow: hidden; position: fixed; left: 0; width: 100%; height: 100%; touch-action: none; }

/* ANNOUNCEMENT BAR */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  z-index: 1001;
  padding: 0 20px;
  text-align: center;
}

.announcement-bar__wrapper {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.announcement-bar__item {
  flex-shrink: 0;
  padding: 0 80px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-bar__item svg { width: 16px; height: 16px; fill: currentColor; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HEADER */
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  color: #fff;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#page-shell {
  padding-top: calc(40px + var(--header-height));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: pageIn var(--transition-slow) backwards;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.mega-open #page-shell,
body.mega-open #footer-shell { content-visibility: hidden; }

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.header-left { display: flex; align-items: center; gap: 16px; }

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: #fff;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.header-logo img { display: block; }

.header-nav { display: flex; align-items: center; }

.header-nav a,
.header-nav .nav-trigger {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 16px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.header-nav a:hover,
.header-nav .nav-trigger:hover { opacity: 0.8; }

.nav-trigger { display: flex; align-items: center; gap: 6px; }

.nav-trigger svg {
  width: 10px;
  height: 10px;
  fill: #fff;
  transition: transform 0.3s;
}

.nav-trigger.open svg { transform: rotate(180deg); }

.header-right { display: flex; align-items: center; gap: 12px; }

.header-right button,
.header-right a {
  color: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.header-right button:hover,
.header-right a:hover { opacity: 0.8; }

.header-right svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.header-cart-link {
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  line-height: 18px;
  text-align: center;
  padding: 0 5px;
}

/* MEGA DROPDOWN */
.mega-dropdown {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
  will-change: transform;
  transform: translateY(-12px);
  overflow-y: auto;
  background: var(--color-header-bg);
  contain: layout style paint;
}

.mega-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-dropdown .mega-menu {
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.08);
  contain: content;
}

/* ---- Borbone-style mega menu ---- */

.mega-menu {
  min-height: calc(100vh - var(--header-height) - 2.4rem);
  padding: 1.2rem 50px;
  background: var(--color-header-bg);
  position: relative;
}

.mega-menu__nav {
  width: calc(50% - 50px);
  display: grid;
  gap: 0.8rem;
  align-content: start;
  align-self: start;
}

.mega-menu--simple {
  display: flex;
  justify-content: center;
  min-height: 300px;
}

.mega-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.mega-nav-card.mega-nav-card-all {
  grid-column: 1 / -1;
  border: 1px solid var(--color-accent);
}

.mega-nav-card {
  background: #32322d;
  padding: 20px;
  cursor: pointer;
  border: none;
  font: inherit;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.mega-nav-card:hover { background: #3f3f3a; }

.mega-nav-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-accent);
  margin: 0 0 4px;
  font-weight: 500;
}

.mega-nav-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.mega-nav-card--link { display: flex; flex-direction: column; justify-content: center; align-items: center; }

.mega-nav-arrow {
  display: block;
  margin: 6px auto 0;
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s ease;
}
.mega-nav-card.expanded .mega-nav-arrow {
  transform: rotate(180deg);
}

.mega-nav-sublist {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}
.mega-nav-sublist > div {
  overflow: hidden;
}

.mega-nav-card.expanded .mega-nav-sublist {
  grid-template-rows: 1fr;
  flex: 1;
}

.mega-nav-card.expanded {
  align-self: stretch;
  text-align: left;
}

.mega-nav-card.expanded p { display: none; }
.mega-nav-card.expanded h3 { text-align: left; margin-bottom: 0; }

.mega-nav-card.expanded .mega-nav-card-body {
  flex: 0 0 auto;
}

.mega-nav-sublist-inner {
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
}

.mega-nav-sublist-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.mega-nav-sublist-link:hover { color: var(--color-accent); }

.mega-nav-sublist-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.mega-nav-card-img {
  margin-bottom: 8px;
}

.mega-nav-card-img .mega-nav-sublist-img {
  width: 48px;
  height: 48px;
}

.mega-nav-card-body {
  flex: 1;
  text-align: center;
}

.mega-nav-card.expanded .mega-nav-card-img {
  display: none;
}

.mega-nav-card.expanded .mega-nav-card-body p {
  display: none;
}

.mega-nav-loading,
.mobile-sub-loading {
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.mega-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #3f3d39;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s;
}

.mega-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

/* Promo column */
.mega-promo-col {
  position: absolute;
  top: 1.2rem;
  right: 50px;
  width: calc(50% - 50px);
  height: calc(100vh - var(--header-height) - 3.6rem);
  display: flex;
  flex-direction: column;
}

.mega-promo-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.8rem;
  max-width: 100%;
}

.mega-promo-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* Responsive carousel heights */
@media (max-width: 1400px) {
  .mega-promo-carousel { min-height: 380px; }
}
@media (max-width: 1200px) {
  .mega-promo-carousel { min-height: 360px; }
}
@media (max-width: 1024px) {
  .mega-promo-carousel { min-height: 340px; }
}
@media (max-width: 900px) {
  .mega-promo-carousel { min-height: 320px; }
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  z-index: 1;
}

.carousel-slide-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 2;
  max-width: 340px;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(39,39,37,0.88);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.carousel-slide-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: var(--color-accent, #c8a96e);
}

.carousel-slide-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-weight: 500;
  line-height: 1.25;
}

.carousel-slide-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0 0 12px;
  max-width: 90%;
}

.carousel-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: filter var(--transition-base), transform var(--transition-base);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.carousel-slide-btn:hover {
  filter: brightness(1.25);
  transform: translateY(-2px);
}

.carousel-slide-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.carousel-slide-btn:hover svg {
  transform: translateX(3px);
}

.carousel-placeholder {
  width: 60px;
  height: 60px;
  border: 2px dashed rgba(0,0,0,0.1);
  border-radius: 50%;
  animation: carouselPlaceholderSpin 2s linear infinite;
}

@keyframes carouselPlaceholderSpin {
  to { transform: rotate(360deg); }
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 6px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.carousel-dot:hover:not(.active) {
  background: rgba(255,255,255,0.7);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  pointer-events: none;
}

.carousel-btn:hover,
.carousel-btn:focus {
  opacity: 1;
  background: var(--color-bg-alt);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  outline: none;
}

.mega-promo-carousel:hover .carousel-btn,
.mega-promo-carousel:focus-within .carousel-btn {
  opacity: 1;
}

.carousel-btn--prev {
  left: 12px;
}

.carousel-btn--next {
  right: 12px;
}

/* Touch devices - always show arrows */
@media (hover: none) and (pointer: coarse) {
  .carousel-btn {
    opacity: 0.8;
    width: 48px;
    height: 48px;
  }
  .carousel-btn svg {
    width: 22px;
    height: 22px;
  }
  .carousel-btn:hover,
  .carousel-btn:focus {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  .carousel-btn--prev { left: 8px; }
  .carousel-btn--next { right: 8px; }
  .carousel-slide-content { max-width: 300px; padding: 20px 24px 24px; }
  .carousel-slide-heading { font-size: 18px; }
}
@media (max-width: 900px) {
  .carousel-slide-content { max-width: 280px; padding: 18px 22px 22px; }
  .carousel-slide-heading { font-size: 17px; }
  .carousel-slide-desc { font-size: 12px; }
  .carousel-slide-btn { padding: 9px 20px; font-size: 11px; }
}
@media (max-width: 768px) {
  .carousel-slide-content { bottom: 16px; left: 16px; max-width: 260px; padding: 16px 20px 20px; }
  .carousel-slide-heading { font-size: 16px; }
  .carousel-slide-desc { font-size: 12px; margin-bottom: 10px; }
  .carousel-slide-btn { padding: 8px 18px; font-size: 11px; }
  .carousel-dots { bottom: 12px; }
}
@media (max-width: 640px) {
  .carousel-btn {
    width: 34px;
    height: 34px;
    opacity: 0.9;
  }
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  .carousel-btn--prev { left: 6px; }
  .carousel-btn--next { right: 6px; }
  .carousel-slide-content { bottom: 12px; left: 12px; right: 12px; max-width: none; padding: 14px 18px 18px; }
  .carousel-slide-heading { font-size: 15px; }
  .carousel-slide-desc { font-size: 11px; display: none; }
  .carousel-slide-btn { padding: 7px 16px; font-size: 10px; }
  .carousel-dots { bottom: 10px; gap: 6px; }
  .carousel-dot { width: 6px; height: 6px; }
}

/* Sub-view (type list) */
.mega-sub-view {
  background: #32322d;
  border-radius: 0.8rem;
  padding: 24px;
}

.mega-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.mega-back:hover { color: var(--color-accent); }

.mega-back svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }



/* Link grid for World and Sostenibilità */
.mega-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.mega-link-card {
  background: #32322d;
  padding: 24px 20px;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: background 0.2s, transform 0.3s ease;
}

.mega-link-card:hover { background: #3f3f3a; transform: translateY(-2px); }

.mega-link-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-accent);
  margin-bottom: 4px;
  font-weight: 500;
}

.mega-link-card p { font-size: 13px; color: var(--color-text-light); margin: 0; }

.mega-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.mega-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

/* OVERLAY (for mobile nav) */
.site-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.site-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  z-index: 1003;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  padding: 24px;
  contain: layout style paint;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text);
}

.mobile-nav-close {
  display: none;
}

.mobile-nav-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

.mobile-nav-list a,
.mobile-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.mobile-nav-list a:hover { color: var(--color-primary); }

.mobile-nav-trigger svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s;
}

.mobile-nav-trigger.open svg { transform: rotate(90deg); }

.mobile-sub-panel {
  max-height: 0 !important;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
  will-change: max-height, opacity;
}

.mobile-sub-panel.open {
  max-height: 800px !important;
  opacity: 1;
}

.mobile-sub-panel a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-text-light);
  transition: color 0.2s;
}
.mobile-sub-panel a:hover { color: var(--color-primary); }

.mobile-sub-all {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-sub-all:hover { color: #d4a84a; }

.mobile-sub-group {
  padding: 4px 0;
}

.mobile-sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.mobile-sub-trigger:hover { color: var(--color-primary); }
.mobile-sub-trigger svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s;
}
.mobile-sub-trigger.open svg { transform: rotate(90deg); }

.mobile-sub-sub-panel {
  max-height: 0 !important;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.mobile-sub-sub-panel.open { max-height: 800px !important; opacity: 1; }
.mobile-sub-sub-panel a {
  display: block;
  padding: 8px 16px 8px 28px;
  font-size: 13px;
  color: var(--color-text-light);
  transition: color 0.2s;
}
.mobile-sub-sub-panel a:hover { color: var(--color-primary); }

.mobile-sub-group + .mobile-sub-group {
  border-top: 1px solid var(--border, #eaeaea);
  margin-top: 4px;
  padding-top: 8px;
}

.mobile-sub-label {
  display: block;
  padding: 6px 16px 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent, #c8a96e);
  pointer-events: none;
}

.mobile-sub-group a {
  padding-left: 24px;
}

.mobile-social {
  display: flex;
  gap: 16px;
  padding: 20px 0;
}

.mobile-social a { color: var(--color-text); transition: color 0.2s; }
.mobile-social a:hover { color: var(--color-primary); }

.mobile-social svg { width: 20px; height: 20px; fill: currentColor; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--color-header-bg);
  contain: layout style paint;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  will-change: opacity;
}

.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 2;
}

.hero-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: heroProgress 8s linear forwards;
  will-change: transform;
}

@keyframes heroProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-progress-fill { animation: none !important; }
  .announcement-bar__wrapper { animation: none !important; }
  .scroll-arrow { animation: none !important; }
  .loading-skeleton { animation: none !important; }
}

.hero-content {
  position: absolute;
  z-index: 1;
  bottom: 50px;
  left: 40px;
  text-align: left;
  color: #fff;
  max-width: 320px;
  background: rgba(39,39,37,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 18px 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  will-change: transform;
}

.hero-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: var(--color-accent);
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-content p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 18px;
  line-height: 1.5;
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: filter var(--transition-base), transform var(--transition-base);
}

.hero-btn:hover {
  filter: brightness(1.25);
  transform: translateY(-2px);
}

.hero-btn.-white {
  background: #fff;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.hero-btn.-white:hover {
  background: #f2efe9;
  filter: none;
  transform: translateY(-2px);
}

/* Micro-riga informativa nelle card hero */
.hero-note {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.hero-dot.active { background: #fff; }

/* SECTION */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 400;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--color-primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 48px;
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.category-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--transition-fast);
  pointer-events: none;
  z-index: 2;
}
.category-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}
.category-card:hover::after {
  border-color: var(--color-primary);
}
.category-card:hover > img { transform: scale(1.05); }

.cat-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 600;
  padding: 20px;
  text-align: center;
  line-height: 1.3;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

.product-card {
  border: 1px solid var(--color-border);
  padding: 16px;
  text-align: center;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.product-card-img {
  aspect-ratio: 1;
  margin-bottom: 16px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 400;
}

.product-card .price {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-card .btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.product-card .btn:hover {
  filter: brightness(1.25);
  transform: translateY(-2px);
}

/* MEDIA TEXT */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #272725, #3F2D0B);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.media-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.media-text-image { height: 400px; overflow: hidden; position: relative; }
.media-text-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.media-text-content { padding: 60px 48px; }

.media-text-content h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: 400;
}

.media-text-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 16px;
  opacity: 0.9;
  font-weight: 400;
}

.media-text-content p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 24px;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-card {
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.feature-icon svg { width: 100%; height: 100%; transition: transform var(--transition-base); }
.feature-card:hover .feature-icon svg { transform: scale(1.15); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 400;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* BRAND STORY */
.brand-story {
  background: var(--color-bg-alt);
  position: relative;
}
.brand-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-primary);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.brand-story-text h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--color-text);
  margin-bottom: 20px;
  font-weight: 400;
}

.brand-story-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.brand-story-text .hero-btn {
  margin-top: 16px;
}

.brand-story-image {
  aspect-ratio: 4/3;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.brand-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.brand-story-image img { width: 100%; height: 100%; object-fit: cover; }

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  display: grid;
  gap: 12px;
  padding: 20px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.timeline li:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .timeline li {
    grid-template-columns: 80px 1fr;
  }
}
.timeline .tl-year {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary);
}
.timeline h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 4px;
}
.timeline p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* NEWSLETTER */
.newsletter {
  background: var(--color-dark-bg);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  margin-bottom: 40px;
  position: relative;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-primary);
}

.newsletter-inner { max-width: 500px; margin: 0 auto; }

.newsletter h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  margin-bottom: 12px;
  font-weight: 400;
}

.newsletter p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-size: 14px;
  outline: none;
}
.newsletter-form input:focus {
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.newsletter-form button:hover { filter: brightness(1.25); transform: translateY(-2px); }

/* FOOTER */
.site-footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 60px 24px 30px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; }

.footer-col p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a { opacity: 0.8; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }

.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-payment { display: flex; gap: 8px; margin-top: 16px; }

.footer-payment svg { width: 36px; height: 24px; }

/* PAGE CONTENT */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  position: relative;
}
.page-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--color-primary);
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-text);
  margin-bottom: 24px;
  font-weight: 400;
  position: relative;
  padding-bottom: 16px;
}
.page-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text);
  margin: 32px 0 16px;
  font-weight: 400;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.page-content ul li {
  padding: 10px 12px 10px 36px;
  margin-bottom: 8px;
  background: var(--color-bg-alt);
  position: relative;
  font-size: 14px;
  color: var(--color-text-light);
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-primary);
}

.page-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--color-text-light);
}

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

.product-detail-image {
  position: relative;
  aspect-ratio: 1;
}
.product-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.product-detail-info h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-text);
  margin-bottom: 12px;
  font-weight: 400;
}

.product-detail-info .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.product-detail-info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.product-detail-info .btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  transition: filter 0.3s, transform 0.3s;
}

.product-detail-info .btn:hover { filter: brightness(1.25); transform: translateY(-2px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Category Product Pages ---- */
.cat-prod-section { margin-bottom: 48px; }
.cat-prod-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.cat-header {
  margin-bottom: 32px;
  text-align: center;
}

.cat-header-imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.cat-header-system {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.cat-header-logo {
  max-width: 220px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

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

.cat-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-section > .section-inner {
  max-width: 1400px;
}
.cat-prod-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.cat-prod-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cat-prod-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ====================================================================
   CORNER RIBBON (Ecwid) — single implementation, rewritten from scratch
   --------------------------------------------------------------------
   ONE glossy diagonal band crossing the TOP-LEFT corner of the product
   image, like a real promo fascia: a long, thin rectangle rotated about
   -45deg whose CENTER sits ON the corner diagonal, deep enough that both
   straight terminal ends run OUTSIDE the image (beyond the top and left
   edges). The image container (overflow:hidden) is the clipping mask: it
   removes the two terminal cuts naturally, so the band looks like it
   enters from beyond the top edge, crosses the corner and continues past
   the left edge — no visible ends, no sticker effect. NO L, NO arms.
   The text stays centered ON the band and rotates with it.
   Surface: Ecwid base colour + layered gradients (specular streak + top
   sheen) + a thin ::after gloss band + lit top / shaded bottom edges via
   inset shadows + one soft outer drop.
   Scaling: everything is em-based on --ribbon-font-size. The PDP version
   (--lg) is the identical ribbon, proportionally bigger.
   Markup / Ecwid content / logic untouched (product-card.js, prodotto.js).
   ==================================================================== */

/* Standard Ecwid ribbon — the only ribbon style on the site. A clean
   horizontal pill at the top-left of the image, in the Ecwid ribbon colour
   rendered "brillante" (vivid: extra saturation + brightness). */
.ecwid-ribbon {
  --ribbon-font-size: clamp(11px, 1vw, 13px);

  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  box-sizing: border-box;
  max-width: calc(100% - 20px);
  padding: 0.45em 1.1em;
  border-radius: 999px;
  background-color: var(--ribbon-bg);
  /* Colors "brillanti". */
  filter: saturate(1.55) brightness(1.1);
  box-shadow: 0 2px 6px rgba(60, 10, 20, 0.28);

  font-size: var(--ribbon-font-size);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.ecwid-ribbon-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* PDP version: the very same pill, proportionally larger — only the
   font-size knob (and tuned padding) changes; everything else follows. */
.ecwid-ribbon--lg {
  --ribbon-font-size: clamp(15px, 1.6vw, 20px);
  padding: 0.55em 1.4em;
}

@media (max-width: 520px) {
  .ecwid-ribbon {
    --ribbon-font-size: 12px;
    top: 8px;
    left: 8px;
    padding: 0.4em 0.9em;
    max-width: calc(100% - 16px);
  }
  .ecwid-ribbon--lg {
    --ribbon-font-size: 15px;
  }
}
.cat-prod-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f0f0f0;
}
.cat-prod-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.cat-prod-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 3px;
}
.cat-prod-stock {
  font-size: 11px;
  color: #4caf50;
}
.cat-prod-card-name {
  font-family: var(--font-heading);
  font-size: 17px;
  margin-bottom: 4px;
}
.cat-prod-card-desc {
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 1.4;
  flex: 1;
  margin-bottom: 14px;
}
.cat-prod-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cat-prod-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-prod-card-btns {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.cat-prod-card-btns .scopri-btn {
  flex: 1;
  text-align: center;
}

.cart-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary, #A89F84);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.cart-icon-btn svg {
  width: 18px;
  height: 18px;
}

.cart-icon-btn:hover {
  filter: brightness(1.25);
  transform: scale(1.05);
}
.cat-prod-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.cat-prod-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
}
.cat-prod-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}


.cat-prod-btn:hover { opacity: 0.85; }

.cat-prod-card-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg,#32322d,#3f3f3a);
}

.add-cart-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-primary, #A89F84);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: filter 0.3s, transform 0.3s, background 0.2s;
  white-space: nowrap;
}

.add-cart-btn:hover { filter: brightness(1.25); transform: translateY(-2px); }

.add-cart-btn.added {
  background: #4caf50;
  pointer-events: none;
}

.cat-prod-btn.disabled {
  background: #ccc;
  pointer-events: none;
  opacity: 0.6;
}

.cat-prod-badge.sale {
  background: #e74c3c;
}

.loading-skeleton {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.2; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .header-nav { display: none; }
  .hamburger-btn { display: flex; }

  .hero { height: 400px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 15px; }

  .section { padding: 48px 20px; }
  .section-title { font-size: clamp(22px, 4vw, 26px); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .media-text { grid-template-columns: 1fr; }
  .media-text-content { padding: 40px 24px; }
  .media-text-content h2 { font-size: clamp(24px, 4vw, 36px); }
  .media-text-image { height: 280px; }
  .brand-story-grid { grid-template-columns: 1fr; }
  .brand-story-text h2 { font-size: clamp(24px, 4vw, 34px); }
  .features-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; padding: 40px 20px 60px; }
  .page-content { padding: 40px 20px 60px; }
  .page-content h1 { font-size: clamp(24px, 4vw, 36px); }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 20px 30px; }
  .newsletter { padding: 48px 20px; }
  .newsletter h2 { font-size: clamp(22px, 4vw, 34px); }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mega-menu { padding: 1rem; min-height: auto; }
  .mega-menu__nav { width: auto; }
  .mega-nav-grid { grid-template-columns: 1fr 1fr; }
  .mega-link-grid { grid-template-columns: 1fr; }
  .mega-promo-col { position: relative; top: auto; right: auto; bottom: auto; width: auto; height: auto; margin-top: 0.8rem; }
  .mega-close-btn { top: 0.6rem; right: 0.6rem; display: flex; }
  .mega-nav-sublist-link { font-size: 12px; }
  .mega-nav-sublist-img { width: 24px; height: 24px; }
  .mega-nav-card-img .mega-nav-sublist-img { width: 32px; height: 32px; }
  .cat-prod-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 26px; }
  .mega-nav-grid { grid-template-columns: 1fr; }
}

/* ── Footer + product scroll mobile (moved from cookie-consent.css) ── */
@media (max-width: 768px) {
  .footer-grid { gap: 32px; }
  .prod-scroll-wrap .prod-scroll { gap: 18px; }
  .prod-scroll .prod-scroll-card { width: 200px; min-width: 200px; max-width: 200px; }
  .prod-scroll-card-body h3 { font-size: 13px; }
  .prod-scroll-price { font-size: 16px; }
  .prod-scroll-card-body .scopri-btn { font-size: 12px; padding: 8px 12px; }
}

/* ── Global responsive (moved from cart-popup.css) ── */
@media (max-width: 640px) {
  .hero-content {
    left: 20px !important;
    right: 20px !important;
    bottom: 40px !important;
    padding: 16px 20px !important;
  }
  .section-subtitle { margin-bottom: 32px !important; }
  .feature-card { padding: 24px 20px; }
}
@media (max-width: 768px) {
  .media-text-img { height: 280px !important; }
  .brand-story-grid { gap: 32px !important; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .cat-prod-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .cat-prod-card-name { font-size: 16px !important; }
  .cat-prod-card-desc { font-size: 13px !important; }
  .cat-prod-price { font-size: 17px !important; }
}
.mobile-nav-close { display: flex !important; }

