/**
 * WooCommerce styles.
 */
/*========================================================================================================================
	
	table of contents
	
	shop archives
	single product
	cart
	checkout
	my account

========================================================================================================================*/

/*========================================================================================================================
	single product
========================================================================================================================*/

/* product gallery */

.single-product-gallery-summary-wrapper {
	padding: 60px 0 60px;
}

.single-product-gallery-summary-wrapper .woocommerce-product-gallery,
.single-product-gallery-summary-wrapper .single-product-gallery {
	width: 45%;
	float: left;
}

/* Container */
.flex-control-nav.flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 per row */
  gap: 12px; /* spacing between thumbnails */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each thumbnail wrapper */
.flex-control-nav.flex-control-thumbs li {
  width: 100%;
  list-style: none;     /* defensive */
}

/* Images */
.flex-control-nav.flex-control-thumbs img {
  display: block;
  width: 100% !important;   /* override inline width from onload */
  height: auto !important;  /* override inline height */
  aspect-ratio: 1 / 1;      /* force square thumbnails */
  object-fit: cover;        /* crop nicely */
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hover effect */
.flex-control-nav.flex-control-thumbs img:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* Active state */
.flex-control-nav.flex-control-thumbs img.flex-active {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .flex-control-nav.flex-control-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .flex-control-nav.flex-control-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.single-product-gallery-arrow-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 40px; /* adjust based on size of arrows */
	position: relative;
}

#page .swiper-single-product-gallery .swiper-wrapper {
	margin: 0;
	padding: 0;
}

#page .single-product-gallery-arrow-container .swiper-button-prev,
#page .single-product-gallery-arrow-container .swiper-button-next {
	color: var(--theme-blaze-color);
	top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

#page .single-product-gallery-arrow-container .swiper-button-prev:hover,
#page .single-product-gallery-arrow-container .swiper-button-next:hover {
	color: var(--theme-blaze-color);
}

#page .single-product-gallery-arrow-container .swiper-button-prev:after,
#page .single-product-gallery-arrow-container .swiper-button-next:after {
    font-size: 64px;
}

#page .single-product-gallery-arrow-container .swiper-button-prev {
	left: 0 !important;
}

#page .single-product-gallery-arrow-container .swiper-button-next {
	right: 0 !important;
}

#page .single-product-gallery-arrow-container .swiper-button-next.swiper-button-disabled,
#page .single-product-gallery-arrow-container .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}

#page .swiper-single-product-gallery-thumbs {
    margin-top: 15px;
    cursor: pointer;
}

#page .swiper-single-product-gallery-thumbs .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s;
}

#page .swiper-single-product-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--theme-blaze-color, #000);
}

#page .swiper-single-product-gallery-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* product summary */

.single-product-gallery-summary-wrapper .summary {
	width: 45%;
	float: right;
}

.single-product-gallery-summary-wrapper .summary .product_title {
	font-size: var(--heading-font-size-md);
	margin: 0 0 20px;
}

.single-product-gallery-summary-wrapper .summary .single-product-custom-price-placeholder {
	font-size: var(--body-font-size-sm);
	font-weight: var(--body-font-weight-bold);
	line-height: var(--line-height-sm);
	text-transform: uppercase;
	color: var(--theme-blaze-color);
	margin: 0 0 20px;
}

.single-product-gallery-summary-wrapper .summary .woocommerce-product-details__short-description {
	font-size: var(--body-font-size-sm);
	margin: 0 0 40px;
}

.single-product-gallery-summary-wrapper .summary .woocommerce-product-details__short-description p {
	margin: 0 0 15px;
}

/* after product gallery and summary */

