/*
 * Prime Building — B2B Construction Materials Catalog
 * Bebas Neue + DM Sans
 * Palette: navy, orange, white, steel grey
 */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─── */
:root {
  --navy:       #0B1524;
  --navy-mid:   #152035;
  --navy-lt:    #1E3050;
  --orange:     #FF6B35;
  --orange-dk:  #E85A20;
  --steel:      #8B9BB4;
  --steel-lt:   #C5D0E0;
  --white:      #FFFFFF;
  --off-white:  #F4F6F9;
  --grey-line:  #E2E6EE;
  --text:       #1A1F2E;
  --text-mid:   #4A5568;
  --display:    'Bebas Neue', Impact, sans-serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --max:        1400px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── UTILITY BAR ─── */
.pb-utility {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pb-utility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pb-utility-left {
  display: flex;
  gap: 2rem;
}
.pb-utility-left span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px;
}
.pb-utility-left span::before {
  content: '✓ ';
  color: var(--orange);
  font-size: 10px;
}
.pb-utility-right {
  display: flex;
  gap: 1.5rem;
}
.pb-utility-right a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.pb-utility-right a:hover { color: var(--orange); }

/* ─── HEADER ─── */
.pb-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.pb-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.pb-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.pb-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.pb-logo-text { }
.pb-logo-name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}
.pb-logo-tagline {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--steel);
  margin-top: 2px;
}

.pb-search-bar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.pb-search-bar:focus-within {
  background: rgba(255,255,255,0.1);
  border-color: var(--orange);
}
.pb-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
}
.pb-search-bar input::placeholder { color: rgba(255,255,255,0.4); }
.pb-search-bar button {
  background: var(--orange);
  border: none;
  color: #fff;
  width: 48px;
  height: 100%;
  min-height: 46px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-search-bar button:hover { background: var(--orange-dk); }

.pb-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.pb-header-actions > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.75);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 0 0.5rem;
  text-align: center;
  line-height: 1.2;
}
.pb-header-actions > a:hover { color: var(--white); }
.pb-header-actions > a span:first-child { font-size: 18px; }
.pb-cart-action {
  position: relative;
  background: rgba(255,107,53,0.15) !important;
  border: 1px solid rgba(255,107,53,0.4);
  padding: 8px 14px !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.pb-cart-action:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}
.pb-cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(30%, -30%);
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ─── CATEGORY NAV ─── */
.pb-cat-nav {
  background: var(--navy-mid);
  border-bottom: 2px solid var(--orange);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.pb-cat-nav::-webkit-scrollbar { display: none; }
.pb-cat-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}
.pb-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 13px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65) !important;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  text-transform: uppercase;
}
.pb-cat-btn:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,0.05);
}
.pb-cat-btn.active {
  color: var(--orange) !important;
  border-bottom-color: var(--orange);
  background: rgba(255,107,53,0.08);
}
.pb-cat-btn .ico { font-size: 16px; }

/* ─── BRANDS STRIP ─── */
.pb-brands {
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  padding: 0.85rem 0;
  overflow: hidden;
}
.pb-brands-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pb-brands-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
  flex-shrink: 0;
  padding-right: 0.75rem;
  border-right: 1px solid var(--grey-line);
}
.pb-brand-chip {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-mid) !important;
  background: var(--off-white);
  border: 1px solid var(--grey-line);
  padding: 5px 12px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pb-brand-chip:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
  background: rgba(255,107,53,0.04);
}

/* ─── CATALOG LAYOUT ─── */
.pb-catalog-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

/* SIDEBAR */
.pb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 120px;
}

.pb-sidebar-block {
  background: var(--white);
  border: 1px solid var(--grey-line);
  overflow: hidden;
}

.pb-sidebar-block-title {
  background: var(--navy);
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 16px;
}

.pb-sidebar-block ul {
  list-style: none;
  padding: 0.5rem 0;
}
.pb-sidebar-block ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.pb-sidebar-block ul li a:hover {
  background: var(--off-white);
  color: var(--text);
  border-left-color: var(--orange);
}
.pb-sidebar-block ul li a .count {
  font-size: 11px;
  color: var(--steel);
  background: var(--off-white);
  border: 1px solid var(--grey-line);
  padding: 1px 6px;
  font-weight: 500;
}

