/* Catalogue styling; WooCommerce keeps ownership of filters, prices and orders. */
body.smartstuff-shop-overview .site-content {
  padding-bottom: 64px;
  background: #f2f6f9;
}
body.smartstuff-shop-overview .woocommerce-products-header {
  margin: 0 0 32px;
  padding: 32px 0;
  color: #17202c;
}
body.smartstuff-shop-overview .woocommerce-products-header h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.035em;
  line-height: 1.1;
}
body.smartstuff-shop-overview .woocommerce-products-header p {
  max-width: 720px;
  color: #64717f;
  line-height: 1.7;
}
body.smartstuff-shop-overview .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background-color: #fff;
}
body.smartstuff-shop-overview ul.products li.product .product-loop-wrapper {
  position: relative;
  isolation: isolate;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 31, 48, .04);
}
/* Extend the existing product link over the card, preserving native link actions. */
body.smartstuff-shop-overview .product-loop-content,
body.smartstuff-shop-overview .ss-shop-product-button {
  position: static;
}
body.smartstuff-shop-overview .ss-shop-product-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
}
body.smartstuff-shop-overview .ss-shop-product-button:focus-visible::after {
  outline: 2px solid #183f69;
  outline-offset: -3px;
}
/* Keep any separate controls usable above the extended link. */
body.smartstuff-shop-overview .product-loop-wrapper button,
body.smartstuff-shop-overview .product-loop-wrapper input,
body.smartstuff-shop-overview .product-loop-wrapper select,
body.smartstuff-shop-overview .product-loop-wrapper a:not(.ss-shop-product-button) {
  position: relative;
  z-index: 2;
}
body.smartstuff-shop-overview .product-loop-image-wrapper {
  background: #f8fafb;
}
body.smartstuff-shop-overview .product-loop-image-wrapper .woocommerce-LoopProduct-link {
  display: block;
  position: relative;
  height: 100%;
}
body.smartstuff-shop-overview .product-loop-image-wrapper img.product-loop-image {
  display: block;
  width: 100%;
  height: 260px;
  padding: 24px;
  object-fit: contain;
}
body.smartstuff-shop-overview .product-loop-image-wrapper img.product-loop-hover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 600px) {
  body.smartstuff-shop-overview .product-loop-image-wrapper img.product-loop-hover-image { padding: 16px; }
}
body.smartstuff-shop-overview .product-loop-content {
  padding: 24px;
  text-align: left;
}
body.smartstuff-shop-overview .woocommerce-loop-product__title {
  color: #17202c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}
body.smartstuff-shop-overview .product-loop-content .price {
  color: #17202c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
body.smartstuff-shop-overview .ss-shop-main .product-loop-content .price .amount,
body.smartstuff-shop-overview .ss-shop-main .product-loop-content .price .woocommerce-Price-currencySymbol {
  font-size: inherit !important;
}
body.smartstuff-shop-overview .product-loop-content .button {
  border-radius: 7px;
  color: #17202c;
  background: #ff8218;
  font-weight: 700;
}
body.smartstuff-shop-overview .product-loop-content .button:hover {
  background: #ff963d;
}
body.smartstuff-shop-overview .product-loop-wrapper a:focus-visible {
  outline: 2px solid #183f69;
  outline-offset: -3px;
}
body.smartstuff-shop-overview .woocommerce-pagination {
  margin-top: 32px;
}
@media (max-width: 600px) {
  body.smartstuff-shop-overview .product-loop-image-wrapper img.product-loop-image {
    height: 190px;
    padding: 16px;
  }
  body.smartstuff-shop-overview .product-loop-content { padding: 16px; }
  body.smartstuff-shop-overview .woocommerce-loop-product__title { font-size: 17px; }
}

/* The curated /shop/ page uses the same cards, without repeated category loops. */
.ss-shop-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 32px;
  color: #17202c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ss-shop-main *, .ss-shop-main *::before, .ss-shop-main *::after { box-sizing: border-box; }
.ss-shop-intro { padding-bottom: 48px; }
.ss-shop-eyebrow { margin: 0 0 14px; color: var(--ss-shell-orange, #ff8218); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ss-shop-intro h1 { margin: 0 0 24px; color: #17202c; font-size: clamp(36px, 5vw, 62px); font-weight: 750; letter-spacing: -.04em; line-height: 1.07; }
.ss-shop-intro > p:not(.ss-shop-eyebrow) { max-width: 660px; color: #64717f; font-size: 18px; line-height: 1.7; }
.ss-shop-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ss-shop-nav a { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 18px; border: 1px solid #dfe5ea; border-radius: 8px; color: #17202c; background: #fff; font-size: 14px; font-weight: 700; }
.ss-shop-nav a:first-child { border-color: #ff8218; background: #ff8218; }
.ss-shop-nav span { font-size: 12px; opacity: .7; }
.ss-shop-section { margin-bottom: 64px; scroll-margin-top: 28px; }
.ss-shop-section-head { display: grid; grid-template-columns: 1fr; align-items: end; gap: 48px; margin-bottom: 28px; padding-top: 32px; border-top: 1px solid #dfe5ea; }
.ss-shop-section-head h2 { margin: 0; color: #17202c; font-size: clamp(26px, 3vw, 36px); font-weight: 730; letter-spacing: -.035em; line-height: 1.15; }
.ss-shop-section-head > p { margin: 0; color: #64717f; font-size: 15px; line-height: 1.7; }
body.smartstuff-shop-overview .ss-shop-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
body.smartstuff-shop-overview .ss-shop-main ul.products::before,
body.smartstuff-shop-overview .ss-shop-main ul.products::after { display: none; }
body.smartstuff-shop-overview .ss-shop-main ul.products li.product { width: auto; min-width: 0; margin: 0; padding: 0; float: none; }
body.smartstuff-shop-overview .ss-shop-main .product-loop-wrapper { display: flex; flex-direction: column; }
body.smartstuff-shop-overview .ss-shop-main .product-loop-content { flex: 1; }
body.smartstuff-shop-overview .ss-shop-main .product-loop-title { color: #17202c; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
@media (max-width: 980px) {
  body.smartstuff-shop-overview .ss-shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-shop-section-head { gap: 24px; }
}
@media (max-width: 600px) {
  .ss-shop-main { width: calc(100% - 32px); padding-top: 40px; }
  .ss-shop-section-head { grid-template-columns: 1fr; gap: 16px; }
  body.smartstuff-shop-overview .ss-shop-main ul.products { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.smartstuff-shop-overview .ss-shop-main .product-loop-image-wrapper img.product-loop-image { height: 240px; }
}

body.smartstuff-shop-overview:has(.ss-shop-main) .page-header { display: none; }
body.smartstuff-shop-overview .ss-shop-main .woocommerce-loop-product__title a { color: inherit; font: inherit; }
body.smartstuff-shop-overview .ss-shop-main .product-loop-meta { height: auto; overflow: visible; }
body.smartstuff-shop-overview .ss-shop-main .animated-meta { transform: none; }
body.smartstuff-shop-overview .ss-shop-main .product-loop-content { display: flex; flex-direction: column; align-items: flex-start; }
.ss-shop-product-label { margin: 0 0 6px; line-height: 1.4; color: var(--ss-shell-orange, #ff8218); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.smartstuff-shop-overview .ss-shop-product-button { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; margin-top: auto; padding: 16px 0 0; color: #183f69; font-size: 14px; font-weight: 750; line-height: 1.4; }
.ss-shop-product-button > span[aria-hidden] { color: #ad4d00; }
body.smartstuff-shop-overview .ss-shop-main li.product .product-loop-content .woocommerce-loop-product__title { margin: 0 0 12px; color: #17202c; font-family: inherit; font-size: 20px !important; line-height: 1.3; }
/* body.smartstuff-shop-overview .ss-shop-main li.product.ss-shop-wifi-adapter .product-loop-image { transform: scale(1); } */
