/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy, prepared for Northern Outfitters WooCommerce PDP customisations.
Author: Northern Outfitters
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/
/* Northern Outfitters Premium PDP */

.no-pdp {
  --no-navy: #111827;
  --no-muted: #6b7280;
  --no-border: #e5e1d8;
  --no-bg: #faf8f3;
  --no-white: #ffffff;
  --no-off-white: #f7f4ee;
  --no-button: #111111;

  color: var(--no-navy);
}

.no-pdp * {
  box-sizing: border-box;
}

.no-pdp a {
  color: inherit;
  text-decoration: none;
}

.no-pdp-breadcrumbs {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 32px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--no-muted);
}

.no-pdp-breadcrumbs a {
  color: var(--no-muted);
}

.no-pdp-hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 32px 56px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(360px, 440px);
  gap: 28px;
  align-items: start;
}

.no-pdp-thumbnails {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: none;
}

.no-pdp-thumbnails::-webkit-scrollbar {
  display: none;
}

.no-pdp-thumb {
  display: block;
  width: 72px;
  aspect-ratio: 3 / 4;
  background: var(--no-off-white);
  border: 1px solid transparent;
  overflow: hidden;
}

.no-pdp-thumb:hover,
.no-pdp-thumb:focus {
  border-color: var(--no-navy);
}

.no-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-pdp-images {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.no-pdp-image {
  margin: 0;
  background: var(--no-off-white);
  scroll-margin-top: 110px;
}

.no-pdp-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.no-pdp-summary {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 4px 0 0;
}

.no-pdp-brand {
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--no-navy);
}

.no-pdp-facts {
  margin: 0 0 18px;
  border-top: 1px solid var(--no-border);
  border-bottom: 1px solid var(--no-border);
}

.no-pdp-fact {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 14px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--no-border);
}

.no-pdp-fact:last-child {
  border-bottom: 0;
}

.no-pdp-fact span {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--no-muted);
}

.no-pdp-fact strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--no-navy);
}

.no-pdp-add-to-cart {
  margin: 0 0 22px;
}

.no-pdp-add-to-cart form.cart {
  margin: 0;
}

.no-pdp-add-to-cart .quantity {
  display: none !important;
}

.no-pdp-add-to-cart button.single_add_to_cart_button,
.no-pdp-add-to-cart .single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
  border-radius: 0;
  border: 1px solid var(--no-button);
  background: var(--no-button);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-add-to-cart button.single_add_to_cart_button:hover,
.no-pdp-add-to-cart .single_add_to_cart_button:hover {
  background: #333333;
  border-color: #333333;
}

.no-pdp-panel-content {
  border-top: 1px solid var(--no-border);
}

.no-pdp-panel-section {
  padding: 17px 0;
  border-bottom: 1px solid var(--no-border);
}

.no-pdp-panel-section h2 {
  margin: 0 0 9px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-panel-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--no-navy);
}

.no-pdp-panel-text p {
  margin: 0 0 10px;
}

.no-pdp-panel-text p:last-child {
  margin-bottom: 0;
}

.no-pdp-accordion {
  border-bottom: 1px solid var(--no-border);
  padding: 0;
}

.no-pdp-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.no-pdp-accordion summary::-webkit-details-marker {
  display: none;
}

.no-pdp-accordion summary::after {
  content: "+";
  font-size: 15px;
  font-weight: 400;
}

.no-pdp-accordion[open] summary::after {
  content: "\2212";
}

.no-pdp-accordion > div {
  padding: 0 0 17px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--no-navy);
}

.no-pdp-accordion p {
  margin: 0 0 10px;
}

.no-pdp-accordion p:last-child {
  margin-bottom: 0;
}

.no-pdp-lower {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 32px 54px;
}

.no-pdp-section {
  padding: 34px 0;
  border-top: 1px solid var(--no-border);
}

.no-pdp-section h2 {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-section h3 {
  margin: 20px 0 8px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-copy {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.75;
}

.no-pdp-copy p {
  margin: 0 0 14px;
}

.no-pdp-styling-note {
  margin-top: 18px;
  color: var(--no-muted);
}

.no-pdp-table {
  max-width: 760px;
  border-top: 1px solid var(--no-border);
}

.no-pdp-row {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--no-border);
}

.no-pdp-row span {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--no-muted);
}

.no-pdp-row strong {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--no-navy);
}

