/* =============================================================================
   FISSETTE — Luxury Italian Fashion
   style.css — Complete Site Stylesheet
   ============================================================================= */

/* =============================================================================
   1. CUSTOM PROPERTIES + RESET
   ============================================================================= */

:root {
  --nero: #0A0A0A;
  --avorio: #FAFAF7;
  --oro: #C9A96E;
  --rosa: #B8967A;
  --crema: #F3F0EB;
  --antracite: #1A1A1A;
  --testo-sec: #6B6560;
  --bordo: #D4CFC7;
  --errore: #8B2500;
  --ease: cubic-bezier(0.25, 0, 0.15, 1);
  --section-pad: 96px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--avorio);
  color: var(--nero);
  font-family: 'Libre Baskerville', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* =============================================================================
   2. BASE TYPOGRAPHY
   ============================================================================= */

h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.15;
}

h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
}

h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}

h5 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

h6 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
}

p {
  line-height: 1.8;
}

/* =============================================================================
   3. UTILITY CLASSES
   ============================================================================= */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad {
  padding: var(--section-pad) 0;
}

.bg-nero {
  background: var(--nero);
  color: var(--avorio);
}

.bg-avorio {
  background: var(--avorio);
  color: var(--nero);
  position: relative;
  overflow: hidden;
}

.bg-crema {
  background: var(--crema);
  color: var(--nero);
  position: relative;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
   4. NOISE TEXTURE
   ============================================================================= */

.bg-avorio::before,
.bg-crema::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

.bg-avorio > *,
.bg-crema > * {
  position: relative;
  z-index: 1;
}

/* =============================================================================
   5. SECTION LABEL SYSTEM
   ============================================================================= */

.section-label-group {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--testo-sec);
  display: block;
  margin-bottom: 16px;
}

.section-label-gold {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--oro);
  display: block;
  margin-bottom: 16px;
}

.gold-rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--oro);
  margin: 0 auto 24px;
}

.section-heading {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 38px;
  color: inherit;
  line-height: 1.15;
}

/* =============================================================================
   6. DECORATIVE ELEMENTS
   ============================================================================= */

.corner-ornament {
  position: relative;
  padding: 40px;
}

.corner-ornament::before,
.corner-ornament::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
}

.corner-ornament::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--oro);
  border-left: 1px solid var(--oro);
}

.corner-ornament::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--oro);
  border-right: 1px solid var(--oro);
}

.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--oro);
  display: block;
  margin: 24px 0;
}

.gold-line-vertical {
  width: 2px;
  height: auto;
  background: var(--oro);
  flex-shrink: 0;
}

/* =============================================================================
   7. BUTTONS
   ============================================================================= */

.btn {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 18px 48px;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--nero);
  color: var(--avorio);
}

.btn-primary:hover {
  background: var(--oro);
  color: var(--nero);
}

.btn-secondary {
  background: transparent;
  color: var(--nero);
  border: 1px solid var(--nero);
}

.btn-secondary:hover {
  color: var(--oro);
  border-color: var(--oro);
}

.btn-ghost {
  background: transparent;
  color: var(--avorio);
  border: 1px solid var(--oro);
}

.btn-ghost:hover {
  background: var(--oro);
  color: var(--nero);
}

.btn-add-cart {
  background: var(--nero);
  color: var(--avorio);
  padding: 14px 32px;
  border-top: 2px solid var(--oro);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  line-height: 1;
}

.btn-add-cart:hover {
  background: var(--oro);
  color: var(--nero);
}

.btn-sm {
  padding: 12px 28px;
  font-size: 11px;
}

/* =============================================================================
   8. HEADER
   ============================================================================= */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

#site-header.scrolled {
  background: var(--nero);
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.header-logo-wrap a {
  text-decoration: none;
}

.logo-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--avorio);
  display: block;
}

.logo-tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(250, 250, 247, 0.6);
  display: block;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--avorio);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--oro);
  transition: width 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--oro);
}

.nav-link:hover::after {
  width: 100%;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 24px;
}

