/*
 * COMMAND 072 — Final logo fill + fabricated-frame decor
 * Load LAST after theme-071. Visual only. Preserves 067–071 contracts.
 */

body.cw-r2.cw-071.cw-072 {
  --072-copper: #C4843A;
  --072-copper-hi: #E8B56A;
  --072-steel: #1C2126;
  --072-steel-hi: #3A424A;
}

/* ---------- Logo: fill plaque ~80–90%, never distort ---------- */
body.cw-r2.cw-072 .cw-g-mono-wrap,
body.cw-r2.cw-072 .cw-mi-mark,
body.cw-r2.cw-072 .cw-069-mark {
  width: 80px !important;
  height: 80px !important;
  flex: 0 0 80px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    linear-gradient(160deg, #4A525A 0%, #1A1E22 42%, #0C0E10 100%) !important;
  border: 1px solid rgba(196, 132, 58, 0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(184, 115, 51, 0.22) !important;
}

body.cw-r2.cw-072 .cw-g-mono-wrap img,
body.cw-r2.cw-072 .cw-mi-mark img,
body.cw-r2.cw-072 .cw-069-mark img,
body.cw-r2.cw-072 .cw-g-mono-img,
body.cw-r2.cw-072 .cw-mi-mark-img {
  width: 92% !important;
  height: 92% !important;
  max-width: none !important;
  max-height: none !important;
  margin: auto;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  aspect-ratio: auto !important;
}

body.cw-r2.cw-072 .cw-069-brand,
body.cw-r2.cw-072 .logo.cw-g-brand,
body.cw-r2.cw-072 .logo.cw-mi-brand {
  gap: 0.7rem;
}

body.cw-r2.cw-072 .cw-g-master {
  font-size: clamp(1.12rem, 0.28vw + 1.02rem, 1.28rem) !important;
  letter-spacing: 0.12em;
}

body.cw-r2.cw-072 .cw-g-lp {
  font-size: 0.68rem !important;
  letter-spacing: 0.14em;
}

/* IRONSERVICE stays in DOM, must not compete with Craft and CO */
body.cw-r2.cw-072 .cw-069-tagline,
body.cw-r2.cw-072 .cw-g-combo {
  font-size: 0.55rem !important;
  opacity: 0.55 !important;
  letter-spacing: 0.1em;
  color: rgba(176, 141, 87, 0.55) !important;
}

/* ---------- Header: thicker fabricated plate ---------- */
body.cw-r2.cw-072 #main-header {
  background:
    linear-gradient(180deg, #454C54 0%, #2A3036 18%, #1A1F24 52%, #12161A 100%) !important;
  border-top: 1px solid rgba(232, 181, 106, 0.35) !important;
  border-bottom: 2px solid rgba(196, 132, 58, 0.7) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -3px 0 rgba(0, 0, 0, 0.55),
    0 16px 32px rgba(0, 0, 0, 0.48) !important;
}

body.cw-r2.cw-072 #main-header::before {
  opacity: 0.09;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-18deg, transparent 0 8px, rgba(255,255,255,0.28) 8px 9px);
}

body.cw-r2.cw-072 .cw-064-bolt,
body.cw-r2.cw-072 .cw-071-bolt {
  width: 11px !important;
  height: 11px !important;
  box-shadow:
    0 0 0 1px #070707,
    inset 0 1px 0 rgba(255, 230, 180, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.45) !important;
}

body.cw-r2.cw-072 .primary-nav.desktop-nav {
  padding: 0.28rem 1rem !important;
  background:
    linear-gradient(180deg, rgba(48, 54, 60, 0.55), rgba(10, 12, 14, 0.72)) !important;
  border: 1px solid rgba(196, 132, 58, 0.38) !important;
  outline: 1px solid rgba(0, 0, 0, 0.45);
  outline-offset: -3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(90, 200, 230, 0.08) !important;
}

body.cw-r2.cw-072 .primary-nav.desktop-nav a {
  font-size: 0.95rem !important;
}

body.cw-r2.cw-072 .cw-header-cta {
  min-height: 46px;
  padding-inline: 1.2rem !important;
  border: 1px solid rgba(232, 181, 106, 0.95) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.55),
    inset 0 -2px 0 rgba(70, 30, 8, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.4) !important;
}

