/* ==========================================================================
   BASHI JEWELRY — Product Cards & Product Page
   product.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Product Card
   -------------------------------------------------------------------------- */

.product-card {
  background: var(--color-white);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;           /* fill grid cell */
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* Image Container */
.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-3);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

/* Image placeholder */
.product-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-surface-3) 0%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

/* Badge on image */
.product-card__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: var(--z-above);
}

/* Wishlist button on image */
.product-card__wishlist {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: var(--z-above);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: var(--border);
  opacity: 0.7;
  transform: scale(1);
  transition: opacity var(--transition-base), transform var(--transition-base),
              color var(--transition-fast), background var(--transition-fast);
  box-shadow: var(--shadow-xs);
  color: var(--color-text-muted);
}

.product-card:hover .product-card__wishlist,
.product-card__wishlist.is-wishlisted {
  opacity: 1;
  transform: scale(1);
}

.product-card__wishlist.is-wishlisted {
  color: var(--color-sale);
  background: var(--color-sale-bg);
  border-color: var(--color-sale);
}

.product-card__wishlist svg {
  width: 16px;
  height: 16px;
}

/* Quick View on hover */
.product-card__quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.88);
  color: #fff;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.22s ease;
  border: none;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.product-card:hover .product-card__quick-view {
  transform: translateY(0);
}

/* Card Body */
.product-card__body,
.product-card__info {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;              /* fill remaining card height */
}


.product-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: 2px;
}

.product-card__price {
  margin-top: var(--space-1);
}

.product-card__price .price__current {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
}

.product-card__price .price__original {
  font-size: var(--text-sm);
}

.product-card__delivery {
  font-size: var(--text-xs);
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: var(--space-1);
}

.product-card__delivery svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* Add to Cart */
.product-card__add-btn {
  margin-top: var(--space-2);
  width: 100%;
  padding: 9px;
  font-size: var(--text-sm);
  opacity: 1;
  transform: none;
  transition: background var(--transition-base), transform 0.1s;
}

.product-card:hover .product-card__add-btn {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Product Card — Horizontal (for cart/wishlist lists)
   -------------------------------------------------------------------------- */

.product-card--horizontal {
  flex-direction: row;
  gap: var(--space-4);
  border-radius: var(--radius-base);
}

.product-card--horizontal .product-card__image-wrap {
  width: 100px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.product-card--horizontal .product-card__body {
  padding: var(--space-2) 0;
}

/* --------------------------------------------------------------------------
   Cart Drawer
   -------------------------------------------------------------------------- */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: var(--color-white);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}

.cart-drawer__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-left: var(--space-2);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-5);
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  height: 100%;
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-8);
}

.cart-drawer__empty-icon {
  width: 64px;
  height: 64px;
  color: var(--color-border);
}

.cart-drawer__footer {
  border-top: var(--border);
  padding: var(--space-4) var(--space-5);
  flex-shrink: 0;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.cart-drawer__subtotal-label {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}

.cart-drawer__subtotal-value {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-gold);
}

.cart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   Cart Item (in drawer or cart page)
   -------------------------------------------------------------------------- */

.cart-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item__image {
  width: 72px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--color-surface-3);
}

.cart-item__details {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-1);
}

.cart-item__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.cart-item__price {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.cart-item__remove {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.cart-item__remove:hover {
  color: var(--color-error);
}

/* --------------------------------------------------------------------------
   Hero Carousel
   -------------------------------------------------------------------------- */

.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 540px;
  background: var(--color-surface-4);
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  transition: transform var(--transition-slow);
}

.hero-carousel__slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay gradient */
.hero-carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.hero-carousel__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-16);
  max-width: 600px;
}

.hero-carousel__eyebrow,
.hero-carousel__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-3);
}

.hero-carousel__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.hero-carousel__sub,
.hero-carousel__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-8);
  max-width: 420px;
}