.util-icon {
  color: var(--avorio);
  cursor: pointer;
  transition: color 0.4s var(--ease);
  position: relative;
  display: flex;
  background: none;
  border: none;
}

.util-icon:hover {
  color: var(--oro);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--oro);
  color: var(--nero);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 9px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

/* --- Header dark-text variant (light-background pages) --- */
#site-header.header-dark-text .logo-name {
  color: var(--nero);
}

#site-header.header-dark-text .logo-tagline {
  color: rgba(10, 10, 10, 0.5);
}

#site-header.header-dark-text .nav-link {
  color: var(--nero);
}

#site-header.header-dark-text .nav-link:hover {
  color: var(--oro);
}

#site-header.header-dark-text .util-icon {
  color: var(--nero);
}

#site-header.header-dark-text .util-icon:hover {
  color: var(--oro);
}

#site-header.header-dark-text .hamburger {
  color: var(--nero);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--avorio);
  padding: 0;
  align-items: center;
  justify-content: center;
}

/* =============================================================================
   9. MOBILE MENU
   ============================================================================= */

#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--nero);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

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

.mobile-nav {
  list-style: none;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.mobile-nav a {
  display: block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 32px;
  color: var(--avorio);
  padding: 20px 0;
  transition: color 0.3s ease;
}

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

.mobile-close {
  position: absolute;
  top: 24px;
  right: 40px;
  background: none;
  border: none;
  color: var(--avorio);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* =============================================================================
   10. HERO SECTION
   ============================================================================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 40px;
  animation: heroReveal 0.8s cubic-bezier(0.25, 0, 0.15, 1) both;
}

.hero-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--oro);
  display: block;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: clamp(38px, 6vw, 72px);
  color: var(--avorio);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: heroReveal 0.8s 0.15s cubic-bezier(0.25, 0, 0.15, 1) both;
}

.hero-sub {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 16px;
  color: rgba(250, 250, 247, 0.8);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
  animation: heroReveal 0.8s 0.3s cubic-bezier(0.25, 0, 0.15, 1) both;
}

.hero-cta {
  animation: heroReveal 0.8s 0.45s cubic-bezier(0.25, 0, 0.15, 1) both;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: var(--oro);
  animation: scrollPulse 2s ease-in-out infinite alternate;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  from {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
  }
  to {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.4;
  }
}

/* =============================================================================
   11. PAGE HERO (SHORTER, FOR INNER PAGES)
   ============================================================================= */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero-40 {
  height: 40vh;
  min-height: 320px;
}

.page-hero-50 {
  height: 50vh;
  min-height: 400px;
}

.page-hero-60 {
  height: 60vh;
  min-height: 480px;
}

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.7));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--avorio);
}

.page-hero-content .page-hero-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oro);
  display: block;
  margin-bottom: 16px;
}

.page-hero-content h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--avorio);
  margin-bottom: 16px;
}

.page-hero-content p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(250, 250, 247, 0.7);
  line-height: 1.8;
}

.page-hero-nero {
  background: var(--nero);
}

/* =============================================================================
   12. BRAND STRIP
   ============================================================================= */

.brand-strip {
  background: var(--nero);
  text-align: center;
  padding: 48px 40px;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.brand-strip-quote {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--oro);
  letter-spacing: 0.05em;
}

/* =============================================================================
   13. CATEGORY CARDS
   ============================================================================= */

.categories-section {
  padding: var(--section-pad) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.category-card:hover .category-card-img {
  transform: scale(1.04);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 50%);
  transition: background 0.4s var(--ease);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(201, 169, 110, 0.5) 0%, rgba(10, 10, 10, 0.2) 100%);
}

.category-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.category-card-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 22px;
  color: var(--avorio);
  display: block;
  margin-bottom: 8px;
}

.category-card-name::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--oro);
  margin-top: 8px;
  transition: width 0.4s var(--ease);
}

.category-card:hover .category-card-name::after {
  width: 60px;
}

