/* Wild West Camping - desktop/mobile shell, search, categories, buy buttons */

.wwc-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.wwc-logo {
  max-height: 52px !important;
  width: auto !important;
  max-width: 180px !important;
}

.wwc-cats-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2d3a4b;
  border-radius: 4px;
  background: #2d3a4b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wwc-cats-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}
.wwc-cats-bars span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.wwc-desktop-nav {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 !important;
  min-width: 0;
}

.wwc-desktop-nav .navbar-collapse {
  display: block !important;
  height: auto !important;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.wwc-desktop-nav .nav {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 2px 4px;
}

.wwc-desktop-nav .nav > li {
  float: none !important;
  display: block;
}

.wwc-desktop-nav .nav > li > a {
  padding: 8px 10px !important;
  white-space: nowrap;
  font-weight: 600;
}

.wwc-get-rocket > a {
  color: #c9a227 !important;
}

/* Header search */
.wwc-header-search {
  display: flex;
  height: 38px;
  min-width: 160px;
  max-width: 240px;
}
.wwc-search-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid #ccc;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 10px;
  font-size: 13px;
  box-sizing: border-box;
}
.wwc-search-go {
  flex: 0 0 44px;
  height: 38px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #2d3a4b;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* Mobile chips */
.wwc-site-chips {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wwc-site-chips::-webkit-scrollbar { display: none; }
.wwc-site-chips li { flex: 0 0 auto; }
.wwc-site-chips a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.wwc-site-chips a:hover,
.wwc-site-chips a:active {
  background: #2d3a4b;
  border-color: #2d3a4b;
  color: #fff;
}

/* Categories drawer */
.wwc-cats-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 10050;
}
.wwc-cats-overlay.is-visible { display: block; }

.wwc-cats-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(340px, 90vw);
  height: 100%;
  max-height: 100vh;
  background: #fff;
  z-index: 10060;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  box-shadow: 2px 0 16px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wwc-cats-drawer.is-open { transform: translateX(0); }

.wwc-cats-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #2d3a4b;
  color: #fff;
  flex-shrink: 0;
}
.wwc-cats-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.wwc-cats-drawer-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding-bottom: 40px;
}

.wwc-mnav { list-style: none; margin: 0; padding: 0; }
.wwc-mnav > li > a,
.wwc-mnav-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.wwc-mnav-sub { padding: 8px 12px 12px; background: #f7f7f7; }
.wwc-mnav-divider { height: 8px; background: #f0f0f0; border-bottom: 1px solid #eee; }

.wwc-lucky-list { list-style: none; margin: 0; padding: 0; }
.wwc-lucky-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
}
.wwc-lucky-img img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}
.wwc-lucky-body { flex: 1; min-width: 0; }
.wwc-lucky-body strong { display: block; font-size: 13px; margin-bottom: 4px; }
.wwc-lucky-body .price { display: block; font-size: 13px; margin-bottom: 6px; }

body.wwc-cats-open { overflow: hidden; }

/* Shop search + pagination */
.wwc-shop-search {
  display: flex;
  height: 42px;
  margin-bottom: 20px;
}
.wwc-shop-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #ccc;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 12px;
  box-sizing: border-box;
}
.wwc-shop-search button {
  flex: 0 0 48px;
  height: 42px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #2d3a4b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.wwc-page-meta {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin: 8px 0;
}

.pagination.wwc-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.pagination.wwc-pagination > li > a,
.pagination.wwc-pagination > li > span {
  float: none;
  display: inline-block;
  margin: 0;
  border-radius: 4px !important;
}

/* Product cards: always-visible buy (not hover-only) */
.item .rkt-buy-wrap,
.papular-block .rkt-buy-wrap {
  position: relative;
  z-index: 2;
  margin-top: 8px !important;
  text-align: center;
}
.item .rkt-buy-wrap a.btn {
  background: #2d3a4b;
  color: #fff !important;
  border: 0;
}

/* Product detail buy */
.shop-detail .rkt-buy-wrap {
  margin: 12px 0 16px;
}
.shop-detail .rkt-buy-wrap a.btn {
  background: #2d3a4b;
  color: #fff !important;
}

/* Mobile product images */
.shop-detail .images-slider img,
.item-decribe img,
#descr img {
  max-width: 100% !important;
  height: auto !important;
}

@media (min-width: 992px) {
  .wwc-site-chips { display: none !important; }
  .wwc-header-inner { flex-wrap: nowrap; }
}

@media (max-width: 991px) {
  .wwc-desktop-nav .nav { display: none !important; }
  .wwc-site-chips { display: flex; }
  .wwc-header-search {
    max-width: none;
    width: 100%;
    min-width: 0;
  }
  .wwc-desktop-nav {
    width: 100%;
    order: 5;
    justify-content: stretch;
  }
  .wwc-logo { max-height: 40px !important; max-width: 140px !important; }
  .wwc-cats-btn { margin-left: auto; }

  /* Card hover overlays often hide content on touch */
  .item .overlay,
  .item-img .overlay {
    display: none !important;
  }
  .item .img-2 {
    display: none !important;
  }
  .item .img-1 {
    opacity: 1 !important;
    visibility: visible !important;
  }

  footer .col-md-3 {
    margin-bottom: 24px;
  }
}

@media (hover: none), (pointer: coarse) {
  .item .overlay,
  .item-img .overlay {
    display: none !important;
  }
}