.no-pdp-condition-card {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.7;
}

.no-pdp-condition-card p {
  margin: 0 0 12px;
}

.no-pdp-condition-card a,
.no-pdp-accordion a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.no-pdp-related {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 32px 72px;
  border-top: 1px solid var(--no-border);
}

.no-pdp-related h2 {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.no-pdp-related-card {
  display: block;
}

.no-pdp-related-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  margin-bottom: 12px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.no-pdp-related-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  padding: 0;
  background: #ffffff;
}

@media (max-width: 760px) {
  .no-pdp-related-image img {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .no-pdp-related-image img {
    padding: 0;
  }
}

.no-pdp-related-brand {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-related-title {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.no-pdp-related-meta {
  font-size: 12px;
  line-height: 1.4;
  color: var(--no-muted);
  margin-bottom: 5px;
}

.no-pdp-related-price {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

/* Remove common WooCommerce clutter inside the custom PDP */
.no-pdp .product_meta,
.no-pdp .woocommerce-product-rating,
.no-pdp .onsale,
.no-pdp .tabs,
.no-pdp .woocommerce-tabs {
  display: none !important;
}

/* Mobile PDP */
@media (max-width: 899px) {
  .no-pdp-breadcrumbs {
    display: none;
  }

  .no-pdp-hero {
    display: flex;
    flex-direction: column;
    padding: 0 0 26px;
    gap: 0;
  }

  .no-pdp-thumbnails {
    display: none;
  }

  .no-pdp-images {
    order: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .no-pdp-images::-webkit-scrollbar {
    display: none;
  }

  .no-pdp-image {
    flex: 0 0 100%;
    align-self: flex-start;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    scroll-snap-align: start;
    background: var(--no-off-white);
  }

  .no-pdp-image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .no-pdp-summary {
    order: 2;
    position: static;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 0;
  }

  .no-pdp-brand {
    order: 4;
    margin: 18px 0 8px;
  }

  .no-pdp-title {
    order: 1;
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.12;
  }

  .no-pdp-add-to-cart {
    order: 2;
    position: sticky;
    bottom: 0;
    z-index: 50;
    margin: 0 -18px 14px;
    padding: 10px 18px;
    background: rgba(250, 248, 243, 0.96);
    border-top: 1px solid var(--no-border);
    border-bottom: 1px solid var(--no-border);
    backdrop-filter: blur(10px);
  }

  .no-pdp-add-to-cart button.single_add_to_cart_button,
  .no-pdp-add-to-cart .single_add_to_cart_button {
    min-height: 48px;
  }

  .no-pdp-facts {
    order: 5;
    margin: 0 0 16px;
  }

  .no-pdp-fact {
    grid-template-columns: 46% 54%;
    padding: 9px 0;
  }

  .no-pdp-panel-content {
    order: 6;
    display: flex;
    flex-direction: column;
  }

  .no-pdp-panel-description {
    order: 2;
  }

  .no-pdp-panel-content .no-pdp-accordion:nth-of-type(1) {
    order: 1;
  }

  .no-pdp-panel-content .no-pdp-accordion:nth-of-type(2) {
    order: 3;
  }

  .no-pdp-panel-content .no-pdp-accordion:nth-of-type(3) {
    order: 4;
  }

  .no-pdp-panel-section {
    padding: 16px 0;
  }

  .no-pdp-lower {
    padding: 0 18px 38px;
  }

  .no-pdp-section {
    padding: 28px 0;
  }

  .no-pdp-row {
    grid-template-columns: 46% 54%;
  }

  .no-pdp-related {
    padding: 28px 18px 54px;
  }

  .no-pdp-related-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .no-pdp-related-grid::-webkit-scrollbar {
    display: none;
  }

  .no-pdp-related-card {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .no-pdp-hero {
    grid-template-columns: 68px minmax(0, 1fr) minmax(320px, 380px);
    gap: 20px;
  }

  .no-pdp-title {
    font-size: 26px;
  }
}
/* Northern Outfitters PDP refinement patch */

/* Force product page out of narrow theme containers */
.single-product .site-main,
.single-product main,
.single-product article,
.single-product .entry-content,
.single-product .ct-container,
.single-product .ct-container-full,
.single-product .ct-content,
.single-product .product {
  width: 100%;
  max-width: none;
}

/* Wider, more retail product hero */
.single-product .no-pdp-hero {
  max-width: 1380px;
  grid-template-columns: 78px minmax(520px, 1fr) minmax(380px, 440px);
  gap: 34px;
}

/* Give the image column more presence */
.single-product .no-pdp-images {
  width: 100%;
  min-width: 0;
}

.single-product .no-pdp-image {
  background: #f3f4f2;
}

.single-product .no-pdp-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Keep the purchase panel tight and premium */
.single-product .no-pdp-summary {
  max-width: 440px;
}

.single-product .no-pdp-title {
  margin-bottom: 16px;
}

.single-product .no-pdp-facts {
  margin-bottom: 16px;
}

.single-product .no-pdp-fact {
  padding: 7px 0;
}

/* Remove WooCommerce residue */
.single-product .no-pdp-add-to-cart .stock,
.single-product .no-pdp-add-to-cart .woocommerce-variation-availability,
.single-product .no-pdp-add-to-cart .quantity {
  display: none !important;
}

/* Make Add to Cart feel less default WooCommerce */
.single-product .no-pdp-add-to-cart button.single_add_to_cart_button {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Improve desktop image/thumb alignment */
.single-product .no-pdp-thumbnails {
  top: 115px;
}

.single-product .no-pdp-summary {
  top: 115px;
}

/* Keep tablet from breaking */
@media (min-width: 900px) and (max-width: 1180px) {
  .single-product .no-pdp-hero {
    grid-template-columns: 70px minmax(420px, 1fr) minmax(340px, 390px);
    gap: 24px;
  }
}
/* Northern Outfitters PDP polish pass 1 */

.single-product .no-pdp-hero {
  padding-top: 12px;
  max-width: 1460px;
  grid-template-columns: 82px minmax(620px, 760px) minmax(390px, 440px);
  gap: 36px;
}

.single-product .no-pdp-image {
  background: #f1f3f2;
}

.single-product .no-pdp-title {
  font-size: 32px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.single-product .no-pdp-brand {
  margin-bottom: 12px;
}

.single-product .no-pdp-fact {
  padding: 8px 0;
}

.single-product .no-pdp-panel-section {
  padding-top: 18px;
}

.single-product .no-pdp-thumbnails {
  gap: 12px;
}

.single-product .no-pdp-thumb {
  width: 78px;
}
/* PDP top spacing refinement */
.single-product .no-pdp-hero {
  padding-top: 0;
}

.single-product .entry-content {
  margin-top: 0;
}

.single-product .ct-container {
  padding-top: 0;
}
/* Condition Photos inside PDP condition section */

.no-pdp-condition-photo-note {
  margin-top: 10px;
  color: var(--no-muted);
}

.no-pdp-condition-photos {
  margin: 28px 0 22px;
}

.no-pdp-condition-photos h3 {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.no-pdp-condition-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.no-pdp-condition-photo {
  margin: 0;
}

.no-pdp-condition-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: #f1f3f2;
}

.no-pdp-condition-photo figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--no-muted);
}

@media (max-width: 899px) {
  .no-pdp-condition-photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .no-pdp-condition-photos {
    margin-top: 24px;
  }
}
/* PDP accordion open and closed states */

.no-pdp details.no-pdp-accordion > summary::after {
  content: "+" !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.no-pdp details.no-pdp-accordion[open] > summary::after {
  content: "\2212" !important;
}
/* PDP lower section text consistency */

.no-pdp-section p,
.no-pdp-section li,
.no-pdp-condition-card p,
.no-pdp-condition-card li {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--no-navy);
}

.no-pdp-section h3,
.no-pdp-condition-card h3 {
  margin: 20px 0 10px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--no-navy);
}

.no-pdp-section a,
.no-pdp-condition-card a {
  font-size: 14px;
  line-height: 1.7;
}
/* PDP mobile refinement pass */

/* Mobile swipe indicators under image carousel */
.no-pdp-mobile-image-dots {
  display: none;
}

@media (max-width: 899px) {
  .no-pdp-mobile-image-dots {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px 4px;
  }

  .no-pdp-mobile-image-dots span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111827;
    opacity: 0.28;
  }

  .no-pdp-mobile-image-dots span:first-child {
    opacity: 0.8;
  }

  /* Fixed mobile Add to Cart without shaded wrapper */
  .single-product .no-pdp {
    padding-bottom: 86px;
  }

  .single-product .no-pdp-add-to-cart {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    margin: 0 !important;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom)) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .single-product .no-pdp-add-to-cart button.single_add_to_cart_button,
  .single-product .no-pdp-add-to-cart .single_add_to_cart_button {
    width: 100%;
    min-height: 52px;
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  /* Correct mobile panel order */
  .single-product .no-pdp-panel-description {
    order: 1 !important;
  }

  .single-product .no-pdp-panel-content .no-pdp-accordion:nth-of-type(1) {
    order: 2 !important;
  }

  .single-product .no-pdp-panel-content .no-pdp-accordion:nth-of-type(2) {
    order: 3 !important;
  }

  .single-product .no-pdp-panel-content .no-pdp-accordion:nth-of-type(3) {
    order: 4 !important;
  }

  /* Keep mobile copy consistent */
  .single-product .no-pdp-panel-text,
  .single-product .no-pdp-accordion > div,
  .single-product .no-pdp-section p,
  .single-product .no-pdp-condition-card p {
    font-size: 15px;
    line-height: 1.65;
  }

  .single-product .no-pdp-section a,
  .single-product .no-pdp-condition-card a,
  .single-product .no-pdp-accordion a {
    font-size: 15px;
    line-height: 1.65;
  }
}
/* Northern Outfitters PLP product cards */

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product.no-product-card,
.woocommerce-page ul.products li.product.no-product-card {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  list-style: none;
  text-align: left;
}

.no-product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.no-product-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f1f3f2;
  margin-bottom: 12px;
}

.no-product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.no-product-card-link:hover .no-product-card-image img {
  transform: scale(1.015);
}

.no-product-card-info {
  padding: 0;
}

.no-product-card-title {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  color: #111827;
}

.no-product-card-price {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: #111827;
}

.no-product-card-price del {
  color: #6b7280;
  margin-right: 4px;
}

.no-product-card-price ins {
  text-decoration: none;
}

/* Remove default WooCommerce product-card clutter */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  display: none !important;
}

/* Category/shop page spacing */
.woocommerce.archive ul.products,
.post-type-archive-product ul.products,
.tax-product_cat ul.products {
  margin-top: 28px;
}

/* Tablet */
@media (max-width: 1180px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 18px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }

  .no-product-card-image {
    margin-bottom: 9px;
  }

  .no-product-card-title {
    font-size: 12px;
    line-height: 1.35;
  }

  .no-product-card-price {
    font-size: 12px;
  }
}
/* PLP category header background cleanup */

.woocommerce.archive .woocommerce-products-header,
.post-type-archive-product .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header,
.woocommerce.archive .ct-page-title,
.post-type-archive-product .ct-page-title,
.tax-product_cat .ct-page-title,
.woocommerce.archive .hero-section,
.post-type-archive-product .hero-section,
.tax-product_cat .hero-section {
  background: #ffffff !important;
}

.woocommerce.archive .term-description,
.post-type-archive-product .term-description,
.tax-product_cat .term-description {
  background: transparent !important;
}
/* Northern Outfitters mobile PLP refinement */

@media (max-width: 767px) {

  /* Remove oversized mobile category hero spacing */
  .woocommerce.archive .hero-section,
  .post-type-archive-product .hero-section,
  .tax-product_cat .hero-section,
  .woocommerce.archive .woocommerce-products-header,
  .post-type-archive-product .woocommerce-products-header,
  .tax-product_cat .woocommerce-products-header,
  .woocommerce.archive .ct-page-title,
  .post-type-archive-product .ct-page-title,
  .tax-product_cat .ct-page-title {
    min-height: 0 !important;
    padding: 34px 22px 22px !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  /* Category title */
  .woocommerce.archive .page-title,
  .post-type-archive-product .page-title,
  .tax-product_cat .page-title,
  .woocommerce.archive .woocommerce-products-header__title,
  .post-type-archive-product .woocommerce-products-header__title,
  .tax-product_cat .woocommerce-products-header__title {
    margin: 0 0 12px !important;
    font-size: 34px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
  }

  /* Force category intro text to show on mobile */
  .woocommerce.archive .term-description,
  .post-type-archive-product .term-description,
  .tax-product_cat .term-description {
    display: block !important;
    visibility: visible !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  .woocommerce.archive .term-description p,
  .post-type-archive-product .term-description p,
  .tax-product_cat .term-description p {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #334155 !important;
  }

  /* Tighten shop/category container */
  .woocommerce.archive .ct-container,
  .post-type-archive-product .ct-container,
  .tax-product_cat .ct-container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Sort row closer to category intro */
  .woocommerce.archive .woocommerce-ordering,
  .post-type-archive-product .woocommerce-ordering,
  .tax-product_cat .woocommerce-ordering {
    float: none !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin: 18px 0 18px !important;
  }

  .woocommerce.archive .woocommerce-ordering select,
  .post-type-archive-product .woocommerce-ordering select,
  .tax-product_cat .woocommerce-ordering select {
    min-height: 38px !important;
    font-size: 13px !important;
  }

  /* Pull product grid up */
  .woocommerce.archive ul.products,
  .post-type-archive-product ul.products,
  .tax-product_cat ul.products {
    margin-top: 0 !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 14px !important;
  }

  /* Make mobile product images use full card width */
  .woocommerce ul.products li.product.no-product-card,
  .woocommerce-page ul.products li.product.no-product-card {
    width: 100% !important;
    max-width: none !important;
  }

  .no-product-card-image {
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    margin-bottom: 10px !important;
  }

  .no-product-card-title {
      /* Northern Outfitters controlled PLP layout */

.no-plp {
  width: 100%;
  background: #ffffff;
  color: #111827;
}

.no-plp-header {
  padding: 70px 24px 42px;
  background: #ffffff;
  text-align: center;
}

.no-plp-header-inner {
  max-width: 760px;
  margin: 0 auto;
}

.no-plp-header h1 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
}

.no-plp-intro {
  max-width: 680px;
  margin: 0 auto;
}

.no-plp-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

.no-plp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 24px;
}

.no-plp-count p,
.no-plp-count .woocommerce-result-count {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.no-plp-sort .woocommerce-ordering {
  margin: 0;
}

.no-plp-sort select {
  min-height: 40px;
  min-width: 190px;
  border: 1px solid #d8dedc;
  background: #ffffff;
  font-size: 13px;
  color: #334155;
}

.no-plp-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* Controlled product grid */
.no-plp ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 38px 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.no-plp ul.products::before,
.no-plp ul.products::after {
  display: none !important;
}

.no-plp ul.products li.product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  text-align: left !important;
}

.no-plp .no-product-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 12px;
  background: #f1f3f2;
  overflow: hidden;
}

.no-plp .no-product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-plp .no-product-card-title {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: #111827;
}

.no-plp .no-product-card-price {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  color: #111827;
}

/* Tablet */
@media (max-width: 1100px) {
  .no-plp ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .no-plp-header {
    padding: 34px 20px 20px !important;
    text-align: center;
  }

  .no-plp-header-inner {
    max-width: 100%;
    margin: 0 auto;
  }

  .no-plp-header h1 {
    margin: 0 0 14px;
    font-size: clamp(40px, 10vw, 56px);
    line-height: 1.04;
    text-align: center;
  }

  .no-plp-intro {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
  }

  .no-plp-intro p {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
  }

  .no-plp-toolbar {
    display: flex;
    justify-content: center;
    padding: 8px 20px 20px !important;
  }

  .no-plp-count {
    display: none;
  }

  .no-plp-sort {
    width: 100%;
  }

  .no-plp-sort .woocommerce-ordering {
    width: 100%;
  }

  .no-plp-sort select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 14px;
  }

  .no-plp-grid-wrap {
    padding: 0 20px 56px !important;
  }

  .no-plp ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 16px !important;
  }

  .no-plp .no-product-card-image {
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
  }

  .no-plp .no-product-card-title {
    font-size: 13px;
    line-height: 1.35;
    margin: 0 0 6px;
  }

  .no-plp .no-product-card-price {
    font-size: 13px;
    line-height: 1.35;
  }
}
/* Mobile PLP */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .no-plp {
    width: 100%;
    overflow-x: hidden;
  }

  .no-plp-header {
    padding: 32px 22px 20px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .no-plp-header-inner {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .no-plp-header h1 {
    display: block !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 12px !important;
    padding: 0 !important;
    font-size: 36px !important;
    line-height: 1.08 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    color: #111827 !important;
    white-space: normal !important;
  }

  .no-plp-intro {
    display: block !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .no-plp-intro p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: #334155 !important;
    text-align: center !important;
  }

  .no-plp-toolbar {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 22px 22px !important;
    margin: 0 auto !important;
  }

  .no-plp-count {
    display: none !important;
  }

  .no-plp-sort {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }

  .no-plp-sort .woocommerce-ordering {
    width: 100% !important;
    margin: 0 !important;
  }

  .no-plp-sort select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    font-size: 13px !important;
  }

  .no-plp-grid-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 18px 56px !important;
    margin: 0 auto !important;
  }

  .no-plp ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .no-plp ul.products li.product {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .no-plp .no-product-card-image {
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    margin-bottom: 10px !important;
  }

  .no-plp .no-product-card-title {
    margin: 0 0 5px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
  }

  .no-plp .no-product-card-price {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
  }
}
/* Desktop PLP layout restore */