.category-card-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: rgba(250, 250, 247, 0.75);
  line-height: 1.6;
  margin-top: 12px;
}

.category-card-cta {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oro);
  margin-top: 12px;
  display: block;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.category-card:hover .category-card-cta {
  opacity: 1;
}

/* =============================================================================
   14. PRODUCT CARDS
   ============================================================================= */

.products-section {
  padding: var(--section-pad) 0;
}

.product-grid {
  display: grid;
  gap: 32px;
}

.product-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  position: relative;
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 20px;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.quick-add-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  display: flex;
  justify-content: center;
}

.product-card:hover .quick-add-overlay {
  opacity: 1;
}

.wishlist-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--avorio);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s var(--ease), color 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .wishlist-btn {
  opacity: 1;
}

.wishlist-btn:hover {
  color: var(--oro);
}

.product-cat-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  display: block;
  margin-bottom: 8px;
}

.product-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--nero);
  margin-bottom: 6px;
}

.product-material {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: var(--testo-sec);
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-price {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--nero);
  letter-spacing: 0.05em;
}

.product-card a.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.products-cta {
  text-align: center;
  margin-top: 56px;
}

/* =============================================================================
   15. HERITAGE SPLIT
   ============================================================================= */

.heritage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.heritage-img {
  height: 100%;
  min-height: 600px;
}

.heritage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heritage-content {
  background: var(--nero);
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heritage-content .heritage-body {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  color: rgba(250, 250, 247, 0.8);
  line-height: 1.9;
  margin-top: 32px;
}

.heritage-content .heritage-body p + p {
  margin-top: 20px;
}

.heritage-content .btn-ghost {
  margin-top: 48px;
  align-self: flex-start;
}

/* =============================================================================
   16. QUALITY PROMISES
   ============================================================================= */

.promises-section {
  padding: var(--section-pad) 0;
}

.promises-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}

.promise-icon {
  margin: 0 auto 20px;
  color: var(--oro);
  display: flex;
  justify-content: center;
}

.promise-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
  margin-bottom: 12px;
}

.promise-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: var(--testo-sec);
  line-height: 1.7;
}

/* =============================================================================
   17. TESTIMONIALS
   ============================================================================= */

.testimonials-section {
  padding: var(--section-pad) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.testimonial-block {
  border-left: 2px solid var(--oro);
  padding-left: 32px;
}

.testimonial-quote {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--avorio);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oro);
  display: block;
  margin-bottom: 4px;
}

.testimonial-city {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: var(--testo-sec);
}

/* =============================================================================
   18. NEWSLETTER SECTION
   ============================================================================= */

.newsletter-section {
  padding: var(--section-pad) 0;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  position: relative;
}

.newsletter-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 30px;
  color: var(--nero);
  margin-bottom: 20px;
}

.newsletter-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  color: var(--testo-sec);
  line-height: 1.8;
  margin-bottom: 40px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  align-items: flex-end;
  margin-bottom: 20px;
}

.newsletter-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--bordo);
  background: transparent;
  padding: 14px 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
  color: var(--nero);
}

.newsletter-input:focus {
  border-bottom-color: var(--oro);
}

.newsletter-input::placeholder {
  color: var(--testo-sec);
}

.newsletter-form .btn-primary {
  flex-shrink: 0;
  padding: 14px 32px;
}

.newsletter-privacy {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--testo-sec);
}

.newsletter-privacy a {
  color: var(--nero);
  text-decoration: underline;
}

/* =============================================================================
   19. CORNER ORNAMENT (CSS BORDER TRICK)
   ============================================================================= */

.corner-ornament::before,
.corner-ornament::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
}

.corner-ornament::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--oro);
  border-left: 1px solid var(--oro);
}

.corner-ornament::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--oro);
  border-right: 1px solid var(--oro);
}

/* =============================================================================
   20. FILTER BAR (COLLEZIONI.PHP)
   ============================================================================= */

