.bivolino-product-page { --product-light-gray:#f8f9fc; --shop-photo:var(--product-light-gray); }
.product-info-blocks { display:grid; gap:12px; margin:24px 0; }
#product-specifications > .product-fabric-highlights + .product-description-accordion { margin-top:12px; }
.product-info-blocks > section,
.bivolino-product-page .product-details .fit-reassurance { min-width:0; padding:clamp(16px,2vw,24px); background:var(--product-light-gray); border-radius:8px; }
.bivolino-product-page .product-details .fit-reassurance { border:0; font:inherit; color:inherit; }
.product-details .fit-reassurance :is(p, a, summary) { font:inherit; color:inherit; }
.product-details .fit-reassurance-heading strong { display:block; margin:0 0 12px; font-size:18px; line-height:1.3; font-weight:500; }
.bivolino-product-page .fit-reassurance .fit-reassurance-terms { font-size:inherit; }
.product-fabric-logo { display:block; width:auto; height:auto; max-width:min(140px,100%); max-height:64px; margin-top:14px; }
.bivolino-product-page .fit-reassurance .fit-reassurance-icon { color:#21663e; border:0; background:transparent; }
.bivolino-product-page .product-mobile-thumbnails .thumbnail,
.bivolino-product-page .related-products .card-image,
.bivolino-product-page .model-description-video,
.bivolino-product-page .image-story { background-color:var(--product-light-gray); }
.product-info-blocks > section > h2 { margin:0 0 12px; font-size:18px; line-height:1.3; }
.product-info-blocks > .product-fabric-card > h2 { font-weight:700; overflow-wrap:anywhere; }
.product-info-blocks .product-fabric-table { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(12px,2vw,24px); margin:8px 0 0; font-size:13px; line-height:1.6; }
.product-info-blocks .product-fabric-table__row { display:block; padding:10px 0; border:0; border-top:1px solid #ddd; overflow-wrap:anywhere; }
.product-info-blocks .product-fabric-table dt { display:inline; margin:0; color:#222; font-weight:600; }
.product-info-blocks .product-fabric-table dt::after { content:" :"; }
.product-info-blocks .product-fabric-table dd { display:inline; margin:0; }
.product-info-blocks .model-description { padding:0; background:transparent; }
.product-info-blocks > section > :last-child { margin-bottom:0; }
.product-options { margin:20px 0; }
.product-options > h2 { margin:0 0 10px; font-size:21px; color:#21663e; }
.product-option-row { display:grid; grid-template-columns:20px 1fr auto 22px; align-items:center; gap:10px; width:100%; padding:12px 2px; text-align:left; background:white; color:#111; border:0; border-bottom:1px solid #ddd; cursor:pointer; font:inherit; font-size:14px; }
.product-option-row strong { text-align:right; }
.product-option-row:disabled { opacity:.55; cursor:default; }
.product-options dialog { position:fixed; inset:0; margin:auto; border:0; border-radius:12px; width:min(620px,calc(100% - 24px)); max-height:90dvh; overflow:auto; padding:18px; box-sizing:border-box; background:#fff; color:#171717; }
.product-options dialog::backdrop { background:rgba(0,0,0,.48); }
.product-options dialog header { position:static; display:flex; justify-content:space-between; align-items:center; background:white; color:#111; margin-bottom:12px; }
.product-options dialog h3 { font-size:19px; margin:0; }
.product-options [data-close] { display:grid; place-items:center; padding:0; flex:none; width:36px; height:36px; border:0; border-radius:50%; background:var(--product-light-gray); font-size:24px; }
.product-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.product-option-grid button { position:relative; display:grid; justify-items:center; align-content:center; gap:4px; padding:9px; border:1px solid #ddd; border-radius:6px; background:white; color:#171717; font:inherit; cursor:pointer; }
.product-option-grid img { width:100%; height:clamp(90px,15vw,130px); object-fit:contain; }
.product-option-grid small { font-size:12px; }
.product-option-grid [aria-pressed=true] { border-color:#185139; box-shadow:inset 0 0 0 1px #185139; }
.product-option-grid [aria-pressed=true]::after { content:'✓'; position:absolute; right:5px; top:4px; border-radius:50%; background:#185139; color:white; width:18px; font-size:12px; }
.product-options [data-initials]:not([hidden]) { display:grid; gap:6px; margin-top:12px; }
.product-options [data-confirm] { position:sticky; bottom:0; display:block; width:100%; margin-top:14px; padding:12px; border:0; border-radius:5px; background:#174b34; color:white; font-weight:700; text-transform:uppercase; cursor:pointer; }
.product-option-icon { width:24px; height:24px; object-fit:contain; }
.product-options .product-option-row { grid-template-columns:24px 1fr auto 22px; }
@media (min-width:1001px) {
  body.bivolino-product-page .product-layout {
    grid-template-columns:minmax(0,53fr) minmax(0,47fr);
    column-gap:clamp(28px,3.4vw,52px);
  }
}
.bivolino-product-page .product-layout > .product-details { position:static; }
.product-options dialog iframe { display:block; width:100%; height:min(62dvh,560px); border:0; }
.product-options .product-option-row[hidden] { display:none; }
.product-squirrel-icon { background:currentColor; transform:scaleX(-1); -webkit-mask:url('../images/logo.png') 0 0/746.8% 140% no-repeat; mask:url('../images/logo.png') 0 0/746.8% 140% no-repeat; }
.bivolino-product-page .product-options { margin-block:44px 30px; }
.product-options-bottom-add {
  position:fixed;
  z-index:6;
  bottom:calc(12px + env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  width:min(420px,calc(100% - 32px));
  min-height:48px;
  padding:10px 16px;
  border:0;
  border-radius:6px;
  background:#111;
  color:white;
  line-height:1.4;
  font-family:inherit;
  font-weight:700;
  font-size:14px;
  text-transform:uppercase;
}
.product-options-bottom-add[hidden],
body:has(.drawer.open,dialog[open],.mobile-menu.open) .product-options-bottom-add { display:none; }
.product-action-notes { display:grid; gap:8px; margin:24px 0 22px; }
.bivolino-product-page .product-details .product-action-notes > p {
  display:flex; align-items:center; justify-content:flex-start; gap:10px; margin:0; text-align:left;
  font:500 14px/1.5 'DM Sans',sans-serif; color:#222;
}
.product-note-icon {
  display:grid; place-items:center; flex:0 0 28px; height:28px; border-radius:50%;
  background:#eaf4ed; color:#245b3f; font-size:15px;
}
@media (min-width:851px) {
  .product-mobile-gallery {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-flow:row dense;
  }
  .product-mobile-gallery > * { grid-column:1 / -1; }
  .product-mobile-gallery > .gallery-photo {
    grid-column:auto;
    aspect-ratio:4 / 5;
    position:relative;
  }
  .product-mobile-gallery > .gallery-photo > img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }
}
.product-mobile-gallery > figure { position:relative; }
.product-mobile-gallery .product-photo-zoom { position:absolute; inset:0; z-index:1; width:100%; height:100%; border:0; padding:0; background:transparent; cursor:zoom-in; }
.product-photo-zoom span { position:absolute; right:12px; bottom:12px; display:grid; place-items:center; width:36px; height:36px; background:#fff; color:#222; border-radius:50%; opacity:0; }
@media (any-hover:hover) {
  .product-photo-zoom:hover span { opacity:1; }
}
.product-photo-zoom:focus-visible span { opacity:1; }
.product-photo-zoom:focus-visible { outline:3px solid #21663e; outline-offset:-4px; }
.product-photo-dialog { position:fixed; inset:0; margin:auto; padding:0; border:0; background:transparent; max-width:96vw; max-height:94dvh; }
.product-photo-dialog::backdrop { background:rgba(0,0,0,.76); }
.product-photo-dialog img { display:block; width:auto; height:auto; max-width:96vw; max-height:94dvh; object-fit:contain; }
.product-photo-dialog button { position:absolute; top:8px; right:8px; width:44px; height:44px; background:white; color:#222; border:0; border-radius:50%; font-size:26px; cursor:pointer; }
html:has(.product-photo-dialog[open]), body:has(.product-photo-dialog[open]) { overflow:hidden; }

.product-customize-desktop { margin:12px 0 0; }
.product-customize-desktop .add-to-bag {
  width:100%; min-height:52px; margin:0; padding:12px 16px;
  background:#fff; color:#333; border:1px solid #aaa;
  font-family:inherit; font-size:14px; font-weight:600; line-height:1.4;
  cursor:pointer;
}
@media (min-width:851px) {
  .product-details .product-actions-row #addToBag { min-height:52px; background:#000; }
  .bivolino-product-page .product-details :is(#addToBag, .product-customize-desktop .add-to-bag) {
    border-radius:3px;
    text-transform:uppercase;
    letter-spacing:1px;
  }
  .bivolino-product-page .product-options,
  .bivolino-product-page .product-options-bottom-add { display:none; }
}
@media (max-width:850px) {
  .bivolino-product-page .product-details .product-action-notes > .product-actions-description { display:none; }
  .product-customize-desktop, .product-design-desktop { display:none; }
  .product-options dialog,
  .product-photo-dialog {
    box-sizing:border-box;
    width:100%;
    height:100dvh;
    max-width:none;
    max-height:none;
    margin:0;
    border-radius:0;
  }
  .product-options dialog[open] { display:flex; flex-direction:column; }
  .product-options dialog [data-picker-content] { flex:1; min-height:0; }
  .product-options dialog iframe { height:100%; }
  .product-options dialog [data-confirm] { margin-top:auto; flex-shrink:0; }
  .product-photo-dialog { background:white; }
  .product-photo-dialog img { width:100%; height:100%; max-width:none; max-height:none; }
  html:has(.product-options dialog[open]) { overflow:hidden; }
}