/* Dark text variant — set via Customizer per slide (bashi_hero_N_text_color) */
.hero-carousel__slide--dark-text .hero-carousel__label {
  color: var(--color-gold-dark);
}
.hero-carousel__slide--dark-text .hero-carousel__title {
  color: var(--color-black);
}
.hero-carousel__slide--dark-text .hero-carousel__subtitle {
  color: rgba(17, 17, 17, 0.75);
}

.hero-carousel__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Carousel controls */
.hero-carousel__prev,
.hero-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
  transition: background var(--transition-base);
}

.hero-carousel__prev { left: var(--space-6); }
.hero-carousel__next { right: var(--space-6); }

.hero-carousel__prev:hover,
.hero-carousel__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-carousel__prev svg,
.hero-carousel__next svg {
  width: 20px;
  height: 20px;
}

/* Carousel dots */
.hero-carousel__dots {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
}

/* The button itself is the real tap target (44x44 - automated touch-target
   audits measure the element's own box via getBoundingClientRect, not an
   overlapping pseudo-element, so a prior invisible-hit-area-only approach
   didn't satisfy them). The visible 8px dot is drawn via ::before, centred
   inside the larger invisible button, so the dot's own look is unchanged. */
.hero-carousel__dot {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.hero-carousel__dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero-carousel__dot.is-active::before {
  background: var(--color-white);
  transform: scale(1.4);
}

/* --------------------------------------------------------------------------
   Category Cards
   -------------------------------------------------------------------------- */

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
}

.category-card__image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-surface-3);
  border: 2px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.category-card__image-wrap .category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.category-card:hover .category-card__image-wrap {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.category-card:hover .category-card__image-wrap .category-card__img {
  transform: scale(1.06);
}

.category-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-align: center;
  line-height: var(--leading-snug);
}

.category-card__count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Collection Cards (template-parts/home/collections-grid.php)
   Gradient-overlay-with-text-on-image cards. No 1:1 source existed in the
   original HTML theme (bashi-jewelry html/collections.html used a simpler
   "text below image" card under the same .collection-card* class names) —
   this design instead follows the gradient-overlay pattern already proven
   in this theme's .hero-carousel__slide::after, adapted to a card context.
   -------------------------------------------------------------------------- */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.collection-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.collection-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-3);
}

.collection-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.collection-card:hover .collection-card__img {
  transform: scale(1.05);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.85) 0%,
    rgba(17, 17, 17, 0.35) 55%,
    rgba(17, 17, 17, 0) 100%
  );
}

.collection-card__content {
  padding: var(--space-6);
  width: 100%;
  color: var(--color-white);
}

.collection-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.collection-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collection-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gold-light);
  letter-spacing: var(--tracking-wide);
}

.collection-card:hover .collection-card__cta {
  color: var(--color-white);
}

@media (max-width: 700px) {
  .collections-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   CART DRAWER — Updated Elements (Phase 2)
   ========================================================================== */

.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
}
.cart-drawer__close:hover { background: var(--color-surface-3); color: var(--color-text); }

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.cart-drawer__shipping-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.cart-drawer__footer .btn {
  /* display:block overrode .btn's own inline-flex layout, which combined
     with the sitewide `svg { display: block }` reset made the checkout
     arrow render as its own block box pinned to the left edge instead of
     sitting beside the centered "Checkout" text. Flex keeps the same
     full-width stacked-button look while centering text+icon as a group. */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-2);
}
.cart-drawer__footer .btn:last-child { margin-bottom: 0; }

/* Cart drawer items list */
.cart-drawer__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   CART DRAWER — Item Rows (template-parts/header/cart-drawer.php)
   Moved here from cart.css: the drawer renders on every page via the
   header, but cart.css is only enqueued on the actual /cart/ page (see
   inc/enqueue.php), so these item-row rules never loaded anywhere else —
   the remove (×) button, with nothing placing it in the flex row, just
   fell to its default block position under the text instead of sitting at
   the end of the row on the right. This file (product.css) loads sitewide.
   ========================================================================== */

.cart-drawer__item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: var(--border);
}

