*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a5632;
  --color-primary-dark: #0f3d22;
  --color-primary-light: #e8f5ed;
  --color-accent: #d4a843;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-text: #1a1a2e;
  --color-text-light: #5a5a6e;
  --color-border: #e2e4e8;
  --color-error: #c0392b;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
  --trust-bar-height: 36px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.trust-bar {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  height: var(--trust-bar-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 2rem;
  width: 100%;
  justify-content: center;
}
.trust-item {
  white-space: nowrap;
}

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}
.logo-tld {
  font-weight: 400;
  color: var(--color-text-light);
}
.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-samples {
  background: var(--color-accent);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-samples:hover {
  background: #c49a38;
  text-decoration: none;
}
.header-link {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  padding: 4px;
}
.search-toggle:hover {
  color: var(--color-primary);
}
.cart-link {
  position: relative;
  color: var(--color-text);
  display: flex;
  align-items: center;
}
.cart-icon {
  width: 22px;
  height: 22px;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 200;
  flex-direction: column;
  padding: 2rem;
}
.mobile-nav-overlay.open {
  display: flex;
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text);
  line-height: 1;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0;
}
.mobile-nav-links hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0.5rem 0;
}

.site-main {
  min-height: calc(100vh - var(--header-height) - var(--trust-bar-height) - 200px);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
.hero-content {
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}
.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.category-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--color-text);
}
.category-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.category-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.category-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.trust-signals {
  background: var(--color-bg-alt);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.trust-signal strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.trust-signal p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.product-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
}
.product-card-image {
  background: var(--color-bg-alt);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-placeholder.large {
  min-height: 400px;
}
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-featured {
  background: var(--color-accent);
  color: #fff;
}
.badge-sale {
  background: var(--color-error);
  color: #fff;
  left: auto;
  right: 8px;
}
.product-card h3 {
  font-size: 0.95rem;
  padding: 0.75rem 0.75rem 0.25rem;
}
.product-card .product-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding: 0 0.75rem;
}
.product-card .product-price {
  padding: 0.25rem 0.75rem 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
}
.product-price-original {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.85rem;
  margin-right: 0.25rem;
}
.sale-price {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.85rem;
}
.product-card-badge {
  display: inline-block;
  margin: 0 0.75rem 0.75rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
}
.results-count {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tool-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}
.tool-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.tool-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.category-hero-text {
  margin-bottom: 1.5rem;
}
.category-hero-text h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.category-hero-text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.wall-panel-nav {
  margin-bottom: 2rem;
}
.wall-panel-nav h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.wall-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.wall-panel-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.wall-panel-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--color-primary);
  text-decoration: none;
}
.wall-panel-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.wall-panel-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}
.wall-panel-card p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.category-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}
.facet-sidebar {
  border-right: 1px solid var(--color-border);
  padding-right: 1.5rem;
}
.facet-toggle-check {
  display: none;
}
.facet-toggle {
  display: none;
  width: 100%;
  padding: 0.6rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  user-select: none;
  transition: background 0.2s;
}
.facet-toggle:hover {
  background: var(--color-border);
}
.facet-group {
  margin-bottom: 1.25rem;
}
.facet-group h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.facet-group ul {
  list-style: none;
}
.facet-group li a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--color-text);
}
.facet-group li a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.facet-group li a.active {
  font-weight: 700;
  color: var(--color-primary);
}
.facet-count {
  color: var(--color-text-light);
  font-size: 0.8rem;
}
.facet-clear {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.category-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.gallery-radio {
  display: none;
}
.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-alt);
}
.gallery-slide {
  display: none;
}
.gallery-radio:nth-of-type(1):checked ~ .gallery-main .gallery-slide[data-index="0"],
.gallery-radio:nth-of-type(2):checked ~ .gallery-main .gallery-slide[data-index="1"],
.gallery-radio:nth-of-type(3):checked ~ .gallery-main .gallery-slide[data-index="2"],
.gallery-radio:nth-of-type(4):checked ~ .gallery-main .gallery-slide[data-index="3"],
.gallery-radio:nth-of-type(5):checked ~ .gallery-main .gallery-slide[data-index="4"],
.gallery-radio:nth-of-type(6):checked ~ .gallery-main .gallery-slide[data-index="5"],
.gallery-radio:nth-of-type(7):checked ~ .gallery-main .gallery-slide[data-index="6"],
.gallery-radio:nth-of-type(8):checked ~ .gallery-main .gallery-slide[data-index="7"] {
  display: block;
}

