/* ===== Carryall-style landing — palette coerente, ritmo uniforme ===== */
:root {
  --ink: #1a1410;
  --ink-soft: #5b5048;
  --muted: #938a82;
  --line: #ece3db;

  /* un'unica famiglia calda rosa/crema */
  --rose: #c97a99;
  --rose-deep: #b3637f;
  --blush: #f4e2e7;
  --blush-2: #f9eef0;
  --cream: #f6efe8;
  --cream-2: #fbf7f2;
  --white: #ffffff;

  --maxw: 1200px;
  --pad: 88px;
  /* padding verticale standard di sezione */
  --gutter: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Inter", system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* intestazione di sezione condivisa — uniforma tutte le sezioni */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.12;
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 768px) {

  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px var(--gutter);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
}


.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.brand .mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.1rem;
}

.menu {
  display: flex;
  gap: 36px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu a {
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--rose-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-actions a:hover {
  transform: translateY(-2px);
  color: var(--rose-deep);
}

.nav-actions svg {
  width: 20px;
  height: 20px;
}

.cart-link {
  position: relative;
}

.cart-link .count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------- Buttons (uno stile, ovunque) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(179, 99, 127, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  min-height: 82vh;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--gutter) 72px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  background: var(--cream-2);
  align-items: center;
}

.hero-left .eyebrow {
  margin-bottom: 18px;
}

.hero-thumb {
  width: 230px;
  max-width: 60%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 28px;
  box-shadow: 0 24px 50px rgba(26, 20, 16, 0.16);
}

.hero-left h1 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 800;
  max-width: 13ch;
  letter-spacing: -0.02em;
}

.hero-left .btn {
  align-self: center;
}

.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blush-2) 0%, var(--blush) 45%, var(--rose) 100%);
}

.hero-right img {
  position: relative;
  z-index: 2;
  width: 84%;
  max-width: 600px;
  height: 90%;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px rgba(26, 20, 16, 0.22);
}

.hero-word {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 0.8;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-vert {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: rgba(26, 20, 16, 0.55);
  z-index: 3;
  text-transform: uppercase;
}

/* ---------- Gallery strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.strip img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.strip figure:hover img {
  transform: scale(1.04);
}

.strip figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 28px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(26, 20, 16, 0.65) 100%);
}

/* ---------- Promo blocks (stessa famiglia di colori) ---------- */
.promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  padding: var(--pad) 56px;
  min-height: 440px;
  overflow: hidden;
}

.promo:first-child {
  background: var(--cream);
}

.promo:last-child {
  background: var(--blush);
}

.promo h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.promo p {
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 32ch;
}

.promo .promo-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 22px 46px rgba(26, 20, 16, 0.14);
}

.promo .ribbon {
  position: absolute;
  top: 28px;
  right: -44px;
  transform: rotate(45deg);
  background: var(--rose-deep);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 8px 56px;
}

/* ---------- Collection ---------- */
.collection {
  padding: var(--pad) 0;
  background: var(--white);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  background: #fff;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: 0 24px 50px rgba(26, 20, 16, 0.1);
  transform: translateY(-4px);
  border-color: transparent;
}

.card .thumb {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--cream-2);
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

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

.card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.card .price {
  font-size: 1.05rem;
  color: var(--rose-deep);
  font-weight: 700;
}

.card .soldout {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
}

.empty {
  grid-column: 1/-1;
  color: var(--muted);
  padding: 40px;
  text-align: center;
}

.btn-info {
  margin-top: 16px;
  width: 100%;
  padding: 12px 18px;
  font-size: 0.74rem;
}

/* ---------- Modal richiesta info ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(2px);
}

.modal-box {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 40px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 40px 80px rgba(26, 20, 16, 0.3);
  animation: modalIn 0.22s ease;
}

.modal-box.lightbox {
  width: min(535px, calc(100% - 40px));
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  cursor: pointer;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--blush);
}

.modal-box h3 {
  margin: 8px 0 6px;
  font-size: 1.5rem;
}

.modal-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-sub strong {
  color: var(--ink);
}

.modal-form {
  display: grid;
  gap: 16px;
}

.modal-form .field {
  display: grid;
  gap: 6px;
}

.modal-form label {
  font-size: 0.85rem;
  font-weight: 700;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  resize: vertical;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(201, 122, 153, 0.15);
}

.btn-wa {
  width: 100%;
  background: #25d366;
  color: #0b3d24;
  margin-top: 4px;
}

.btn-wa:hover {
  background: #1ebe5a;
  color: #06301c;
}

.modal-note {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .modal-box {
    margin-top: 5vh;
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  .modal-box.lightbox {
    margin-top: 5vh;
    padding: 28px 22px;
  }
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--cream);
}

.newsletter .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: var(--pad);
}

.newsletter .eyebrow {
  color: var(--rose-deep);
}

.newsletter h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
}

.newsletter p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 40ch;
}

.news-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 460px;
}

.news-form input {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
}

.news-form input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(201, 122, 153, 0.15);
}

.newsletter .news-img {
  display: flex;
  justify-content: center;
}

.newsletter .news-img img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 26px 56px rgba(26, 20, 16, 0.16);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 72px var(--gutter) 48px;
}

.footer .brand {
  justify-content: center;
  color: #fff;
  margin-bottom: 26px;
}

.footer .fmenu {
  display: flex;
  justify-content: center;
  gap: 42px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer .fmenu a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer .fmenu a:hover {
  color: var(--rose);
}

.footer p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
  margin: 0 auto 28px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --pad: 64px;
  }

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

  .strip img {
    height: 380px;
  }
}

@media (max-width: 820px) {
  .menu {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 56px var(--gutter);
  }

  .hero-right {
    min-height: 480px;
  }

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

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

  .promo p {
    margin-inline: auto;
  }

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

  .strip img {
    height: 300px;
  }

  .newsletter .wrap {
    grid-template-columns: 1fr;
  }

  .newsletter .news-img {
    order: -1;
  }

  .footer .fmenu {
    gap: 24px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 22px;
  }

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

  .hero-word {
    font-size: 4rem;
  }
}

/* CSS */
.modal-product-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin-top: 15px;
}

.modal-divider {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 24px 0;
}

.modal-description {
  margin: 0;
  line-height: 1.7;
  color: #555;
}

#modalProductTitle {
  margin-bottom: 12px;
}


h1,
h2 {
  opacity: 0;
  transform: translateY(40px);
}

h1.show,
h2.show {
  animation: slideUp .8s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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


.brand-logo {
  max-height: 80px;
  width: auto;
}

@media (max-width:768px) {
  .brand-logo {
    max-height: 60px;
  }
}

.brand-logo-footer {


  height: 80px;
  width: auto;

  filter:
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.541)) drop-shadow(1px 0 0 rgba(252, 252, 252, 0.8)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.8)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));




}