/* Burnigan Core 1.6 — split legacy compatibility bundle.
   Generated from legacy v1.1.6 without changing rule contents. */

/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
  --burnigan-black: #080808;
  --burnigan-black-soft: #171717;
  --burnigan-white: #ffffff;
  --burnigan-bg: #f4f4f1;
  --burnigan-bg-alt: #ecece8;
  --burnigan-border: rgba(8, 8, 8, 0.16);
  --burnigan-muted: #70706b;
  --burnigan-max: 1320px;
  --burnigan-font: Arial, Helvetica, sans-serif;
}

/* =========================================================
   02. GLOBAL WOOCOMMERCE FOUNDATION
   ========================================================= */

body.woocommerce,
body.woocommerce-page {
  /* v36: `clip` instead of `hidden`. `hidden` makes the body a
     scroll container, which silently disables position:sticky on
     the desktop account sidebar. `clip` prevents the same
     horizontal overflow without that side effect. */
  overflow-x: clip;
  background: var(--burnigan-bg);
}

body.woocommerce main#main,
body.woocommerce-page main#main {
  background: var(--burnigan-bg);
}

body.woocommerce a,
body.woocommerce-page a {
  text-underline-offset: 3px;
}

body.woocommerce button,
body.woocommerce input,
body.woocommerce select,
body.woocommerce textarea,
body.woocommerce-page button,
body.woocommerce-page input,
body.woocommerce-page select,
body.woocommerce-page textarea {
  font-family: var(--burnigan-font);
}