.cart-drawer__item:last-child {
  border-bottom: none;
}

.cart-drawer__item-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface-3);
}

.cart-drawer__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-drawer__item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-drawer__item-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-drawer__item-name:hover {
  color: var(--color-gold);
}

.cart-drawer__item-qty {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.cart-drawer__item-price {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-top: 2px;
}

.cart-drawer__item-remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.cart-drawer__item-remove:hover {
  color: var(--color-error);
  background: var(--color-error-bg);
}

.cart-drawer__empty-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.cart-drawer__free-delivery-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.cart-drawer__free-delivery-note strong {
  color: var(--color-gold);
}

.cart-drawer__free-delivery-note--unlocked {
  color: var(--color-success);
  font-weight: var(--weight-medium);
}

.cart-drawer__subtotal-amount {
  color: var(--color-gold);
}

.cart-drawer__view-cart {
  display: block;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  text-decoration: underline;
  margin-top: var(--space-2);
}

.cart-drawer__view-cart:hover {
  color: var(--color-text);
}

/* ── Qty Control ──────────────────────────────────────────────────────── */

.qty-control {
  display: inline-flex;
  align-items: center;
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-lg);
  color: var(--color-text);
  transition: background 0.15s;
}
.qty-control__btn:hover { background: var(--color-surface-3); }

.qty-control__value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 0 var(--space-1);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

/* Short description under product name */
.product-card__short-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── Carousel class aliases (index.html uses .carousel__, CSS uses .hero-carousel__) ── */
.carousel,
#hero-carousel {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: var(--color-charcoal);
}

/* carousel.js rebuilds innerHTML, these styles support its injected markup */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: var(--color-charcoal);
}

@media (max-width: 768px) {
  .carousel, #hero-carousel, .hero-carousel { height: 420px; }
}
@media (max-width: 480px) {
  .carousel, #hero-carousel, .hero-carousel { height: 340px; }
}

/* Add to cart button — actual class name from renderProductCard */
.product-card__add-to-cart {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: var(--color-charcoal);
  color: #fff;
  border: none;
  transition: background 0.2s, transform 0.1s;
  font-family: var(--font-primary);
  letter-spacing: 0.03em;
}

.product-card__add-to-cart:hover:not(:disabled) {
  background: var(--color-gold);
  transform: translateY(-1px);
}

