.scardi-cookie-launcher {
  position: fixed;
  inset: auto auto max(10px, env(safe-area-inset-bottom)) 10px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #614e32;
  cursor: pointer;
}
.scardi-cookie-launcher span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #bda982;
  border-radius: 50%;
  background: #fcf8ef;
  box-shadow: 0 2px 7px #211c151a;
}
.scardi-cookie-launcher:hover span { background: #f3ebda; }
.scardi-cookie-launcher:focus-visible { outline: 2px solid #76603a; outline-offset: 1px; }
.scardi-analytics-control {
  position: fixed;
  inset: auto auto max(14px, env(safe-area-inset-bottom)) 14px;
  z-index: 25;
  width: min(340px, calc(100% - 28px));
  padding: 14px 16px;
  background: #fcf8ef;
  color: #292820;
  border: 1px solid #bda982;
  box-shadow: 0 8px 24px #211c151a;
  font: 14px/1.5 system-ui, sans-serif;
}
.scardi-analytics-control h2 { margin: 0 34px 8px 0; font: 21px/1.15 Georgia, serif; }
.scardi-analytics-control p { margin: 0 0 12px; }
.scardi-analytics-control a { color: inherit; text-decoration: underline; }
.scardi-cookie-close { position: absolute; top: 7px; right: 7px; min-width: 42px; min-height: 42px; font-size: 24px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.scardi-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scardi-cookie-actions button { flex: 1 1 auto; min-height: 44px; padding: 8px 12px; border: 1px solid #8c7955; background: #f3ebda; color: inherit; cursor: pointer; }
.scardi-cookie-actions button:hover { background: #e9ddc4; }
.scardi-analytics-control :focus-visible { outline: 2px solid #76603a; outline-offset: 2px; }
@media (max-width: 620px) {
  .scardi-cookie-launcher span { width: 30px; height: 30px; }
  .scardi-cookie-launcher svg { width: 14px; height: 14px; }
}

.b-card-image, .b-product-grid .b-card-image, .b-dark .b-card-image,
.b-main-image, .b-thumbnails > button { background: var(--b-paper); }
/* Keep the gallery position stable when the local navigation font becomes available. */
@media (max-width: 640px) {
  .b-pdp .b-breadcrumb { flex-wrap: nowrap; line-height: 1.5; }
  .b-pdp .b-breadcrumb > :not([aria-current]) { flex-shrink: 0; }
  .b-pdp .b-breadcrumb > [aria-current] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.b-card-image > img, .b-main-image > img, .b-thumbnails img { mix-blend-mode: normal; }
.b-card-image.b-bracelet-photo, .b-product-grid .b-card-image.b-bracelet-photo,
.b-dark .b-card-image.b-bracelet-photo, .b-main-image.b-bracelet-photo,
.b-thumbnails > button.b-bracelet-photo { background: #fff; }
.b-card-image.b-bracelet-photo > img, .b-product-grid .b-card-image.b-bracelet-photo > img { padding: 5px; }
.b-main-image.b-bracelet-photo { padding: clamp(8px, 1.7vw, 22px); }
.b-visit-map { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.5fr); gap: clamp(16px, 4vw, 54px); align-items: center; }
.b-visit-map address { margin: 0 0 20px; font-style: normal; line-height: 1.6; }
.b-map-surface { min-height: 270px; border: 1px solid #d5c8b0; background: #f2eadc; }
.b-map-surface iframe { width: 100%; height: 270px; border: 0; display: block; }
.b-map-prompt { display: grid; justify-items: center; align-content: center; gap: 14px; min-height: 268px; padding: 20px; text-align: center; }
.b-map-prompt small a { text-decoration: underline; }
.b-motion-caption { justify-content: flex-end; }
@media (max-width: 620px) { .b-visit-map { grid-template-columns: 1fr; } }

.b-photo-hero .b-hero-valuation {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  color: #fffaf0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 901px) {
  .b-pdp .b-product-intro { font-size: 22px; }
  .b-pdp .b-product-details p:not(.b-kicker),
  .b-pdp .b-product-details dl,
  .b-pdp .b-product-accordions p,
  .b-pdp .b-product-accordions a { font-size: 16px; line-height: 1.7; }
  .b-pdp .b-product-details section > div + div { margin-top: 24px; }
  .b-pdp .b-product-details h3 { font-size: 22px; margin-bottom: 6px; }
  .b-pdp .b-product-details dt,
  .b-pdp .b-product-details dd { padding-block: 14px; overflow-wrap: anywhere; }
  .b-pdp .b-product-accordions summary { font-size: 16px; }
}

/* Sfondo caldo boutique (#E2D2C5) uniforme per tutti i segnatempo d'epoca (stile Rolex) */
.b-card-image.b-vintage-photo,
.b-product-card-vintage .b-card-image,
.b-vintage-pdp .b-main-image,
.b-vintage-pdp .b-thumbnails > button {
  background-color: var(--scardi-photo-backdrop, #E2D2C5) !important;
}

.b-card-image.b-vintage-photo img,
.b-product-card-vintage .b-card-image img,
.b-vintage-pdp .b-main-image img,
.b-vintage-pdp .b-thumbnails > button img {
  background-color: transparent;
  object-fit: contain;
}

.b-header-cart {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
}
.b-cart-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Non-generative, source-matched vintage studio photographs. */
.b-zoom-image.b-vintage-zoom { background: var(--scardi-photo-backdrop, #E2D2C5); }
.b-vintage-pdp .b-main-image img,
.b-vintage-pdp .b-thumbnails img,
.b-product-card-vintage .b-card-image img { object-fit: contain; object-position: center; }

/* Owner QA 17/11: fondale fotografico omogeneo senza alterare i file approvati. */
.b-product-card-vintage .b-card-image > img,
.b-vintage-pdp .b-main-image > img,
.b-vintage-pdp .b-thumbnails > button > img {
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
@media (max-width: 640px) {
  /* Evita overflow orizzontale e centro logo; mantiene menu, ricerca e carrello. */
  .boutique { max-width: 100%; overflow-x: clip; }
  .boutique .b-container { width: calc(100% - 36px); max-width: 100%; margin-inline: auto; }
  .b-header-inner {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 84px;
    align-items: center;
    gap: 0;
  }
  .b-header .b-mobile-toggle { grid-column: 1; position: relative; z-index: 2; width: 40px; }
  .b-header .b-logo, .b-header-compact .b-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(34vw, 132px);
    height: auto;
    aspect-ratio: 1.56;
    margin: 0;
  }
  .b-header-actions { grid-column: 3; display: flex; width: 84px; gap: 4px; justify-content: flex-end; margin-left: 0; position: relative; z-index: 2; }
  .b-header-actions .b-icon,
  .b-header .b-header-cart { width: 40px !important; flex: 0 0 40px; min-width: 0; height: 40px; padding: 8px !important; justify-content: center; }
  .b-header .b-cart-text { display: none; }
  .b-carousel-section .b-section-head,
  .b-carousel-section .b-carousel-controls,
  .b-carousel-section .b-product-track { max-width: 100%; min-width: 0; }
  .b-carousel-section .b-product-track { grid-auto-columns: 76%; }
  .b-photo-hero .b-hero-copy { width: 100%; max-width: 100%; }
  .b-photo-hero .b-hero-copy h1 { overflow-wrap: normal; max-width: 100%; }
}