.pb-sidebar-promo {
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pb-sidebar-promo .eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}
.pb-sidebar-promo h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}
.pb-sidebar-promo p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.pb-sidebar-promo-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin-top: 0.25rem;
  transition: background 0.2s;
}
.pb-sidebar-promo-btn:hover { background: var(--orange-dk); }

/* CATALOG MAIN */
.pb-catalog-main { }

.pb-catalog-toolbar {
  background: var(--white);
  border: 1px solid var(--grey-line);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.pb-catalog-title {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.pb-catalog-title span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--steel);
}
.pb-sort-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pb-sort-bar span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
}
.pb-sort-select {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--grey-line);
  padding: 6px 10px;
  outline: none;
  cursor: pointer;
}
.pb-sort-select:focus { border-color: var(--orange); }

/* WooCommerce grid */
.pb-catalog-main ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pb-catalog-main ul.products li.product {
  background: var(--white) !important;
  border: 1px solid var(--grey-line) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease) !important;
}
.pb-catalog-main ul.products li.product:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.1) !important;
  transform: translateY(-3px) !important;
}
.pb-catalog-main ul.products li.product a {
  display: block !important;
}
.pb-catalog-main ul.products li.product a img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s var(--ease) !important;
  border-bottom: 1px solid var(--grey-line) !important;
}
.pb-catalog-main ul.products li.product:hover a img {
  transform: scale(1.04) !important;
}
.pb-catalog-main ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  padding: 0.75rem 1rem 0.2rem !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
.pb-catalog-main ul.products li.product .price {
  font-family: var(--display) !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  color: var(--orange) !important;
  padding: 0 1rem 0.6rem !important;
  margin: 0 !important;
}
.pb-catalog-main ul.products li.product .button {
  display: block !important;
  width: calc(100% - 2rem) !important;
  margin: 0 1rem 1rem !important;
  background: var(--navy) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  padding: 9px 12px !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.pb-catalog-main ul.products li.product .button:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}

/* ─── FOOTER ─── */
.pb-footer {
  background: var(--navy);
  padding: 4rem 0 0;
  border-top: 3px solid var(--orange);
  margin-top: 2rem;
}
.pb-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.pb-footer-brand { }
.pb-logo-inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.pb-logo-inline .mark {
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pb-logo-inline .name {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 2.5px;
  color: var(--white);
  text-transform: uppercase;
}
.pb-footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: 1.25rem;
}
.pb-footer-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pb-fcert {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--orange);
  border: 1px solid rgba(255,107,53,0.3);
  padding: 4px 10px;
}

.pb-footer-col h5 {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-lt);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pb-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pb-footer-col ul li a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.pb-footer-col ul li a:hover { color: var(--orange); }

.pb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pb-footer-bottom span {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}
.pb-footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .pb-catalog-layout { grid-template-columns: 1fr; }
  .pb-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .pb-sidebar-block, .pb-sidebar-promo { flex: 1; min-width: 200px; }
  .pb-catalog-main ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .pb-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .pb-header-inner { grid-template-columns: auto 1fr; }
  .pb-header-actions { display: none; }
  .pb-catalog-main ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .pb-footer-inner { grid-template-columns: 1fr; padding: 0 1.5rem 2rem; }
  .pb-utility-left span:not(:first-child) { display: none; }
  .pb-brands-inner { gap: 0.5rem; }
}
/* ═══════════════════════════════════════════════════════════════
   Prime Building — WooCommerce shop supplement
   Maps legacy CSS variables used in woocommerce.php inline styles
   + styles the .shop-layout, .shop-sidebar, .shop-main etc.
   ═══════════════════════════════════════════════════════════════ */

/* ── Variable bridge (woocommerce.php uses these old names) ── */
:root {
  --nav-h:      104px;  /* utility 36px + header 68px */
  --bg:         #FFFFFF;
  --bg-2:       #F4F6F9;
  --bg-3:       #EEF1F6;
  --border:     #E2E6EE;
  --text:       #1A1F2E;
  --text-muted: #4A5568;
  --brick:      #FF6B35;
  --brick-dim:  #CC4F20;
  --amber:      #FF6B35;
  --radius-lg:  0px;
}

/* ── Shop layout grid ── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 60vh;
  padding-top: 0 !important;
}

/* ── Sidebar ── */
.shop-sidebar {
  background: var(--bg-3);
  border-right: 1px solid var(--border);
  padding: 1.75rem 1.25rem 3rem;
  position: sticky;
  top: 0;
  height: calc(100vh);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-lt) transparent;
}