.product-card__add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-card__name-link {
  color: var(--color-text);
  text-decoration: none;
  display: block;
}
.product-card__name-link:hover {
  color: var(--color-gold);
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-star, #F5A623);
}
.rating__count {
  font-size: 11px;
  color: var(--color-text-muted, #777);
  margin-left: 2px;
}
.rating__stars { display:inline-flex; gap:1px; }
.rating__star--full { color: var(--color-star, #F5A623); }
.rating__star--half { color: var(--color-star, #F5A623); }
.rating__star--empty { color: #ddd; }

/* --------------------------------------------------------------------------
   Shop Filter Sidebar (woocommerce/archive-product.php)
   -------------------------------------------------------------------------- */

.filter-sidebar {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.filter-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
}
.filter-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: 0.04em;
}
.filter-sidebar__clear {
  font-size: 12px;
  color: var(--color-gold);
  cursor: pointer;
  font-weight: 600;
  background: none;
  border: none;
  text-decoration: none;
}
.filter-sidebar__clear:hover {
  text-decoration: underline;
}

.filter-group {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 18px;
}
.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
  cursor: pointer;
  flex-shrink: 0;
}
.filter-option__label {
  font-size: 13px;
  color: var(--color-text);
  flex: 1;
}
.filter-option__count {
  font-size: 11px;
  color: var(--color-text-muted);
}

.filter-group__price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.price-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
}
.price-input-prefix {
  font-size: 12px;
  color: var(--color-text-muted);
}
.price-input {
  width: 100%;
  border: none;
  font-size: 12px;
  color: var(--color-text);
}
.price-input:focus {
  outline: none;
}
.price-input-sep {
  font-size: 12px;
  color: var(--color-text-muted);
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
}
.filter-actions .btn {
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Shop Toolbar extras
   -------------------------------------------------------------------------- */

.view-toggle {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}
.view-toggle.is-active,
.view-toggle:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: #FDF9F0;
}

.mobile-compact-bar {
  gap: 8px;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .mobile-compact-bar { display: flex !important; }
  #desktop-toolbar { display: none !important; }
}
@media (min-width: 901px) {
  .mobile-compact-bar { display: none !important; }
}

/* Desktop: small contextual link after the toolbar result count (Minimal Luxe only) */
.shop-toolbar__sep {
  margin-left: 10px;
  color: var(--color-text-muted);
  font-size: 13px;
}
.shop-toolbar__chain-link {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
}
.shop-toolbar__chain-link:hover { text-decoration: underline; }

/* Mobile equivalent — separate line below the Filter/Sort row so it never
   competes for space with those two controls (Minimal Luxe only). */
.mobile-chain-link {
  display: none;
  margin: -2px 0 10px;
}
.mobile-chain-link a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
}
@media (max-width: 900px) {
  .mobile-chain-link { display: block !important; }
}
@media (min-width: 901px) {
  .mobile-chain-link { display: none !important; }
}

/* --------------------------------------------------------------------------
   Load More (shop page)
   -------------------------------------------------------------------------- */

.shop-load-more {
  text-align: center;
  padding: 32px 0;
}
.shop-load-more .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.pagination {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}
.pagination__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pagination__inner .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--color-text);
  background: #fff;
}
.pagination__inner .page-numbers:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.pagination__inner .page-numbers.current {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: #fff;
}
.pagination__inner .page-numbers.dots {
  border: none;
  background: none;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE (PDP) — woocommerce/single-product.php
   Ported from bashi-jewelry html/product.html inline <style> block.
   Class names here match the PHP's ACTUAL output (.pdp-* prefixed),
   not the original HTML file's older class names.
   ========================================================================== */

.pdp-breadcrumb {
  padding: var(--space-3) 0;
  border-bottom: var(--border);
  background: var(--color-bg);
}

.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  padding: var(--space-6) 0 var(--space-10);
  align-items: start;
}

/* ── Gallery ──────────────────────────────────────────────────────────── */

.pdp-gallery {
  position: sticky;
  top: 90px;
}

.pdp-gallery__main {
  position: relative;
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-base);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: var(--space-3);
}

.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.pdp-gallery__main:hover img {
  transform: scale(1.06);
}

.pdp-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: var(--z-above);
}

.pdp-gallery__thumbs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pdp-gallery__thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-white);
  transition: border-color var(--transition-base);
  flex-shrink: 0;
  padding: 0;
}

.pdp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-gallery__thumb--active,
.pdp-gallery__thumb:hover {
  border-color: var(--color-gold);
}

/* ── Info Panel ───────────────────────────────────────────────────────── */

.pdp-info__category {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.pdp-info__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.pdp-info__rating-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: var(--border);
  flex-wrap: wrap;
}