.filter-bar {
  background: var(--avorio);
  padding: 20px 40px;
  border-bottom: 1px solid var(--bordo);
  position: sticky;
  top: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.filters-group {
  display: flex;
  gap: 32px;
  align-items: center;
}

.filter-select-wrap {
  position: relative;
}

.filter-select {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bordo);
  padding: 8px 24px 8px 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
  cursor: pointer;
  outline: none;
  min-width: 120px;
  transition: border-color 0.3s ease;
}

.filter-select:focus,
.filter-select:hover {
  border-bottom-color: var(--oro);
}

.filter-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--testo-sec);
}

.view-toggle {
  display: flex;
  gap: 12px;
  align-items: center;
}

.view-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--testo-sec);
  padding: 4px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn.active {
  color: var(--oro);
}

/* =============================================================================
   21. PAGINATION
   ============================================================================= */

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 48px 0 96px;
}

.page-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
  padding: 8px 16px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.page-link:hover {
  color: var(--oro);
}

.page-link.active {
  color: var(--oro);
  border-bottom: 1px solid var(--oro);
}

.page-link.disabled {
  color: var(--bordo);
  pointer-events: none;
}

/* =============================================================================
   22. CAROUSEL (YOU MAY ALSO LIKE)
   ============================================================================= */

.carousel-section {
  padding: 64px 0;
}

.carousel-heading {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 28px;
  color: var(--avorio);
  margin-bottom: 40px;
  padding: 0 40px;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 40px;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.carousel-track .product-card-img-wrap {
  aspect-ratio: 3 / 4;
}

.carousel-track .product-name {
  color: var(--avorio);
}

.carousel-track .product-price {
  color: rgba(250, 250, 247, 0.7);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--oro);
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

.carousel-arrow:disabled {
  opacity: 0.2;
  pointer-events: none;
}

/* =============================================================================
   23. PRODUCT DETAIL PAGE
   ============================================================================= */

.product-detail {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 0;
  padding-top: 120px;
  min-height: 80vh;
}

.product-gallery {
  padding: 60px 60px 60px 40px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease);
}

.gallery-main img.fade-out {
  opacity: 0;
}

.thumb-row {
  display: flex;
  gap: 12px;
}

.thumb {
  width: calc(25% - 9px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.thumb:hover,
.thumb.active {
  opacity: 1;
  outline: 1px solid var(--oro);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 60px 60px 60px 0;
  border-left: 1px solid var(--bordo);
}

.breadcrumb {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--testo-sec);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--nero);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--oro);
}

.breadcrumb-sep {
  color: var(--bordo);
  font-size: 8px;
}

.product-cat-label-top {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  display: block;
  margin-bottom: 12px;
}

.product-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 42px;
  color: var(--nero);
  line-height: 1.1;
  margin-bottom: 16px;
}

.product-price-main {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--nero);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.product-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--testo-sec);
  line-height: 1.8;
  margin-top: 24px;
  margin-bottom: 32px;
}

.variant-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
  display: block;
  margin-bottom: 12px;
}

.color-swatches {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--bordo);
  cursor: pointer;
  transition: outline 0.2s ease;
}

.color-swatch.active {
  outline: 2px solid var(--oro);
  outline-offset: 2px;
}

.size-options {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.size-option {
  border: 1px solid var(--bordo);
  padding: 8px 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--nero);
}

.size-option:hover {
  border-color: var(--nero);
}

.size-option.active {
  background: var(--nero);
  color: var(--avorio);
  border-color: var(--nero);
}

.size-guide {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--oro);
  text-decoration: underline;
  display: block;
  margin-top: 8px;
  margin-bottom: 24px;
  cursor: pointer;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--bordo);
  width: fit-content;
  margin-bottom: 32px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  cursor: pointer;
  color: var(--nero);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.qty-input {
  width: 48px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--bordo);
  border-right: 1px solid var(--bordo);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  background: transparent;
  outline: none;
  color: var(--nero);
}

.product-actions-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

.product-action-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--testo-sec);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.product-action-link:hover {
  color: var(--nero);
}

/* =============================================================================
   24. PRODUCT ACCORDION
   ============================================================================= */

