/* Utility classes that replace inline style attributes, so the CSP needs no 'unsafe-inline' for styles */
.skf-m0 { margin: 0 !important; }
.skf-mt0 { margin-top: 0 !important; }
.skf-mb0 { margin-bottom: 0 !important; }
.skf-w100 { width: 100% !important; }
.skf-w20 { width: 20% !important; }
.skf-w40 { width: 40% !important; }
.skf-w60 { width: 60% !important; }
.skf-w80 { width: 80% !important; }
.skf-lowercase { text-transform: lowercase !important; }
.skf-border-r { border-right: 1px solid #E3E5E8 !important; }
.skf-black { color: #000000 !important; }
.skf-white { color: #ffffff !important; }
.skf-inline { display: inline !important; }
.skf-bgpos-15 { background-position: 50% 15% !important; }

/* mini cart dropdown */
.mini-cart { position: relative; }
.mini-cart-panel { display: none; position: absolute; right: 0; top: 100%; width: 250px !important; min-width: 0; left: auto; max-width: 90vw; padding: 10px; background: #fff; color: #111; border: 1px solid #E3E5E8; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 1100; }
.mini-cart-items { max-height: 300px; overflow-y: auto; margin-bottom: 12px; }
.mini-cart-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #eee; font-size: 13px; }
.mini-cart-total { display: flex; justify-content: space-between; padding: 8px 0; font-weight: 700; }
.mini-cart-empty { padding: 10px 0; text-align: center; color: #777; }
/* View Cart panel is 4 of 12 grid columns wide (container width / 3) */
@media (min-width: 768px) { .mini-cart-panel { width: 250px !important; } }
@media (min-width: 992px) { .mini-cart-panel { width: 323px !important; } }
@media (min-width: 1200px) { .mini-cart-panel { width: 390px !important; } }

/* shop images never exceed the 665x750 placeholder */
.shop-item-image img { max-width: 665px; max-height: 750px; object-fit: contain; margin: 0 auto; }
.shop-product-grid { display: flex; flex-wrap: wrap; }
.shop-product-grid:before, .shop-product-grid:after { content: none; }
.shop-product-grid > [class*="col-"] { display: flex; }
.shop-product-grid .shop-item { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.shop-product-grid .shop-item-image { width: 100%; max-width: 665px; aspect-ratio: 665 / 750; margin: 0 auto; }
.shop-product-grid .shop-item-image > a { display: block; width: 100%; height: 100%; }
.shop-product-grid .shop-item-image img { display: block; width: 100%; height: 100%; }
.shop-product-grid .shop-item-title { flex: 1; overflow-wrap: anywhere; }
.shop-category-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }
.shop-subcategories { position: relative; display: inline-block; margin-bottom: 20px; }
.shop-subcategories summary { cursor: pointer; }
.shop-subcategories summary::after { content: " \25be"; }
.shop-subcategories ul { position: absolute; z-index: 3; top: 100%; left: 0; min-width: 240px; max-width: calc(100vw - 30px); max-height: 50vh; overflow-y: auto; margin: 0; padding: 5px 0; list-style: none; background: #fff; border: 1px solid #ddd; box-shadow: 0 6px 12px rgba(0,0,0,.175); }
.shop-subcategories li a { display: block; padding: 8px 15px; }
.shop-subcategories li a:hover, .shop-subcategories li a:focus { background: #f5f5f5; }
.shop-catalogue .shop-item-image:after { pointer-events: none; }
.shop-product-images img { display: block; max-width: 100%; max-height: 750px; width: auto; height: auto; margin: 0 auto 20px; }
#cart-update-button[hidden], #checkout-details-container[hidden] { display: none; }
.checkout-totals-headings p, .checkout-totals-headings h4 { margin: 0 0 15px; }
@media (min-width: 768px) {
  .checkout-totals-headings { display: flex; align-items: center; }
  .checkout-totals-headings:before, .checkout-totals-headings:after { content: none; }
  .checkout-coupon-totals { display: flex; align-items: center; }
  .checkout-coupon-totals:before, .checkout-coupon-totals:after { content: none; }
  .checkout-coupon-totals .form-group { margin-bottom: 0; }
}