body.woocommerce input:not([type="checkbox"]):not([type="radio"]),
body.woocommerce select,
body.woocommerce textarea,
body.woocommerce-page input:not([type="checkbox"]):not([type="radio"]),
body.woocommerce-page select,
body.woocommerce-page textarea {
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce .woocommerce-notices-wrapper:empty,
body.woocommerce .blocksy-woo-messages-default:empty,
body.woocommerce-page .woocommerce-notices-wrapper:empty,
body.woocommerce-page .blocksy-woo-messages-default:empty {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Notices */
body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info,
body.woocommerce .woocommerce-error,
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error,
body.woocommerce .wc-block-components-notice-banner,
body.woocommerce-page .wc-block-components-notice-banner {
  margin: 0 0 28px !important;
  padding: 18px 20px !important;
  border: 1px solid var(--burnigan-black) !important;
  border-radius: 0 !important;
  background: var(--burnigan-white) !important;
  color: var(--burnigan-black) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  box-shadow: none !important;
}

body.woocommerce .woocommerce-error,
body.woocommerce-page .woocommerce-error,
body.woocommerce .wc-block-components-notice-banner.is-error,
body.woocommerce-page .wc-block-components-notice-banner.is-error {
  border-color: #9f1d1d !important;
}

body.woocommerce .woocommerce-message::before,
body.woocommerce .woocommerce-info::before,
body.woocommerce-page .woocommerce-message::before,
body.woocommerce-page .woocommerce-info::before {
  color: var(--burnigan-black) !important;
}

body.woocommerce .woocommerce-message a.button,
body.woocommerce .woocommerce-info a.button,
body.woocommerce-page .woocommerce-message a.button,
body.woocommerce-page .woocommerce-info a.button {
  float: right;
  border: 0 !important;
  background: transparent !important;
  color: var(--burnigan-black) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Shared primary buttons */
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce-page a.button,
body.woocommerce-page button.button,
body.woocommerce-page input.button,
body.woocommerce .wc-block-components-button,
body.woocommerce-page .wc-block-components-button {
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 22px !important;
  border: 1px solid var(--burnigan-black) !important;
  border-radius: 0 !important;
  background: var(--burnigan-black) !important;
  color: var(--burnigan-white) !important;
  box-shadow: none !important;
  font-family: var(--burnigan-font) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.woocommerce a.button:hover,
body.woocommerce a.button:focus-visible,
body.woocommerce button.button:hover,
body.woocommerce button.button:focus-visible,
body.woocommerce-page a.button:hover,
body.woocommerce-page a.button:focus-visible,
body.woocommerce-page button.button:hover,
body.woocommerce-page button.button:focus-visible,
body.woocommerce .wc-block-components-button:hover,
body.woocommerce .wc-block-components-button:focus-visible,
body.woocommerce-page .wc-block-components-button:hover,
body.woocommerce-page .wc-block-components-button:focus-visible {
  background: transparent !important;
  color: var(--burnigan-black) !important;
  transform: translateY(-2px);
}

/* Shared page-title hero for WooCommerce utility pages */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .hero-section {
  position: relative;
  min-height: 220px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 50px 24px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--burnigan-black) !important;
  color: var(--burnigan-white) !important;
  text-align: center;
}

body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .hero-section > * {
  position: relative;
  z-index: 1;
}

body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .hero-section h1 {
  margin: 0 !important;
  color: var(--burnigan-white) !important;
  font-family: var(--burnigan-font) !important;
  font-size: clamp(46px, 6vw, 78px) !important;
  font-weight: 900 !important;
  line-height: 0.92 !important;
  letter-spacing: -0.055em !important;
  text-transform: uppercase !important;
}

/* =========================================================
   03. SHOP + PRODUCT CATEGORY/TAG ARCHIVES
   ========================================================= */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) {
  background: var(--burnigan-bg);
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .hero-section {
  position: relative !important;
  min-height: 245px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 55px 24px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 38%),
    #070707 !important;
  color: var(--burnigan-white) !important;
  text-align: center !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .hero-section :is(.ct-container, .ct-container-full, .entry-header, .page-title) {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1200px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .hero-section .entry-header::before {
  content: "BURNIGAN COLLECTION";
  display: block;
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--burnigan-font);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .hero-section :is(h1, .page-title) {
  margin: 0 !important;
  color: var(--burnigan-white) !important;
  font-family: var(--burnigan-font) !important;
  font-size: clamp(52px, 6vw, 82px) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.055em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .term-description {
  max-width: 620px;
  margin: 18px auto 0 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--burnigan-bg) !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main > :is(.ct-container, .ct-container-full) {
  display: block !important;
  width: 100% !important;
  max-width: var(--burnigan-max) !important;
  margin: 0 auto !important;
  padding: 55px 28px 90px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Results + ordering */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-result-count {
  float: left !important;
  margin: 13px 0 34px !important;
  color: var(--burnigan-muted) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering {
  float: right !important;
  margin: 0 0 34px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select {
  min-width: 205px !important;
  height: 46px !important;
  padding: 0 40px 0 15px !important;
  border: 1px solid #d2d2cd !important;
  border-radius: 0 !important;
  background-color: var(--burnigan-white) !important;
  color: var(--burnigan-black) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Archive product grid */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products {
  clear: both !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 48px 20px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products::before,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products::after {
  display: none !important;
  content: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products li.product {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product a {
  text-decoration: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  margin: 0 0 18px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: #e8e8e4 !important;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product:hover img {
  transform: scale(1.015);
  opacity: 0.95;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product :is(
  .product-category,
  .product-categories,
  .ct-product-categories,
  .ct-woo-card-extra,
  .entry-meta
) {
  display: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .woocommerce-loop-product__title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--burnigan-black) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .price {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 0 16px !important;
  color: var(--burnigan-black) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .price del {
  font-size: 11px !important;
  opacity: 0.42 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .price ins {
  text-decoration: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .button {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  font-size: 9px !important;
  letter-spacing: 0.15em !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .added_to_cart {
  display: block !important;
  margin-top: 12px !important;
  color: var(--burnigan-black) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .onsale {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 5 !important;
  min-width: auto !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--burnigan-black) !important;
  color: var(--burnigan-white) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

/* Keep temporary 1–3 product grids balanced */
@media (min-width: 901px) {
  @supports selector(ul:has(li)) {
    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:only-child) {
      grid-template-columns: minmax(250px, 310px) !important;
      justify-content: center !important;
    }

    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:nth-child(2):last-child) {
      grid-template-columns: repeat(2, minmax(250px, 310px)) !important;
      justify-content: center !important;
    }

    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:nth-child(3):last-child) {
      grid-template-columns: repeat(3, minmax(240px, 300px)) !important;
      justify-content: center !important;
    }
  }
}

/* Pagination */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) nav.woocommerce-pagination {
  margin-top: 65px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) nav.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) nav.woocommerce-pagination li {
  border: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) nav.woocommerce-pagination :is(a, span) {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--burnigan-black) !important;
  background: transparent !important;
  color: var(--burnigan-black) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) nav.woocommerce-pagination .current {
  background: var(--burnigan-black) !important;
  color: var(--burnigan-white) !important;
}

/* =========================================================
   09. RESPONSIVE RULES
   ========================================================= */

@media (max-width: 1050px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr) !important;
    column-gap: 38px !important;
  }

  body.single-product div.product > .summary {
    position: static !important;
  }

  body.single-product .summary .product_title {
    font-size: 40px !important;
  }

  body.woocommerce-checkout form.checkout {
    gap: 35px !important;
  }

  body.woocommerce-account .woocommerce {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 850px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding: 50px 22px 75px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product main#main > :is(.ct-container, .ct-container-full) {
    padding: 24px 22px 80px !important;
  }

  body.single-product div.product {
    display: block !important;
  }

  body.single-product div.product > .woocommerce-product-gallery {
    margin-bottom: 36px !important;
  }

  body.single-product div.product > .woocommerce-tabs {
    margin-top: 60px !important;
    padding-top: 45px !important;
  }

  body.single-product :is(.related.products, .upsells.products) {
    margin-top: 60px !important;
  }

  body.single-product :is(.related.products, .upsells.products) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product #reviews {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  body.woocommerce-checkout form.checkout {
    display: block !important;
  }

  body.woocommerce-checkout #order_review_heading {
    margin-top: 50px !important;
  }

  body.woocommerce-account .woocommerce {
    display: block;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 28px;
  }

  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .hero-section {
    min-height: 175px !important;
    padding: 40px 18px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .hero-section {
    min-height: 190px !important;
    padding: 42px 20px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .hero-section :is(h1, .page-title) {
    font-size: 48px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding: 38px 18px 60px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-result-count,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    width: 100% !important;
    float: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-result-count {
    margin: 0 0 15px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    margin: 0 0 32px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering select {
    width: 100% !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products,
  body.single-product :is(.related.products, .upsells.products) ul.products {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  body.single-product main#main > :is(.ct-container, .ct-container-full) {
    padding: 18px 18px 65px !important;
  }

  body.single-product .woocommerce-breadcrumb {
    margin-bottom: 22px !important;
  }

  body.single-product .summary .product_title {
    font-size: 38px !important;
  }

  body.single-product .summary form.cart {
    grid-template-columns: 1fr !important;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    gap: 22px !important;
  }

  body.single-product :is(.related.products, .upsells.products) > h2 {
    font-size: 40px !important;
  }

  body.woocommerce-checkout main#main > :is(.ct-container, .ct-container-full),
  body.woocommerce-account main#main > :is(.ct-container, .ct-container-full) {
    padding: 45px 18px 65px !important;
  }

  body.woocommerce-checkout .wc-block-components-checkout-step,
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout #order_review {
    padding: 22px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce *,
  body.woocommerce-page * {
    scroll-behavior: auto !important;
  }

  body.woocommerce li.product img,
  body.woocommerce li.product .button,
  body.woocommerce-page li.product img,
  body.woocommerce-page li.product .button {
    transition: none !important;
  }
}

/* =========================================================
   BURNIGAN VIEW CART LINK
   ========================================================= */

body.woocommerce
a.added_to_cart,
body.woocommerce-page
a.added_to_cart,
body.single-product
a.added_to_cart,
body.woocommerce-shop
a.added_to_cart,
body.tax-product_cat
a.added_to_cart,
body.tax-product_tag
a.added_to_cart {
  width: 100% !important;
  min-height: 48px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 12px 0 0 !important;
  padding: 14px 18px !important;

  border: 1px solid #080808 !important;
  border-radius: 0 !important;

  background: #080808 !important;
  color: #ffffff !important;

  box-shadow: none !important;

  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  letter-spacing: 0.15em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

body.woocommerce
a.added_to_cart:hover,
body.woocommerce
a.added_to_cart:focus-visible,
body.woocommerce-page
a.added_to_cart:hover,
body.woocommerce-page
a.added_to_cart:focus-visible {
  background: transparent !important;
  color: #080808 !important;
  transform: translateY(-2px);
}

/* Keep the button aligned on mobile */
@media (max-width: 600px) {
  body.woocommerce
  a.added_to_cart,
  body.woocommerce-page
  a.added_to_cart {
    width: 100% !important;
    margin-top: 10px !important;
  }
}

/* =========================================================
   SHOP + CATEGORY ARCHIVES — FIX VIEW CART BUTTON
   ========================================================= */

body:is(
  .woocommerce-shop,
  .tax-product_cat,
  .tax-product_tag
)
ul.products
li.product
a.added_to_cart {
  width: 100% !important;
  min-height: 46px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 10px 0 0 !important;
  padding: 14px 18px !important;

  border: 1px solid #080808 !important;
  border-radius: 0 !important;

  background: #ffffff !important;
  color: #080808 !important;

  opacity: 1 !important;
  visibility: visible !important;

  text-indent: 0 !important;
  font-size: 9px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  letter-spacing: 0.15em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;

  box-shadow: none !important;
}

/* Force WooCommerce's View Cart text to remain visible */
body:is(
  .woocommerce-shop,
  .tax-product_cat,
  .tax-product_tag
)
ul.products
li.product
a.added_to_cart::before,
body:is(
  .woocommerce-shop,
  .tax-product_cat,
  .tax-product_tag
)
ul.products
li.product
a.added_to_cart::after {
  display: none !important;
  content: none !important;
}

body:is(
  .woocommerce-shop,
  .tax-product_cat,
  .tax-product_tag
)
ul.products
li.product
a.added_to_cart:hover,
body:is(
  .woocommerce-shop,
  .tax-product_cat,
  .tax-product_tag
)
ul.products
li.product
a.added_to_cart:focus-visible {
  background: #080808 !important;
  color: #ffffff !important;
}

/* =========================================================
   BURNIGAN PRODUCT CATEGORY NAVIGATION
   ========================================================= */

.burnigan-category-navigation {
  width: 100%;
  max-width: 1280px;

  margin: 0 auto 42px;
  padding: 0 24px 22px;

  border-bottom: 1px solid rgba(8, 8, 8, 0.16);
}

.burnigan-category-navigation__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 8px 30px;
}

.burnigan-category-navigation__link {
  position: relative;

  min-height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  color: #777772;
  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    color 0.22s ease,
    opacity 0.22s ease;
}

.burnigan-category-navigation__link::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -23px;
  left: 0;

  height: 2px;

  background: #080808;

  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;

  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.burnigan-category-navigation__link:hover,
.burnigan-category-navigation__link:focus-visible,
.burnigan-category-navigation__link.is-active {
  color: #080808;
}

.burnigan-category-navigation__link:hover::after,
.burnigan-category-navigation__link:focus-visible::after,
.burnigan-category-navigation__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Keep product counter and sorting below the navigation */
.woocommerce .burnigan-category-navigation {
  clear: both;
}

.woocommerce .burnigan-category-navigation + .woocommerce-result-count {
  clear: left;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .burnigan-category-navigation {
    margin-bottom: 30px;
    padding-right: 0;
    padding-bottom: 18px;
    padding-left: 18px;

    overflow: hidden;
  }

  .burnigan-category-navigation__inner {
    justify-content: flex-start;
    flex-wrap: nowrap;

    gap: 24px;

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;

    padding-right: 18px;
    padding-bottom: 4px;
  }

  .burnigan-category-navigation__inner::-webkit-scrollbar {
    display: none;
  }

  .burnigan-category-navigation__link {
    flex: 0 0 auto;

    min-height: 38px;

    font-size: 9px;
    white-space: nowrap;
  }

  .burnigan-category-navigation__link::after {
    bottom: -19px;
  }
}

/* =========================================================
   22. LUXURY SHOP ARCHIVE REBUILD — v18
   Keep this section LAST.

   Scope:
   - Main Shop page
   - Product category archives
   - Product tag archives

   This section does NOT touch the cart quantity picker,
   Cart Totals, checkout, account pages, or single products.
   ========================================================= */

/* ---------- Archive design tokens ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) {
  --burnigan-shop-max: 1280px;
  --burnigan-shop-line: rgba(8, 8, 8, 0.14);
  --burnigan-shop-soft-line: rgba(8, 8, 8, 0.08);
  --burnigan-shop-ink: #080808;
  --burnigan-shop-muted: #74746f;
  --burnigan-shop-surface: #f5f5f1;
  --burnigan-shop-card: #ffffff;

  background: var(--burnigan-shop-surface) !important;
}

/* ---------- Blocksy category-navigation hero ---------- */

/*
 * Blocksy normally renders the shop category tabs inside
 * .ct-shop-tabs. This converts that area into an editorial
 * introduction without requiring a page-builder plugin.
 */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: var(--burnigan-shop-surface) !important;
  box-shadow: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;

  width: 100% !important;
  max-width: var(--burnigan-shop-max) !important;
  margin: 0 auto !important;
  padding: 74px 28px 0 !important;

  box-sizing: border-box !important;
}

/* Editorial shop title */
body.woocommerce-shop
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::before,
body.post-type-archive-product
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
  content: "SHOP";
}

body:is(
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
  content: "COLLECTION";
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
  order: 1 !important;
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--burnigan-shop-ink) !important;
  font-family: var(--burnigan-font) !important;
  font-size: clamp(58px, 7.4vw, 104px) !important;
  font-weight: 900 !important;
  line-height: 0.84 !important;
  letter-spacing: -0.065em !important;
  text-transform: uppercase !important;
}

/* Editorial supporting copy */
body:is(
  .woocommerce-shop,
  .post-type-archive-product
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
  content: "Independent streetwear shaped by bold graphics, oversized silhouettes and considered everyday expression.";
}

body.tax-product_cat
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
  content: "Explore the selected Burnigan pieces within this collection.";
}

body.tax-product_tag
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
  content: "A focused selection of Burnigan pieces sharing the same design language.";
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
  order: 2 !important;
  display: block !important;

  width: min(100%, 620px) !important;
  margin: 24px 0 48px !important;
  padding: 0 !important;

  color: var(--burnigan-shop-muted) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

/* Category list */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs ul {
  order: 3 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 0 34px !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border-top: 1px solid var(--burnigan-shop-line) !important;
  border-bottom: 1px solid var(--burnigan-shop-line) !important;
  list-style: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a {
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  min-height: 62px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #858580 !important;
  font-family: var(--burnigan-font) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.15em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;

  transition: color 0.25s ease !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: -1px !important;
  left: 0 !important;

  height: 2px !important;
  background: var(--burnigan-shop-ink) !important;

  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 0.25s ease !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs :is(
  li.active,
  li.current-cat,
  .current-menu-item
) > a,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a:hover,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a:focus-visible {
  color: var(--burnigan-shop-ink) !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs :is(
  li.active,
  li.current-cat,
  .current-menu-item
) > a::after,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a:hover::after,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a:focus-visible::after {
  transform: scaleX(1) !important;
}

/* ---------- Fallback when Blocksy shop tabs are unavailable ---------- */

@supports selector(body:has(.ct-shop-tabs)) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ):not(:has(.ct-shop-tabs))
  main#main > :is(.ct-container, .ct-container-full)::before {
    content: "SHOP";
    display: block !important;
    margin: 0 0 24px !important;

    color: var(--burnigan-shop-ink) !important;
    font-family: var(--burnigan-font) !important;
    font-size: clamp(58px, 7.4vw, 104px) !important;
    font-weight: 900 !important;
    line-height: 0.84 !important;
    letter-spacing: -0.065em !important;
    text-transform: uppercase !important;
  }
}

/* ---------- Main archive canvas ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main > :is(.ct-container, .ct-container-full) {
  width: 100% !important;
  max-width: var(--burnigan-shop-max) !important;
  margin: 0 auto !important;
  padding: 42px 28px 110px !important;

  box-sizing: border-box !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main .woocommerce {
  display: flow-root !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* ---------- Premium catalogue toolbar ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-result-count {
  display: flex !important;
  align-items: center !important;
  min-height: 50px !important;

  float: left !important;
  margin: 0 0 34px !important;
  padding: 0 !important;

  color: var(--burnigan-shop-muted) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;

  float: right !important;
  margin: 0 0 34px !important;
  padding: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering::before {
  content: "SORT BY" !important;

  color: var(--burnigan-shop-muted) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.16em !important;
  white-space: nowrap !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select {
  width: auto !important;
  min-width: 205px !important;
  max-width: 260px !important;
  height: 50px !important;

  margin: 0 !important;
  padding: 0 42px 0 16px !important;

  border: 1px solid var(--burnigan-shop-line) !important;
  border-radius: 0 !important;
  background-color: var(--burnigan-shop-card) !important;
  box-shadow: none !important;

  color: var(--burnigan-shop-ink) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* A clean divider directly above the catalogue */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce::before {
  content: "" !important;
  display: block !important;
  clear: both !important;

  width: 100% !important;
  height: 1px !important;
  margin: 0 0 38px !important;

  background: var(--burnigan-shop-line) !important;
}

/* ---------- Luxury product grid ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products {
  clear: both !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 66px 28px !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products li.product {
  position: relative !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 0 22px !important;

  border: 0 !important;
  border-bottom: 1px solid var(--burnigan-shop-soft-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

/* Blocksy image wrapper */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product :is(
  .ct-media-container,
  .woocommerce-loop-product__link
) {
  border-radius: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .ct-media-container {
  position: relative !important;
  display: block !important;

  width: 100% !important;
  margin: 0 0 20px !important;

  overflow: hidden !important;
  background: #ecece8 !important;
}

/* Product image */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product img {
  display: block !important;

  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;

  margin: 0 0 20px !important;

  object-fit: cover !important;
  object-position: center !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: #ecece8 !important;

  transform: scale(1) !important;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease !important;
}

/* Avoid a duplicate margin when Blocksy provides an image wrapper */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .ct-media-container img {
  margin: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product:hover img {
  transform: scale(1.035) !important;
  filter: contrast(1.015) !important;
  opacity: 1 !important;
}

/* Sale badge */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .onsale {
  top: 14px !important;
  right: 14px !important;

  padding: 9px 11px !important;
  background: var(--burnigan-shop-ink) !important;
  color: #ffffff !important;

  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
}

/* Product title */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .woocommerce-loop-product__title {
  margin: 0 0 9px !important;
  padding: 0 !important;

  color: var(--burnigan-shop-ink) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.34 !important;
  letter-spacing: -0.018em !important;
  text-transform: uppercase !important;
}

/* Price */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 8px !important;

  margin: 0 0 18px !important;

  color: var(--burnigan-shop-ink) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* Add to cart / select options */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .button {
  width: 100% !important;
  min-height: 49px !important;

  margin: auto 0 0 !important;
  padding: 15px 18px !important;

  border: 1px solid var(--burnigan-shop-ink) !important;
  background: transparent !important;
  color: var(--burnigan-shop-ink) !important;

  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .button:hover,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .button:focus-visible {
  background: var(--burnigan-shop-ink) !important;
  color: #ffffff !important;
  transform: none !important;
}

/* View cart state */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products li.product a.added_to_cart {
  min-height: 49px !important;
  margin-top: 10px !important;

  border: 1px solid var(--burnigan-shop-ink) !important;
  background: var(--burnigan-shop-ink) !important;
  color: #ffffff !important;
}

/* ---------- Balanced low-inventory layouts ---------- */

@media (min-width: 901px) {
  @supports selector(ul:has(li)) {
    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:only-child) {
      grid-template-columns: minmax(0, 400px) !important;
      justify-content: start !important;
    }

    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:nth-child(2):last-child) {
      grid-template-columns: repeat(2, minmax(0, 400px)) !important;
      justify-content: start !important;
    }

    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:nth-child(3):last-child) {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      justify-content: stretch !important;
    }
  }
}

/* ---------- Editorial catalogue ending ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main > :is(.ct-container, .ct-container-full)::after {
  content: "BUILT FOR EVERYDAY EXPRESSION\A Burnigan combines graphic identity, oversized silhouettes and considered essentials.";
  white-space: pre-line !important;

  display: block !important;
  width: 100% !important;

  margin: 100px 0 0 !important;
  padding: 52px 0 0 !important;

  border-top: 1px solid var(--burnigan-shop-line) !important;

  color: var(--burnigan-shop-muted) !important;
  font-family: var(--burnigan-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.85 !important;
  letter-spacing: 0.01em !important;
}

/* ---------- Tablet ---------- */

@media (min-width: 701px) and (max-width: 1020px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding-top: 58px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding-top: 36px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 52px 24px !important;
  }

  @supports selector(ul:has(li)) {
    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:only-child) {
      grid-template-columns: minmax(0, 400px) !important;
    }
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 700px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding: 46px 16px 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  )
  .ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
    font-size: clamp(52px, 17vw, 72px) !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  )
  .ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
    margin: 18px 0 34px !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs ul {
    flex-wrap: nowrap !important;
    gap: 0 24px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs ul::-webkit-scrollbar {
    display: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs li {
    flex: 0 0 auto !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs a {
    min-height: 55px !important;
    font-size: 9px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding: 28px 16px 78px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-result-count {
    float: none !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    float: none !important;
    justify-content: space-between !important;

    width: 100% !important;
    margin: 0 0 24px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering select {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce::before {
    margin-bottom: 28px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    grid-template-columns: 1fr !important;
    gap: 46px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products li.product {
    padding-bottom: 20px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full)::after {
    margin-top: 70px !important;
    padding-top: 36px !important;
    font-size: 12px !important;
  }
}

/* ---------- Extra-small phones ---------- */

@media (max-width: 380px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding-right: 13px !important;
    padding-left: 13px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding-right: 13px !important;
    padding-left: 13px !important;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product img,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs a::after {
    transition: none !important;
  }
}

/* =========================================================
   23. REFINED LUXURY SHOP COMPOSITION — v19
   Keep this section LAST.

   Purpose:
   - Reduce excessive vertical margins
   - Create a tighter editorial hierarchy
   - Improve toolbar and product-card presentation
   - Preserve all cart, quantity, checkout and account fixes
   ========================================================= */

/* ---------- Narrower editorial canvas ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) {
  --burnigan-shop-max: 1180px !important;
}

/* ---------- Compact shop hero ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
  max-width: var(--burnigan-shop-max) !important;
  padding: 42px 20px 0 !important;
}

/* Reduce oversized SHOP heading */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
  position: static !important;
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: clamp(54px, 6.2vw, 80px) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.055em !important;

  opacity: 1 !important;
  visibility: visible !important;
}

/* Restore and tighten the editorial description */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
  position: static !important;
  display: block !important;

  width: min(100%, 560px) !important;
  height: auto !important;

  margin: 17px 0 30px !important;
  padding: 0 !important;

  font-size: 13px !important;
  line-height: 1.65 !important;

  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

/* Force category navigation to align with the title */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs :is(
  ul,
  .ct-tabs
) {
  justify-content: flex-start !important;
  gap: 0 30px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs a {
  min-height: 54px !important;
}

/* ---------- Compact archive content ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main > :is(.ct-container, .ct-container-full) {
  max-width: var(--burnigan-shop-max) !important;
  padding: 26px 20px 86px !important;
}

/* ---------- Premium catalogue toolbar ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-result-count {
  min-height: 44px !important;
  margin: 0 0 24px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering {
  min-height: 44px !important;
  margin: 0 0 24px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select {
  min-width: 188px !important;
  max-width: 225px !important;
  height: 44px !important;
  padding-right: 38px !important;

  border-color: rgba(8, 8, 8, 0.18) !important;
  background-color: #ffffff !important;
}

/* Slim divider before products */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce::before {
  margin: 0 0 26px !important;
}

/* ---------- Product section label ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products::before {
  content: "LATEST DROP" !important;

  grid-column: 1 / -1 !important;
  display: block !important;
  clear: none !important;

  width: 100% !important;
  height: auto !important;
  margin: 0 0 -8px !important;
  padding: 0 !important;

  color: #73736e !important;
  font-family: var(--burnigan-font) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products::after {
  display: none !important;
  content: none !important;
}

/* ---------- Refined product grid ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products {
  gap: 46px 24px !important;
}

/* Single-product catalogue should feel intentional, not empty */
@media (min-width: 901px) {
  @supports selector(ul:has(li)) {
    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:only-child) {
      grid-template-columns: minmax(0, 360px) !important;
      justify-content: start !important;
    }

    body:is(
      .woocommerce-shop,
      .post-type-archive-product,
      .tax-product_cat,
      .tax-product_tag
    ) ul.products:has(> li.product:nth-child(2):last-child) {
      grid-template-columns: repeat(2, minmax(0, 360px)) !important;
      justify-content: start !important;
    }
  }
}

/* Premium card treatment */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products li.product {
  padding: 0 !important;

  border: 1px solid rgba(8, 8, 8, 0.10) !important;
  background: #ffffff !important;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products li.product:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(8, 8, 8, 0.20) !important;
  box-shadow: 0 16px 38px rgba(8, 8, 8, 0.06) !important;
}

/* Remove duplicate image spacing and add a precise divider */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product :is(
  .ct-media-container,
  .woocommerce-loop-product__link
) {
  margin-bottom: 0 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product img {
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(8, 8, 8, 0.08) !important;
}

/* Product information spacing */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .woocommerce-loop-product__title {
  margin: 18px 18px 8px !important;
  font-size: 14px !important;
  line-height: 1.38 !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .price {
  margin: 0 18px 18px !important;
  font-size: 13px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) li.product .button {
  width: calc(100% - 36px) !important;
  margin: auto 18px 18px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products li.product a.added_to_cart {
  width: calc(100% - 36px) !important;
  margin: -8px 18px 18px !important;
}

/* ---------- Shorter editorial ending ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main > :is(.ct-container, .ct-container-full)::after {
  margin-top: 72px !important;
  padding-top: 38px !important;
}

/* ---------- Tablet ---------- */

@media (min-width: 701px) and (max-width: 1020px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding-top: 34px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding-top: 22px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    gap: 40px 20px !important;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 700px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding: 30px 14px 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  )
  .ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
    font-size: clamp(46px, 15vw, 62px) !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  )
  .ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
    margin: 14px 0 24px !important;
    font-size: 11px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs a {
    min-height: 48px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding: 20px 14px 64px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    margin-bottom: 18px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce::before {
    margin-bottom: 22px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    gap: 34px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .woocommerce-loop-product__title {
    margin: 16px 15px 7px !important;
    font-size: 13px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .price {
    margin: 0 15px 15px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .button {
    width: calc(100% - 30px) !important;
    margin: auto 15px 15px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full)::after {
    margin-top: 52px !important;
    padding-top: 30px !important;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products li.product {
    transition: none !important;
  }
}

/* =========================================================
   24. MOBILE SHOP TOOLBAR + LUXURY ARCHIVE POLISH — v20
   Keep this section LAST.

   Fixes:
   - Removes the broken symbol before "SORT BY"
   - Rebuilds mobile sorting as a premium compact control
   - Tightens mobile hierarchy and spacing
   - Refines product-card proportions on small screens
   - Preserves cart quantity, Cart Totals and checkout fixes
   ========================================================= */

/* ---------- Remove stray pseudo content around the toolbar ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering::after,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select::before,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select::after {
  display: none !important;
  content: none !important;
}

/* Make the label authoritative and clean */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering::before {
  content: "SORT BY" !important;
  display: inline-block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #6f6f6a !important;
  font-family: var(--burnigan-font) !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  background: transparent !important;
}

/* ---------- Desktop and tablet toolbar refinement ---------- */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select {
  appearance: none !important;
  -webkit-appearance: none !important;

  min-width: 190px !important;
  height: 46px !important;
  padding: 0 42px 0 15px !important;

  border: 1px solid rgba(8, 8, 8, 0.16) !important;
  border-radius: 0 !important;
  background-color: #ffffff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #080808 50%),
    linear-gradient(135deg, #080808 50%, transparent 50%) !important;
  background-position:
    calc(100% - 17px) 20px,
    calc(100% - 12px) 20px !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;

  color: #080808 !important;
  font-family: var(--burnigan-font) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1 !important;

  box-shadow: none !important;
  cursor: pointer !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select:hover,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select:focus {
  border-color: #080808 !important;
  outline: none !important;
}

/* ---------- Mobile luxury composition ---------- */

@media (max-width: 700px) {

  /* Tighter top composition */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding: 24px 16px 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  )
  .ct-shop-tabs > :is(.ct-container, .ct-container-full)::before {
    margin-bottom: 2px !important;
    font-size: clamp(48px, 14vw, 60px) !important;
    line-height: 0.92 !important;
  }

  /* Hide the long editorial sentence on mobile for a cleaner luxury look */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  )
  .ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
    display: none !important;
    content: none !important;
  }

  /* Compact category navigation */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs ul {
    margin-top: 28px !important;
    gap: 0 26px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs a {
    min-height: 46px !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }

  /* Main archive spacing */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding: 18px 16px 60px !important;
  }

  /* Hide product count on phones to avoid clutter */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-result-count {
    display: none !important;
  }

  /* Premium full-width sorting bar */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    position: relative !important;

    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 58px !important;

    float: none !important;
    margin: 0 0 26px !important;
    padding: 10px 12px !important;

    border: 1px solid rgba(8, 8, 8, 0.14) !important;
    background: #ffffff !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering::before {
    position: static !important;
    display: block !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #767671 !important;
    font-size: 8px !important;
    letter-spacing: 0.18em !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 36px 0 12px !important;

    border: 0 !important;
    border-left: 1px solid rgba(8, 8, 8, 0.10) !important;
    background-color: transparent !important;
    background-position:
      calc(100% - 14px) 16px,
      calc(100% - 9px) 16px !important;

    font-size: 12px !important;
    font-weight: 800 !important;
  }

  /* Remove the old divider that made the toolbar feel disconnected */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce::before {
    display: none !important;
    content: none !important;
  }

  /* Catalogue label */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products::before {
    margin: 0 0 -2px !important;
    font-size: 8px !important;
    letter-spacing: 0.19em !important;
  }

  /* More controlled single-column product card */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    gap: 28px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products li.product {
    border-color: rgba(8, 8, 8, 0.11) !important;
    box-shadow: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product img {
    aspect-ratio: 4 / 4.7 !important;
    object-position: center top !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .woocommerce-loop-product__title {
    margin: 15px 14px 6px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .price {
    margin: 0 14px 14px !important;
    font-size: 13px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) li.product .button {
    width: calc(100% - 28px) !important;
    min-height: 46px !important;
    margin: auto 14px 14px !important;
  }

  /* Tighter ending block */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full)::after {
    margin-top: 44px !important;
    padding-top: 26px !important;
  }
}

/* ---------- Extra-small phones ---------- */

@media (max-width: 380px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 11px 12px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering select {
    border-left: 0 !important;
    border-top: 1px solid rgba(8, 8, 8, 0.10) !important;
    padding-top: 4px !important;
  }
}

/* =========================================================
   25. MOBILE SORT ICON CLEANUP + TIGHTER SHOP SPACING — v21
   Keep this section LAST.

   Fixes:
   - Removes Blocksy's extra/broken sort icon on mobile
   - Keeps only the custom SORT BY label and dropdown arrow
   - Reduces the gap below the sorting toolbar
   - Reduces the gap between LATEST DROP and the product image
   - Preserves the working cart quantity picker
   ========================================================= */

@media (max-width: 700px) {

  /* ---------- Remove Blocksy/theme sort icons ---------- */

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering > :is(
    svg,
    i,
    .ct-icon,
    .ct-icon-container,
    .ct-sort-icon,
    .woocommerce-ordering-icon,
    [class*="sort-icon"],
    [class*="ordering-icon"]
  ) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering :is(
    svg,
    .ct-icon
  ) {
    display: none !important;
  }

  /* Ensure no inherited icon font is used on the SORT BY label */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering::before {
    content: "SORT BY" !important;
    font-family: var(--burnigan-font) !important;
    speak: none !important;
  }

  /* ---------- Force a clean vertical archive flow ---------- */

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    order: 1 !important;
    margin: 0 0 14px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    order: 2 !important;
    clear: none !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    row-gap: 18px !important;
  }

  /* Reduce space below LATEST DROP */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products::before {
    margin: 8px 0 4px !important;
    padding: 0 !important;
  }

  /* Prevent theme-generated clearance from creating blank space */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce::after,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products::after {
    display: none !important;
    content: none !important;
    clear: none !important;
  }

  /* Product starts directly below the catalogue label */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product:first-of-type {
    margin-top: 0 !important;
  }

  /* Slightly tighter toolbar dimensions */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    min-height: 54px !important;
    padding: 8px 11px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering select {
    height: 36px !important;
  }
}

/* Extra-small phones */
@media (max-width: 380px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    margin-bottom: 12px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products::before {
    margin-top: 6px !important;
  }
}

/* =========================================================
   36. BURNIGAN BLOCKSY HEADER + MOBILE MENU — CLEAN v2
   Keep this section LAST.

   Compatibility-first approach:
   - Blocksy controls layout, panel position and animation.
   - This section changes appearance only.
   - No forced fixed positioning, panel sizing or internal
     display overrides that can hide menu items.
   ========================================================= */

:root {
  --burnigan-header-bg: #ffffff;
  --burnigan-header-text: #080808;
  --burnigan-header-soft: #f4f4f1;
  --burnigan-header-border: rgba(8, 8, 8, 0.10);
  --burnigan-header-shadow: 0 10px 34px rgba(8, 8, 8, 0.08);
  --burnigan-header-transition: 220ms cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Shared header foundation ---------- */

header#header,
header.ct-header,
#header,
.ct-header {
  z-index: 9999;
  width: 100%;
}

header#header [data-row="middle"],
header.ct-header [data-row="middle"],
#header [data-row="middle"],
.ct-header [data-row="middle"] {
  min-height: 78px;
  border-bottom: 1px solid var(--burnigan-header-border);
  background: rgba(255, 255, 255, 0.97);
  transition:
    min-height var(--burnigan-header-transition),
    background-color var(--burnigan-header-transition),
    box-shadow var(--burnigan-header-transition);
}

header#header [data-row="middle"] > div,
header.ct-header [data-row="middle"] > div,
#header [data-row="middle"] > div,
.ct-header [data-row="middle"] > div {
  min-height: inherit;
}

header#header .ct-container,
header.ct-header .ct-container,
#header .ct-container,
.ct-header .ct-container {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(20px, 2.3vw, 38px);
}

/* Sticky state: retain Blocksy mechanics, add only the finish */
header#header [data-sticky*="yes"],
header.ct-header [data-sticky*="yes"],
#header [data-sticky*="yes"],
.ct-header [data-sticky*="yes"],
header#header .ct-sticky-container,
header.ct-header .ct-sticky-container,
#header .ct-sticky-container,
.ct-header .ct-sticky-container {
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.90) !important;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  box-shadow: var(--burnigan-header-shadow);
}

/* ---------- Logo ---------- */

header#header .site-logo-container,
header.ct-header .site-logo-container,
#header .site-logo-container,
.ct-header .site-logo-container {
  display: inline-flex;
  align-items: center;
}

header#header .site-logo-container img,
header.ct-header .site-logo-container img,
#header .site-logo-container img,
.ct-header .site-logo-container img {
  display: block;
  width: auto !important;
  max-width: 260px !important;
  max-height: 38px !important;
  object-fit: contain;
  transition: transform var(--burnigan-header-transition);
}

header#header .site-logo-container:hover img,
header.ct-header .site-logo-container:hover img,
#header .site-logo-container:hover img,
.ct-header .site-logo-container:hover img {
  transform: scale(1.012);
}

/* ---------- Desktop navigation ---------- */

@media (min-width: 1000px) {
  header#header .menu,
  header.ct-header .menu,
  #header .menu,
  .ct-header .menu {
    display: flex;
    align-items: center;
    gap: clamp(28px, 2.3vw, 44px);
  }

  header#header .menu > li,
  header.ct-header .menu > li,
  #header .menu > li,
  .ct-header .menu > li {
    position: relative;
  }

  header#header .menu > li > a,
  header.ct-header .menu > li > a,
  #header .menu > li > a,
  .ct-header .menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 !important;
    color: var(--burnigan-header-text) !important;
    font-family: var(--burnigan-font, Arial, Helvetica, sans-serif);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: 1;
    transition:
      color var(--burnigan-header-transition),
      opacity var(--burnigan-header-transition);
  }

  header#header .menu > li > a::after,
  header.ct-header .menu > li > a::after,
  #header .menu > li > a::after,
  .ct-header .menu > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--burnigan-header-transition);
  }

  header#header .menu > li:hover > a::after,
  header#header .menu > li.current-menu-item > a::after,
  header#header .menu > li.current-menu-ancestor > a::after,
  header.ct-header .menu > li:hover > a::after,
  header.ct-header .menu > li.current-menu-item > a::after,
  header.ct-header .menu > li.current-menu-ancestor > a::after,
  #header .menu > li:hover > a::after,
  #header .menu > li.current-menu-item > a::after,
  #header .menu > li.current-menu-ancestor > a::after,
  .ct-header .menu > li:hover > a::after,
  .ct-header .menu > li.current-menu-item > a::after,
  .ct-header .menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  header#header .menu > li > a:hover,
  header.ct-header .menu > li > a:hover,
  #header .menu > li > a:hover,
  .ct-header .menu > li > a:hover {
    color: var(--burnigan-header-text) !important;
    opacity: 0.62;
  }

  /* Dropdown appearance only; Blocksy keeps positioning/behavior */
  header#header .sub-menu,
  header.ct-header .sub-menu,
  #header .sub-menu,
  .ct-header .sub-menu {
    padding: 12px;
    border: 1px solid var(--burnigan-header-border);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--burnigan-header-shadow);
  }

  header#header .sub-menu a,
  header.ct-header .sub-menu a,
  #header .sub-menu a,
  .ct-header .sub-menu a {
    padding: 12px 14px;
    color: var(--burnigan-header-text) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
      padding-left var(--burnigan-header-transition),
      background-color var(--burnigan-header-transition);
  }

  header#header .sub-menu a:hover,
  header.ct-header .sub-menu a:hover,
  #header .sub-menu a:hover,
  .ct-header .sub-menu a:hover {
    padding-left: 18px;
    background: var(--burnigan-header-soft);
  }

  header#header [data-column="end"],
  header.ct-header [data-column="end"],
  #header [data-column="end"],
  .ct-header [data-column="end"] {
    gap: 7px;
  }
}

/* ---------- Header action icons ---------- */

header#header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
),
header.ct-header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
),
#header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
),
.ct-header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  color: var(--burnigan-header-text) !important;
  transition:
    background-color var(--burnigan-header-transition),
    transform var(--burnigan-header-transition);
}

header#header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
):hover,
header.ct-header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
):hover,
#header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
):hover,
.ct-header :is(
  .ct-header-search,
  .ct-account-item,
  .ct-cart-item,
  .ct-header-trigger
):hover {
  background: var(--burnigan-header-soft);
  transform: translateY(-1px);
}

header#header svg,
header.ct-header svg,
#header svg,
.ct-header svg {
  width: 21px;
  height: 21px;
}

/* ---------- Tablet/mobile header ---------- */

@media (max-width: 999.98px) {
  header#header [data-row="middle"],
  header.ct-header [data-row="middle"],
  #header [data-row="middle"],
  .ct-header [data-row="middle"] {
    min-height: 72px;
  }

  header#header .ct-container,
  header.ct-header .ct-container,
  #header .ct-container,
  .ct-header .ct-container {
    padding-inline: 18px;
  }

  header#header .site-logo-container img,
  header.ct-header .site-logo-container img,
  #header .site-logo-container img,
  .ct-header .site-logo-container img {
    max-width: 205px !important;
    max-height: 29px !important;
  }

  header#header [data-column="end"],
  header.ct-header [data-column="end"],
  #header [data-column="end"],
  .ct-header [data-column="end"] {
    gap: 3px;
  }

  header#header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ),
  header.ct-header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ),
  #header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ),
  .ct-header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ) {
    min-width: 40px;
    min-height: 40px;
    padding: 0;
  }
}

@media (max-width: 420px) {
  header#header .ct-container,
  header.ct-header .ct-container,
  #header .ct-container,
  .ct-header .ct-container {
    padding-inline: 14px;
  }

  header#header .site-logo-container img,
  header.ct-header .site-logo-container img,
  #header .site-logo-container img,
  .ct-header .site-logo-container img {
    max-width: 184px !important;
    max-height: 26px !important;
  }

  header#header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ),
  header.ct-header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ),
  #header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ),
  .ct-header :is(
    .ct-header-search,
    .ct-account-item,
    .ct-cart-item,
    .ct-header-trigger
  ) {
    min-width: 36px;
    min-height: 36px;
  }
}

/* ---------- Native Blocksy mobile menu intentionally unstyled ----------
   Burnigan Independent Mobile Navigation v5 supplies its own
   trigger, markup, panel, animation and accessibility behavior.
   Do not add #offcanvas or .ct-panel layout rules here.
--------------------------------------------------------- */

/* Search overlay */
#search-modal .ct-search-form,
.ct-search-form {
  max-width: 760px;
  margin-inline: auto;
}

#search-modal input[type="search"],
.ct-search-form input[type="search"] {
  min-height: 58px;
  padding-inline: 18px;
  border: 0;
  border-bottom: 1px solid var(--burnigan-header-text);
  border-radius: 0;
  background: transparent;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
}

/* Accessibility */
header#header :is(a, button):focus-visible,
header.ct-header :is(a, button):focus-visible,
#header :is(a, button):focus-visible,
.ct-header :is(a, button):focus-visible {
  outline: 2px solid var(--burnigan-header-text);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  header#header *,
  header.ct-header *,
  #header *,
  .ct-header * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   37. BURNIGAN PREMIUM HEADER REFINEMENT — v38
   Keep this section LAST.
   Refines desktop polish and narrows the mobile drawer.
   ========================================================= */

/* ---------- Desktop: stronger premium presence ---------- */
@media (min-width: 1000px) {
  header#header [data-row="middle"],
  header.ct-header [data-row="middle"],
  #header [data-row="middle"],
  .ct-header [data-row="middle"] {
    min-height: 84px !important;
    background: rgba(255,255,255,.98) !important;
  }

  header#header .ct-container,
  header.ct-header .ct-container,
  #header .ct-container,
  .ct-header .ct-container {
    max-width: 1480px !important;
    padding-inline: clamp(28px, 3vw, 54px) !important;
  }

  header#header .site-logo-container img,
  header.ct-header .site-logo-container img,
  #header .site-logo-container img,
  .ct-header .site-logo-container img {
    max-width: 285px !important;
    max-height: 42px !important;
  }

  header#header .menu,
  header.ct-header .menu,
  #header .menu,
  .ct-header .menu {
    gap: clamp(34px, 2.7vw, 52px) !important;
  }

  header#header .menu > li > a,
  header.ct-header .menu > li > a,
  #header .menu > li > a,
  .ct-header .menu > li > a {
    min-height: 52px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
  }

  header#header [data-column="end"],
  header.ct-header [data-column="end"],
  #header [data-column="end"],
  .ct-header [data-column="end"] {
    gap: 10px !important;
  }

  header#header :is(.ct-header-search,.ct-account-item,.ct-cart-item),
  header.ct-header :is(.ct-header-search,.ct-account-item,.ct-cart-item),
  #header :is(.ct-header-search,.ct-account-item,.ct-cart-item),
  .ct-header :is(.ct-header-search,.ct-account-item,.ct-cart-item) {
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid transparent;
  }

  header#header :is(.ct-header-search,.ct-account-item,.ct-cart-item):hover,
  header.ct-header :is(.ct-header-search,.ct-account-item,.ct-cart-item):hover,
  #header :is(.ct-header-search,.ct-account-item,.ct-cart-item):hover,
  .ct-header :is(.ct-header-search,.ct-account-item,.ct-cart-item):hover {
    border-color: rgba(8,8,8,.12);
    background: #fff !important;
  }
}

/* ---------- Sticky desktop: refined glass ---------- */
@media (min-width: 1000px) {
  header#header [data-sticky*="yes"],
  header.ct-header [data-sticky*="yes"],
  #header [data-sticky*="yes"],
  .ct-header [data-sticky*="yes"],
  header#header .ct-sticky-container,
  header.ct-header .ct-sticky-container,
  #header .ct-sticky-container,
  .ct-header .ct-sticky-container {
    background: rgba(255,255,255,.86) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    box-shadow: 0 14px 36px rgba(8,8,8,.09) !important;
  }
}

/* ---------- Mobile header proportions ---------- */
@media (max-width: 999.98px) {
  header#header [data-row="middle"],
  header.ct-header [data-row="middle"],
  #header [data-row="middle"],
  .ct-header [data-row="middle"] {
    min-height: 70px !important;
  }

  header#header .site-logo-container img,
  header.ct-header .site-logo-container img,
  #header .site-logo-container img,
  .ct-header .site-logo-container img {
    max-width: 190px !important;
    max-height: 27px !important;
  }
}

/* ---------- Mobile navigation ----------
   The mobile navigation is intentionally excluded from this
   stylesheet. Use only the independent v5 PHP navigation.
   ========================================================= */

/* =========================================================
   38. INDEPENDENT MOBILE NAVIGATION COMPATIBILITY — v41

   The master stylesheet contains no #offcanvas, .ct-panel,
   #menu-main-menu-1 or legacy .burnigan-mobile-nav rules.

   Mobile navigation is supplied exclusively by:
   Burnigan_Independent_Mobile_Navigation_Final_v5.php
   ========================================================= */

/* =========================================================
   39. SHOP ARCHIVE INTRO DISABLED — v41
   Keep this section at the absolute end.

   Removes the generated SHOP / COLLECTION heading and its
   editorial description while preserving the Blocksy category
   tabs, sorting control, catalogue label and product grid.
   ========================================================= */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::before,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
)
.ct-shop-tabs > :is(.ct-container, .ct-container-full)::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Disable the title fallback when Blocksy shop tabs are absent. */
@supports selector(body:has(.ct-shop-tabs)) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ):not(:has(.ct-shop-tabs))
  main#main > :is(.ct-container, .ct-container-full)::before {
    display: none !important;
    content: none !important;
  }
}

