/*
 * COMMAND 3100_066 — Storefront structure (width / spacing / consistency)
 * Load LAST on homepage, listing, product. Cache: ?v=066
 * Visual-only. No pricing / product data / admin.
 */
body.cw-r2 {
  --max-width: 1520px;
  --content-max: 1520px;
  --container-padding: 2rem;
  --section-gap: 3.25rem;
}

body.cw-r2 .container {
  max-width: 1520px;
  padding-left: clamp(1rem, 2.4vw, 2.25rem);
  padding-right: clamp(1rem, 2.4vw, 2.25rem);
}

body.cw-r2 .main-container {
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
}

body.cw-r2 .cw-r2-section {
  margin-bottom: 0;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}
body.cw-r2 .cw-r2-section-head {
  max-width: none;
  margin-bottom: 1.75rem;
}
body.cw-r2 .cw-r2-section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}

/* Undo inset “postage stamp” layout from 065 */
body.cw-r2.cw-g.cw-065 #main-header.cw-g-header {
  padding: 0;
}
body.cw-r2.cw-g.cw-065 .cw-g-header-inner {
  margin: 0 auto;
  max-width: 1520px;
  width: 100%;
  min-height: 96px;
  padding: 0.85rem clamp(1rem, 2.4vw, 2.25rem);
}
body.cw-r2.cw-g.cw-065 .cw-g-beam {
  margin: 0;
  width: 100%;
}
body.cw-r2.cw-g.cw-065 .cw-im-hero {
  margin: 0;
  width: 100%;
  min-height: min(86vh, 880px);
  border: 0 !important;
  box-shadow: none !important;
  background: #17191B;
}
body.cw-r2.cw-g.cw-065 .cw-im-hero-stage {
  inset: 0;
  width: 100%;
}
body.cw-r2.cw-g.cw-065 .cw-im-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
body.cw-r2.cw-g.cw-065 .cw-im-hero-grid {
  width: min(1520px, calc(100% - 4rem));
  min-height: min(86vh, 880px);
  padding: 5.5rem 0 3.25rem;
  align-items: end;
}
body.cw-r2.cw-g.cw-065 .cw-im-hero-copy {
  max-width: min(48rem, 100%);
  padding: 1.6rem 1.75rem 1.7rem;
}
body.cw-r2.cw-g.cw-065 .cw-im-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
}
body.cw-r2.cw-g.cw-065 .cw-im-hero .cw-hero-actions .btn {
  min-height: 52px;
  min-width: 11.5rem;
  font-size: 1.05rem;
}
body.cw-r2.cw-g.cw-065 .cw-g-mono-wrap {
  width: 96px;
  height: 96px;
}
body.cw-r2.cw-g.cw-065 .cw-im-header .primary-nav.desktop-nav a {
  font-size: 1rem;
  min-height: 48px;
  padding: 0.6rem 0.95rem;
}
body.cw-r2.cw-g.cw-065 .cw-header-cta {
  min-height: 48px;
  font-size: 0.98rem;
  padding: 0 1.2rem;
}

body.cw-r2 .cw-trust-strip {
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.4vw, 2.25rem);
  padding-right: clamp(1rem, 2.4vw, 2.25rem);
}

body.cw-r2 .cw-shop-cat-grid {
  gap: 1.5rem;
}
body.cw-r2 .cw-featured-grid,
body.cw-r2 #product-grid-list {
  gap: 1.5rem;
}

/* Listing / product: same canvas */
body.cw-r2.cw-listing-page,
body.cw-r2.cw-product-detail {
  background: #17191B;
  color: #F1ECE3;
}
body.cw-r2.cw-listing-page .site-header,
body.cw-r2.cw-product-detail .site-header {
  background: #1C2023;
  border-bottom: 1px solid rgba(184, 115, 51, 0.5);
}
body.cw-r2.cw-listing-page .cw-header-inner,
body.cw-r2.cw-product-detail .cw-header-inner {
  min-height: 84px;
}
body.cw-r2.cw-listing-page .cw-mi-mark,
body.cw-r2.cw-product-detail .cw-mi-mark {
  width: 72px;
  height: 72px;
  display: block;
  background: #000;
  border: 1px solid #B87333;
}
body.cw-r2.cw-listing-page .cw-mi-mark-img,
body.cw-r2.cw-product-detail .cw-mi-mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.cw-r2.cw-listing-page .cw-mi-wordmark,
body.cw-r2.cw-product-detail .cw-mi-wordmark {
  letter-spacing: 0.12em;
}
body.cw-r2.cw-listing-page .header-row-nav,
body.cw-r2.cw-product-detail .header-row-nav {
  background: #141618;
  border-top: 1px solid #3B3D3E;
}
body.cw-r2.cw-listing-page .primary-nav.desktop-nav a,
body.cw-r2.cw-product-detail .primary-nav.desktop-nav a {
  font-size: 0.98rem;
  min-height: 48px;
  color: #F1ECE3;
}

body.cw-r2.cw-product-detail .pd-wrap {
  max-width: 1520px;
  padding: 1.5rem clamp(1rem, 2.4vw, 2.25rem) 4.5rem;
}
body.cw-r2.cw-product-detail .pd-main-img-wrap {
  border-radius: 0;
  max-height: min(78vh, 760px);
}

body.cw-r2.cw-listing-page .cw-listing-intro {
  padding: 2.5rem 0 1.5rem;
}
body.cw-r2.cw-listing-page .cw-listing-h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

/* Footer: real closing band */
body.cw-r2 .main-footer {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  margin-top: 0;
  background: #1A1D1F;
  border-top: 2px solid #B87333;
}
body.cw-r2 .footer-logo {
  flex-wrap: wrap;
  align-items: center;
}
body.cw-r2 .footer-logo-img {
  width: 168px;
  height: auto;
  border-radius: 0 !important;
  border: 1px solid #B87333;
  background: #000;
  object-fit: contain;
}
body.cw-r2 .cw-065-foot-brand {
  flex-direction: column;
  align-items: flex-start;
}

/* Floating contact: square steel, clear of sticky bar */
body.cw-r2 .contact-widget-container {
  right: 1.5rem;
  bottom: 1.5rem;
}
body.cw-r2 .contact-main-toggle,
body.cw-r2 .contact-call-btn {
  width: 52px;
  height: 52px;
  border-radius: 4px !important;
  background: #222629 !important;
  border: 1px solid #B87333 !important;
  color: #E0A45A !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35) !important;
}
@media (max-width: 767px) {
  body.cw-r2 .contact-widget-container {
    right: 0.75rem;
    bottom: 5.25rem;
  }
  body.cw-r2 .cw-r2-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  body.cw-r2.cw-g.cw-065 .cw-im-hero-grid {
    width: calc(100% - 2rem);
    min-height: 0;
    padding: 1.5rem 0 1.75rem;
  }
  body.cw-r2.cw-g.cw-065 .cw-g-mono-wrap {
    width: 72px;
    height: 72px;
  }
}

@media (min-width: 1600px) {
  body.cw-r2 {
    --max-width: 1600px;
  }
  body.cw-r2 .container,
  body.cw-r2.cw-g.cw-065 .cw-g-header-inner {
    max-width: 1600px;
  }
  body.cw-r2.cw-g.cw-065 .cw-im-hero-grid {
    width: min(1600px, calc(100% - 4.5rem));
  }
}