.accordion-list {
  margin-top: 32px;
  border-top: 1px solid var(--bordo);
}

.accordion-item {
  border-bottom: 1px solid var(--bordo);
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
}

.accordion-chevron {
  transition: transform 0.4s var(--ease);
  color: var(--testo-sec);
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion-item.open .accordion-body {
  max-height: 400px;
}

.accordion-content {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: var(--testo-sec);
  line-height: 1.8;
  padding-bottom: 20px;
}

/* =============================================================================
   25. STYLING SUGGESTIONS
   ============================================================================= */

.styling-section {
  padding: var(--section-pad) 0;
}

.styling-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 26px;
  color: var(--nero);
  margin-bottom: 48px;
}

/* =============================================================================
   26. CRAFTSMANSHIP NARRATIVE
   ============================================================================= */

.craft-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.craft-text {
  padding: 80px;
}

.craft-img {
  height: 100%;
  min-height: 500px;
}

.craft-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-body p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  color: var(--testo-sec);
  line-height: 1.9;
}

.craft-body p + p {
  margin-top: 20px;
}

/* =============================================================================
   27. BRAND PHILOSOPHY (LA-MAISON)
   ============================================================================= */

.philosophy-section {
  padding: var(--section-pad) 0;
}

.philosophy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 60px;
}

.philosophy-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 34px;
  color: var(--nero);
  margin-bottom: 40px;
}

.philosophy-body p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 16px;
  color: var(--testo-sec);
  line-height: 1.9;
}

.philosophy-body p + p {
  margin-top: 24px;
}

/* =============================================================================
   28. TIMELINE
   ============================================================================= */

.timeline-section {
  padding: var(--section-pad) 0;
}

.timeline-heading {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 36px;
  color: var(--nero);
  text-align: center;
  margin-bottom: 80px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--oro);
  transform: translateX(-50%);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 80px;
}

.timeline-entry:nth-child(odd) .timeline-text {
  grid-column: 1;
  text-align: right;
  padding-right: 60px;
}

.timeline-entry:nth-child(odd) .timeline-visual {
  grid-column: 3;
  padding-left: 60px;
}

.timeline-entry:nth-child(even) .timeline-text {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding-left: 60px;
}

.timeline-entry:nth-child(even) .timeline-visual {
  grid-column: 1;
  grid-row: 1;
  padding-right: 60px;
}

.timeline-dot {
  grid-column: 2;
  width: 12px;
  height: 12px;
  background: var(--oro);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-year {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 42px;
  color: var(--oro);
  display: block;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 20px;
  color: var(--nero);
  margin-bottom: 12px;
}

.timeline-text-body {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--testo-sec);
  line-height: 1.8;
}

.timeline-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =============================================================================
   29. VALUES GRID (LA-MAISON)
   ============================================================================= */

.values-section {
  padding: var(--section-pad) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 64px;
  text-align: center;
}

.value-icon {
  color: var(--oro);
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
}

.value-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--avorio);
  margin-bottom: 16px;
}

.value-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: rgba(250, 250, 247, 0.7);
  line-height: 1.8;
}

/* =============================================================================
   30. ATELIER SPLIT (LA-MAISON)
   ============================================================================= */

.atelier-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.atelier-img {
  height: 100%;
  min-height: 560px;
}

.atelier-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier-content {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.atelier-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 30px;
  color: var(--nero);
  margin-bottom: 24px;
}

.atelier-body p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  color: var(--testo-sec);
  line-height: 1.9;
}

.atelier-body p + p {
  margin-top: 20px;
}

.atelier-content .btn-secondary {
  margin-top: 40px;
  align-self: flex-start;
}

/* =============================================================================
   31. CONTACT INFO CARDS
   ============================================================================= */

