/*--------------------------------------
  Scrollable side thumbs (single column)
--------------------------------------*/
/* 1) Gallery container & gutter */
.single-product .woocommerce-product-gallery {
  position: relative !important;
  padding-left: 88px !important; /* 80px thumbs + 8px gap */
  overflow: visible !important;
}

/* 2) Hide only the FlexSlider arrows */
.single-product .woocommerce-product-gallery .flex-direction-nav {
  display: none !important;
}

/* 3) Thumbnails list: absolute, full-height, single-column, scroll */
.single-product .woocommerce-product-gallery 
  ol.flex-control-thumbs {
  position: absolute     !important;
  top:      0            !important;
  bottom:   0            !important;
  left:     0            !important;
  width:    80px         !important;
  overflow-y: auto       !important;
  overflow-x: hidden     !important;
  display: flex          !important;
  flex-direction: column !important;
  flex-wrap: nowrap      !important; /* enforce one column */
  gap: 8px               !important;
  margin: 0              !important;
  padding: 0             !important;
  list-style: none       !important;
  z-index: 10            !important;
  -webkit-overflow-scrolling: touch !important;
}

/* 4) Each thumbnail fixed in that column */
.single-product .woocommerce-product-gallery 
  ol.flex-control-thumbs li {
  flex: 0 0 auto       !important;
  width: 100%          !important;
  margin-bottom: 8px   !important;
  box-sizing: border-box !important;
}

/* 5) Thumbnail image hover/active effects */
.single-product .woocommerce-product-gallery 
  ol.flex-control-thumbs li img {
  display:    block            !important;
  width:      100%             !important;
  height:     auto             !important;
  opacity:    0.6              !important;
  cursor:     pointer          !important;
  transition: opacity .2s ease !important;
}
.single-product .woocommerce-product-gallery 
  ol.flex-control-thumbs li.flex-active img,
.single-product .woocommerce-product-gallery 
  ol.flex-control-thumbs li:hover img {
  opacity: 1 !important;
}

/* 6) Push the main-image wrapper flush right of the thumbs */
.single-product .woocommerce-product-gallery__wrapper {
  float: none             !important;
  margin-left: 88px       !important; /* same gutter */
  width: calc(100% - 88px) !important;
}

/* 7) Keep the zoom/fullscreen icon top-right */
.single-product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 20 !important;
}












/* ----------------------------- */
/* Variation controls as flex    */
/* ----------------------------- */
.woocommerce div.product form.cart table.variations {
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
  border: none;
}
.woocommerce div.product form.cart table.variations tr {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 1em 1em 0;
  border: none;
}
.woocommerce div.product form.cart table.variations th.label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: 0.5em 0;
  display: block;
}
.woocommerce div.product form.cart table.variations td {
  padding: 0.5em 0;
  display: block;
}
.woocommerce div.product form.cart table.variations th .ts-value,
.woocommerce div.product form.cart table.variations th label .variation_name_label {
  display: none !important;
}

/* ----------------------------- */
/* Swatch list layout            */
/* ----------------------------- */
.woocommerce div.product .thwvsf-wrapper-ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.25em;
}
.thwvsf-wrapper-item-li { padding: 0; }
.thwvsf-item-span,
.item-span-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  min-width: 44px;
  min-height: 44px;
}

/* ----------------------------- */
/* Hide the brand filter widget  */
/* ----------------------------- */
.widget-container.product-filter-by-brand {
  display: none;
}