.pdp-info__stars {
  color: var(--color-star);
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.pdp-info__rating-num {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
}

.pdp-info__review-count {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.pdp-info__verified {
  font-size: var(--text-sm);
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Price Block ──────────────────────────────────────────────────────── */

.pdp-price-block {
  margin-bottom: var(--space-5);
}

.pdp-price-block__current {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  line-height: 1;
}

.pdp-price-block__original {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pdp-price-block__discount {
  display: inline-block;
  background: var(--color-success-bg);
  color: var(--color-success);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.pdp-price-block__inclusive {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ── Delivery Info Box ────────────────────────────────────────────────── */

.pdp-delivery-box {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-base);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pdp-delivery-box__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text);
}
.pdp-delivery-box__item svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-success);
}

/* ── Size Selector ────────────────────────────────────────────────────── */

.size-options {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.size-option {
  padding: var(--space-2) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.size-option:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.size-option.is-selected {
  border-color: var(--color-gold);
  background: var(--color-gold-bg);
  color: var(--color-gold);
  font-weight: var(--weight-semibold);
}

/* ── Color Swatches ───────────────────────────────────────────────────── */

.color-swatches {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.color-swatch {
  padding: var(--space-2) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.color-swatch:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.color-swatch.is-active {
  border-color: var(--color-gold);
  background: var(--color-gold-bg);
  color: var(--color-gold);
  font-weight: var(--weight-semibold);
}

/* ── Quantity Row ─────────────────────────────────────────────────────── */

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.qty-btn {
  width: 40px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: none;
  cursor: pointer;
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: var(--color-surface-3);
}

.qty-input {
  width: 52px;
  height: 42px;
  text-align: center;
  border: none;
  border-left: var(--border);
  border-right: var(--border);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  background: var(--color-white);
  color: var(--color-text);
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── CTA / Wishlist Row ───────────────────────────────────────────────── */

.pdp-cta {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.pdp-cta .btn {
  padding: var(--space-4);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-base);
}

.pdp-delivery-line {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  text-align: center;
}

.pdp-wishlist-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

/* .product-card__wishlist is normally absolutely-positioned for use inside
   a .product-card image; here it's reused as a plain inline row button,
   so its positioning must be reset to flow normally. */
.pdp-wishlist-row .product-card__wishlist {
  position: static;
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-base);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  box-shadow: none;
  opacity: 1;
  gap: var(--space-2);
}

.pdp-wishlist-row .product-card__wishlist:hover {
  border-color: var(--color-sale, #E91E63);
  color: var(--color-sale, #E91E63);
}

.pdp-share-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-base);
  background: var(--color-white);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.pdp-share-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ── Trust Highlights ─────────────────────────────────────────────────── */

.pdp-highlights {
  border: var(--border);
  border-radius: var(--radius-base);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  background: var(--color-white);
}

/* ── Tabs ─────────────────────────────────────────────────────────────── */

.pdp-tabs {
  margin-bottom: var(--space-8);
}

.pdp-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-5);
  gap: 0;
  flex-wrap: wrap;
}

.pdp-tabs__btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-base);
}

.pdp-tabs__btn:hover {
  color: var(--color-charcoal);
}

/* Active tab trigger — class set by inline JS in single-product.php */
.pdp-tabs__btn.is-active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* Panels are shown/hidden via the native `hidden` attribute (toggled by
   the inline JS in single-product.php); `.is-active` is kept in sync on
   the same element for styling hooks. */
.pdp-tab-content {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-relaxed);
}

.pdp-tab-content[hidden] {
  display: none;
}

.pdp-description p {
  margin-bottom: var(--space-3);
}

/* Rank Math FAQ questions inherit the generic h3 size/weight by default,
   making them visually indistinguishable from the "Good to Know" section
   heading they sit under -- scale them down so they read as sub-items in
   a list, not competing section headings. */
.pdp-description .rank-math-question {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}


.pdp-specs-table {
  font-size: var(--text-base);
}

.pdp-care__content p {
  margin-bottom: var(--space-3);
  line-height: var(--leading-relaxed);
}

/* ── Reviews ──────────────────────────────────────────────────────────── */

.pdp-reviews {
  margin-bottom: var(--space-12);
}

.pdp-reviews__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: var(--border);
}

.pdp-reviews__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 28px;
  align-items: center;
}
.pdp-reviews__avg-num {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1;
}
.pdp-reviews__avg-stars {
  margin: 6px 0;
}
.pdp-reviews__avg-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.pdp-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp-rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.pdp-rating-bar__label {
  width: 32px;
  color: var(--color-text-muted);
  text-align: right;
  flex-shrink: 0;
}
.pdp-rating-bar__track {
  flex: 1;
  height: 8px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
}
.pdp-rating-bar__fill {
  height: 100%;
  background: var(--color-star);
  border-radius: 99px;
}
.pdp-rating-bar__count {
  width: 28px;
  color: var(--color-text-muted);
  text-align: right;
  flex-shrink: 0;
}