/* Pull the category navigation upward after removing the intro. */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
  padding-top: 26px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs ul,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .ct-shop-tabs .ct-tabs {
  margin-top: 0 !important;
}

@media (max-width: 700px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full) {
    padding-top: 0 !important;
  }
}
/*
BURNIGAN — MOBILE HEADER ACCOUNT / TRIGGER SPACING FIX
Paste at the absolute bottom of the master CSS.
Keeps Search, Cart and Account visible while reserving space for the independent trigger.
*/

@media (max-width: 999px) {

  /* Reserve a dedicated slot on the right for the custom hamburger */
  body.burnigan-independent-mobile-nav
  #header [data-row="middle"] .ct-container,
  body.burnigan-independent-mobile-nav
  #header [data-row="middle"] .ct-container-fluid,
  body.burnigan-independent-mobile-nav
  .site-header [data-row="middle"] .ct-container,
  body.burnigan-independent-mobile-nav
  .site-header [data-row="middle"] .ct-container-fluid {
    padding-right: 72px !important;
    box-sizing: border-box !important;
  }

  /* Keep the account item clear of the custom trigger */
  body.burnigan-independent-mobile-nav
  #header [data-id="account"],
  body.burnigan-independent-mobile-nav
  #header .ct-header-account,
  body.burnigan-independent-mobile-nav
  .site-header [data-id="account"],
  body.burnigan-independent-mobile-nav
  .site-header .ct-header-account {
    position: relative !important;
    z-index: 10 !important;
    margin-right: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Position the independent trigger inside the reserved right-side space */
  body.burnigan-independent-mobile-nav .burnigan-final-trigger {
    top: calc(env(safe-area-inset-top, 0px) + 15px) !important;
    right: 12px !important;
    width: 46px !important;
    height: 46px !important;
    box-shadow: none !important;
  }
}

/* Narrow phones */
@media (max-width: 380px) {
  body.burnigan-independent-mobile-nav
  #header [data-row="middle"] .ct-container,
  body.burnigan-independent-mobile-nav
  #header [data-row="middle"] .ct-container-fluid,
  body.burnigan-independent-mobile-nav
  .site-header [data-row="middle"] .ct-container,
  body.burnigan-independent-mobile-nav
  .site-header [data-row="middle"] .ct-container-fluid {
    padding-right: 64px !important;
  }

  body.burnigan-independent-mobile-nav .burnigan-final-trigger {
    right: 9px !important;
    width: 44px !important;
    height: 44px !important;
  }
}
/* ==========================================
   BURNIGAN — 2 PRODUCTS PER ROW ON MOBILE
   Blocksy + WooCommerce
========================================== */

@media (max-width: 767px) {

	.woocommerce ul.products[data-products],
	.woocommerce-page ul.products[data-products],
	ul.products[data-products] {
		--shop-columns: 2 !important;

		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 12px !important;
		row-gap: 24px !important;
	}

	.woocommerce ul.products[data-products] > li.product,
	.woocommerce-page ul.products[data-products] > li.product,
	ul.products[data-products] > li.product {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		float: none !important;
		clear: none !important;
	}

	/* Product image */
	ul.products[data-products] > li.product img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 3 / 4;
		object-fit: cover;
	}

	/* Product title */
	ul.products[data-products]
	> li.product
	.woocommerce-loop-product__title {
		display: -webkit-box;
		overflow: hidden;
		margin-top: 9px !important;
		font-size: 12px !important;
		line-height: 1.35 !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	/* Price */
	ul.products[data-products] > li.product .price {
		font-size: 13px !important;
	}

	/* Select options / Add to cart */
	ul.products[data-products] > li.product .button {
		width: 100% !important;
		min-height: 38px;
		padding: 8px 5px !important;
		font-size: 9px !important;
		white-space: normal !important;
	}
}

/* =========================================================
   46. PREMIUM SHOP ARCHIVE — v48
   Authoritative Shop / Category / Tag product-card system.
   ========================================================= */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) {
  --burnigan-shop-max: 1380px;
  --burnigan-shop-gap-x: 22px;
  --burnigan-shop-gap-y: 52px;
  --burnigan-shop-line: rgba(8, 8, 8, 0.13);
  --burnigan-shop-muted: #73736e;
  --burnigan-shop-card: #ffffff;
  background: #f4f4f1 !important;
}