@media (min-width: 768px) {
  body .no-plp {
    width: 100% !important;
    background: #ffffff !important;
  }

  body .no-plp .no-plp-header {
    padding: 72px 24px 44px !important;
    margin: 0 !important;
    background: #ffffff !important;
    text-align: center !important;
  }

  body .no-plp .no-plp-header-inner {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body .no-plp .no-plp-header h1 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    color: #111827 !important;
  }

  body .no-plp .no-plp-intro {
    max-width: 680px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body .no-plp .no-plp-intro p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    text-align: center !important;
  }

  body .no-plp .no-plp-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 28px 32px 28px !important;
  }

  body .no-plp .no-plp-count {
    display: none !important;
  }

  body .no-plp .no-plp-sort {
    width: auto !important;
    margin-left: auto !important;
  }

  body .no-plp .no-plp-sort .woocommerce-ordering {
    width: auto !important;
    margin: 0 !important;
  }

  body .no-plp .no-plp-sort select {
    width: 190px !important;
    min-width: 190px !important;
    min-height: 40px !important;
    font-size: 13px !important;
  }

  body .no-plp .no-plp-grid-wrap {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 32px 90px !important;
  }

  body .no-plp ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 38px 22px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .no-plp ul.products li.product {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
  }

  body .no-plp .no-product-card-image {
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    margin-bottom: 12px !important;
  }

  body .no-plp .no-product-card-title {
    margin: 0 0 6px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
  }

  body .no-plp .no-product-card-price {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
  }
}
/* Northern Outfitters footer visibility override */

