/*
Theme Name: Battle Panda Outdoor
Theme URI: https://example.test/battle-panda-outdoor
Description: A focused outdoor apparel child theme for WooCommerce Storefront.
Author: Battle Panda Outdoor
Template: storefront
Version: 1.0.0
Text Domain: battle-panda-outdoor
*/

:root {
  --bp-ink: #161616;
  --bp-charcoal: #242625;
  --bp-muted: #686f6c;
  --bp-line: #e4e2dc;
  --bp-paper: #f6f4ef;
  --bp-mist: #ecefea;
  --bp-sage: #66725e;
  --bp-sky: #6e8791;
  --bp-red: #e0322d;
  --bp-red-dark: #bc211e;
  --bp-white: #fff;
  --bp-radius: 8px;
  --bp-shadow: 0 18px 48px rgba(18, 20, 20, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bp-paper);
  color: var(--bp-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--bp-ink);
}

a:hover {
  color: var(--bp-red);
}

.col-full {
  max-width: 1240px;
}

.bp-topbar {
  background: var(--bp-ink);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
}

.bp-topbar .col-full {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.bp-topbar a {
  color: #fff;
}

.site-header {
  padding: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--bp-line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(28, 28, 28, .04);
}

.home.blog .site-header,
.home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header,
.no-wc-breadcrumb .site-header {
  margin-bottom: 0;
}

.site-header > .col-full {
  display: flex;
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
  align-items: center;
  gap: 16px;
}

.site-header .site-branding,
.woocommerce-active .site-header .site-branding {
  width: auto;
  margin: 0;
  float: none;
  clear: none;
  flex: 0 0 auto;
}

.site-header .site-branding img.custom-logo {
  width: auto !important;
  max-width: 86px !important;
  max-height: 66px !important;
  object-fit: contain;
}

.bp-brand-copy {
  display: flex;
  flex: 0 1 230px;
  min-width: 188px;
  flex-direction: column;
  gap: 3px;
}

.bp-brand-copy strong {
  color: var(--bp-ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.bp-brand-copy span {
  color: var(--bp-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header .site-search,
.woocommerce-active .site-header .site-search {
  width: auto;
  flex: 0 1 340px;
  float: none;
  clear: none;
  margin: 0 0 0 auto;
}

.site-search .widget_product_search form,
.woocommerce-product-search {
  display: flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--bp-line);
  background: #f9f8f4;
}

.site-search .search-field {
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}

.site-search button {
  height: 40px;
  padding: 0 16px;
  border-radius: 0;
  background: var(--bp-ink);
  color: var(--bp-white);
  font-weight: 700;
}

.bp-header-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--bp-ink);
  color: var(--bp-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.bp-header-account-link:hover {
  border-color: var(--bp-red);
  background: var(--bp-red);
  color: var(--bp-white);
}

.storefront-primary-navigation {
  margin-top: 0;
  background: var(--bp-ink);
}

.storefront-primary-navigation .col-full {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.storefront-primary-navigation .main-navigation {
  width: auto;
  margin: 0;
  flex: 1 1 auto;
}

.storefront-primary-navigation .primary-navigation ul.menu {
  display: flex;
  flex-wrap: wrap;
}

.storefront-primary-navigation .bp-header-account-link {
  align-self: center;
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}

.storefront-primary-navigation .bp-header-account-link:hover {
  border-color: var(--bp-red);
}

.site-header-cart,
.woocommerce-active .site-header .site-header-cart {
  width: auto;
  margin: 0;
  float: none;
  flex: 0 0 auto;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 15px 13px;
  color: #f6f4ef;
  font-size: 13px;
  font-weight: 800;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a {
  color: #fff;
  background: rgba(224, 50, 45, .9);
}

.site-header-cart .cart-contents {
  display: flex;
  min-width: 122px;
  padding: 15px 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  text-align: right;
}

.site-header-cart .cart-contents::after {
  margin-left: 8px;
}

.site-header-cart .cart-contents:hover {
  color: #fff;
}

.site-main,
.content-area {
  margin-bottom: 0;
}

.site-content {
  padding-top: 0;
}

.page-template-default .entry-header,
.home .entry-header {
  display: none;
}

.home .site-main,
.home .entry-content {
  margin: 0;
}

.home .site-content > .col-full {
  max-width: none;
  padding: 0;
}

.home .entry-content > .bp-home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bp-paper);
}

.bp-home {
  color: var(--bp-ink);
}

.bp-home a {
  text-decoration: none;
}

.bp-hero {
  position: relative;
  display: flex;
  min-height: clamp(500px, calc(100vh - 250px), 650px);
  padding: clamp(56px, 7vw, 96px) max(6vw, calc((100vw - 1240px) / 2));
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--bp-charcoal);
  background-size: cover;
  background-position: center;
  color: var(--bp-white);
}

.bp-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .22) 58%, rgba(0, 0, 0, .08));
}