.contact-info-section {
  padding: var(--section-pad) 0;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-card {
  background: #fff;
  padding: 40px;
  border-top: 2px solid var(--oro);
  transition: transform 0.4s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card-icon {
  color: var(--oro);
  margin-bottom: 20px;
  display: flex;
}

.contact-card-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
  margin-bottom: 16px;
}

.contact-card-info {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 16px;
  color: var(--nero);
  margin-bottom: 8px;
}

.contact-card-hours {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: var(--testo-sec);
  line-height: 1.6;
}

/* =============================================================================
   32. CONTACT FORM
   ============================================================================= */

.contact-form-section {
  padding: var(--section-pad) 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
}

.contact-form-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 28px;
  color: var(--nero);
  margin-bottom: 16px;
}

.contact-form-desc {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--testo-sec);
  line-height: 1.8;
  margin-bottom: 48px;
}

.form-field {
  margin-bottom: 32px;
  position: relative;
}

.form-field label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--testo-sec);
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bordo);
  padding: 12px 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--nero);
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--oro);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--bordo);
  font-style: italic;
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  min-height: 100px;
}

.field-error {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--errore);
  display: block;
  margin-top: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.field-error.show {
  opacity: 1;
}

.form-checkbox-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--bordo);
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--oro);
  margin-top: 2px;
}

.form-checkbox-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: var(--testo-sec);
  line-height: 1.6;
}

.form-checkbox-label a {
  color: var(--nero);
  text-decoration: underline;
}

.map-placeholder {
  background: var(--crema);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.map-placeholder-text {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--testo-sec);
}

.directions-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nero);
  margin-bottom: 12px;
}

.directions-text {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: var(--testo-sec);
  line-height: 1.8;
}

/* =============================================================================
   33. FAQ (CSS-ONLY ACCORDION USING CHECKBOX)
   ============================================================================= */

.faq-section {
  padding: var(--section-pad) 0;
}

.faq-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 28px;
  color: var(--nero);
  margin-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--bordo);
}

.faq-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.faq-item label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--nero);
}

.faq-chevron {
  color: var(--oro);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 400px;
}

.faq-item input[type="checkbox"]:checked ~ label .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-inner {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--testo-sec);
  line-height: 1.8;
  padding-bottom: 24px;
}

/* =============================================================================
   34. CART PAGE
   ============================================================================= */

.cart-page {
  padding: var(--section-pad) 0;
  padding-top: 120px;
}

.cart-header {
  margin-bottom: 48px;
}

.cart-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 42px;
  color: var(--nero);
}

.cart-count {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--testo-sec);
  margin-left: 16px;
}

.cart-grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 60px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--bordo);
}

.cart-item-img img {
  width: 120px;
  height: 160px;
  object-fit: cover;
}

.cart-item-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 17px;
  color: var(--nero);
  margin-bottom: 8px;
}

.cart-item-variant {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--testo-sec);
  margin-bottom: 4px;
}

.cart-item-material {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 12px;
  color: var(--testo-sec);
}

.cart-item-price {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  color: var(--nero);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--testo-sec);
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.cart-remove:hover {
  color: var(--errore);
}

.order-summary {
  background: var(--nero);
  padding: 40px;
  color: var(--avorio);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.order-summary-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 20px;
  color: var(--avorio);
  margin-bottom: 32px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.summary-label {
  color: rgba(250, 250, 247, 0.7);
  text-transform: uppercase;
}

.summary-value {
  color: var(--avorio);
}

.summary-free {
  color: var(--oro);
}

.summary-divider {
  border: none;
  border-top: 1px solid rgba(201, 169, 110, 0.3);
  margin: 24px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.summary-total-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.7);
}

.summary-total-amount {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--avorio);
}

.order-summary .btn-ghost {
  width: 100%;
  justify-content: center;
  margin-top: 32px;
}

.payment-methods {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: rgba(250, 250, 247, 0.5);
  text-align: center;
  margin-top: 16px;
}

.promo-toggle {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.6);
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.promo-toggle:hover {
  color: var(--oro);
}

.promo-form {
  margin-top: 16px;
  display: flex;
  gap: 0;
}

.promo-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--avorio);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  padding: 8px 0;
  outline: none;
}

