/* The main image retains its own proportions when the selected gallery view changes. */
.catalogueProduct .detailImage,
.catalogueProduct .detailImage #detailPhoto {
  aspect-ratio:auto;
  height:auto;
  min-height:0;
  max-height:none;
  width:100%;
  object-fit:contain;
}
.catalogueProduct .detailImage {background:transparent;}
.catalogueProduct .thumbRail {
  scrollbar-width:none;
  align-items:center;
  scroll-snap-type:x proximity;
}
.catalogueProduct .thumbRail::-webkit-scrollbar {display:none;}
.catalogueProduct .thumbRail [data-view] {
  height:auto;
  box-sizing:border-box;
  scroll-snap-align:start;
  border:2px solid transparent;
}
.catalogueProduct .thumbRail [data-view][aria-pressed=true] {border-color:#282728;}
.catalogueProduct .thumbRail img {display:block;object-fit:contain;}
.catalogueProduct #detailPrice {
  min-height:26px;
  gap:10px;
  margin-bottom:22px;
}
.catalogueProduct #detailPrice :is(strong,del) {font:400 20px/24px Arimo,Arial,sans-serif;}
.catalogueProduct #detailPrice strong {color:#d21936;}
.catalogueProduct #detailPrice del {color:#999;}
.catalogueProduct #detailPrice span {
  font:400 13px/24px Arimo,Arial,sans-serif;
  border-radius:4px;
  background:#ae2238;
  padding:1px 8px;
}
.catalogueProduct .detailOffers {
  display:grid; gap:12px; padding:22px 0 14px;
  border-block:1px solid #eee; margin:16px 0 30px;
}
.catalogueProduct .detailOffers > div {
  display:flex; align-items:center; gap:14px; padding:8px 4px 8px 10px;
  color:#ff526c; background:#ffe5e9; font:400 14px/20px Arimo,Arial,sans-serif;
}
.catalogueProduct .detailOffers > .detailTier {background:#ff526c;color:white;}
.detailTier a {display:block;color:inherit;text-decoration:underline;}
.detailTier a span, .detailOffers .offerValue {color:#000;}
.catalogueProduct .detailOffers > .detailViewers {background:#ecf5ff;color:#8921ff;}
.detailOffers svg {flex:none;display:block;width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.catalogueProduct .detailOptions legend {font:400 16px/18px Arimo,Arial,sans-serif;color:#666;margin:0;}
.detailOptionChoices {display:flex;align-items:center;flex-wrap:wrap;gap:15px;padding-top:30px;}
.catalogueProduct .detailOptionChoices button {min-height:36px;margin:0;padding:8px 15px;font:400 14px/18px Arimo,Arial,sans-serif;}
.catalogueProduct .quantity label {font:400 14px/21px Arimo,Arial,sans-serif;}
@media(max-width:767px) {
  .catalogueProduct .detailOffers {margin-bottom:15px;}
}
@media(min-width:768px) {
  .catalogueProduct .detail > .itemGallery {position:sticky;top:15px;align-self:start;}
  .catalogueProduct .itemGallery:has(.thumbRail) {
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    grid-template-rows:auto;
    column-gap:15px;
    align-self:start;
    align-items:start;
  }
  .catalogueProduct .itemGallery:has(.thumbRail) .detailImage {grid-column:2;grid-row:1;}
  .catalogueProduct .thumbRail {
    grid-column:1;grid-row:1;
    flex-direction:column;width:76px;
    gap:12px;overflow-y:auto;overflow-x:hidden;
    max-height:min(65vh,650px);scroll-snap-type:y proximity;
  }
  .catalogueProduct .thumbRail button[data-view] {width:76px;}
}
@media(max-width:767px) {
  .catalogueProduct .itemGallery {gap:14px;}
  .catalogueProduct .thumbRail {gap:10px;padding:0 15px;}
  .catalogueProduct .thumbRail button[data-view] {width:64px;}
  .catalogueProduct .details {margin:14px 15px 0;}
  .catalogueProduct #detailPrice {margin-top:27px;}
}
.detailThumbScroller .thumbScroll {display:none;}
@media(min-width:768px) {
  .detailThumbScroller {grid-column:1;grid-row:1;min-width:0;}
  .detailThumbScroller .thumbScroll {
    display:block;width:100%;height:24px;padding:0;
    font:20px/24px Arimo,Arial,sans-serif;color:#888;
  }
  .detailThumbScroller .thumbRail {max-height:max(152px,min(59vh,600px));}
}

/* Original image and video share a single selected gallery position. */
.catalogueProduct .detailImage {position:relative;}
.catalogueProduct .detailImage [hidden] {display:none;}
.catalogueProduct .detailImage:has(#startDetailVideo:not([hidden])) #detailPhoto {aspect-ratio:1;object-fit:cover;}
.catalogueProduct #detailVideo {display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#161616;}
.catalogueProduct #detailVideo[hidden] {display:none;}
.catalogueProduct .thumbRail button[data-view] {position:relative;aspect-ratio:1;border:0;}
.catalogueProduct .thumbRail button[aria-pressed=true] {border:2px solid #1d1f21;}
.catalogueProduct .thumbRail img {width:100%;height:100%;object-fit:cover;}
.catalogueProduct .productWhatsApp {
  display:flex;align-items:center;justify-content:center;gap:9px;
  width:100%;height:48px;margin-top:16px;background:#25d366;color:white;
  font:400 14px/1.5 Arimo,Arial,sans-serif;text-decoration:none;
}
.productWhatsApp svg {width:26px;height:26px;}
.videoThumb::after, #startDetailVideo::after {
  content:"";position:absolute;left:50%;top:50%;width:32px;height:32px;
  transform:translate(-50%,-50%);border-radius:50%;background:#d9dfe9;
}
.videoThumb::before, #startDetailVideo::before {
  content:"";position:absolute;left:50%;top:50%;width:13px;height:15px;
  transform:translate(-44%,-50%);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M1 3.7Q1 .2 4.1 1.8L13.4 7.1Q16.5 9 13.4 10.9L4.1 16.2Q1 17.8 1 14.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
  background:#555273;z-index:1;
}
#startDetailVideo {position:absolute;inset:0;background:transparent;}
#startDetailVideo::after {width:48px;height:48px;}
#startDetailVideo::before {width:16px;height:20px;}
.detailThumbScroller .thumbScroll svg {width:24px;height:24px;}
.detailThumbScroller .thumbScroll:last-child svg {transform:rotate(180deg);}
@media(min-width:768px) {
  .detailThumbScroller .thumbScroll {display:grid;place-items:center;color:#1d1f21;}
  .detailThumbScroller .thumbScroll:disabled {color:#a1a1a1;}
  .detailThumbScroller .thumbRail {gap:10px;margin:5px 0;max-height:max(152px,min(59vh,600px));}
}
@media(max-width:767px) {
  .detailThumbScroller {width:100%;min-width:0;}
}

.catalogueProduct .service-card{margin:16px 0;overflow:hidden;border-radius:5px;background:#f6f6f6;font:14px/1.3 Arial,sans-serif}
.catalogueProduct .service-card h3{margin:0;height:48px;display:flex;align-items:center;gap:12px;padding:0 25px;background:#35b333;color:white;font:600 16px/1.2 Arial,sans-serif}
.catalogueProduct .service-card h3 svg{width:23px;height:23px}
.catalogueProduct .service-card ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:25px 0 28px;list-style:none;border:1px solid #ddd;border-top:0;border-radius:0 0 5px 5px}
.catalogueProduct .service-card li{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:#666;padding:0 3px}
.catalogueProduct .service-card li svg{width:24px;height:24px;color:#080808}