.bp-hero-copy {
  position: relative;
  max-width: 720px;
}

.bp-eyebrow {
  margin: 0 0 14px;
  color: var(--bp-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-hero .bp-eyebrow {
  color: #fff;
}

.bp-hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--bp-white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.bp-hero p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
  line-height: 1.55;
}

.bp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bp-button,
.bp-home .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.single_add_to_cart_button.button {
  min-height: 44px;
  padding: 13px 22px;
  border: 0;
  border-radius: 0;
  background: var(--bp-red);
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.bp-button:hover,
.bp-home .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button.button:hover {
  background: var(--bp-red-dark);
  color: #fff;
}

.bp-button-secondary {
  border: 1px solid rgba(255, 255, 255, .72);
  background: transparent;
  color: #fff;
}

.bp-button-secondary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--bp-ink);
}

.bp-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--bp-line);
  background: var(--bp-ink);
}

.bp-trust > div {
  min-height: 98px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.bp-trust strong,
.bp-trust span {
  display: block;
}

.bp-trust strong {
  font-size: 16px;
}

.bp-trust span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.bp-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 24px 0;
}

.bp-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 28px;
}

.bp-section h2 {
  max-width: 680px;
  margin: 0;
  color: var(--bp-ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
}

.bp-section-lede {
  max-width: 430px;
  margin: 0;
  color: var(--bp-muted);
  font-size: 16px;
  line-height: 1.65;
}

.bp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bp-cat-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--bp-charcoal);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.bp-cat-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .74));
}

.bp-cat-card > span {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 1;
}

.bp-cat-card .bp-cat-kicker {
  top: 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bp-cat-card .bp-cat-title {
  bottom: 76px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.08;
}

.bp-cat-card .bp-cat-copy {
  bottom: 24px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.4;
}

.bp-cat-card:hover::before {
  background: linear-gradient(180deg, rgba(224, 50, 45, .08), rgba(12, 12, 12, .82));
}

.bp-featured-band {
  margin-top: clamp(56px, 7vw, 92px);
  padding: clamp(56px, 7vw, 92px) max(24px, calc((100vw - 1240px) / 2));
  background: #fff;
}

.bp-editorial {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 24px;
}

.bp-editorial-media {
  min-height: 460px;
  background-position: center;
  background-size: cover;
}

.bp-editorial-copy {
  display: flex;
  min-height: 460px;
  padding: clamp(34px, 5vw, 64px);
  align-items: flex-end;
  background: var(--bp-ink);
  color: #fff;
}

.bp-editorial-copy h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

.bp-editorial-copy p {
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.7;
}

.bp-service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto clamp(56px, 7vw, 92px);
  padding: 0 24px;
}

.bp-service-strip > div {
  padding: 28px;
  background: #fff;
}

.bp-service-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bp-ink);
  font-size: 18px;
}