.gallery-zoom-link {
  display: block;
  cursor: zoom-in;
}
.gallery-main-img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.gallery-zoom-link:hover .gallery-main-img {
  transform: scale(1.08);
}
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.gallery-thumb-label {
  cursor: pointer;
  flex-shrink: 0;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}
.gallery-thumb-label:hover .gallery-thumb {
  opacity: 1;
  border-color: var(--color-border);
}
.gallery-radio:nth-of-type(1):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(1) .gallery-thumb,
.gallery-radio:nth-of-type(2):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(2) .gallery-thumb,
.gallery-radio:nth-of-type(3):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(3) .gallery-thumb,
.gallery-radio:nth-of-type(4):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(4) .gallery-thumb,
.gallery-radio:nth-of-type(5):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(5) .gallery-thumb,
.gallery-radio:nth-of-type(6):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(6) .gallery-thumb,
.gallery-radio:nth-of-type(7):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(7) .gallery-thumb,
.gallery-radio:nth-of-type(8):checked ~ .gallery-thumbs .gallery-thumb-label:nth-child(8) .gallery-thumb {
  border-color: var(--color-primary);
  opacity: 1;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox:target {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  text-decoration: none;
  z-index: 1001;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
  text-decoration: none;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto;
}
.lightbox-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.lightbox-prev,
.lightbox-next {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.lightbox-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.installation-badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-sku {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.pricing-block {
  background: var(--color-primary-light);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.price-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}
.price-sqft {
  font-size: 1rem;
  color: var(--color-text-light);
}
.price-sale {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(26,86,50,0.15);
}
.product-short-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.coverage-callout {
  background: var(--color-bg-alt);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border-left: 3px solid var(--color-primary);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}
.specs-table th,
.specs-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  text-align: left;
}
.specs-table th {
  font-weight: 600;
  width: 40%;
  color: var(--color-text-light);
}
.bulk-pricing {
  margin-bottom: 1.5rem;
}
.bulk-pricing h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.bulk-table {
  width: 100%;
  border-collapse: collapse;
}
.bulk-table th,
.bulk-table td {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
}
.bulk-table thead {
  background: var(--color-bg-alt);
}
.qty-selector {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.qty-selector label {
  font-size: 0.85rem;
  font-weight: 600;
}
.qty-selector input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-sans);
}
.qty-coverage-hint {
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.add-to-cart-form {
  margin-bottom: 1rem;
}

.underlayment-addon {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.underlayment-addon strong {
  display: block;
  margin-bottom: 0.25rem;
}
.underlayment-addon p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}
.underlayment-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.underlayment-option {
  display: block;
  cursor: pointer;
}
.underlayment-option input[type="radio"] {
  display: none;
}
.underlayment-option-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.15s;
}
.underlayment-option input[type="radio"]:checked + .underlayment-option-inner {
  border-color: var(--color-primary);
  background: rgba(26, 86, 50, 0.04);
}
.underlayment-option-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.underlayment-option-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  flex-basis: 100%;
}
.underlayment-option-price {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.stock-status {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0;
}
.stock-status.in-stock {
  color: var(--color-success);
}
.stock-status.out-of-stock {
  color: var(--color-error);
}

.product-full-desc {
  max-width: 800px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  line-height: 1.8;
}
.product-applications {
  margin-top: 1.5rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.related-products {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.related-products h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th,
.cart-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9rem;
}
.cart-table thead th {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.btn-remove {
  background: none;
  border: none;
  color: var(--color-error);
  font-size: 1.2rem;
  cursor: pointer;
}
.cart-summary {
  margin-top: 1.5rem;
  max-width: 400px;
  margin-left: auto;
}
.cart-totals {
  margin-bottom: 1rem;
}
.total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 1rem;
  font-weight: 600;
}
.total-row.discount {
  color: var(--color-success);
}
.cart-shipping-estimate {
  margin-bottom: 1.5rem;
}
.cart-shipping-estimate label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.cart-shipping-estimate input {
  padding: 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-sans);
  width: 120px;
  margin-right: 0.5rem;
}
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.cart-samples-link {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
}
.empty-cart p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8rem;
}
.breadcrumb li::after {
  content: '/';
  margin: 0 0.35rem;
  color: var(--color-text-light);
}
.breadcrumb li:last-child::after {
  content: '';
}
.breadcrumb a {
  color: var(--color-text-light);
}
.breadcrumb span {
  color: var(--color-text);
  font-weight: 500;
}