body.cw-r2.cw-072 .cw-g-beam,
body.cw-r2.cw-072 .cw-mi-ibeam,
body.cw-r2.cw-072 .cw-071-beam {
  height: 12px !important;
  background:
    linear-gradient(180deg, #8A9298 0%, #3A4248 28%, #1A1E22 48%, #C4843A 78%, rgba(90, 200, 230, 0.4) 100%) !important;
}

@media (max-width: 1199px) {
  body.cw-r2.cw-072 .cw-g-mono-wrap,
  body.cw-r2.cw-072 .cw-mi-mark,
  body.cw-r2.cw-072 .cw-069-mark {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px !important;
  }
}

@media (max-width: 767px) {
  body.cw-r2.cw-072 .cw-g-mono-wrap,
  body.cw-r2.cw-072 .cw-mi-mark,
  body.cw-r2.cw-072 .cw-069-mark {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
  body.cw-r2.cw-072 .cw-g-master {
    font-size: 0.92rem !important;
    letter-spacing: 0.08em;
  }
}

/* ---------- Product cards: layered fabricated frame ---------- */
body.cw-r2.cw-072 .cw-product-card,
body.cw-r2.cw-072 .sf-product-card,
body.cw-r2.cw-072 .product-card.cw-catalog-card {
  border: 1px solid rgba(196, 132, 58, 0.42) !important;
  outline: 1px solid rgba(70, 78, 86, 0.9);
  outline-offset: -4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 16px 30px rgba(0, 0, 0, 0.38) !important;
}

body.cw-r2.cw-072 .cw-product-card::after,
body.cw-r2.cw-072 .sf-product-card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E8C48A, #8A5A28 60%, #1A1208);
  box-shadow: 0 0 0 1px #000;
  z-index: 3;
  pointer-events: none;
}

body.cw-r2.cw-072 .cw-cover-wrap,
body.cw-r2.cw-072 .cw-listing-cover {
  border-bottom: 1px solid rgba(196, 132, 58, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

body.cw-r2.cw-072 .cw-card-cta,
body.cw-r2.cw-072 .card-detail-btn {
  border: 1px solid rgba(196, 132, 58, 0.7) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* ---------- Section / listing / product panels ---------- */
body.cw-r2.cw-072 .cw-im-plate,
body.cw-r2.cw-072 .cw-shop-cat-card,
body.cw-r2.cw-072 .cw-listing-intro .container,
body.cw-r2.cw-072 .cw-discovery-bar,
body.cw-r2.cw-072.cw-product-detail .pd-info,
body.cw-r2.cw-072.cw-product-detail .pd-main-img-wrap,
body.cw-r2.cw-072.cw-product-detail .pd-lead,
body.cw-r2.cw-072.cw-product-detail #pcf-root {
  border: 1px solid rgba(196, 132, 58, 0.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 14px 28px rgba(0, 0, 0, 0.32) !important;
}

body.cw-r2.cw-072 .cw-r2-section.cw-g-gun,
body.cw-r2.cw-072 .cw-r2-section.cw-g-concrete,
body.cw-r2.cw-072 .cw-r2-section.cw-g-fab,
body.cw-r2.cw-072 .cw-listing-discovery,
body.cw-r2.cw-072 .cw-listing-grid-section {
  position: relative;
}

body.cw-r2.cw-072 .cw-r2-section.cw-g-gun::after,
body.cw-r2.cw-072 .cw-r2-section.cw-g-concrete::after,
body.cw-r2.cw-072 .cw-r2-section.cw-g-fab::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(196,132,58,0.45), rgba(90,200,230,0.2), rgba(196,132,58,0.45), transparent);
  pointer-events: none;
}

body.cw-r2.cw-072 .cw-im-hero {
  position: relative;
}

body.cw-r2.cw-072 .cw-im-hero-copy,
body.cw-r2.cw-072 .cw-im-hero .cw-hero-plaque,
body.cw-r2.cw-072 .cw-im-hero-grid > .cw-im-hero-copy {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(196, 132, 58, 0.28);
}

/* ---------- Footer brand + plate ---------- */
body.cw-r2.cw-072 .main-footer {
  border-top: 2px solid rgba(196, 132, 58, 0.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 -12px 28px rgba(0, 0, 0, 0.25) !important;
  position: relative;
}

body.cw-r2.cw-072 .main-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: linear-gradient(180deg, #7A848C, #2A3036 40%, #C4843A);
  pointer-events: none;
  opacity: 0.85;
}

body.cw-r2.cw-072 .cw-071-foot-mark,
body.cw-r2.cw-072 .cw-071-foot-brand .footer-logo-img {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  flex: 0 0 88px !important;
  padding: 2px !important;
  object-fit: contain !important;
  background:
    linear-gradient(160deg, #4A525A, #121518) !important;
  border: 1px solid rgba(196, 132, 58, 0.65) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.45) !important;
}

body.cw-r2.cw-072 .cw-071-foot-master {
  font-size: 1.28rem !important;
}

body.cw-r2.cw-072 .cw-071-foot-lp {
  font-size: 0.78rem !important;
}

body.cw-r2.cw-072 .cw-071-foot-sub {
  font-size: 0.68rem !important;
  opacity: 0.65;
}

body.cw-r2.cw-072 .footer-brand-info > p,
body.cw-r2.cw-072 .footer-contact p,
body.cw-r2.cw-072 .footer-links a,
body.cw-r2.cw-072 .footer-bottom p {
  font-size: 1.02rem !important;
}

body.cw-r2.cw-072 .cw-071-legal-th {
  font-size: 1.12rem !important;
}

/* Safety: keep overflow clipped, rail intact */
body.cw-r2.cw-072 {
  overflow-x: clip;
}