.bp-service-strip span {
  color: var(--bp-muted);
  font-size: 14px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.single-product div.product::before,
.single-product div.product::after {
  display: none !important;
  content: none !important;
}

ul.products,
.products.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.woocommerce ul.products li.product,
ul.products li.product {
  float: none;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 18px;
  background: #fff;
  box-shadow: 0 1px 0 var(--bp-line);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  margin: 0 0 16px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f0efea;
}

.woocommerce-loop-product__title {
  min-height: 44px;
  padding: 0 16px !important;
  color: var(--bp-ink);
  font-size: 15px !important;
  font-weight: 900;
  line-height: 1.32;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 16px;
  color: var(--bp-red);
  font-size: 15px;
  font-weight: 900;
}

.woocommerce ul.products li.product .button {
  margin: 14px 16px 0;
}

.woocommerce-breadcrumb {
  margin: 24px 0 28px;
  color: var(--bp-muted);
  font-size: 13px;
}

.storefront-breadcrumb {
  padding: 16px 0 !important;
  margin-bottom: 24px !important;
}

.storefront-breadcrumb .woocommerce-breadcrumb {
  margin: 0;
}

.woocommerce-products-header {
  margin: 0 0 26px;
  padding: 34px 0 10px;
  border-top: 1px solid var(--bp-line);
}

.woocommerce-shop .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header {
  padding: 22px 0 18px !important;
}

.woocommerce-products-header__title.page-title {
  margin: 0;
  color: var(--bp-ink);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.02;
  text-align: left;
}

.storefront-sorting {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 8px;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  float: none;
  width: auto !important;
  margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery {
  grid-column: 1;
  max-width: 100%;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.single-product div.product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  background: #fff;
}

.single-product div.product .summary {
  grid-column: 2;
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 30px;
  background: #fff;
  box-shadow: var(--bp-shadow);
}

.single-product div.product .product_title {
  margin-bottom: 16px;
  color: var(--bp-ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.04;
}

.single-product div.product p.price,
.single-product div.product span.price {
  color: var(--bp-red);
  font-size: 28px;
  font-weight: 900;
}

.single-product div.product form.cart {
  padding-top: 20px;
  border-top: 1px solid var(--bp-line);
}

.variations th,
.variations td {
  display: block;
  padding: 0 0 10px;
  background: transparent !important;
}

.variations label {
  color: var(--bp-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.variations select,
.quantity .qty,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  min-height: 44px;
  border: 1px solid var(--bp-line);
  background: #fbfaf6;
  box-shadow: none;
}

.woocommerce-tabs {
  grid-column: 1 / -1;
  padding-top: 36px;
}

.woocommerce-tabs ul.tabs {
  border-top: 1px solid var(--bp-line);
}

.woocommerce-tabs ul.tabs li a {
  color: var(--bp-ink);
  font-weight: 900;
}

.woocommerce-tabs .panel {
  padding-top: 24px;
}

.bp-product-description > h3:first-child {
  margin-top: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bp-line);
  color: var(--bp-ink);
  font-size: clamp(28px, 4vw, 44px);
}

.bp-product-description img {
  display: block;
  width: min(100%, 1080px);
  height: auto;
  margin: 0 auto 14px;
}

.bp-product-description > h3:not(:first-child) {
  margin-top: 42px;
  color: var(--bp-ink);
  font-size: 28px;
}

.bp-product-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 32px;
}

.bp-product-highlights li {
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  color: var(--bp-ink);
  font-weight: 800;
  list-style: none;
}

.shop-specs {
  background: #fff;
}

.shop-specs th,
.shop-specs td {
  background: #fff !important;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  padding: 32px;
  background: #fff;
  box-shadow: var(--bp-shadow);
}

.bp-footer {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, .8fr));
  gap: 34px;
  padding: clamp(48px, 6vw, 72px) 0 24px;
  color: #fff;
}

.site-footer {
  padding: 0;
  background: var(--bp-ink);
}

.bp-footer h2,
.bp-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.bp-footer h2 {
  font-size: 28px;
}

.bp-footer p,
.bp-footer a,
.bp-footer li {
  color: rgba(255, 255, 255, .72);
}

.bp-footer a:hover {
  color: #fff;
}

.bp-footer ul {
  margin: 0;
  list-style: none;
}

.bp-footer li {
  margin: 0 0 9px;
}

.bp-footer-bottom {
  padding: 20px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

@media (max-width: 900px) {
  .bp-topbar .col-full {
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 18px;
  }

  .site-header > .col-full {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    gap: 10px 14px;
  }

  .bp-brand-copy {
    min-width: 0;
  }

  .site-search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .bp-header-account-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .storefront-primary-navigation .primary-navigation ul.menu {
    display: none;
  }

  .storefront-primary-navigation .main-navigation.toggled .primary-navigation ul.menu {
    display: block;
  }

  .products.columns-4,
  .products.columns-3,
  ul.products,
  .bp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-product div.product {
    display: block;
  }

  .single-product div.product .summary {
    position: static;
    margin-top: 24px;
  }

  .bp-editorial,
  .bp-footer {
    grid-template-columns: 1fr;
  }

  .bp-service-strip,
  .bp-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bp-topbar a {
    display: none;
  }

  .site-header .site-branding img.custom-logo {
    max-width: 74px !important;
    max-height: 56px !important;
  }

  .bp-brand-copy strong {
    font-size: 15px;
  }

  .bp-brand-copy span {
    font-size: 11px;
  }

  .bp-hero {
    min-height: clamp(420px, calc(100vh - 400px), 600px);
    padding: 34px 24px;
    background-position: center top;
  }

  .bp-hero h1 {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .bp-hero p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.45;
  }

  .bp-hero .bp-eyebrow {
    margin-bottom: 10px;
  }

  .bp-actions,
  .bp-actions .bp-button {
    width: 100%;
  }

  .bp-actions .bp-button {
    min-height: 42px;
    padding: 11px 18px;
    text-align: center;
  }

  .products.columns-4,
  .products.columns-3,
  ul.products,
  .bp-category-grid,
  .bp-service-strip,
  .bp-trust,
  .bp-product-highlights {
    grid-template-columns: 1fr;
  }

  .bp-cat-card {
    min-height: 280px;
  }

  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content,
  .woocommerce-account .entry-content,
  .single-product div.product .summary {
    padding: 22px;
  }
}
