/* Site-specific overrides layered on top of the Squarespace snapshot CSS. */
/* No Squarespace shop on the new site: hide the cart icon */
.header-actions-action--cart { display: none !important; }

/* ---------- Gallery reel (homepage strip) — replaces Squarespace GalleryReel JS ---------- */
.gallery-reel { position: relative; }
.gallery-reel-list { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery-reel-list::-webkit-scrollbar { display: none; }
.gallery-reel-item { position: relative !important; flex: 0 0 auto; height: 100% !important; aspect-ratio: 4 / 5;
  width: auto !important; transform: none !important; scroll-snap-align: start; display: block !important; }
.gallery-reel-item-wrapper, .gallery-reel-item-src { position: absolute !important; inset: 0; display: block !important; opacity: 1 !important; }
.gallery-reel-item img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; display: block !important; }
.gallery-reel-controls { pointer-events: none; }
.gallery-reel-control-btn { pointer-events: auto; cursor: pointer; }

/* ---------- Summary carousel (blog "Featured") ---------- */
.summary-block-setting-design-carousel .summary-item-list { display: flex !important; flex-wrap: nowrap; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -1%; }
.summary-block-setting-design-carousel .summary-item-list::-webkit-scrollbar { display: none; }
.summary-block-setting-design-carousel .summary-item { flex: 0 0 25.25%; width: 25.25%; padding: 0 1%; box-sizing: border-box;
  scroll-snap-align: start; position: static !important; display: block !important; opacity: 1 !important; }
@media (max-width: 767px) { .summary-block-setting-design-carousel .summary-item { flex-basis: 50.5%; width: 50.5%; } }
.summary-thumbnail.img-wrapper { position: relative; overflow: hidden; padding-bottom: 100%; height: 0; }
.summary-thumbnail-image { position: absolute !important; top: 0; left: 0; width: 100% !important; height: 100% !important;
  object-fit: cover; opacity: 1 !important; display: block !important; }

/* ---------- Instagram grid block (static snapshot of the feed) ---------- */
.sqs-gallery-block-grid .sqs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.sqs-gallery-block-grid .slide { position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; }
.sqs-gallery-block-grid .slide .margin-wrapper { position: absolute; inset: 5px; }
.sqs-gallery-block-grid .content-wrapper, .sqs-gallery-block-grid .sqs-video-wrapper,
.sqs-gallery-block-grid .sqs-video-overlay { position: absolute !important; inset: 0; opacity: 1 !important; display: block !important; }
.sqs-gallery-block-grid img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
  object-fit: cover; display: block !important; }
.sqs-gallery-block-grid .sqs-video-icon, .sqs-gallery-block-grid .meta { display: none; }

/* Generic Squarespace "content-fill" images: cover their box like the original ImageLoader did */
.content-fill { position: relative; overflow: hidden; }
.content-fill > img, .content-fill img[data-image-dimensions] { width: 100%; height: 100%; object-fit: cover; }
.sqs-gallery-block-grid, .sqs-gallery-block-grid .sqs-gallery { width: 100%; }
.sqs-gallery-block-grid .slide { width: auto !important; float: none !important; margin: 0 !important; }
.sqs-gallery-block-grid .sqs-gallery { height: auto !important; overflow: visible !important; }
/* Squarespace icon-font arrows are not available: draw them */
.summary-carousel-pager-prev, .summary-carousel-pager-next { font-family: inherit !important; cursor: pointer; }
.summary-carousel-pager-prev::before { content: '\2190' !important; font-family: 'Poppins', sans-serif !important; }
.summary-carousel-pager-next::before { content: '\2192' !important; font-family: 'Poppins', sans-serif !important; }

/* ---------- Blog list (BlogImageLoader replacement) ---------- */
.blog-basic-grid .image-wrapper { position: relative; display: block; padding-bottom: 66.6667%; overflow: hidden; }
.blog-basic-grid .image-wrapper img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; display: block !important; }
.blog-basic-grid .blog-basic-grid--container { opacity: 1; transform: none; }