.pdp-review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pdp-review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px 22px;
}
.pdp-review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.pdp-review-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-charcoal);
}
.pdp-review-card__date {
  font-size: 12px;
  color: var(--color-text-muted);
}
.pdp-review-card__stars {
  margin-bottom: 6px;
}
.pdp-review-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}
.pdp-review-card__body {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
}
.pdp-review-card__body p:last-child {
  margin-bottom: 0;
}
.pdp-review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #2E7D32;
  font-weight: 500;
  margin-top: 10px;
}

.pdp-write-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .pdp-reviews__summary { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Related Products ─────────────────────────────────────────────────── */

.pdp-related {
  margin-bottom: var(--space-12);
}

.pdp-related__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.pdp-related__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
}

/* --------------------------------------------------------------------------
   Collections Overview Page (page-templates/collections.php)
   -------------------------------------------------------------------------- */

.collections-hero {
  background: linear-gradient(135deg, #1A1A1A, #2C2620);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.collections-hero__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.collections-hero__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  max-width: 500px;
  margin: 0 auto;
}

.collections-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0;
}

.collections-archive-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast, 0.2s);
}
.collections-archive-card:hover {
  box-shadow: var(--shadow-lg);
}
.collections-archive-card__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2C2620, #4A3728);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.collections-archive-card__img-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  padding: 20px;
}
.collections-archive-card__body {
  padding: 20px;
}
.collections-archive-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}
.collections-archive-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.collections-archive-card__count {
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .collections-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .collections-archive-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Category Hero + Subcategory Tabs (woocommerce/archive-product.php, category view)
   -------------------------------------------------------------------------- */

.cat-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2620 100%);
  color: #fff;
  padding: 40px 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B88A32' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cat-hero__inner {
  position: relative;
  z-index: 1;
}
.cat-hero__breadcrumb {
  margin-bottom: 16px;
}
.cat-hero__breadcrumb .breadcrumb {
  padding: 0;
}
.cat-hero__breadcrumb .breadcrumb__item {
  color: rgba(255, 255, 255, 0.5);
}
.cat-hero__breadcrumb .breadcrumb__item a {
  color: rgba(255, 255, 255, 0.5);
}
.cat-hero__breadcrumb .breadcrumb__item a:hover {
  color: #fff;
}
.cat-hero__breadcrumb .breadcrumb__item:last-child {
  color: rgba(255, 255, 255, 0.9);
}
.cat-hero__breadcrumb .breadcrumb__separator {
  color: rgba(255, 255, 255, 0.3);
}
.cat-hero__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.cat-hero__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}
.cat-hero__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
}

.subcat-tabs {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
}
.subcat-tabs__inner {
  display: flex;
  gap: 0;
  min-width: max-content;
}
.subcat-tab {
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
  display: inline-block;
}
.subcat-tab:hover {
  color: var(--color-charcoal);
}
.subcat-tab--active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
  font-weight: 600;
}

@media (max-width: 768px) {
  .cat-hero { padding: 20px 0 !important; }
  .cat-hero__title { font-size: 22px !important; }
}

/* --------------------------------------------------------------------------
   Product Listing (page-templates/product-listing.php)
   New Arrivals / Best Sellers / Sale — hero + toolbar, no sidebar
   -------------------------------------------------------------------------- */

.listing-hero {
  background: linear-gradient(135deg, #1A1A1A, #2C2620);
  color: #fff;
  padding: 40px 0;
}
.listing-hero__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.listing-hero__title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.listing-hero__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 440px;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.listing-toolbar__count {
  flex: 1;
  font-size: 13px;
  color: var(--color-text-muted);
}
.listing-toolbar__sort select {
  padding: 7px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}

@media (max-width: 768px) {
  .listing-hero { padding: 20px 0 !important; }
  .listing-hero__title { font-size: 22px !important; }
}
