.woocommerce ul.products{display:grid;}

/*single product page*/

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-400); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb i { font-size: 10px; }
.breadcrumb span:last-child { color: var(--gray-700); font-weight: 500; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 60px;
}

.product-layout {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Thumbnail Column ── */
.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thumbnail-nav-btn {
  width: 100%;
  padding: 6px;
  font-size: 14px;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.thumbnail-nav-btn:hover { border-color: var(--black); color: var(--black); }
.thumb {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  aspect-ratio: 3/4;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.thumb:hover img { transform: scale(1.06); }
.thumb.active { border-color: var(--black); }

/* ── Main Image ── */
.product-main-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  cursor: zoom-in;
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.product-main-image:hover img { transform: scale(1.05); }
.sale-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--sale-red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: .5px;
  animation: pulse-badge 2.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ── Product Info ── */
.product-info { display: flex; flex-direction: column; gap: 20px; }

.product-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.stars { color: var(--star-gold); font-size: 14px; }
.rating-count { color: var(--gray-500); }

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.price-current { font-size: 26px; font-weight: 800; }
.price-original { font-size: 17px; color: var(--gray-400); text-decoration: line-through; }
.price-discount {
  font-size: 13px;
  font-weight: 700;
  color: var(--sale-red);
  background: #fde8ea;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: .3px;
}

.product-short-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

.divider { height: 1px; background: var(--gray-200); }

/* Color Selector */
.selector-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.selector-label span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gray-500); margin-left: 6px; }
.color-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: all var(--transition);
}
.swatch:hover, .swatch.active { outline-color: var(--black); }
.swatch.white { background: #fff; border-color: var(--gray-300); }
.swatch.black { background: #0a0a0a; }
.swatch.gray  { background: #9ca3af; }
.swatch.brown { background: #92400e; }
.swatch.green { background: #166534; }
.swatch.navy  { background: #1e3a5f; }

/* Size Selector */
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 48px;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--black); color: var(--black); }
.size-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* Quantity */
.quantity-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.quantity-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--gray-500);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.qty-btn:hover { background: var(--gray-100); color: var(--black); }
.qty-input {
  width: 48px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--gray-300);
  border-right: 1.5px solid var(--gray-300);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  outline: none;
  background: var(--white);
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Add to Cart */
.btn-add-cart {
  flex: 1;
  min-width: 200px;
  height: 52px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-add-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.btn-add-cart:hover::before { transform: translateX(0); }
.btn-add-cart:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-add-cart:active { transform: translateY(0); box-shadow: none; }
.btn-add-cart.loading { pointer-events: none; opacity: .75; }
.btn-add-cart .spinner { display: none; }
.btn-add-cart.loading .btn-text { display: none; }
.btn-add-cart.loading .spinner { display: inline-block; }
.spinner-ring {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Wishlist */
.btn-wishlist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 10px 0;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}
.btn-wishlist:hover { color: var(--black); }
.btn-wishlist i { font-size: 16px; transition: color var(--transition), transform var(--transition); }
.btn-wishlist.wishlisted i { color: #e63946; transform: scale(1.2); }

/* ============================================================
   FEATURE ICONS STRIP
   ============================================================ */
.feature-strip {
  background: var(--gray-100);
  padding: 32px 24px;
  margin-top: 40px;
}
.feature-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--black);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover .feature-icon { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-text h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.feature-text p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ============================================================
   PRODUCT TABS
   ============================================================ */
.tabs-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
}
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--black); }
.tab-btn.active { color: var(--black); border-bottom-color: var(--black); }

.tab-content { display: none; padding: 32px 0; }
.tab-content.active { display: block; animation: fadeInUp .3s ease; }

.tab-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.desc-text p { font-size: 14px; color: var(--gray-500); line-height: 1.8; margin-bottom: 20px; }
.desc-list { display: flex; flex-direction: column; gap: 8px; }
.desc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.desc-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Spec Table */
.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--gray-100); }
.spec-table td {
  padding: 12px 0;
  font-size: 14px;
}
.spec-table td:first-child { font-weight: 600; width: 130px; }
.spec-table td:last-child { color: var(--gray-500); }

/* Reviews Tab */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}
.reviews-avg .number { font-size: 52px; font-weight: 800; line-height: 1; }
.reviews-avg .stars { font-size: 20px; margin: 8px 0 4px; }
.reviews-avg .count { font-size: 13px; color: var(--gray-400); }
.reviews-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.bar-row .label { width: 40px; }
.bar-track { flex: 1; height: 8px; background: var(--gray-300); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--star-gold); border-radius: 99px; transition: width 1s ease; }

/* Shipping Tab */
.shipping-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shipping-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
}
.shipping-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.shipping-card h4 i { color: var(--gray-500); }
.shipping-card p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   YOU MAY ALSO LIKE
   ============================================================ */
.related-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 60px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .card-image img { transform: scale(1.08); }

.card-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--gray-400);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.card-wishlist:hover { color: #e63946; transform: scale(1.1); }
.card-wishlist.active { color: #e63946; }

.card-body { padding: 12px 4px; }
.card-name { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: 14px; font-weight: 700; }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gray-400); }
.card-rating i { color: var(--star-gold); }

/* ============================================================
   TRUST BADGES STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 24px;
}
.trust-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition);
}
.trust-item:hover { transform: translateY(-2px); }
.trust-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-text h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.trust-text p { font-size: 12px; color: var(--gray-400); }