/* =========================================================
   WARDOGS COLLECTION — CLEAN SHOP.CSS REBUILD
   Locked targets:
   - 1600px shell
   - 300px sidebar
   - 6 product columns
   - full-width cards
   - floating sidebar attempt via sticky panel
   - horizontal pagination
========================================================= */

/* ========================================
   1) SHELL
======================================== */

.wd-shop-shell{
  display: grid !important;
  grid-template-columns: 300px minmax(0,1fr) !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  align-items: start !important;
  overflow: visible !important;
}

.wd-shop-sidebar{
  width: 100% !important;
  min-width: 0 !important;
  align-self: start !important;
  position: relative !important;
  overflow: visible !important;
}

.wd-shop-main{
  width: 100% !important;
  min-width: 0 !important;
  padding: 18px !important;
  overflow: visible !important;
}

/* ========================================
   2) SIDEBAR
======================================== */

.wd-shop-sidebar-panel{
  position: sticky !important;
  top: 92px !important;
  background: #0b0c0e !important;
  border: 1px solid #1f2226 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100vh - 120px) !important;
}

.wd-shop-sidebar-top{
  padding: 22px 18px 18px !important;
  border-bottom: 1px solid #1f2226 !important;
  background: #0d0f12 !important;
}

.wd-shop-sidebar-eyebrow{
  font-family: 'Barlow', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: #40b24c !important;
  margin-bottom: 10px !important;
}

.wd-shop-sidebar-title{
  font-family: 'Barlow', sans-serif !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  line-height: .95 !important;
  color: #f2efe8 !important;
  margin-bottom: 10px !important;
}

.wd-shop-sidebar-count{
  font-family: 'Barlow', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #cfcac1 !important;
}

.wd-shop-sidebar-label{
  display: none !important;
}

.wd-shop-sidebar-group{
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  gap: 0 !important;
  padding: 10px 0 !important;
}

.wd-shop-sidebar-link{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 18px !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 3px solid transparent !important;
  border-bottom: 1px solid #171a1e !important;
  text-decoration: none !important;
  color: #ece8df !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease !important;
}

.wd-shop-sidebar-link:hover{
  background: #121519 !important;
  border-left-color: #c8a032 !important;
}

.wd-shop-sidebar-link.is-active{
  background: linear-gradient(90deg, rgba(31,108,42,.95) 0%, rgba(24,82,33,.88) 100%) !important;
  border-left-color: #47c056 !important;
  color: #f8f6f0 !important;
}

.wd-shop-sidebar-link-name{
  font-family: 'Barlow', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}

.wd-shop-sidebar-link-count{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 8px !important;
  border: 1px solid #2b3036 !important;
  background: #121417 !important;
  border-radius: 999px !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #d7d2c8 !important;
}

.wd-shop-sidebar-link:hover .wd-shop-sidebar-link-count{
  border-color: #5b4616 !important;
  color: #f0ece0 !important;
}

.wd-shop-sidebar-link.is-active .wd-shop-sidebar-link-count{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.16) !important;
  color: #ffffff !important;
}

.wd-shop-sidebar-bottom{
  margin-top: auto !important;
  padding: 14px 18px 18px !important;
  border-top: 1px solid #1f2226 !important;
  background: #0d0f12 !important;
}

.wd-shop-sidebar-viewall{
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: #15181c !important;
  border: 1px solid #2d3138 !important;
  color: #f1eee7 !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
  text-decoration: none !important;
  padding: 14px 12px !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease !important;
}

.wd-shop-sidebar-viewall:hover{
  background: #1a1e23 !important;
  border-color: #c8a032 !important;
  color: #ffffff !important;
}

/* ========================================
   3) PRODUCT GRID
======================================== */

#wd-product-grid{
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0,1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  clear: none !important;
}

/* tower fix / kill inherited WooCommerce widths */
#wd-product-grid.products,
#wd-product-grid.columns-6,
#wd-product-grid li.product,
#wd-product-grid > li,
#wd-product-grid > .product,
#wd-product-grid > .wd-product-card{
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#wd-product-grid > li,
#wd-product-grid > .product,
#wd-product-grid > .wd-product-card{
  display: flex !important;
  flex-direction: column !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

@media (min-width: 1101px){
  #wd-product-grid{
    grid-template-columns: repeat(6, minmax(0,1fr)) !important;
  }
}

/* ========================================
   4) CARDS
======================================== */

.wd-product-card{
  background: #101114 !important;
  border: 1px solid #23262b !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.wd-product-card:hover{
  transform: translateY(-3px) !important;
  border-color: #3a3f46 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.24) !important;
}

.wd-product-card-image-link,
.wd-product-card-image-wrap,
.wd-product-card-body,
.wd-product-card-title,
.wd-product-card-price,
.wd-product-card-button{
  width: 100% !important;
  max-width: none !important;
}

.wd-product-card-image-wrap{
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f3f1ec !important;
  padding: 0 !important;
}

.wd-product-card-image-wrap img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 12px !important;
}

.wd-product-card-body{
  padding: 12px 12px 14px !important;
}

.wd-product-card-title{
  font-size: 14px !important;
  line-height: 1.25 !important;
  min-height: 36px !important;
  margin-bottom: 8px !important;
  color: #f3f1ea !important;
}

.wd-product-card-meta{
  font-size: 11px !important;
  letter-spacing: .12em !important;
  color: #8b8f96 !important;
  margin-bottom: 8px !important;
}

.wd-product-card-price,
.wd-product-card-price .price{
  font-size: 18px !important;
  line-height: 1 !important;
  color: #d7b24a !important;
  margin-bottom: 12px !important;
}

.wd-product-card-price ins{
  text-decoration: none !important;
}

.wd-product-card-price del{
  color: #7f8389 !important;
  opacity: .8 !important;
}

.wd-product-card-button{
  padding: 9px 8px !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: .14em !important;
  background: transparent !important;
  color: #d7b24a !important;
  border: 1px solid #4b3a10 !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease !important;
}

.wd-product-card-button:hover{
  background: #1a1610 !important;
  border-color: #c8a032 !important;
  color: #f3f1ea !important;
}

/* ========================================
   5) PAGINATION
======================================== */

.wd-shop-pagination{
  margin-top: 18px !important;
}

.wd-shop-pagination ul,
.wd-shop-pagination .page-numbers{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wd-shop-pagination li{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wd-shop-pagination a,
.wd-shop-pagination span{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  background: #111214 !important;
  border: 1px solid #252528 !important;
  color: #bcbcbc !important;
  text-decoration: none !important;
}

.wd-shop-pagination .current{
  background: #c8a032 !important;
  border-color: #c8a032 !important;
  color: #050506 !important;
}

