/* Minimal cart / checkout / account — soft blended photo + clean panels */

body.woocommerce-cart .wp-block-template-part,
body.woocommerce-checkout .wp-block-template-part,
body.woocommerce-account .wp-block-template-part {
  display: none !important;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  --cl-ink: #1a1f24;
  --cl-muted: #5c6570;
  --cl-line: rgba(26, 31, 36, 0.08);
  --cl-panel: rgba(255, 255, 255, 0.82);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--cl-ink);
  font-family: "Outfit", system-ui, sans-serif;
  background-color: #d8dde2;
  background-image:
    linear-gradient(
      180deg,
      rgba(248, 246, 242, 0.72) 0%,
      rgba(248, 246, 242, 0.55) 45%,
      rgba(248, 246, 242, 0.78) 100%
    ),
    url("/homepage/08-forklift-loading.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.woocommerce-checkout {
  background-image:
    linear-gradient(
      180deg,
      rgba(248, 246, 242, 0.74) 0%,
      rgba(248, 246, 242, 0.58) 48%,
      rgba(248, 246, 242, 0.8) 100%
    ),
    url("/homepage/03-prepare-shipping.jpg");
}

body.woocommerce-account {
  background-image:
    linear-gradient(
      180deg,
      rgba(248, 246, 242, 0.76) 0%,
      rgba(248, 246, 242, 0.6) 50%,
      rgba(248, 246, 242, 0.82) 100%
    ),
    url("/homepage/02-warehouse-yard.jpg");
}

/* Soft vignette so the photo fades at the edges */
body.woocommerce-cart::before,
body.woocommerce-checkout::before,
body.woocommerce-account::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 20%, rgba(248, 246, 242, 0.45) 100%);
}

.cl-main-chrome {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--cl-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cl-main-chrome .site-header {
  position: relative;
}

.cl-main-chrome .header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.cl-main-chrome .brand-logo {
  height: 36px;
  width: auto;
}

.cl-main-chrome .nav {
  gap: 1rem;
}

.cl-main-chrome .nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cl-muted);
  text-decoration: none;
}

.cl-main-chrome .nav a[aria-current="page"],
.cl-main-chrome .nav a:hover {
  color: var(--cl-ink);
}

.wp-site-blocks {
  padding-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-account .woocommerce {
  max-width: 920px;
  margin: 0.75rem auto 2.5rem;
  padding: 1.5rem 1.35rem 1.75rem;
  background: var(--cl-panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(26, 31, 36, 0.04), 0 12px 32px rgba(26, 31, 36, 0.06);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
}

/* Quiet typography inside Woo blocks */
.woocommerce-cart h1,
.woocommerce-cart h2,
.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-account h1,
.woocommerce-account h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cl-ink);
}

.woocommerce-cart .wc-block-components-button,
.woocommerce-checkout .wc-block-components-button,
.woocommerce-cart .button,
.woocommerce-checkout .button {
  border-radius: 8px !important;
  font-weight: 600 !important;
}

body.woocommerce-cart .has-global-padding,
body.woocommerce-checkout .has-global-padding {
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.woocommerce-account {
    background-position: center top;
  }

  .woocommerce-cart .wp-block-woocommerce-cart,
  .woocommerce-checkout .wp-block-woocommerce-checkout,
  .woocommerce-account .woocommerce {
    margin: 0.65rem 0.7rem 2rem;
    padding: 1.1rem 0.95rem 1.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
  }
}

/* After add-to-cart — minimal notice */
.cl-cart-continue {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: rgba(26, 31, 36, 0.88);
  color: #fff;
}

.cl-cart-continue p {
  margin: 0 0 0.65rem;
  line-height: 1.45;
  font-size: 0.95rem;
}

.cl-cart-continue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cl-cart-continue-actions .button,
.cl-cart-continue-actions a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.cl-cart-continue-actions a.button {
  background: #f2d089;
  color: #1a1f24;
}

.cl-cart-continue-actions [data-cl-stay] {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