/* Blocksy default footer */
.ct-footer,
.site-footer,
footer {
  background: #ffffff !important;
  color: #111111 !important;
}

.ct-footer *,
.site-footer *,
footer * {
  color: #111111 !important;
}

.ct-footer a,
.site-footer a,
footer a {
  color: #111111 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

.ct-footer a:hover,
.site-footer a:hover,
footer a:hover {
  color: #000000 !important;
  opacity: 1 !important;
}

.ct-footer p,
.site-footer p,
footer p {
  color: #222222 !important;
  opacity: 1 !important;
}

.ct-footer .widget-title,
.ct-footer h1,
.ct-footer h2,
.ct-footer h3,
.ct-footer h4,
.ct-footer h5,
.ct-footer h6,
.site-footer .widget-title,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
footer .widget-title,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: #111111 !important;
  opacity: 1 !important;
}

/* Our custom footer, if active */
#no-site-footer,
.no-custom-footer {
  background: #ffffff !important;
  color: #111111 !important;
  border-top: 1px solid #e7e3dc !important;
}

#no-site-footer *,
.no-custom-footer * {
  color: #111111 !important;
  opacity: 1 !important;
}

#no-site-footer p,
.no-custom-footer p {
  color: #222222 !important;
}

#no-site-footer a,
.no-custom-footer a {
  color: #111111 !important;
  opacity: 1 !important;
}
/* Northern Outfitters footer mobile/global fix */