.error-page {
  text-align: center;
  padding: 4rem 1rem;
}
.error-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.error-page p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.coming-soon {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  color: var(--color-text-light);
  margin: 2rem 0;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-light);
  grid-column: 1 / -1;
}

.site-footer {
  background: var(--color-text);
  color: #ccc;
  padding: 3rem 1rem 1.5rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  color: #aaa;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .header-link {
    display: none;
  }
  .btn-samples {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .category-layout {
    grid-template-columns: 1fr;
  }
  .facet-sidebar {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .facet-toggle {
    display: block;
  }
  .facet-list {
    display: none;
    padding-top: 0.75rem;
  }
  .facet-toggle-check:checked ~ .facet-list {
    display: block;
  }
  .facet-toggle-check:checked ~ .facet-toggle::after {
    content: ' \2191';
  }
  .facet-toggle::after {
    content: ' \2193';
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar-inner {
    font-size: 0.7rem;
    gap: 1rem;
    overflow-x: auto;
  }
  .cart-table {
    overflow-x: auto;
  }
  .wall-panel-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .gallery-thumb {
    width: 52px;
    height: 52px;
  }
  .price-main {
    font-size: 1.25rem;
  }
  .product-detail-grid {
    gap: 1.5rem;
  }
}

.calculator-page .calc-hero,
.quiz-page .quiz-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.calculator-page .calc-hero h1,
.quiz-page .quiz-hero h1 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.calculator-page .calc-hero p,
.quiz-page .quiz-hero p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.calc-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}
.calc-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.calc-field {
  margin-bottom: 1rem;
}
.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.input-with-unit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.input-with-unit.compact {
  gap: 0.25rem;
}
.calc-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
}
.calc-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(26, 86, 50, 0.15);
}
.input-unit {
  font-size: 0.85rem;
  color: var(--color-text-light);
  white-space: nowrap;
  min-width: 1.5rem;
}
.calc-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
}
.calc-slider {
  width: 100%;
  accent-color: var(--color-primary);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.unit-toggle {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.unit-option {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.calc-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}
.calc-results-card h2 {
  margin-bottom: 1rem;
}
.result-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.result-item:last-child {
  border-bottom: none;
}
.result-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.result-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.result-highlight .result-value {
  color: var(--color-primary);
  font-size: 1.15rem;
}
.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  font-style: italic;
}

.deck-svg-container {
  background: #fafaf5;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.5rem;
}
.deck-layout-svg {
  width: 100%;
  height: auto;
}

.pdp-coverage-calc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.pdp-coverage-calc h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.pdp-calc-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: flex-end;
}
.pdp-calc-field {
  flex: 1;
}
.pdp-calc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.pdp-calc-units {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.pdp-calc-results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}
.pdp-calc-result {
  font-size: 0.85rem;
}
.pdp-calc-result strong {
  color: var(--color-primary);
}
.calc-full-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-primary);
}

