:root {
  --worm: #d66884;
  --worm-soft: #f7dce4;
}

.header .logo img {
  mix-blend-mode: multiply;
}

.hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(214, 104, 132, .20) 0 8%, transparent 8.3%),
    radial-gradient(circle at 65% 84%, rgba(214, 104, 132, .12) 0 12%, transparent 12.3%),
    linear-gradient(115deg, #f7f2e8 0 54%, #d8e7bd 54%);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 9px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  background: var(--worm-soft);
  color: var(--worm) !important;
  font-size: 1.45rem !important;
  font-weight: 900;
}

.testimonial-intro img {
  object-fit: contain;
  object-position: center;
  background: #e8efd9;
}

.product-card > .product-slider {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #edf1df;
}

.product-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}

.product-slider img.is-active { opacity: 1; }

.history {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 104, 132, .15) 0 9%, transparent 9.3%),
    linear-gradient(115deg, #fff9f7, #f7f2e8 55%, #f1f4d7);
}

.history::after {
  content: '';
  position: absolute;
  right: -85px;
  bottom: -105px;
  width: 290px;
  height: 290px;
  border: 28px solid rgba(214, 104, 132, .16);
  border-radius: 50%;
  pointer-events: none;
}

.history-copy,
.story-photo { position: relative; z-index: 1; }

.history-lead { font-size: 1.1rem; color: #405744; }

.history-timeline { margin: 26px 0; display: grid; gap: 15px; }

.history-timeline article { display: grid; grid-template-columns: 70px 1fr; gap: 15px; align-items: start; }

.history-timeline span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 34px;
  border-radius: 18px;
  background: var(--worm);
  color: #fff;
  font-weight: 800;
}

.history-timeline h3 { margin: 0 0 3px; color: var(--ink); font-size: 1.05rem; }
.history-timeline p { margin: 0; font-size: .96rem !important; }

.mission-callout {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--worm);
  background: #fffdf7;
  box-shadow: 0 10px 22px rgba(86, 51, 33, .08);
}

