/* Storefront sections use spacing and rules; controls keep their own boundaries. */
body.storefront-refined {
  --wpro-rule: #d6e0dc;
  --wpro-soft-surface: #f3f6f4;
  --wpro-small-radius: 5px;
}

/* Home: use the photo as the tile; let the offer details sit on the page. */
.storefront-refined .wpro-showcase .wpro-showcase-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--wpro-rule);
  border-radius: 0;
  box-shadow: none;
}
.wpro-showcase .wpro-showcase-media,
.wpro-showcase .wpro-showcase-bundle-image {
  border-radius: var(--wpro-small-radius);
  overflow: hidden;
}
.wpro-showcase .wpro-showcase-card .wpro-showcase-body { padding-inline: 2px; }
.wpro-showcase .wpro-showcase-category { border-radius: var(--wpro-small-radius); }
.wpro-showcase .wpro-showcase-reference {
  padding: 5px 0;
  background: transparent;
  border-radius: 0;
  border-top: 1px solid var(--wpro-rule);
}
.wpro-showcase .wpro-showcase-review { background: transparent; border-radius: 0; }
.storefront-refined .wpro-showcase .wpro-market-seller {
  border: 0 !important;
  border-bottom: 1px solid var(--wpro-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.storefront-refined .wpro-showcase .wpro-market-seller:hover { background: #edf3ee !important; }
@media (min-width: 768px) {
  .wpro-showcase :is(.wpro-showcase-bundle-grid,.wpro-showcase-recommend) { gap: clamp(18px, 2vw, 28px); }
}

/* Catalog: a plain toolbar and open product grid with separate image tiles. */
.storefront-refined .catalog-page .catalog-head:not(.has-page-hero) .current-category-pill {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  align-items: center;
}
.storefront-refined .catalog-page .catalog-head:not(.has-page-hero) .current-category-pill i { display: none; }
@media (max-width: 991.98px) {
  .storefront-refined .catalog-page .catalog-sidebar.offcanvas-lg { z-index: 1101; }
  .storefront-refined:has(.catalog-sidebar:is(.show,.showing,.hiding)) .offcanvas-backdrop { z-index: 1100; }
  .storefront-refined .catalog-page .catalog-head:not(.has-page-hero) .catalog-brand-showcase {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid var(--wpro-rule) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-inline: 0 !important;
  }
}
@media (min-width: 992px) {
  .storefront-refined .catalog-page .catalog-sidebar :is(.catalog-category-box,.filter-panel) {
    border-radius: var(--wpro-small-radius) !important;
    box-shadow: none !important;
  }
}
.storefront-refined .catalog-page :is(.catalog-toolbar.modern,.active-filter-chips.modern) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-inline: 0 !important;
}
.storefront-refined .catalog-page .catalog-toolbar.modern { border-bottom: 1px solid var(--wpro-rule) !important; }
.storefront-refined .catalog-page .active-filter-chips.modern { padding-block: 0 !important; }
.storefront-refined :is(.catalog-product-grid,.related-products,.bought-together-section) .product-card {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wpro-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.storefront-refined :is(.catalog-product-grid,.related-products,.bought-together-section) .product-card .product-image {
  border: 0 !important;
  border-radius: var(--wpro-small-radius) !important;
  background: #fff !important;
}
.storefront-refined .catalog-product-grid .product-card .product-card-photos { padding: 0; }
.storefront-refined .catalog-product-grid .product-card .product-image { background: #f2f5f3 !important; }
.storefront-refined .catalog-product-grid .product-card .product-image > img { mix-blend-mode: multiply; }
.storefront-refined :is(.catalog-product-grid,.related-products,.bought-together-section) .product-card .product-brand-corner {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 3px !important;
}
.storefront-refined :is(.catalog-product-grid,.related-products,.bought-together-section) .product-card .product-content { padding-inline: 2px !important; }
.storefront-refined :is(.catalog-product-grid,.related-products,.bought-together-section) .product-card h3 a:hover { text-decoration: underline; }
.storefront-refined :is(.catalog-product-grid,.related-products,.bought-together-section) .product-card .product-params span {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1px 2px 1px 0;
}

/* Product: a single photo surface, with shipping and purchase facts in rows. */
.storefront-refined .product-page-modern .modern-product-gallery {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.storefront-refined .product-page-modern .modern-product-gallery :is(.main-product-photo-wrap,.main-product-photo) {
  border: 0 !important;
  border-radius: var(--wpro-small-radius) !important;
  box-shadow: none !important;
}
.storefront-refined .product-page-modern .product-main-info .modern-product-meta :is(.product-code-pill,.product-ean) {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.storefront-refined .product-page-modern .read-reviews-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.storefront-refined .product-page-modern .read-reviews-btn:hover { text-decoration: underline; }
.storefront-refined .product-page-modern .product-main-info .omnibus-price-info {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 2px 0 !important;
}
.storefront-refined .product-page-modern :is(.wpro-payment-methods,.free-shipping-notice,.seller-summary,.wpro-seller-disclosure--product,.same-product-offers,.product-description,.info-card) {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--wpro-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.storefront-refined .product-page-modern :is(.wpro-payment-methods,.free-shipping-notice,.seller-summary,.same-product-offers,.product-description,.info-card) {
  padding-inline: 0 !important;
}
.storefront-refined .product-page-modern .wpro-seller-disclosure--product :is(.wpro-seller-disclosure-toggle,.wpro-seller-disclosure-inner) { padding-inline: 0 !important; }
.storefront-refined .product-page-modern .wpro-seller-disclosure--product .wpro-seller-disclosure-toggle:hover { color: #38671e; }

/* Basket and checkout: separate steps by a rule; keep one distinct summary. */
.storefront-refined :is(.cart-seller-group,.checkout-page-modern .checkout-card,.checkout-page-modern .checkout-info-card) {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--wpro-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-inline: 0 !important;
}
.storefront-refined .checkout-page-modern .checkout-info-card { border-top: 0 !important; }
.storefront-refined :is(.cart-seller-group .free-shipping-notice,.checkout-page-modern .checkout-shipping-group:not(.has-error)) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-inline: 0 !important;
}
.storefront-refined .checkout-page-modern .checkout-shipping-group + .checkout-shipping-group:not(.has-error) {
  border-top: 1px solid var(--wpro-rule) !important;
}
.storefront-refined :is(.cart-summary,.checkout-page-modern .checkout-summary) {
  background: var(--wpro-soft-surface) !important;
  border: 0 !important;
  border-top: 2px solid #4a672b !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.storefront-refined :is(.cart-seller-group,.checkout-summary) .wpro-seller-disclosure {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wpro-rule) !important;
  border-radius: 0 !important;
  padding-inline: 0 !important;
  box-shadow: none !important;
}
.storefront-refined .checkout-summary .wpro-seller-disclosure-link {
  color: #2e561c !important;
  background: transparent !important;
  border: 0 !important;
  padding: 4px 0 !important;
  min-height: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.storefront-refined .checkout-summary :is(.order-files-checkout-note,.checkout-guest-note,.checkout-consent) {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--wpro-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 0 !important;
}
.storefront-refined .checkout-summary .checkout-consent:focus-within {
  outline: 2px solid #547e23;
  outline-offset: 3px;
}

/* Sign-up keeps its fields and progress bar on one simple surface. */
.storefront-refined .seller-register-page .seller-register-form {
  border: 0 !important;
  border-radius: var(--wpro-small-radius) !important;
  box-shadow: none !important;
}
.storefront-refined .seller-register-page :is(.nip-lookup-box,.seller-register-subsection) {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-inline: 0 !important;
}
.storefront-refined .seller-register-page .seller-register-subsection { border-top: 1px solid var(--wpro-rule) !important; }
