/* Product gallery arrows and count chip: Dr Penguin cream and brown palette. */
#product-id .p_gallery_container div.sphinx_product_active_img {
  position: relative !important;
}
#product-id .dp-gallery-nav {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  direction: ltr !important;
  padding: 0 12px !important;
  pointer-events: none !important;
}
#product-id .dp-gallery-nav button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  padding: 0 !important;
  border: 1px solid #e3d8cf !important;
  border-radius: 50% !important;
  background: #fffdfb !important;
  color: #4b2516 !important;
  box-shadow: 0 3px 12px #4b251620 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s !important;
}
#product-id .dp-gallery-nav button:hover {
  border-color: #4b2516 !important;
  background: #4b2516 !important;
  color: #fffdfb !important;
  transform: scale(1.04);
}
#product-id .dp-gallery-nav button:focus-visible {
  outline: 3px solid #b28b75 !important;
  outline-offset: 3px !important;
}
#product-id .dp-gallery-nav svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}
#product-id .dp-gallery-count {
  position: absolute !important;
  bottom: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 5px 12px !important;
  border: 1px solid #e3d8cf !important;
  border-radius: 999px !important;
  background: #fffdfb !important;
  color: #4b2516 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  box-shadow: 0 2px 8px #4b251614 !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  #product-id .dp-gallery-nav { padding-inline: 8px !important; }
  #product-id .dp-gallery-nav button {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }
  #product-id .dp-gallery-count { bottom: 10px !important; font-size: 11px !important; }
  /* EasyOrders uses its native Swiper controls on mobile. Match them to the
     desktop gallery controls while keeping the platform's working navigation. */
  #product-id .p_gallery_container button[aria-label="prev-button"],
  #product-id .p_gallery_container button[aria-label="next-button"] {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border: 1px solid #e3d8cf !important;
    border-radius: 50% !important;
    background: #fffdfb !important;
    color: #4b2516 !important;
    box-shadow: 0 3px 12px #4b251620 !important;
    transition: background-color .18s, color .18s, border-color .18s !important;
  }
  #product-id .p_gallery_container button[aria-label="prev-button"]:disabled,
  #product-id .p_gallery_container button[aria-label="next-button"]:disabled {
    color: #4b2516 !important;
    opacity: .42 !important;
  }
  #product-id .p_gallery_container button[aria-label="prev-button"] svg,
  #product-id .p_gallery_container button[aria-label="next-button"] svg {
    width: 19px !important;
    height: 19px !important;
  }
  #product-id .p_gallery_container button[aria-label="prev-button"] + span {
    padding: 5px 12px !important;
    border: 1px solid #e3d8cf !important;
    border-radius: 999px !important;
    background: #fffdfb !important;
    color: #4b2516 !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    box-shadow: 0 2px 8px #4b251614 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #product-id .dp-gallery-nav button { transition: none !important; }
}