.mission-callout strong { color: var(--worm); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.mission-callout p { margin: 7px 0 0; color: #405744; }
.founders { margin: 20px 0 0; font-weight: 700; color: #527d2c !important; }

.collab-hero { min-height: 500px; padding: 70px 6%; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #edf2df; }
.collab-hero h1 { font: clamp(3rem, 6vw, 5rem)/1 Georgia, serif; letter-spacing: -.045em; margin: .6rem 0 1rem; }
.collab-hero h1 em { color: var(--worm); font-style: normal; }
.collab-hero p:not(.eyebrow) { max-width: 590px; color: #405744; font-size: 1.1rem; }
.collab-hero-image { min-height: 360px; border-radius: 42% 42% 12px 12px; background: linear-gradient(120deg, #183e2388, #3d711f22), url('https://www.specialagri.it/uploads/headers/header-prodotti.jpg') center/cover; box-shadow: 0 20px 35px #25441833; }
.collab-intro { max-width: 920px; margin: 0 auto; padding: 32px 6%; text-align: center; color: #526154; font-size: 1.05rem; }
.collab-calendar { padding: 52px 6%; background: linear-gradient(135deg, #f7f2e8, #edf2df); }
.collab-calendar > div { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.collab-calendar h2 { font: clamp(2.1rem, 4vw, 3.2rem)/1 Georgia, serif; letter-spacing: -.045em; margin: .55rem 0 1rem; color: #294f2d; }
.collab-calendar p:not(.eyebrow) { color: #526154; margin: 0; }
.collab-calendar img { display: block; width: min(1180px, 100%); margin: 0 auto; border-radius: 18px; box-shadow: 0 16px 32px rgba(56, 78, 36, .16); }
.collab-section { padding: 72px 6%; background: #fffaf3; }
.collab-section.special { background: #e8efd9; }
.collab-heading { max-width: 680px; margin-bottom: 32px; }
.collab-heading h2, .collab-cta h2 { font: clamp(2.2rem, 4vw, 3.4rem)/1 Georgia, serif; letter-spacing: -.045em; margin: .6rem 0 1rem; }
.collab-heading p:not(.eyebrow), .collab-cta p:not(.eyebrow) { color: #526154; }
.collab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 22px; }
.collab-card { background: #fffdf7; padding: 22px; border-top: 5px solid #668b38; box-shadow: 0 10px 22px rgba(86, 51, 33, .08); display: flex; flex-direction: column; align-items: flex-start; transition: transform .22s ease, box-shadow .22s ease; }
.collab-card:hover { transform: translateY(-5px); box-shadow: 0 17px 30px rgba(86, 51, 33, .14); }
.collab-card.chamae { border-top-color: var(--worm); }
.bottle-stage { width: 100%; height: 228px; margin: -2px 0 18px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: radial-gradient(circle at 50% 15%, #fff 0 17%, transparent 48%), linear-gradient(135deg, #f4f6ed, #faf8f2); }
.collab-card.chamae .bottle-stage { background: radial-gradient(circle at 50% 15%, #fff 0 17%, transparent 48%), linear-gradient(135deg, #fff5f6, #faf8f2); }
.bottle-stage img { width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; padding: 4px 14px; margin: auto; transition: transform .3s ease; }
.collab-card:hover .bottle-stage img { transform: scale(1.045); }
.bottle-stage { display: flex; align-items: center; justify-content: center; padding: 12px; }
.bottle-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; padding: 0; margin: auto; flex: 0 0 auto; object-fit: contain; object-position: 50% 50%; transform: none; }
.collab-card:hover .bottle-stage img { transform: none; }
.bottle-placeholder { position: relative; isolation: isolate; }
.bottle { width: 84px; height: 158px; padding: 38px 9px 12px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border-radius: 14px 14px 23px 23px; background: linear-gradient(105deg, #fff, #e7e7e7 50%, #fff); box-shadow: inset 8px 0 10px #fff9, 10px 16px 17px #40521d2e; color: #315d2c; text-align: center; font-family: Arial, sans-serif; }
.bottle::before { content: ''; position: absolute; top: -24px; width: 45px; height: 28px; border-radius: 6px 6px 2px 2px; background: repeating-linear-gradient(90deg, #a92434 0 4px, #cf4b5b 4px 8px); box-shadow: 0 2px 2px #0002; }
.collab-card.chamae .bottle { background: linear-gradient(105deg, #fff, #e7e7e7 50%, #fff); color: #a43f60; }
.collab-card.chamae .bottle::before { background: repeating-linear-gradient(90deg, #a92434 0 4px, #cf4b5b 4px 8px); }
.bottle small { font-size: .5rem; font-weight: 800; letter-spacing: .08em; }
.bottle b { font-size: .68rem; line-height: 1.1; }
.bottle i { font-style: normal; font-size: .58rem; font-weight: 800; }
.collab-card span { color: #527d2c; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 800; }
.collab-card.chamae span { color: var(--worm); }
.collab-card h3 { font: 1.45rem/1.1 Georgia, serif; margin: .65rem 0; }
.collab-card p { color: #526154; margin: 0 0 16px; }
.collab-card ul { padding-left: 18px; color: #405744; margin: 0 0 20px; font-size: .92rem; }
.collab-card a { margin-top: auto; color: #315d2c; font-weight: 800; text-decoration: none; border-bottom: 2px solid #a9bf7a; }
.order-panel { width: 100%; margin-top: 17px; padding-top: 15px; border-top: 1px solid #dbe4c6; }
.collab-card.chamae .order-panel { border-top-color: #f0c9d4; }
.order-price { margin: 0 0 4px !important; color: #315d2c !important; font-size: 1rem; }
.collab-card.chamae .order-price { color: #a43f60 !important; }
.order-formats { margin: 0 0 12px !important; font-size: .82rem; line-height: 1.35; }
.order-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.order-controls label { display: grid; gap: 4px; color: #526154; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.order-controls select { min-width: 64px; padding: 9px 7px; border: 1px solid #b9ca99; border-radius: 5px; background: #fff; color: #294f2d; font: inherit; }
.order-controls .format-select { min-width: 72px; }
.order-whatsapp { width: 36px; height: 36px; margin: 0 !important; padding: 8px; border: 0 !important; border-radius: 50%; box-sizing: border-box; display: inline-grid; place-items: center; flex: 0 0 36px; background: #25d366; color: #fff !important; line-height: 1; box-shadow: 0 3px 8px rgba(37, 211, 102, .24); }
.order-whatsapp img { display: block; width: 20px; height: 20px; }
.order-whatsapp:hover { background: #1ebd5a; transform: translateY(-1px); }
.collab-card.chamae .order-whatsapp { background: #25d366; }
.collab-card.chamae .order-whatsapp:hover { background: #1ebd5a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Selector de unidades en los formatos de producto */
.format-list > .format-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}
.quantity-picker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #42612f;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}
.quantity-input {
  width: 3.45rem;
  min-height: 36px;
  border: 1px solid #91a681;
  border-radius: 3px;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
  text-align: center;
}
@media (max-width: 800px) {
  .format-list > .format-row { grid-template-columns: minmax(0, 1fr) auto; }
  .format-list > .format-row .add-cart { grid-column: 1 / -1; width: 100%; margin-top: 8px; }
}
.order-note { margin: 11px 0 0 !important; color: #6b756e !important; font-size: .76rem; line-height: 1.35; }
.collab-cta { padding: 80px 6%; text-align: center; background: #f7f2e8; }
.collab-cta p:not(.eyebrow) { max-width: 680px; margin: 0 auto 24px; }
@media(max-width:800px) { .collab-hero { grid-template-columns: 1fr; padding: 50px 6%; gap: 30px; }.collab-hero-image { min-height: 270px; }.collab-grid { grid-template-columns: 1fr; }.bottle-stage { height: 250px; padding: 10px; display: flex; align-items: center; justify-content: center; }.bottle-stage img { width: auto; max-width: 100%; height: 100%; padding: 0; margin: 0; flex: 0 0 auto; object-fit: contain; object-position: 50% 50%; }.order-controls { align-items: center; }.order-whatsapp { display: inline-flex; align-items: center; justify-content: center; } }

.social-card {
  background: var(--paper);
  color: var(--ink);
  padding: 28px;
  display: grid;
  gap: 12px;
}

.social-card p {
  margin: .25rem 0 .5rem;
  color: #5d6a60;
}

.social-button,
.email-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  text-decoration: none;
  font-weight: 800;
}

.social-button {
  color: #fff;
  border-radius: 4px;
}

.social-button span {
  width: 1.3em;
  font-size: 1.4rem;
  line-height: 1;
  text-align: center;
}

.instagram-button { background: linear-gradient(135deg, var(--worm), #7c3f81); }
.facebook-button { background: #4267b2; }
.email-link { color: var(--ink); border: 1px solid #bdd1ad; background: #f7f2e8; overflow-wrap: anywhere; }

.footer-slogan {
  margin: 0;
  color: #f3b3c3;
  font: 700 1.05rem/1.25 Georgia, serif;
  max-width: 230px;
}

.tips { background: linear-gradient(180deg, transparent 0 78%, rgba(214, 104, 132, .08) 78%); }
.tip-grid article { box-shadow: 0 7px 18px rgba(214, 104, 132, .08); }

.collaborators-banner {
  position: relative;
  max-width: 780px;
  min-height: 148px;
  margin: 34px auto 0;
  padding: 28px 42px 28px 220px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e5efc9, #f8f2e6);
  border: 1px solid #bfd094;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(48, 85, 35, .12);
}

.collaborators-banner img {
  position: absolute;
  left: -24px;
  bottom: -1px;
  width: 240px;
  max-height: 180px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.collaborators-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--green);
  border: 2px solid #315d2c;
  border-radius: 8px;
  color: #fff;
  font-size: clamp(.88rem, 2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 7px 0 #315d2c;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.collaborators-button span { font-size: 1.45rem; line-height: .8; }
.collaborators-button:hover { background: #315d2c; transform: translateY(-2px); box-shadow: 0 9px 0 #244626; }
.collaborators-button:focus-visible { outline: 3px solid var(--worm); outline-offset: 4px; }

@media (max-width: 800px) {
  .collaborators-banner { min-height: 132px; margin-top: 28px; padding: 16px 16px 16px 130px; }
  .collaborators-banner img { left: 3px; bottom: 0; width: 130px; max-height: 132px; transform: none; }
  .collaborators-button { min-height: 92px; padding: 14px 13px; font-size: .76rem; }
  .product-card > .product-slider { min-height: 250px; height: 250px; }
  .history-timeline article { grid-template-columns: 58px 1fr; gap: 12px; }
  .history::after { width: 200px; height: 200px; }
}
