:root {
  --rp-text: #171717;
  --rp-muted: #6f6f73;
  --rp-line: #e8e4df;
  --rp-soft: #faf8f6;
  --rp-accent: #8f1d2c;
  --rp-accent-soft: #fff3ef;
  --rp-radius: 22px;
  --rp-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.rp-page {
  margin: 0;
  color: var(--rp-text);
  background: #fff;
  font-family: var(--rp-font);
}

.rp-page-header {
  border-bottom: 1px solid var(--rp-line);
  padding: 22px clamp(20px, 4vw, 56px);
  background: #fff;
}

.rp-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rp-text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.rp-logo-link img {
  max-width: 96px;
  max-height: 48px;
  object-fit: contain;
}

.rp-page-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 8vw, 86px) 0;
}

.rp-page-kicker {
  color: var(--rp-accent);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.rp-page-title {
  font-size: clamp(36px, 8vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 0 0 22px;
}

.rp-page-lead {
  color: var(--rp-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  max-width: 760px;
  margin: 0 0 38px;
}

.rp-content {
  font-size: 17px;
  line-height: 1.72;
}

.rp-content h2, .rp-content h3 {
  margin-top: 36px;
  letter-spacing: -0.03em;
}

.rp-content a, .rp-footer a {
  color: inherit;
  text-underline-offset: 4px;
}

.rp-footer {
  background: #fff;
  border-top: 1px solid var(--rp-line);
  padding: 48px clamp(20px, 4vw, 56px) 22px;
  font-family: var(--rp-font);
  color: var(--rp-text);
}

.rp-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 36px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rp-footer-brand p,
.rp-footer address,
.rp-footer-bottom,
.rp-footer-muted {
  color: var(--rp-muted);
}

.rp-footer-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.rp-footer-brand p {
  margin: 0 0 20px;
  line-height: 1.55;
  max-width: 360px;
}

.rp-footer address {
  font-style: normal;
  line-height: 1.7;
  font-size: 14px;
}

.rp-footer-col h2 {
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin: 0 0 18px;
  color: var(--rp-muted);
}

.rp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.rp-footer li, .rp-footer a {
  font-size: 15px;
  line-height: 1.35;
}

.rp-footer a {
  text-decoration: none;
}

.rp-footer a:hover {
  text-decoration: underline;
}

.rp-footer-bottom {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  border-top: 1px solid var(--rp-line);
  padding-top: 20px;
  font-size: 13px;
}


/* FOOTER_CONSOLIDATED_20260716
 * Regole prima distribuite in 04-panels-footer.css e 07-product-gallery-and-final.css.
 * Mantengono invariato il risultato visivo finale, centralizzando il footer qui.
 */
.rp-footer {
  position: relative;
  border-top: 0 !important;
}

.rp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 32px), var(--rp-container));
  height: 1px;
  transform: translateX(-50%);
  background: var(--rp-line-soft);
}

.rp-footer section {
  display: grid;
  align-content: start;
  gap: 7px;
}

.rp-footer a {
  font-weight: 700;
}

.rp-footer-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 700;
}

.rp-cookie {
  position: fixed;
  z-index: 9999;
  inset: auto 14px 14px 14px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.rp-cookie-card {
  pointer-events: auto;
  width: min(920px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--rp-line);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.rp-cookie-copy h2 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.rp-cookie-copy p {
  margin: 0;
  color: var(--rp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rp-cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.rp-btn {
  appearance: none;
  border: 1px solid var(--rp-line);
  background: #fff;
  color: var(--rp-text);
  border-radius: 999px;
  padding: 11px 16px;
  font: 650 14px/1 var(--rp-font);
  cursor: pointer;
}

.rp-btn-primary {
  background: var(--rp-text);
  color: #fff;
  border-color: var(--rp-text);
}

.rp-btn-ghost:hover,
.rp-btn-primary:hover {
  transform: translateY(-1px);
}

.rp-cookie-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 12px 0 0;
}

.rp-cookie-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--rp-line);
  border-radius: 16px;
  font-weight: 650;
}

.rp-cookie-options span {
  margin-left: auto;
  color: var(--rp-muted);
  font-weight: 400;
  font-size: 13px;
}

.rp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.rp-contact-card {
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  padding: 24px;
  background: var(--rp-soft);
}

.rp-contact-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.rp-contact-card dt {
  font-size: 12px;
  color: var(--rp-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.rp-contact-card dd {
  margin: 0;
  line-height: 1.5;
}

.rp-form {
  display: grid;
  gap: 14px;
}

.rp-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--rp-muted);
}

.rp-form input,
.rp-form textarea,
.rp-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rp-line);
  border-radius: 16px;
  padding: 13px 14px;
  font: 16px/1.4 var(--rp-font);
  color: var(--rp-text);
  background: #fff;
}