.sidebar-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 8px 12px;
  margin-bottom: 1.25rem;
}
.sidebar-search i {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
}
.sidebar-search input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  width: 100%;
}
.sidebar-search input::placeholder { color: var(--text-muted); }

.sidebar-title {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-cat-item { display: none; }
.sidebar-cat-item.visible { display: block; }

.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  gap: 0.5rem;
  border-left: 3px solid transparent;
}
.sidebar-cat-link:hover {
  background: var(--bg-2);
  color: var(--orange);
  border-left-color: var(--orange);
}
.sidebar-cat-link.active {
  background: rgba(255,107,53,0.08);
  color: var(--orange);
  border-left-color: var(--orange);
  font-weight: 600;
}
.sidebar-cat-link .cat-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-cat-link .cat-count {
  font-size: 11px;
  color: var(--steel);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  font-weight: 400;
  flex-shrink: 0;
}

.sidebar-special-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 9px 8px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange) !important;
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.2);
  margin-bottom: 0.5rem;
  transition: background 0.18s;
  text-decoration: none;
}
.sidebar-special-link:hover { background: rgba(255,107,53,0.14); }

.sidebar-all-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange) !important;
  margin-bottom: 0.75rem;
  transition: background 0.15s;
  text-decoration: none;
}
.sidebar-all-link:hover { background: var(--bg-2); }

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}

/* ── Main content ── */
.shop-main {
  background: var(--bg);
  padding: 2rem 2.5rem 4rem;
}

/* Category header bar */
.cat-header-bar {
  background: linear-gradient(120deg, var(--orange-dk), var(--orange));
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cat-header-name {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.cat-header-meta {
  font-size: 12px;
  opacity: 0.8;
  font-family: var(--sans);
  margin-top: 4px;
}
.cat-header-count {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 16px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* WooCommerce notices */
.woocommerce-notices-wrapper { margin-bottom: 1rem; }

/* Results count + ordering */
.woocommerce-result-count {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.woocommerce-ordering select {
  font-family: var(--sans);
  font-size: 13px;
  border: 1px solid var(--border);
  padding: 7px 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.woocommerce-ordering select:focus { border-color: var(--orange); }

/* ── Product grid ── */
.shop-main .woocommerce ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 0 !important;
  float: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important;
  transform: translateY(-3px) !important;
}
.woocommerce ul.products li.product a,
.woocommerce-page ul.products li.product a { display: block !important; }
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  border-bottom: 1px solid var(--border) !important;
  transition: transform 0.4s !important;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.04) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  padding: 0.75rem 1rem 0.2rem !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-family: var(--display) !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  color: var(--orange) !important;
  padding: 0 1rem 0.5rem !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  display: block !important;
  width: calc(100% - 2rem) !important;
  margin: 0 1rem 1rem !important;
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  padding: 9px !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--orange) !important; }

/* ── Single Product ── */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.woocommerce div.product .product_title {
  font-family: var(--display) !important;
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  margin-bottom: 1rem !important;
  line-height: 1.1 !important;
}
.woocommerce div.product .price {
  font-family: var(--display) !important;
  font-size: 2rem !important;
  letter-spacing: 1px !important;
  color: var(--orange) !important;
  margin-bottom: 1.5rem !important;
}
.woocommerce div.product .single_add_to_cart_button {
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 32px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--orange) !important; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1/-1; }

/* ── Mobile strip ── */
.mobile-cat-strip { display: none; }

/* ── Pagination ── */
.woocommerce-pagination ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 1.5rem 0 0;
  justify-content: center;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
  display: block;
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ── Forms / Buttons ── */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce textarea {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  border: 1px solid var(--border) !important;
  padding: 11px 16px !important;
  background: #fff !important;
  color: var(--text) !important;
  outline: none !important;
  width: 100% !important;
  border-radius: 0 !important;
}
.woocommerce input:focus { border-color: var(--orange) !important; }
.woocommerce button[type="submit"],
.woocommerce input[type="submit"] {
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  transition: background 0.2s !important;
}
.woocommerce button[type="submit"]:hover { background: var(--orange-dk) !important; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .mobile-cat-strip { display: block; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}