#no-site-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 56px 0 28px !important;
  background: #101820 !important;
  color: #ffffff !important;
  border: 0 !important;
}

#no-site-footer,
#no-site-footer * {
  box-sizing: border-box;
}

#no-site-footer .no-site-footer-inner,
#no-site-footer .no-footer-inner,
#no-site-footer .footer-inner {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: grid !important;
  grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
  gap: 48px !important;
}

#no-site-footer h2,
#no-site-footer h3,
#no-site-footer h4,
#no-site-footer p,
#no-site-footer a,
#no-site-footer li,
#no-site-footer span {
  color: #ffffff !important;
}

#no-site-footer h2,
#no-site-footer h3,
#no-site-footer h4 {
  margin: 0 0 18px !important;
}

#no-site-footer h3,
#no-site-footer h4,
#no-site-footer .no-footer-heading {
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

#no-site-footer p {
  margin: 0 !important;
  max-width: 320px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

#no-site-footer ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#no-site-footer li {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

#no-site-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

#no-site-footer a:hover {
  color: #ffffff !important;
}

#no-site-footer .no-footer-brand-title,
#no-site-footer .footer-brand-title,
#no-site-footer strong {
  display: block !important;
  margin-bottom: 14px !important;
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

#no-site-footer .no-footer-bottom,
#no-site-footer .footer-bottom,
#no-site-footer small {
  display: block !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 42px auto 0 !important;
  padding: 24px 24px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