.quiz-progress {
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}
.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.3s;
}
.quiz-progress-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}
.quiz-step h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.quiz-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.quiz-option-card:hover {
  border-color: var(--color-primary);
  background: rgba(26, 86, 50, 0.03);
}
.quiz-option-card.selected {
  border-color: var(--color-primary);
  background: rgba(26, 86, 50, 0.06);
}
.quiz-option-card.quiz-option-wide {
  flex-direction: row;
  text-align: left;
  gap: 1rem;
}
.quiz-option-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.quiz-option-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.quiz-option-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}
.quiz-nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.quiz-results-container {
  max-width: 800px;
  margin: 0 auto;
}
.quiz-results-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.quiz-result-card {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}
.quiz-result-rank {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.quiz-result-image {
  width: 160px;
  min-width: 160px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.quiz-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quiz-result-info {
  flex: 1;
}
.quiz-result-info h3 {
  margin-bottom: 0.25rem;
}
.quiz-result-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.quiz-result-rationale {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.quiz-result-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.quiz-result-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.inline-form {
  display: inline;
}
.quiz-retake {
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .calc-container {
    grid-template-columns: 1fr;
  }
  .quiz-result-card {
    flex-direction: column;
  }
  .quiz-result-image {
    width: 100%;
    min-width: auto;
    height: 180px;
  }
  .quiz-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pdp-calc-row {
    flex-wrap: wrap;
  }
}

/* ============================================
   CART PAGE STYLES
   ============================================ */

.cart-product-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.cart-thumb-placeholder {
  width: 60px;
  height: 60px;
  background: #eee;
  border-radius: 4px;
}
.cart-dims {
  color: #666;
}
.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-qty-input {
  width: 60px;
  padding: 4px 6px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.cart-table table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th,
.cart-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.cart-table th {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}
.cart-summary {
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
}
.cart-totals {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 1rem;
}
.total-row.discount span {
  color: #1a5632;
  font-weight: 600;
}
.total-row.total-final {
  border-top: 2px solid #1a5632;
  margin-top: 8px;
  padding-top: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}
.cart-shipping-result {
  background: #f0f7f3;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.cart-shipping-result h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.shipping-freight,
.shipping-free {
  color: #1a5632;
  font-weight: 600;
}
.shipping-transit {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}
.cart-shipping-estimate {
  margin-bottom: 1rem;
}
.cart-shipping-estimate form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-shipping-estimate label {
  font-size: 0.9rem;
}
.cart-shipping-estimate input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 110px;
}
.cart-upsell {
  background: #fff8e6;
  border: 1px solid #d4a843;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.cart-upsell p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #666;
}
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.cart-samples-link {
  text-align: center;
  color: #1a5632;
  font-size: 0.9rem;
}
.btn-remove {
  background: none;
  border: none;
  color: #c00;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}
.btn-remove:hover {
  color: #900;
}
.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
}
.empty-cart p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #666;
}

/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.checkout-form-col {
  min-width: 0;
}
.checkout-section {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.checkout-section h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #1a5632;
}
.form-row {
  margin-bottom: 1rem;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 120px;
  gap: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #1a5632;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,86,50,0.1);
}
.checkout-summary {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}
.checkout-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.checkout-items {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 0;
}
.checkout-item-info strong {
  font-size: 0.9rem;
}
.checkout-item-qty {
  display: block;
  font-size: 0.8rem;
  color: #666;
}
.checkout-item-price {
  font-weight: 600;
  white-space: nowrap;
}
.checkout-totals {
  margin-bottom: 1rem;
}
.shipping-method-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shipping-method-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.shipping-method-option.selected,
.shipping-method-option:has(input:checked) {
  border-color: #1a5632;
  background: #f0f7f2;
}
.shipping-method-option input[type="radio"] {
  accent-color: #1a5632;
  width: 18px;
  height: 18px;
}
.shipping-method-detail {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shipping-method-detail strong {
  font-size: 1rem;
}
.shipping-method-detail span {
  font-size: 0.85rem;
  color: #666;
}
.shipping-method-price {
  font-weight: 600;
  color: #1a5632 !important;
  font-size: 1rem !important;
}
.checkout-submit {
  width: 100%;
  margin-top: 1rem;
}
.payment-message {
  background: #fff3f3;
  border: 1px solid #c00;
  color: #c00;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .cart-table th:nth-child(4),
  .cart-table td:nth-child(4) {
    display: none;
  }
}

/* ============================================
   ORDER CONFIRMATION STYLES
   ============================================ */

.confirmation-header {
  text-align: center;
  padding: 2rem 0;
}
.confirmation-checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1a5632;
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.confirmation-thankyou {
  font-size: 1.1rem;
  color: #666;
}
.confirmation-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.confirmation-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.confirmation-card h2 {
  margin: 0 0 0.5rem;
  color: #1a5632;
}
.confirmation-card h3 {
  margin: 0 0 0.5rem;
}
.confirmation-date {
  color: #666;
  margin-bottom: 1rem;
}
.confirmation-items-table {
  width: 100%;
  border-collapse: collapse;
}
.confirmation-items-table th,
.confirmation-items-table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}
.confirmation-items-table th {
  font-weight: 600;
  background: #f5f5f5;
}
.confirmation-totals {
  margin-top: 1rem;
}
.delivery-estimate {
  margin-top: 8px;
  color: #1a5632;
}
.freight-note {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

@media (max-width: 768px) {
  .confirmation-grid {
    grid-template-columns: 1fr;
  }
}

.contractor-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.contractor-login-form-col .form-group {
  margin-bottom: 1rem;
}
.contractor-welcome {
  max-width: 600px;
  margin-top: 2rem;
  padding: 2rem;
  background: #f0f7f2;
  border-radius: 8px;
  border: 1px solid #1a5632;
}
.contractor-benefits {
  list-style: none;
  padding: 0;
}
.contractor-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.contractor-benefits li::before {
  content: "\2713";
  color: #1a5632;
  font-weight: bold;
  position: absolute;
  left: 0;
}
@media (max-width: 768px) {
  .contractor-login-grid {
    grid-template-columns: 1fr;
  }
}

.guide-index-hero {
  background: linear-gradient(135deg, #1a5632 0%, #0d3a1f 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.guide-index-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.guide-index-hero .hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}
.guide-index {
  padding: 2rem 0 3rem;
}
.guide-category-section {
  margin-bottom: 2.5rem;
}
.guide-category-section h2 {
  font-size: 1.5rem;
  color: #1a5632;
  border-bottom: 2px solid #e9e1d0;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e0dcd4;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  border-color: #1a5632;
  box-shadow: 0 2px 8px rgba(26,86,50,0.1);
}
.guide-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #1a2e1a;
}
.guide-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.guide-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.guide-badge-easy {
  background: #d4edda;
  color: #155724;
}
.guide-badge-moderate {
  background: #fff3cd;
  color: #856404;
}
.guide-badge-advanced {
  background: #f8d7da;
  color: #721c24;
}
.guide-time {
  font-size: 0.85rem;
  color: #666;
}
.guide-card-arrow {
  font-size: 1.4rem;
  color: #1a5632;
  flex-shrink: 0;
  margin-left: 1rem;
}
.guide-cta-section {
  text-align: center;
  padding: 2.5rem;
  background: #f7f5f0;
  border-radius: 12px;
  margin-top: 2rem;
}
.guide-cta-section h2 {
  color: #1a5632;
  margin-bottom: 0.5rem;
}
.guide-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.guide-detail {
  padding: 2rem 0 3rem;
}
.guide-header {
  margin-bottom: 2rem;
}
.guide-header h1 {
  font-size: 2rem;
  color: #1a2e1a;
  margin-bottom: 0.75rem;
}
.guide-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.9rem;
}
.guide-updated {
  font-style: italic;
}
.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.guide-sidebar {
  position: sticky;
  top: 1rem;
}
.guide-tools-card,
.guide-links-card {
  background: #f7f5f0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.guide-tools-card h3,
.guide-links-card h3 {
  font-size: 1rem;
  color: #1a5632;
  margin: 0 0 0.75rem;
}
.tool-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-checklist li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #e9e1d0;
}
.tool-checklist li:last-child {
  border-bottom: none;
}
.tool-checklist label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.tool-checklist input[type="checkbox"] {
  accent-color: #1a5632;
}
.guide-links-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-links-card li {
  padding: 0.3rem 0;
}
.guide-links-card a {
  color: #1a5632;
  text-decoration: none;
}
.guide-links-card a:hover {
  text-decoration: underline;
}
.guide-content {
  line-height: 1.7;
  color: #333;
}
.guide-content h2 {
  font-size: 1.5rem;
  color: #1a5632;
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e9e1d0;
}
.guide-content h3 {
  font-size: 1.2rem;
  color: #1a2e1a;
  margin: 1.5rem 0 0.75rem;
}
.guide-content p {
  margin: 0.75rem 0;
}
.guide-content ol,
.guide-content ul {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.guide-content li {
  margin-bottom: 0.5rem;
}
.guide-content strong {
  color: #1a2e1a;
}
.guide-content .tip-box {
  background: #d4edda;
  border-left: 4px solid #1a5632;
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 1.25rem 0;
}
.guide-content .warning-box {
  background: #fff3cd;
  border-left: 4px solid #d4a843;
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 1.25rem 0;
}
.guide-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.guide-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.guide-footer-cta {
  text-align: center;
  padding: 2.5rem;
  background: #f7f5f0;
  border-radius: 12px;
  margin-top: 3rem;
}
.guide-footer-cta h2 {
  color: #1a5632;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar {
    position: static;
    order: -1;
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }
  .guide-header h1 {
    font-size: 1.5rem;
  }
}
.geo-hero {
  background: linear-gradient(135deg, #1a5632 0%, #2d7a4a 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.geo-hero h1 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}
.geo-hero .hero-sub {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.92;
  line-height: 1.6;
}
.geo-section {
  padding: 2.5rem 0;
}
.geo-section h2 {
  font-size: 1.5rem;
  color: #1a5632;
  margin-bottom: 1rem;
}
.geo-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.geo-category-card {
  background: #f8f6f0;
  border: 1px solid #e8e2d4;
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: #1a2e1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.geo-category-card:hover {
  border-color: #1a5632;
  box-shadow: 0 2px 8px rgba(26,86,50,0.12);
}
.geo-category-card h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: #1a5632;
}
.geo-category-card p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}
.geo-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.geo-city-link {
  display: block;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #e8e2d4;
  border-radius: 4px;
  text-decoration: none;
  color: #1a5632;
  font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s;
}
.geo-city-link:hover {
  background: #f0f7f2;
  border-color: #1a5632;
}
.geo-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.geo-benefit {
  background: #f8f6f0;
  border-radius: 8px;
  padding: 1.25rem;
}
.geo-benefit strong {
  display: block;
  color: #1a5632;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.geo-benefit p {
  margin: 0;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.5;
}
.geo-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.geo-tool-card {
  display: block;
  background: #f8f6f0;
  border: 1px solid #e8e2d4;
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: #1a2e1a;
  transition: border-color 0.2s;
}
.geo-tool-card:hover {
  border-color: #d4a843;
}
.geo-tool-card strong {
  display: block;
  color: #1a5632;
  margin-bottom: 0.35rem;
}
.geo-tool-card p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}
.geo-cta {
  text-align: center;
  background: #f0f7f2;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.geo-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .geo-hero h1 {
    font-size: 1.5rem;
  }
  .geo-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geo-city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geo-tools-grid {
    grid-template-columns: 1fr;
  }
}

.contractor-price-badge {
  display: inline-block;
  background: #1a5632;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}
.price-strikethrough {
  text-decoration: line-through;
  color: #999;
  font-size: 0.95rem;
}
.price-contractor {
  color: #1a5632;
  font-size: 1.2rem;
  margin-top: 4px;
}
.contractor-total span {
  color: #1a5632;
  font-weight: 700;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
}
.review-stars {
  color: #d4a843;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.review-text {
  color: #555;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}
.review-author {
  font-size: 0.9rem;
  color: #333;
}
.review-author span {
  color: #888;
}
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
