/* ───────────────────────────────────────────────
   azb-hero-carousel
   Full-screen hero carousel with Swiper
   ─────────────────────────────────────────────── */

.azb-hero-carousel {
  width: 100%;
  overflow: hidden;
}

.azb-hero-carousel__swiper {
  width: 100%;
  height: var(--azb-hero-carousel-height, 100vh);
}

/* Slide */
.azb-hero-carousel__slide {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.azb-hero-carousel__image,
.azb-hero-carousel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

/* Link wrapper (bottom center) */
.azb-hero-carousel__link-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(32px, 5vh, 64px);
}

.azb-hero-carousel__link {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.azb-hero-carousel__link:hover {
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
}

/* Pagination (dots) */
.azb-hero-carousel__pagination {
  bottom: clamp(12px, 2vh, 20px) !important;
  display: flex;
  gap: 4px;
  left: 5%;
  right: 5%;
  width: auto;
}

.azb-hero-carousel__pagination .swiper-pagination-bullet {
  flex: 1;
  height: 3px;
  border-radius: 0;
  background: #F7F2EC;
  opacity: 1;
  transition: background 0.3s ease;
  margin: 0 !important;
}

.azb-hero-carousel__pagination .swiper-pagination-bullet-active {
  background: #7F7F7F;
}

/* Navigation arrows */
.azb-hero-carousel__prev,
.azb-hero-carousel__next {
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 44px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 96'%3E%3Cpath fill='white' d='M282.8,3.8l-5.1,8.9l27.6,29L12.7,42.9v10.2L307.6,52l-29.7,31.7l5.8,8.5L334,46.5L282.8,3.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px auto;
}

.azb-hero-carousel__prev::after,
.azb-hero-carousel__next::after {
  content: '' !important;
  display: none !important;
}

.azb-hero-carousel__prev {
  transform: translateY(-50%) scaleX(-1);
}

/* Responsive */
@media (max-width: 768px) {
  .azb-hero-carousel__prev,
  .azb-hero-carousel__next {
    display: none;
  }

  .azb-hero-carousel__link {
    font-size: 0.688rem;
    padding: 10px 24px;
  }
}

/* ───────────────────────────────────────────────
   azb-categories-grid
   Responsive grid container for category cards
   ─────────────────────────────────────────────── */

.azb-categories-grid {
	display: grid;
	grid-template-columns: repeat(var(--azb-categories-grid-columns, 2), 1fr);
	gap: var(--azb-categories-grid-gap, 24px);
}

/* Mobile: 1 column */
@media (max-width: 640px) {
	.azb-categories-grid {
		grid-template-columns: 1fr;
	}
}

/* Tablet: force 2 columns if desktop set to 3+ */
@media (min-width: 641px) and (max-width: 980px) {
	.azb-categories-grid {
		grid-template-columns: repeat(min(var(--azb-categories-grid-columns, 2), 2), 1fr);
	}
}

/* ───────────────────────────────────────────────
   azb-category-item
   Category card with image and title
   ─────────────────────────────────────────────── */

.azb-category-item {
	position: relative;
}

.azb-category-item__link {
	display: block;
	position: relative;
	aspect-ratio: 4/5;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.azb-category-item__image-wrapper {
	position: absolute;
	inset: 0;
}

.azb-category-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.azb-category-item__link:hover .azb-category-item__image {
	transform: scale(1.05);
}

.azb-category-item__title {
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	z-index: 1;
	width: fit-content;
	max-width: 450px;
    margin: auto;
	border-bottom: 1px solid #fff;
	padding: 4px 0;
	color: #fff;
	text-align: center;
	font-size: clamp(0.85rem, 2vw, 1.975rem);
	font-weight: 400;
	line-height: 1;
	transition: 0.3s ease;
}

.azb-category-item__link:hover .azb-category-item__title {
	opacity: 0.7;
}

/* ───────────────────────────────────────────────
   azb-product-carousel
   Horizontal product carousel with Swiper
   ─────────────────────────────────────────────── */

.azb-product-carousel {
	position: relative;
}

.azb-product-carousel__swiper {
	overflow: visible;
}

/* Navigation arrows */
.azb-product-carousel__prev,
.azb-product-carousel__next {
	top: 50%;
	margin-top: 0;
	transform: translateY(-50%);
	background: none;
	border: none;
	width: 44px;
	height: 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 96'%3E%3Cpath fill='%231D1E1E' d='M282.8,3.8l-5.1,8.9l27.6,29L12.7,42.9v10.2L307.6,52l-29.7,31.7l5.8,8.5L334,46.5L282.8,3.8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px auto;
}

.azb-product-carousel__prev::after,
.azb-product-carousel__next::after {
	content: '' !important;
	display: none !important;
}

.azb-product-carousel__prev {
	transform: translateY(-50%) scaleX(-1);
}

/* Pagination */
.azb-product-carousel__pagination {
	position: relative;
	bottom: auto;
	display: flex;
	gap: 4px;
	margin-top: 16px;
}

.azb-product-carousel__pagination .swiper-pagination-bullet {
	flex: 1;
	height: 3px;
	border-radius: 0;
	background: #F7F2EC;
	opacity: 1;
	transition: background 0.3s ease;
	margin: 0 !important;
}

.azb-product-carousel__pagination .swiper-pagination-bullet-active {
	background: #7F7F7F;
}

/* Responsive */
@media (max-width: 768px) {
	.azb-product-carousel__prev,
	.azb-product-carousel__next {
		display: none;
	}
}

/* ───────────────────────────────────────────────
   azb-product-card
   Product card with image gallery, badge, add to cart
   ─────────────────────────────────────────────── */

.azb-product-card {
  position: relative;
  height: 100%;
}

.azb-product-card__container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.azb-product-card__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image wrapper */
.azb-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.azb-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.azb-product-card__image--single {
  transition: transform 0.4s ease;
}

.azb-product-card__link:hover .azb-product-card__image--single {
  transform: scale(1.05);
}

/* Gallery carousel */
.azb-product-card__swiper {
  width: 100%;
  height: 100%;
}

.azb-product-card__pagination {
  bottom: 8px !important;
}

.azb-product-card__pagination .swiper-pagination-bullet {
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: #F7F2EC;
  opacity: 1;
  transition: width 0.3s ease, background 0.3s ease;
}

.azb-product-card__pagination .swiper-pagination-bullet-active {
  width: 24px;
  background: #7F7F7F;
}

/* Gallery arrows (show on hover) */
.azb-product-card__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 28px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 96'%3E%3Cpath fill='%231D1E1E' d='M282.8,3.8l-5.1,8.9l27.6,29L12.7,42.9v10.2L307.6,52l-29.7,31.7l5.8,8.5L334,46.5L282.8,3.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.azb-product-card__arrow--prev {
  left: 8px;
  transform: translateY(-50%) scaleX(-1);
}

.azb-product-card__arrow--next {
  right: 8px;
}

.azb-product-card__image-wrapper:hover .azb-product-card__arrow {
  opacity: 1;
}

/* Archive carousel styles live in the global style.css (always loaded on WC archive pages) */

/* Add to cart button */
.azb-product-card__cart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: 300;
  color: #000;
  padding: 0;
}

.azb-product-card__cart-btn:hover {
  background: #fff;
  border-color: #000;
}

/* Info panel (below image) */
.azb-product-card__info {
  display: block;
  padding-top: 12px;
  text-decoration: none;
  color: inherit;
}

.azb-product-card__badge {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
}

.azb-product-card__title {
  font-size: clamp(0.938rem, 2.5vw, 1.125rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 6px;
  /* color: #fff; */
}

.azb-product-card__price {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: inherit;
  font-weight: 500;
}