/* Mobile footer */

@media (max-width: 760px) {
  #no-site-footer {
    padding: 44px 0 26px !important;
  }

  #no-site-footer .no-site-footer-inner,
  #no-site-footer .no-footer-inner,
  #no-site-footer .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    padding: 0 22px !important;
  }

  #no-site-footer p {
    max-width: 100% !important;
  }

  #no-site-footer li {
    margin-bottom: 11px !important;
  }

  #no-site-footer a {
    font-size: 15px !important;
  }

  #no-site-footer .no-footer-bottom,
  #no-site-footer .footer-bottom,
  #no-site-footer small {
    margin-top: 34px !important;
    padding: 22px 22px 0 !important;
  }
}
/* Hide old/default footer copyright so only the custom footer shows */

footer.ct-footer,
.ct-footer,
[data-footer*="type-1"],
[data-footer*="type-2"],
.ct-footer-copyright,
.site-footer,
.footer-copyright {
  display: none !important;
}

#no-site-footer {
  display: block !important;
}
/* Hide express payment buttons on mobile product pages */
@media (max-width: 768px) {
  body.single-product .wcpay-express-checkout-wrapper,
  body.single-product .wcpay-payment-request-wrapper,
  body.single-product .wc-stripe-payment-request-wrapper,
  body.single-product #wc-stripe-payment-request-wrapper,
  body.single-product .wc-stripe-payment-request-button,
  body.single-product .wc-stripe-payment-request-button-separator,
  body.single-product #wc-stripe-payment-request-button-separator,
  body.single-product .stripe-payment-request-button,
  body.single-product .payment-request-button,
  body.single-product .woocommerce_payments_payment_request_button,
  body.single-product .wc-block-components-express-payment,
  body.single-product .wc-block-components-express-payment__event-buttons {
    display: none !important;
  }
}
/* Mobile PDP: keep sticky Add to Cart, hide express payment buttons below it */
@media (max-width: 768px) {
  body.single-product form.cart .single_add_to_cart_button ~ * {
    display: none !important;
  }
/* =========================================================
   HOMEPAGE PRODUCT CARDS â€” MATCH CORRECTED SHOP GRID
   ========================================================= */

body .no-home-new > .no-home-inner {
  max-width: 1280px !important;
}

body .no-home-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 38px 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: stretch !important;
}

body .no-home-products ul.products::before,
body .no-home-products ul.products::after {
  display: none !important;
}

body .no-home-products ul.products li.product {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  background: transparent !important;
  text-align: left !important;
  list-style: none !important;
}

body .no-home-products .no-product-card-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* Square image box: full garment visible without cropping */
body .no-home-products .no-product-card-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

body .no-home-products .no-product-card-image img,
body .no-home-products .no-product-card-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Keep titles and prices aligned */
body .no-home-products .no-product-card-info {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  padding: 0 !important;
}

body .no-home-products .no-product-card-title {
  margin: 14px 0 8px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #111827 !important;
}

body .no-home-products .no-product-card-price {
  margin-top: auto !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: #111827 !important;
}

/* Mobile */
@media (max-width: 899px) {
  body .no-home-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 14px !important;
  }

  body .no-home-products .no-product-card-image {
    aspect-ratio: 1 / 1 !important;
  }

  body .no-home-products .no-product-card-title {
    margin: 10px 0 6px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body .no-home-products .no-product-card-price {
    font-size: 13px !important;
  }
}