.promo-apply {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oro);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 16px;
  white-space: nowrap;
}

.cart-continue {
  text-align: center;
  padding: 48px 0;
}

/* =============================================================================
   35. LEGAL PAGES
   ============================================================================= */

.legal-page {
  padding: 120px 40px 96px;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: 42px;
  color: var(--nero);
  margin-bottom: 16px;
}

.legal-updated {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--testo-sec);
  margin-bottom: 64px;
  text-transform: uppercase;
  display: block;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--nero);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bordo);
}

.legal-section p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--testo-sec);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  color: var(--testo-sec);
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--nero);
  text-decoration: underline;
}

/* =============================================================================
   36. FOOTER
   ============================================================================= */

#site-footer {
  background: var(--nero);
  border-top: 1px solid var(--oro);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 0 40px;
}

.footer-col-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 24px;
  display: block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(250, 250, 247, 0.6);
  transition: color 0.3s ease;
  text-decoration: none;
}

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

.footer-logo-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--avorio);
  display: block;
  margin-bottom: 4px;
}

.footer-logo-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  display: block;
  margin-bottom: 24px;
}

.footer-contact-item {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: rgba(250, 250, 247, 0.6);
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: rgba(250, 250, 247, 0.4);
}

.footer-payments {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: rgba(250, 250, 247, 0.4);
}

/* =============================================================================
   37. BREADCRUMB
   Already covered in section 23 (product-info).
   ============================================================================= */

/* =============================================================================
   38. SUCCESS MESSAGE / FORM RESPONSE
   ============================================================================= */

.form-success {
  background: var(--crema);
  border-left: 2px solid var(--oro);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.form-success p {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--nero);
}

/* =============================================================================
   39. RESPONSIVE MEDIA QUERIES
   ============================================================================= */

/* --------------------------------------------------------------------------
   Tablet landscape: 992px – 1199px
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .heritage-content {
    padding: 60px;
  }

  .timeline-entry {
    grid-template-columns: 1fr 40px 1fr;
  }
}

/* --------------------------------------------------------------------------
   Tablet portrait: 768px – 991px
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 24px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .promises-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .heritage-split {
    grid-template-columns: 1fr;
  }

  .heritage-img {
    min-height: 400px;
  }

  .craft-split {
    grid-template-columns: 1fr;
  }

  .atelier-split {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }

  .product-info {
    border-left: none;
    border-top: 1px solid var(--bordo);
    padding: 40px;
  }

  .product-gallery {
    padding: 40px;
  }

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

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

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-entry {
    grid-template-columns: 40px 1fr;
  }

  .timeline-entry:nth-child(odd) .timeline-text,
  .timeline-entry:nth-child(even) .timeline-text {
    grid-column: 2;
    text-align: left;
    padding-left: 32px;
    padding-right: 0;
  }

  .timeline-entry:nth-child(odd) .timeline-visual,
  .timeline-entry:nth-child(even) .timeline-visual {
    display: none;
  }

  .timeline-dot {
    grid-column: 1;
  }

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

  .filter-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Mobile: max 767px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --section-pad: 48px;
  }

  .main-nav {
    display: none;
  }

  .header-utils .util-icon:not(.cart-icon) {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #site-header {
    padding: 0 24px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero-headline {
    font-size: 36px;
  }

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

  .product-grid-4,
  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 16px;
  }

  .newsletter-form .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }

  .cart-item-img img {
    width: 80px;
    height: 107px;
  }

  .cart-item-price,
  .cart-remove {
    grid-column: 2;
  }

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

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

  .heritage-content {
    padding: 40px 24px;
  }

  .atelier-content {
    padding: 40px 24px;
  }

  .craft-text {
    padding: 40px 24px;
  }

  .legal-page {
    padding: 100px 24px 64px;
  }
}

/* --------------------------------------------------------------------------
   Mobile small: max 575px
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
  .product-grid-4,
  .product-grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .philosophy-inner {
    padding: 40px 24px;
  }

  .newsletter-inner {
    padding: 40px 24px;
  }
}