.rp-form textarea {
  min-height: 150px;
  resize: vertical;
}

.rp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rp-form-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--rp-text) !important;
}

.rp-form-check input {
  width: auto;
  margin-top: 3px;
}

.rp-form-message {
  display: none;
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--rp-accent-soft);
  color: var(--rp-accent);
  font-size: 14px;
}

.rp-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.rp-product-card {
  border: 1px solid var(--rp-line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.rp-product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  object-fit: cover;
  background: var(--rp-soft);
}

.rp-product-card-body {
  padding: 18px;
}

.rp-product-card h2 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.rp-product-card p {
  margin: 0;
  color: var(--rp-muted);
  line-height: 1.45;
  font-size: 14px;
}

.rp-product-price {
  margin-top: 14px;
  font-weight: 700;
}

@media (max-width: 880px) {
  .rp-footer-inner,
  .rp-contact-grid,
  .rp-products {
    grid-template-columns: 1fr;
  }

  .rp-cookie-card {
    grid-template-columns: 1fr;
  }

  .rp-cookie-actions {
    justify-content: stretch;
  }

  .rp-cookie-actions .rp-btn {
    flex: 1 1 auto;
  }

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

.rp-cms-content{margin-top:28px;color:var(--rp-ink,#1d1d1f);line-height:1.72}.rp-cms-content h2{font-size:clamp(24px,3vw,40px);line-height:1.1;margin:40px 0 14px}.rp-cms-content h3{font-size:22px;margin:30px 0 10px}.rp-cms-content p{margin:0 0 18px}.rp-cms-content ul{padding-left:22px;margin:12px 0 22px}.rp-cms-content li{margin:8px 0}.rp-contact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:44px;margin-top:44px}.rp-contact-card,.rp-contact-form{border:1px solid rgba(0,0,0,.08);border-radius:28px;padding:28px;background:#fff}.rp-contact-card h2,.rp-contact-form h2{margin:6px 0 18px}.rp-contact-card p{margin:0 0 18px;line-height:1.55}.rp-contact-card a{color:inherit}.rp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rp-form-grid label,.rp-contact-form label{font-size:13px;font-weight:600;color:rgba(0,0,0,.72)}.rp-form-grid input,.rp-form-grid textarea{width:100%;box-sizing:border-box;margin-top:8px;border:1px solid rgba(0,0,0,.12);border-radius:16px;padding:13px 14px;font:inherit;background:#fff}.rp-form-full{grid-column:1/-1}.rp-privacy-check{display:flex;gap:10px;align-items:flex-start;margin:18px 0 22px;line-height:1.45}.rp-form-alert{border-radius:16px;padding:12px 14px;margin:0 0 18px;font-size:14px}.rp-form-alert--success{background:#eef8f1}.rp-form-alert--error{background:#fff0ee}.rp-footer-link-button{appearance:none;border:0;background:transparent;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer;opacity:.72}.rp-footer-link-button:hover{opacity:1}.rp-footer-small{font-size:13px;opacity:.62;margin-top:8px}@media (max-width:760px){.rp-contact-grid{grid-template-columns:1fr;gap:22px}.rp-form-grid{grid-template-columns:1fr}}

/* PATCH_BOTTEGA_PAGINE_TESTO_SPAZIATURA_20260627_START */
/* Riduce lo spazio iniziale delle pagine testuali/CMS e rimuove la linea grigia sopra il contenuto. */
.rp-static-page {
  padding-top: calc(var(--rp-header-h) + clamp(8px, 1.4vw, 18px)) !important;
}

.rp-static-page .rp-static-shell,
.rp-static-page.rp-cms-page .rp-static-shell,
.rp-contact-page .rp-static-shell {
  border-top: 0 !important;
  padding-top: clamp(12px, 2vw, 26px) !important;
}

.rp-static-page .rp-breadcrumb,
.rp-static-page.rp-cms-page .rp-breadcrumb,
.rp-contact-page .rp-breadcrumb {
  margin-top: 0 !important;
}

.rp-static-page.rp-cms-page .rp-static-shell > .rp-kicker,
.rp-contact-page .rp-static-shell > .rp-kicker {
  margin-top: 0 !important;
}

@media (min-width: 900px) {
  .rp-static-page {
    padding-top: calc(var(--rp-header-h) + 10px) !important;
  }

  .rp-static-page .rp-static-shell,
  .rp-static-page.rp-cms-page .rp-static-shell,
  .rp-contact-page .rp-static-shell {
    padding-top: 18px !important;
  }
}

@media (max-width: 760px) {
  .rp-static-page {
    padding-top: calc(var(--rp-header-h) + 4px) !important;
  }

  .rp-static-page .rp-static-shell,
  .rp-static-page.rp-cms-page .rp-static-shell,
  .rp-contact-page .rp-static-shell {
    padding-top: 10px !important;
  }
}
/* PATCH_BOTTEGA_PAGINE_TESTO_SPAZIATURA_20260627_END */

/* Patch 20260707 - Contact forms refined UI + antispam */
.rp-contact-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;margin-bottom:18px}
.rp-contact-hero h1{margin-bottom:12px}.rp-contact-hero p{max-width:760px}
.rp-contact-hero__chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:420px}
.rp-contact-hero__chips span{display:inline-flex;border:1px solid rgba(22,18,19,.08);border-radius:999px;background:#fff;padding:9px 12px;font-size:13px;font-weight:750;color:rgba(22,18,19,.66)}
.rp-contact-grid--refined{align-items:start}.rp-contact-card--info,.rp-contact-form--refined{box-shadow:0 22px 70px rgba(22,18,19,.055);border-color:rgba(22,18,19,.075)}
.rp-contact-card--info{position:sticky;top:96px;background:linear-gradient(180deg,#fff 0%,#fffaf8 100%)}
.rp-contact-data-list{display:grid;gap:10px;margin-top:24px}.rp-contact-data-list p{display:grid;gap:4px;margin:0;padding:14px 0;border-top:1px solid rgba(22,18,19,.07)}
.rp-contact-data-list strong{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:rgba(22,18,19,.44)}.rp-contact-data-list a,.rp-contact-data-list span{font-size:15px;color:#161213;text-decoration:none;line-height:1.35}
.rp-contact-form__head{display:grid;gap:8px;margin-bottom:22px}.rp-contact-form__head h2{margin:0}.rp-contact-form__head p{margin:0;max-width:640px;color:rgba(22,18,19,.62);font-size:15px;line-height:1.5}
.rp-contact-form--gift{max-width:980px;margin:42px auto 0;background:linear-gradient(180deg,#fff 0%,#fffaf8 100%)}
.rp-contact-form--refined .rp-form-grid input,.rp-contact-form--refined .rp-form-grid textarea{border-radius:18px;border-color:rgba(22,18,19,.12);background:rgba(255,255,255,.96);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.rp-contact-form--refined .rp-form-grid input:focus,.rp-contact-form--refined .rp-form-grid textarea:focus{outline:0;border-color:rgba(128,29,43,.42);box-shadow:0 0 0 4px rgba(128,29,43,.08);background:#fff}
.rp-contact-form--refined .rp-btn{min-width:190px}.rp-contact-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.rp-human-check{display:grid!important;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center;margin:18px 0 10px;padding:14px 16px;border:1px solid rgba(22,18,19,.1);border-radius:20px;background:#fff;font-size:14px;color:#161213;cursor:pointer}
.rp-human-check input{position:absolute;opacity:0;pointer-events:none}.rp-human-check span{grid-row:1/3;width:24px;height:24px;border-radius:9px;border:1px solid rgba(22,18,19,.22);background:#fff;box-shadow:inset 0 0 0 4px #fff;transition:background .16s ease,border-color .16s ease}.rp-human-check input:checked+span{background:#161213;border-color:#161213}.rp-human-check input:checked+span:after{content:'✓';display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:15px;font-weight:900}.rp-human-check strong{font-size:14px}.rp-human-check small{grid-column:2;color:rgba(22,18,19,.55);line-height:1.3}.rp-human-check:focus-within{box-shadow:0 0 0 4px rgba(128,29,43,.08)}
html.rp-js .rp-contact-fallback-success{display:none}.rp-form-alert[hidden]{display:none!important}
.rp-contact-success-modal[hidden]{display:none!important}.rp-contact-success-modal{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:22px}.rp-contact-success-modal__backdrop{position:absolute;inset:0;background:rgba(22,18,19,.32);backdrop-filter:blur(10px)}.rp-contact-success-modal__card{position:relative;width:min(100%,420px);display:grid;justify-items:center;text-align:center;gap:14px;padding:30px;border-radius:30px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.18)}.rp-contact-success-modal__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:999px;background:#eef8f1;color:#216a38;font-size:26px;font-weight:900}.rp-contact-success-modal__card h2{margin:0;font-size:28px;letter-spacing:-.04em}.rp-contact-success-modal__card p{margin:0;color:rgba(22,18,19,.62);line-height:1.45}
@media (max-width:900px){.rp-contact-hero{grid-template-columns:1fr}.rp-contact-hero__chips{justify-content:flex-start}.rp-contact-card--info{position:relative;top:auto}}
@media (max-width:760px){.rp-contact-form--refined{padding:22px;border-radius:24px}.rp-contact-form--refined .rp-btn{width:100%}.rp-contact-success-modal__card{border-radius:26px;padding:26px 20px}.rp-contact-hero__chips span{font-size:12px;padding:8px 10px}}

/* Patch 20260707 - Regali aziendali form aligned with CMS text */
.rp-gift-page .rp-contact-form--gift{width:100%;max-width:none;margin:34px 0 0;box-sizing:border-box}

/* PATCH_BOTTEGA_CONTATTI_CHECKOUT_IVA_20260708_START */
/* Correzione 20260708: le pagine statiche restano nel contenitore centrale originale, non a monitor pieno. */
.rp-static-page .rp-static-shell,
.rp-static-page.rp-cms-page .rp-static-shell,
.rp-contact-page .rp-static-shell {
  width: min(100% - 32px, 880px) !important;
  max-width: 880px !important;
  margin-inline: auto !important;
}

/* Il testo sotto il titolo usa tutta la larghezza utile del contenitore centrale, non tutto il monitor. */
.rp-static-page .rp-static-shell > p,
.rp-static-page.rp-cms-page .rp-static-shell > p,
.rp-contact-page .rp-static-shell > p,
.rp-contact-hero p {
  width: 100% !important;
  max-width: 100% !important;
}

.rp-static-page.rp-cms-page .rp-cms-content {
  width: 100% !important;
  max-width: 100% !important;
}

.rp-contact-hero {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start;
}

.rp-contact-hero__chips {
  display: none !important;
}

.rp-contact-legal-name {
  margin: -10px 0 16px !important;
  color: rgba(22, 18, 19, .58);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
}

.rp-receipt-line--tax {
  color: rgba(22, 18, 19, .58);
  font-size: 13px;
}

.rp-receipt-line--tax strong {
  color: rgba(22, 18, 19, .72);
  font-size: 13px;
}
/* PATCH_BOTTEGA_CONTATTI_CHECKOUT_IVA_20260708_END */

/* PATCH_BOTTEGA_CHECKOUT_TAX_BREAKDOWN_20260708_START */
.rp-tax-breakdown {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.rp-tax-breakdown__head,
.rp-tax-breakdown__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.rp-tax-breakdown__head {
  color: rgba(22, 18, 19, .58);
  font-size: 13px;
}

.rp-tax-breakdown__head strong {
  color: rgba(22, 18, 19, .72);
  font-size: 13px;
}

.rp-tax-breakdown__line {
  padding-left: 12px;
  color: rgba(22, 18, 19, .52);
  font-size: 12px;
}

.rp-tax-breakdown__line span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.rp-tax-breakdown__line small {
  color: rgba(22, 18, 19, .38);
  font-size: 11px;
}

.rp-tax-breakdown__line strong {
  color: rgba(22, 18, 19, .62);
  font-size: 12px;
}
/* PATCH_BOTTEGA_CHECKOUT_TAX_BREAKDOWN_20260708_END */

/* FOOTER_MOBILE_COMPACT_20260716
 * Riduce soltanto gli spazi verticali del footer su smartphone.
 * Nessuna modifica alla struttura o alla versione desktop.
 */
@media (max-width: 880px) {
  .rp-footer {
    padding-top: 32px;
    padding-bottom: 18px;
  }

  .rp-footer-inner {
    gap: 24px;
  }

  .rp-footer section,
  .rp-footer-col {
    gap: 4px;
  }

  .rp-footer-col h2 {
    margin-bottom: 10px;
  }

  .rp-footer ul {
    gap: 6px;
  }

  .rp-footer li,
  .rp-footer a {
    line-height: 1.25;
  }

  .rp-footer-brand p {
    margin-bottom: 12px;
  }

  .rp-footer-bottom {
    margin-top: 24px;
    padding-top: 14px;
  }
}
