/* Fix-ups for the saved Squarespace pages now that Squarespace's scripts are gone. */
html.wf-loading *, html * { animation: none; }
img { opacity: 1 !important; visibility: visible !important; }
img[data-image-dimensions], .sqs-block-image img { max-width: 100%; height: auto; }

/* store grid and product pictures (Squarespace sized these with a script) */
.product-image .intrinsic > div, #productSlideshow .slide { position: relative; }
.product-image .intrinsic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#productSlideshow .slide { display: none; }
#productSlideshow .slide.lca-active, #productSlideshow .slide:only-child { display: block; }
#productSlideshow .slide img { position: static !important; width: 100% !important; height: auto !important; }
#productGallery .intrinsic, #productGallery .wrapper { padding: 0 !important; height: auto !important; }
#productSlideshow { position: static !important; height: auto !important; }
#productThumbnails { visibility: visible !important; margin-top: 10px; }
#productThumbnails img { cursor: pointer; width: 100%; height: 100%; object-fit: cover; }

/* summary lists (sidebar "latest posts", post lists) */
.summary-thumbnail-container .summary-thumbnail-image,
.summary-thumbnail img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }

/* photo galleries inside posts */
.sqs-gallery-design-stacked .slide img,
.sqs-gallery-design-grid .slide img { position: static !important; width: 100% !important; height: auto !important; }
.sqs-gallery-design-grid .slide .margin-wrapper, .sqs-gallery-design-grid .slide a { height: auto !important; }
.sqs-gallery-design-grid .slide img { aspect-ratio: 1 / 1; object-fit: cover; height: 100% !important; }
.sqs-gallery-design-slideshow .slide { display: none; }
.sqs-gallery-design-slideshow .slide:first-child { display: block; }

/* email links that stand in for the old cart and forms */
a.lca-email-button { display: inline-block; padding: 1em 2.5em; background: #272727; color: #fff !important;
  text-decoration: none !important; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; }
a.lca-email-button:hover { opacity: .8; }
.lca-newsletter { text-align: center; padding: 1em 0; }
.sqs-add-to-cart-button-wrapper { margin-top: 1.5em; }
nav.pagination a + a { margin-left: 2em; }

/* parts the old scripts used to reveal after loading */
.sqs-add-to-cart-button-wrapper, .sqs-add-to-cart-button-wrapper *,
.sqs-block-content { visibility: visible !important; }

/* footer always below the post and the sidebar */
#footer, footer#footer { clear: both; }
#page::after { content: ""; display: table; clear: both; }
