/* CannaBlossom shop archive */

.woocommerce-shop #main,
.woocommerce-shop .shop-page-title,
.woocommerce-shop .shop-container {
  background: #f5efe4;
}

.woocommerce-shop .page-title:not(.cb-archive-title),
.woocommerce-shop .entry-title {
  margin: 58px 0 14px;
  color: #4a3c29;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(42px, 5vw, 72px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.woocommerce-shop .cb-archive-title,
.post-type-archive-product .cb-archive-title {
  margin: 0;
  padding: 32px 32px 0;
}

.woocommerce-shop .cb-archive-title__inner,
.post-type-archive-product .cb-archive-title__inner {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.woocommerce-shop .cb-archive-breadcrumb,
.post-type-archive-product .cb-archive-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  color: rgba(74, 60, 41, 0.70);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.woocommerce-shop .cb-archive-breadcrumb a,
.post-type-archive-product .cb-archive-breadcrumb a {
  color: rgba(74, 60, 41, 0.78);
  text-decoration: none;
}

.woocommerce-shop .cb-archive-breadcrumb a:hover,
.post-type-archive-product .cb-archive-breadcrumb a:hover {
  color: #9e502b;
}

.woocommerce-shop .cb-archive-breadcrumb__sep,
.post-type-archive-product .cb-archive-breadcrumb__sep {
  color: rgba(74, 60, 41, 0.42);
  margin: 0 2px;
}

.woocommerce-shop .cb-archive-title__heading,
.post-type-archive-product .cb-archive-title__heading {
  margin: 0 0 12px;
  color: #2c2118 !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(42px, 4.2vw, 58px) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  text-align: left !important;
  text-transform: none !important;
}

.woocommerce-shop .cb-archive-title__heading em,
.post-type-archive-product .cb-archive-title__heading em {
  color: #9e502b;
  font-style: italic;
  font-weight: 400;
}

.woocommerce-shop .cb-archive-title__desc,
.post-type-archive-product .cb-archive-title__desc {
  max-width: 720px;
  margin: 0;
  color: rgba(74, 60, 41, 0.85);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.woocommerce-shop .cb-archive-title__desc p,
.post-type-archive-product .cb-archive-title__desc p {
  margin: 0;
}

.woocommerce-shop .cb-subcat-pills,
.post-type-archive-product .cb-subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(111, 113, 56, 0.18);
}

.woocommerce-shop .cb-subcat-pill,
.post-type-archive-product .cb-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(111, 113, 56, 0.40);
  border-radius: 100px;
  background: transparent;
  color: #4a3c29;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.woocommerce-shop .cb-subcat-pill:hover,
.post-type-archive-product .cb-subcat-pill:hover {
  border-color: #6f7138;
  color: #565828;
}

.woocommerce-shop .cb-subcat-pill.active,
.post-type-archive-product .cb-subcat-pill.active {
  background: #6f7138;
  border-color: #6f7138;
  color: #fdfbf6;
}

.woocommerce-shop .cb-subcat-count,
.post-type-archive-product .cb-subcat-count {
  font-size: 11px;
  font-weight: 400;
  opacity: .7;
}

.woocommerce-shop .shop-container {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 26px 0 96px;
}

.woocommerce-shop .category-page-row {
  width: min(100% - 56px, 1500px);
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-shop .category-page-row > .col.large-3 {
  flex-basis: 260px;
  max-width: 260px;
  padding-left: 0;
  padding-right: 18px;
}

.woocommerce-shop .category-page-row > .col.large-9 {
  flex-basis: calc(100% - 260px);
  max-width: calc(100% - 260px);
  padding-left: 28px;
  padding-right: 0;
}

.woocommerce-shop .woocommerce-notices-wrapper {
  width: 100%;
}

.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering {
  margin-bottom: 28px;
}

.woocommerce-result-count {
  color: rgba(74, 60, 41, 0.62);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
}

.woocommerce-ordering select {
  min-height: 40px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(74, 60, 41, 0.20);
  border-radius: 2px;
  background-color: #f9f4eb;
  color: #4a3c29;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce-shop .products.row {
  row-gap: 42px;
}

.woocommerce-shop .product-small.col {
  padding-bottom: 0;
}

.woocommerce-shop .product-small .col-inner,
.woocommerce-shop .product-small .box {
  background: transparent;
}

.woocommerce-shop .product-small .box-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #ece9e1;
  border: 1px solid rgba(74, 60, 41, 0.10);
  border-radius: 3px;
}

.woocommerce-shop .product-small .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.woocommerce-shop .product-small:hover .box-image img {
  transform: scale(1.035);
  opacity: 0.96;
}

.woocommerce-shop .product-small .box-text {
  padding: 15px 0 0;
  background: transparent;
  color: #4a3c29;
  text-align: left;
}

.woocommerce-shop .product-title,
.woocommerce-shop .product-title a {
  margin: 0;
  color: #4a3c29 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.32 !important;
  text-transform: none !important;
}

.woocommerce-shop .product-title a:hover {
  color: #9e502b !important;
}

.woocommerce-shop .price-wrapper {
  margin-top: 8px;
}

.woocommerce-shop .price,
.woocommerce-shop .price .amount {
  color: rgba(74, 60, 41, 0.78);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.woocommerce-shop .add-to-cart-button {
  margin-top: 14px;
}

.woocommerce-shop .add-to-cart-button a,
.woocommerce-shop .product-small .button {
  min-height: 38px;
  padding: 12px 16px !important;
  border: 1px solid rgba(74, 60, 41, 0.24) !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #4a3c29 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.woocommerce-shop .add-to-cart-button a:hover,
.woocommerce-shop .product-small .button:hover {
  border-color: #9e502b !important;
  background: #9e502b !important;
  color: #f9f4eb !important;
}

.woocommerce-shop .star-rating {
  color: #9e502b;
  font-size: 12px;
}

.woocommerce-shop .woocommerce-pagination,
.woocommerce-shop .page-numbers.nav-pagination {
  margin-top: 54px;
}

.woocommerce-shop .page-numbers li > span,
.woocommerce-shop .page-numbers li > a {
  border-radius: 2px;
  color: #4a3c29;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.woocommerce-shop .page-numbers li > span.current,
.woocommerce-shop .page-numbers li > a:hover {
  background: #4f5128;
  color: #f9f4eb;
}

/* Existing filters/sidebar: only color + typography adjustments. */
.woocommerce-shop .sidebar-shop .widget-title {
  color: #4f5128;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.woocommerce-shop .sidebar-shop .widget,
.woocommerce-shop .sidebar-shop {
  color: rgba(74, 60, 41, 0.72);
}

.woocommerce-shop .sidebar-shop .wc-layered-nav-term a,
.woocommerce-shop .sidebar-shop ul li a,
.woocommerce-shop .sidebar-shop label {
  color: rgba(74, 60, 41, 0.74);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.woocommerce-shop .sidebar-shop .wc-layered-nav-term a:hover,
.woocommerce-shop .sidebar-shop ul li a:hover,
.woocommerce-shop .sidebar-shop .chosen a {
  color: #9e502b !important;
}

.woocommerce-shop .sidebar-shop .count {
  color: rgba(74, 60, 41, 0.42);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
}

.woocommerce-shop .category-filtering,
.woocommerce-shop .widget.woocommerce {
  color: rgba(74, 60, 41, 0.72);
}

.woocommerce-shop .category-filtering .filter-button {
  color: #4a3c29;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.woocommerce-shop .widget.woocommerce .widget-title,
.woocommerce-shop .widget.woocommerce > span {
  color: #4f5128;
  font-family: "JetBrains Mono", monospace !important;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.woocommerce-shop .widget.woocommerce a,
.woocommerce-shop .widget.woocommerce li,
.woocommerce-shop .widget.woocommerce label,
.woocommerce-shop .widget.woocommerce .price_label {
  color: rgba(74, 60, 41, 0.74);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.woocommerce-shop .widget.woocommerce a:hover,
.woocommerce-shop .widget.woocommerce .chosen a {
  color: #9e502b !important;
}

.woocommerce-shop .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce-shop .widget_price_filter .ui-slider .ui-slider-handle {
  background-color: #9e502b;
}

.woocommerce-shop .widget_price_filter .button {
  color: #f9f4eb;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  background-color: #4f5128;
}

.woocommerce-shop .cb-card-strain {
  margin: 6px 0 0;
  color: rgba(111, 113, 56, 0.92);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.woocommerce-shop .cb-card-thc {
  display: inline-block;
  margin-top: 9px;
  padding: 0;
  background: transparent;
  color: rgba(158, 80, 43, 0.92);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .woocommerce-shop .shop-container {
    width: 100%;
    padding-bottom: 68px;
  }

  .woocommerce-shop .category-page-row {
    width: min(100% - 32px, 760px);
  }

  .woocommerce-shop .category-page-row > .col.large-9 {
    flex-basis: 100%;
    max-width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .woocommerce-shop .page-title:not(.cb-archive-title),
  .woocommerce-shop .entry-title {
    margin-top: 34px;
    font-size: 38px;
  }

  .woocommerce-shop .cb-archive-title,
  .post-type-archive-product .cb-archive-title {
    padding: 28px 20px 0;
  }

  .woocommerce-shop .cb-archive-title__heading,
  .post-type-archive-product .cb-archive-title__heading {
    font-size: 38px !important;
  }

  .woocommerce-shop .cb-subcat-pills,
  .post-type-archive-product .cb-subcat-pills {
    gap: 7px;
  }

  .woocommerce-shop .cb-subcat-pill,
  .post-type-archive-product .cb-subcat-pill {
    max-width: 100%;
    white-space: normal;
  }

  .woocommerce-result-count {
    line-height: 1.4;
  }
}