/* Main archive canvas */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) main#main > :is(.ct-container, .ct-container-full) {
  width: calc(100% - 56px) !important;
  max-width: var(--burnigan-shop-max) !important;
  margin: 0 auto !important;
  padding: 52px 0 92px !important;
  box-sizing: border-box !important;
}

/* Compact control row */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-result-count {
  margin: 13px 0 28px !important;
  color: var(--burnigan-shop-muted) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering {
  margin: 0 0 28px !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) .woocommerce-ordering select {
  min-width: 220px !important;
  height: 46px !important;
  border: 1px solid var(--burnigan-shop-line) !important;
  background: var(--burnigan-shop-card) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Product grid */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products {
  clear: both !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--burnigan-shop-gap-y) var(--burnigan-shop-gap-x) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products::before,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products::after {
  display: none !important;
  content: none !important;
}

/* Product card */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

/* Image area */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product :is(
  .ct-media-container,
  figure,
  .woocommerce-loop-product__link
) {
  overflow: hidden !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  margin: 0 0 17px !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #e9e9e5 !important;
  transition:
    transform .42s ease,
    opacity .28s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product:hover img {
    transform: scale(1.018) !important;
    opacity: .96 !important;
  }
}

/* Titles */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 2.75em !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #080808 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.36 !important;
  letter-spacing: -.01em !important;
  text-transform: uppercase !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

/* Price */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .price {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 0 15px !important;
  color: #080808 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

/* Buttons aligned across cards */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product :is(.button, .added_to_cart) {
  width: 100% !important;
  min-height: 46px !important;
  margin-top: auto !important;
  padding: 13px 12px !important;
  border: 1px solid #080808 !important;
  background: #080808 !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product :is(.button, .added_to_cart):hover,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product :is(.button, .added_to_cart):focus-visible {
  background: transparent !important;
  color: #080808 !important;
}

/* Minimal sale badge */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .onsale {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  min-width: auto !important;
  min-height: auto !important;
  padding: 8px 10px !important;
  border: 0 !important;
  background: #080808 !important;
  color: #ffffff !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

/* Pagination */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) nav.woocommerce-pagination {
  margin-top: 64px !important;
}

/* Tablet */
@media (max-width: 1080px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) {
    --burnigan-shop-gap-x: 9px;
    --burnigan-shop-gap-y: 30px;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    width: 100% !important;
    max-width: none !important;
    padding: 30px 8px 60px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-result-count,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    width: 100% !important;
    float: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-result-count {
    margin: 0 0 13px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    margin: 0 0 24px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering select {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Two products per row */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product img {
    margin-bottom: 10px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .woocommerce-loop-product__title {
    min-height: 2.7em !important;
    margin-bottom: 5px !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .price {
    margin-bottom: 10px !important;
    font-size: 11px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product :is(.button, .added_to_cart) {
    min-height: 39px !important;
    padding: 10px 5px !important;
    font-size: 7.5px !important;
    letter-spacing: .10em !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .onsale {
    top: 7px !important;
    right: 7px !important;
    padding: 6px 7px !important;
    font-size: 7px !important;
  }
}

/* Very small phones */
@media (max-width: 370px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full) {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) {
    --burnigan-shop-gap-x: 7px;
  }
}

/* =========================================================
   47. PREMIUM PRODUCT CARDS — v49
   Secondary-image hover, cleaner actions, subtle motion.
   ========================================================= */

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product {
  overflow: visible !important;
  transform: translateY(0);
  transition: transform .24s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product:hover {
    transform: translateY(-3px);
  }
}

/* Secondary product image injected by the companion PHP snippet */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .burnigan-secondary-image {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition:
    opacity .34s ease,
    visibility 0s linear .34s !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .burnigan-secondary-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.01) !important;
  transition: transform .45s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product:hover .burnigan-secondary-image {
    opacity: 1 !important;
    visibility: visible !important;
    transition-delay: 0s !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product:hover .burnigan-secondary-image img {
    transform: scale(1.025) !important;
  }
}

/* Ensure card text stays above any visual overlay */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product :is(
  .woocommerce-loop-product__title,
  .price,
  .button,
  .added_to_cart
) {
  position: relative !important;
  z-index: 3 !important;
}

/* Refined product-card title and price motion */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .woocommerce-loop-product__title,
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .price {
  transition:
    color .2s ease,
    transform .2s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product:hover .woocommerce-loop-product__title {
    transform: translateY(-1px);
  }
}

/* Premium action treatment */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .button {
  position: relative !important;
  overflow: hidden !important;
}

body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .button::after {
  content: "→" !important;
  display: inline-block !important;
  margin-left: 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  transform: translateX(0);
  transition: transform .18s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .button:hover::after {
    transform: translateX(3px);
  }
}

/* New badge injected by PHP */
body:is(
  .woocommerce-shop,
  .post-type-archive-product,
  .tax-product_cat,
  .tax-product_tag
) ul.products > li.product .burnigan-new-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  background: rgba(255,255,255,.92) !important;
  color: #080808 !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

/* Mobile: no hover image swapping, calmer cards */
@media (max-width: 767px) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product {
    transform: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .burnigan-secondary-image {
    display: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .button::after {
    margin-left: 5px !important;
    font-size: 10px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product .burnigan-new-badge {
    top: 7px !important;
    left: 7px !important;
    min-height: 22px !important;
    padding: 5px 7px !important;
    font-size: 7px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products > li.product * {
    transition: none !important;
  }
}

/* =========================================================
   48. PREMIUM HEADER & NAVIGATION — v51
   Blocksy-focused desktop header, sticky state, nav motion,
   account/cart polish, and premium mobile drawer.
   ========================================================= */

:root {
  --burnigan-header-height: 78px;
  --burnigan-header-bg: rgba(255, 255, 255, .94);
  --burnigan-header-bg-solid: #ffffff;
  --burnigan-header-text: #080808;
  --burnigan-header-line: rgba(8, 8, 8, .10);
  --burnigan-header-shadow: 0 10px 30px rgba(0, 0, 0, .055);
  --burnigan-header-blur: 18px;
}

/* Main Blocksy header shell */
#header,
.ct-header {
  position: relative;
  z-index: 9990 !important;
}

#header [data-row],
.ct-header [data-row] {
  transition:
    background-color .24s ease,
    border-color .24s ease,
    box-shadow .24s ease,
    backdrop-filter .24s ease !important;
}

/* Desktop primary row */
@media (min-width: 1000px) {
  #header [data-device="desktop"] [data-row="middle"],
  .ct-header [data-device="desktop"] [data-row="middle"] {
    min-height: var(--burnigan-header-height) !important;
    border-bottom: 1px solid var(--burnigan-header-line) !important;
    background: var(--burnigan-header-bg) !important;
    backdrop-filter: blur(var(--burnigan-header-blur)) saturate(140%) !important;
    -webkit-backdrop-filter: blur(var(--burnigan-header-blur)) saturate(140%) !important;
  }

  body.burnigan-header-scrolled #header [data-device="desktop"] [data-row="middle"],
  body.burnigan-header-scrolled .ct-header [data-device="desktop"] [data-row="middle"] {
    background: var(--burnigan-header-bg-solid) !important;
    box-shadow: var(--burnigan-header-shadow) !important;
  }

  /* Wider, calmer header canvas */
  #header [data-device="desktop"] .ct-container,
  .ct-header [data-device="desktop"] .ct-container {
    width: calc(100% - 56px) !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
  }

  /* Brand/logo */
  #header [data-device="desktop"] .site-branding,
  .ct-header [data-device="desktop"] .site-branding {
    transition: transform .22s ease !important;
    transform-origin: left center !important;
  }

  body.burnigan-header-scrolled #header [data-device="desktop"] .site-branding,
  body.burnigan-header-scrolled .ct-header [data-device="desktop"] .site-branding {
    transform: scale(.96) !important;
  }

  #header [data-device="desktop"] .site-logo-container img,
  .ct-header [data-device="desktop"] .site-logo-container img {
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Primary navigation */
  #header [data-device="desktop"] .menu,
  .ct-header [data-device="desktop"] .menu {
    display: flex !important;
    align-items: center !important;
    gap: clamp(22px, 2vw, 34px) !important;
  }

  #header [data-device="desktop"] .menu > li,
  .ct-header [data-device="desktop"] .menu > li {
    position: relative !important;
  }

  #header [data-device="desktop"] .menu > li > a,
  .ct-header [data-device="desktop"] .menu > li > a {
    position: relative !important;
    min-height: 76px !important;
    padding: 0 !important;
    color: var(--burnigan-header-text) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 76px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    transition: opacity .18s ease !important;
  }

  #header [data-device="desktop"] .menu > li > a::after,
  .ct-header [data-device="desktop"] .menu > li > a::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 20px !important;
    left: 0 !important;
    height: 1px !important;
    background: currentColor !important;
    transform: scaleX(0) !important;
    transform-origin: right center !important;
    transition: transform .22s ease !important;
  }

  #header [data-device="desktop"] .menu > li:hover > a::after,
  #header [data-device="desktop"] .menu > li.current-menu-item > a::after,
  #header [data-device="desktop"] .menu > li.current-menu-ancestor > a::after,
  .ct-header [data-device="desktop"] .menu > li:hover > a::after,
  .ct-header [data-device="desktop"] .menu > li.current-menu-item > a::after,
  .ct-header [data-device="desktop"] .menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1) !important;
    transform-origin: left center !important;
  }

  /* Dropdown menus */
  #header [data-device="desktop"] .sub-menu,
  .ct-header [data-device="desktop"] .sub-menu {
    min-width: 230px !important;
    padding: 14px !important;
    border: 1px solid var(--burnigan-header-line) !important;
    background: #fff !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .09) !important;
  }

  #header [data-device="desktop"] .sub-menu a,
  .ct-header [data-device="desktop"] .sub-menu a {
    padding: 12px 14px !important;
    color: #080808 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  #header [data-device="desktop"] .sub-menu a:hover,
  .ct-header [data-device="desktop"] .sub-menu a:hover {
    background: #f3f3ef !important;
  }

  /* Right-side actions */
  #header [data-device="desktop"] :is(
    .ct-header-search,
    .ct-header-account,
    .ct-header-cart,
    .ct-header-wishlist
  ),
  .ct-header [data-device="desktop"] :is(
    .ct-header-search,
    .ct-header-account,
    .ct-header-cart,
    .ct-header-wishlist
  ) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    transition:
      background-color .18s ease,
      transform .18s ease !important;
  }

  #header [data-device="desktop"] :is(
    .ct-header-search,
    .ct-header-account,
    .ct-header-cart,
    .ct-header-wishlist
  ):hover,
  .ct-header [data-device="desktop"] :is(
    .ct-header-search,
    .ct-header-account,
    .ct-header-cart,
    .ct-header-wishlist
  ):hover {
    background: #f1f1ed !important;
    transform: translateY(-1px) !important;
  }

  /* Cart count */
  #header [data-device="desktop"] .ct-cart-item,
  .ct-header [data-device="desktop"] .ct-cart-item {
    position: relative !important;
  }

  #header [data-device="desktop"] .ct-cart-item-count,
  .ct-header [data-device="desktop"] .ct-cart-item-count {
    top: -7px !important;
    right: -9px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #080808 !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 14px !important;
  }
}

/* Homepage header: overlays hero while remaining readable */
@media (min-width: 1000px) {
  body.home:not(.burnigan-header-scrolled) #header,
  body.home:not(.burnigan-header-scrolled) .ct-header {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
  }

  body.home:not(.burnigan-header-scrolled) #header [data-device="desktop"] [data-row="middle"],
  body.home:not(.burnigan-header-scrolled) .ct-header [data-device="desktop"] [data-row="middle"] {
    border-bottom-color: rgba(255,255,255,.25) !important;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,.90),
      rgba(255,255,255,.72)
    ) !important;
  }
}

/* Mobile header */
@media (max-width: 999px) {
  #header [data-device="mobile"] [data-row="middle"],
  .ct-header [data-device="mobile"] [data-row="middle"] {
    min-height: 66px !important;
    border-bottom: 1px solid var(--burnigan-header-line) !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  }

  body.burnigan-header-scrolled #header [data-device="mobile"] [data-row="middle"],
  body.burnigan-header-scrolled .ct-header [data-device="mobile"] [data-row="middle"] {
    box-shadow: 0 8px 24px rgba(0,0,0,.055) !important;
  }

  #header [data-device="mobile"] .ct-container,
  .ct-header [data-device="mobile"] .ct-container {
    width: 100% !important;
    padding-inline: 16px !important;
  }

  #header [data-device="mobile"] .site-logo-container img,
  .ct-header [data-device="mobile"] .site-logo-container img {
    max-height: 34px !important;
  }

  #header [data-device="mobile"] :is(
    .ct-header-trigger,
    .ct-header-search,
    .ct-header-account,
    .ct-header-cart
  ),
  .ct-header [data-device="mobile"] :is(
    .ct-header-trigger,
    .ct-header-search,
    .ct-header-account,
    .ct-header-cart
  ) {
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
  }

  /* Premium mobile off-canvas */
  #offcanvas,
  .ct-panel {
    --side-panel-width: min(88vw, 390px) !important;
  }

  #offcanvas .ct-panel-content,
  .ct-panel .ct-panel-content {
    background: #fff !important;
  }

  #offcanvas .mobile-menu,
  .ct-panel .mobile-menu {
    padding: 28px 22px 36px !important;
  }

  #offcanvas .mobile-menu > li,
  .ct-panel .mobile-menu > li {
    border-bottom: 1px solid rgba(8,8,8,.09) !important;
  }

  #offcanvas .mobile-menu > li > a,
  .ct-panel .mobile-menu > li > a {
    min-height: 58px !important;
    padding: 0 !important;
    color: #080808 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 58px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  #offcanvas .sub-menu,
  .ct-panel .sub-menu {
    padding: 0 0 16px 14px !important;
  }

  #offcanvas .sub-menu a,
  .ct-panel .sub-menu a {
    padding: 9px 0 !important;
    color: #5e5e59 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
  }
}

/* Better keyboard focus */
#header a:focus-visible,
#header button:focus-visible,
.ct-header a:focus-visible,
.ct-header button:focus-visible,
#offcanvas a:focus-visible,
#offcanvas button:focus-visible {
  outline: 2px solid #080808 !important;
  outline-offset: 3px !important;
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  #header *,
  .ct-header *,
  #offcanvas * {
    transition: none !important;
  }
}

/* =========================================================
   BURNIGAN FOOTER V2
   Desktop: permanently expanded
   Mobile: compact accordion
   ========================================================= */


/* =========================================================
   RESET BLOCKSY FOOTER WRAPPERS
   ========================================================= */

footer.ct-footer,
footer.ct-footer [data-row],
footer.ct-footer [data-row] > div,
footer.ct-footer .ct-footer-row,
footer.ct-footer .ct-container,
footer.ct-footer .ct-footer-column,
footer.ct-footer .ct-widget,
footer.ct-footer .widget,
footer.ct-footer .widget-area,
footer.ct-footer .widget_text,
footer.ct-footer .textwidget {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

footer.ct-footer {
    overflow: hidden;
    background: #050505;
}

footer.ct-footer [data-row] {
    --container-spacing: 0px !important;
    --content-spacing: 0px !important;
}

footer.ct-footer .textwidget > p:empty,
footer.ct-footer .widget_text > p:empty {
    display: none !important;
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.burnigan-footer {
    width: 100%;
    margin: 0;
    padding: 28px clamp(28px, 6vw, 110px) 14px;
    box-sizing: border-box;
    background: #050505;
    color: #ffffff;
}

.burnigan-footer__content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(280px, 1.35fr)
        repeat(3, minmax(170px, 1fr));
    gap: clamp(45px, 7vw, 130px);
    align-items: start;
}


/* =========================================================
   BRAND
   ========================================================= */

.burnigan-footer__brand {
    min-width: 0;
    max-width: 360px;
}

.burnigan-footer__logo {
    display: inline-block;
    width: fit-content;
    margin: 0 0 10px;
    line-height: 0;
    text-decoration: none;
}

.burnigan-footer__logo-crop {
    position: relative;
    display: block;
    width: 245px;
    height: 45px;
    overflow: hidden;
}

.burnigan-footer__logo-crop img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 245px;
    max-width: none;
    height: 245px;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.burnigan-footer__brand p {
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   FOOTER SECTIONS — DESKTOP
   ========================================================= */

.burnigan-footer__section {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.burnigan-footer__toggle {
    display: block;
    width: 100%;
    margin: 0 0 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    appearance: none;
    cursor: default;
    pointer-events: none;
}

.burnigan-footer__toggle:hover,
.burnigan-footer__toggle:focus,
.burnigan-footer__toggle:active {
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.burnigan-footer__plus {
    display: none;
}

.burnigan-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.burnigan-footer__links a {
    display: block;
    width: fit-content;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.burnigan-footer__links a:hover {
    color: #ffffff;
    opacity: 0.72;
    transform: translateX(3px);
}


/* =========================================================
   LEGAL ROW
   ========================================================= */

.burnigan-footer__legal {
    width: 100%;
    max-width: 1600px;
    margin: 20px auto 0;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) and (min-width: 690px) {

    .burnigan-footer {
        padding: 24px 28px 12px;
    }

    .burnigan-footer__content {
        grid-template-columns:
            minmax(220px, 1.25fr)
            repeat(3, minmax(135px, 1fr));
        gap: 32px;
    }

    .burnigan-footer__logo-crop {
        width: 205px;
        height: 38px;
    }

    .burnigan-footer__logo-crop img {
        width: 205px;
        height: 205px;
    }

    .burnigan-footer__brand p {
        font-size: 13px;
    }

    .burnigan-footer__toggle {
        font-size: 10px;
    }

    .burnigan-footer__links a {
        font-size: 13px;
    }

    .burnigan-footer__legal {
        font-size: 9px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 689px) {

    footer.ct-footer {
        width: 100% !important;
        overflow: hidden !important;
        background: #050505 !important;
    }

    .burnigan-footer {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 22px 22px 12px !important;
        background: #050505 !important;
    }

    .burnigan-footer__content {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
    }


    /* Brand */

    .burnigan-footer__brand {
        width: 100%;
        max-width: none;
        margin: 0 0 17px;
    }

    .burnigan-footer__logo {
        margin-bottom: 8px;
    }

    .burnigan-footer__logo-crop {
        width: 185px;
        height: 34px;
    }

    .burnigan-footer__logo-crop img {
        width: 185px;
        height: 185px;
    }

    .burnigan-footer__brand p {
        max-width: 330px;
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
    }


    /* Accordion rows */

    .burnigan-footer__section {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.13);
    }

    .burnigan-footer__section:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .burnigan-footer__toggle {
        position: relative;
        display: flex;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 14px 36px 14px 0;
        align-items: center;
        justify-content: space-between;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.92);
        box-shadow: none;
        font-size: 11px;
        line-height: 1.3;
        letter-spacing: 0.2em;
        cursor: pointer;
        pointer-events: auto;
    }

    .burnigan-footer__toggle:hover,
    .burnigan-footer__toggle:focus,
    .burnigan-footer__toggle:active {
        background: transparent;
        color: #ffffff;
        box-shadow: none;
        outline: none;
    }


    /* Plus/minus icon */

    .burnigan-footer__plus {
        position: absolute;
        top: 50%;
        right: 1px;
        display: block;
        width: 17px;
        height: 17px;
        transform: translateY(-50%);
    }

    .burnigan-footer__plus::before,
    .burnigan-footer__plus::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 1.5px;
        background: rgba(255, 255, 255, 0.78);
        transition: transform 0.2s ease;
    }

    .burnigan-footer__plus::before {
        transform: translate(-50%, -50%);
    }

    .burnigan-footer__plus::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .burnigan-footer__section.is-open
    .burnigan-footer__plus::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }


    /* Closed by default */

    .burnigan-footer__links {
        display: none;
        width: 100%;
        gap: 0;
        padding: 0 0 12px;
    }

    .burnigan-footer__section.is-open
    .burnigan-footer__links {
        display: flex;
    }

    .burnigan-footer__links a {
        display: block;
        width: 100%;
        padding: 6px 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: 12px;
        font-weight: 550;
        line-height: 1.4;
    }

    .burnigan-footer__links a:hover {
        opacity: 0.72;
        transform: none;
    }


    /* Legal row */

    .burnigan-footer__legal {
        width: 100%;
        max-width: none;
        margin: 14px 0 0;
        padding: 10px 0 0;
        border-top: 0;
        display: block;
        text-align: center;
        font-size: 7px;
        line-height: 1.55;
        letter-spacing: 0.13em;
    }

    .burnigan-footer__legal span {
        display: block;
    }

    .burnigan-footer__legal span:last-child {
        margin-top: 2px;
    }
}


/* =========================================================
   100. GLOBAL PAGE SPACING SYSTEM — v1.1.5
   ---------------------------------------------------------
   Single source of truth for the vertical band between the
   Blocksy header and the first page component, and between the
   last component and the footer.

   This section replaces the two earlier, conflicting blocks
   (old "100. GLOBAL COMPACT PAGE RHYTHM" v1.1.2 and
   "101. FULL-BLEED PAGE HERO ALIGNMENT" v1.1.4). Those set the
   variable `--content-vertical-spacing`, which is NOT Blocksy's
   token — Blocksy uses `--theme-content-vertical-spacing` — so
   their variable resets never applied and the header/hero gap
   persisted on About / Contact / FAQ and on the mobile homepage.

   Strategy:
   1. Drive spacing through Blocksy's real container token
      `--theme-content-vertical-spacing` so we cooperate with the
      theme instead of fighting it. This alone removes the gap
      without depending on exact child nesting.
   2. Keep a small, resilient padding fallback on the content
      shell for pages where the token is not honoured.
   3. Scope everything to real Blocksy wrappers
      (main#main / .site-main / .ct-container[-full]) and to
      specific body classes — never the header or footer, never
      global element selectors.

   Keep this block LAST so it wins over legacy page modules
   without needing extra specificity escalation.
   ========================================================= */

:root {
  /* Compact page rhythm. Adjust these two (and the mobile pair
     below) to retune every page's top/bottom spacing at once. */
  --burnigan-page-top-space: 24px;
  --burnigan-page-bottom-space: 24px;
  --burnigan-page-top-space-mobile: 0px;
  --burnigan-page-bottom-space-mobile: 16px;
}

@media (max-width: 689px) {
  :root {
    --burnigan-page-top-space: var(--burnigan-page-top-space-mobile);
    --burnigan-page-bottom-space: var(--burnigan-page-bottom-space-mobile);
  }
}

/* ---------------------------------------------------------
   Homepage: hero sits flush directly beneath the header on
   every device. This removes the desktop band AND the small
   mobile strip between header and hero image.
   --------------------------------------------------------- */
body.home main#main,
body.home .site-main {
  /* Neutralise Blocksy's own top spacing token. */
  --theme-content-vertical-spacing: 0px;
}

body.home main#main > :is(.ct-container, .ct-container-full),
body.home .site-main > :is(.ct-container, .ct-container-full) {
  padding-top: 0 !important;
}

/* First rendered block on the homepage must not add its own top
   margin (covers a hero that is / is not the direct first child). */
body.home main#main .entry-content > :first-child,
body.home main#main > :is(.ct-container, .ct-container-full) > :first-child,
body.home .site-main > :is(.ct-container, .ct-container-full) > :first-child {
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   Standard content pages (About, Contact, FAQ, etc.):
   compact, consistent top/bottom spacing. Excludes the
   homepage and all WooCommerce pages, which are handled
   separately.
   --------------------------------------------------------- */
body.page:not(.home):not(.woocommerce-page) main#main,
body.page:not(.home):not(.woocommerce-page) .site-main {
  --theme-content-vertical-spacing: var(--burnigan-page-top-space);
}

body.page:not(.home):not(.woocommerce-page) main#main > :is(.ct-container, .ct-container-full),
body.page:not(.home):not(.woocommerce-page) .site-main > :is(.ct-container, .ct-container-full) {
  padding-top: var(--burnigan-page-top-space) !important;
  padding-bottom: var(--burnigan-page-bottom-space) !important;
}

/* A page whose first block is a full-bleed / designed hero should
   sit flush under the header. Opt in by adding the body class
   `burnigan-flush-hero` (Blocksy: Page > Content Type, or a body
   class field) — safer than force-zeroing every page. */
body.page.burnigan-flush-hero:not(.home) main#main,
body.page.burnigan-flush-hero:not(.home) .site-main {
  --theme-content-vertical-spacing: 0px;
}

body.page.burnigan-flush-hero:not(.home) main#main > :is(.ct-container, .ct-container-full),
body.page.burnigan-flush-hero:not(.home) .site-main > :is(.ct-container, .ct-container-full) {
  padding-top: 0 !important;
}

body.page.burnigan-flush-hero:not(.home) main#main .entry-content > :first-child,
body.page.burnigan-flush-hero:not(.home) main#main > :is(.ct-container, .ct-container-full) > :first-child,
body.page.burnigan-flush-hero:not(.home) .site-main > :is(.ct-container, .ct-container-full) > :first-child {
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   Shop / taxonomy archives: compact top/bottom shell, and the
   product grid ends close to the footer while keeping normal
   row spacing inside the grid. (Overrides the legacy 55px/90px
   archive shell.)
   --------------------------------------------------------- */
body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_tag)
main#main > :is(.ct-container, .ct-container-full) {
  padding-top: var(--burnigan-page-top-space) !important;
  padding-bottom: var(--burnigan-page-bottom-space) !important;
}

body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_tag)
ul.products,
body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_tag)
.woocommerce-pagination {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ---------------------------------------------------------
   Cart / Checkout: these pages keep their own finalized shells
   defined earlier (Sections 10–21). We only normalise the outer
   top/bottom band so it matches the rest of the site.
   --------------------------------------------------------- */
body.woocommerce-cart #main > :is(.ct-container, .ct-container-full),
body.woocommerce-checkout #main > :is(.ct-container, .ct-container-full) {
  padding-top: var(--burnigan-page-top-space) !important;
  padding-bottom: var(--burnigan-page-bottom-space) !important;
}

/* ---------------------------------------------------------
   My Account: portal grid controls its own inner spacing; we
   only set the outer band.
   --------------------------------------------------------- */
body.woocommerce-account #main .woocommerce {
  margin-top: var(--burnigan-page-top-space) !important;
  margin-bottom: var(--burnigan-page-bottom-space) !important;
}

/* ---------------------------------------------------------
   Trailing space: the last rendered block should not push extra
   margin against the footer. Applies to standard and Woo pages;
   never touches the footer element itself.
   --------------------------------------------------------- */
body:not(.home) main#main > :is(.ct-container, .ct-container-full) > :last-child,
body:not(.home) .site-main > :is(.ct-container, .ct-container-full) > :last-child,
body.woocommerce :is(.woocommerce, .entry-content) > :last-child,
body.woocommerce-page :is(.woocommerce, .entry-content) > :last-child {
  margin-bottom: 0 !important;
}

/* Footer stays flush with the page shell (unchanged behaviour). */
footer.ct-footer {
  margin-top: 0 !important;
}

/* =========================================================
   101. MOBILE HEADER + PAGE GAP CORRECTION — v1.1.6
   ---------------------------------------------------------
   Root cause fixed:
   Earlier header sections assigned a 70px minimum height to
   every Blocksy [data-row]. Empty top/bottom rows therefore
   rendered as blank bands below the visible mobile header.

   This final guard keeps only the middle row height, collapses
   unused row minimums, removes the residual mobile content
   offset, and tightens the shop tabs / sorting / product flow.
   ========================================================= */

@media (max-width: 999.98px) {
  /* Empty Blocksy header rows must not inherit the middle-row height. */
  #header [data-device="mobile"] [data-row]:not([data-row="middle"]),
  .ct-header [data-device="mobile"] [data-row]:not([data-row="middle"]),
  .site-header [data-device="mobile"] [data-row]:not([data-row="middle"]) {
    min-height: 0 !important;
  }

  #header [data-device="mobile"] [data-row]:not([data-row="middle"]) > div,
  .ct-header [data-device="mobile"] [data-row]:not([data-row="middle"]) > div,
  .site-header [data-device="mobile"] [data-row]:not([data-row="middle"]) > div {
    min-height: 0 !important;
  }

  /* No extra outer margin between the header and page shell. */
  body main#main,
  body .site-main {
    margin-top: 0 !important;
  }

  body main#main > :is(.ct-container, .ct-container-full, .ct-container-fluid),
  body .site-main > :is(.ct-container, .ct-container-full, .ct-container-fluid) {
    margin-top: 0 !important;
  }
}

@media (max-width: 700px) {
  /* Homepage and normal pages begin directly below the visible header. */
  body.home main#main,
  body.home .site-main,
  body.page:not(.woocommerce-page) main#main,
  body.page:not(.woocommerce-page) .site-main {
    padding-top: 0 !important;
  }

  body.home main#main > :is(.ct-container, .ct-container-full, .ct-container-fluid),
  body.home .site-main > :is(.ct-container, .ct-container-full, .ct-container-fluid),
  body.page:not(.woocommerce-page) main#main > :is(.ct-container, .ct-container-full, .ct-container-fluid),
  body.page:not(.woocommerce-page) .site-main > :is(.ct-container, .ct-container-full, .ct-container-fluid) {
    padding-top: 0 !important;
  }

  /* Shop: category tabs, toolbar and product grid form one compact flow. */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full, .ct-container-fluid) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main {
    margin: 0 !important;
    padding-top: 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full, .ct-container-fluid) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main .woocommerce {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 0 !important;
  }

  /* Remove legacy generated archive labels/dividers that reserve rows. */
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full, .ct-container-fluid)::before,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .ct-shop-tabs > :is(.ct-container, .ct-container-full, .ct-container-fluid)::after,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) main#main > :is(.ct-container, .ct-container-full, .ct-container-fluid)::before,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce::before,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products::before,
  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    clear: none !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) .woocommerce-ordering {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  body:is(
    .woocommerce-shop,
    .post-type-archive-product,
    .tax-product_cat,
    .tax-product_tag
  ) ul.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

