/**
 * YensBaby E-Commerce Master Design System & Component Stylesheet
 * Covers: Shop / Catalog / Filters / Single Product / Cart / Checkout / My Account
 */

/* ==========================================================================
   1. GLOBAL E-COMMERCE BASE TOKENS & TYPOGRAPHY
   ========================================================================== */
.woocommerce-Price-amount {
  font-weight: 700;
  color: inherit;
}

.woocommerce-Price-currencySymbol {
  font-size: 0.85em;
  margin-right: 2px;
}

/* ==========================================================================
   2. SHOP / CATALOG PAGE & FILTER SIDEBAR (ARCHIVE-PRODUCT.PHP)
   ========================================================================== */
.yens-shop-header-section {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 24px 0 20px 0;
  margin-bottom: 28px;
}

.yens-shop-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.yens-shop-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  margin: 0;
}

.yens-shop-layout-section {
  padding-bottom: 60px;
}

.yens-shop-grid-wrapper {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Sidebar Filter Card */
.yens-shop-sidebar {
  width: 100%;
}

.yens-sidebar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.yens-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #F1F5F9;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.yens-sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.yens-sidebar-close-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #64748B;
  cursor: pointer;
}

.yens-filter-group {
  margin-bottom: 24px;
}

.yens-filter-group:last-child {
  margin-bottom: 0;
}

.yens-filter-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px 0;
}

/* Categories List */
.yens-filter-cat-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yens-filter-cat-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.yens-filter-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.yens-filter-cat-list li a:hover,
.yens-filter-cat-list li.active a {
  background: #EFF6FF;
  color: #0984E3;
  font-weight: 600;
}

.yens-filter-cat-list .count {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* Price Range & Checkbox Filters */
.yens-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.yens-price-inputs input[type="number"],
.yens-price-inputs input[type="text"] {
  width: 100%;
  height: 38px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 0.85rem;
  color: #1E293B;
  background: #FFFFFF;
}

.yens-filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
  cursor: pointer;
  margin-bottom: 8px;
}

.yens-filter-checkbox-label input[type="checkbox"] {
  accent-color: #0984E3;
  width: 16px;
  height: 16px;
}

.yens-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.yens-btn-filter-apply {
  height: 40px;
  background: #0984E3;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.yens-btn-filter-apply:hover {
  background: #0069D9;
}

.yens-btn-filter-reset {
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
  text-decoration: none;
}

.yens-btn-filter-reset:hover {
  color: #EF4444;
}

/* Catalog Top Toolbar */
.yens-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 24px;
}

.yens-result-count {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

.yens-catalog-sort select,
.woocommerce-ordering select {
  height: 38px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.88rem;
  color: #1E293B;
  background: #FFFFFF;
  cursor: pointer;
}

/* Product Grid */
.yens-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.yens-product-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Standard Product Card */
.yens-product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
}

.yens-product-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.yens-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #F8FAFC;
  overflow: hidden;
}

.yens-card-img-wrap img,
.yens-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.yens-badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.yens-card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.yens-card-wishlist:hover {
  background: #FFFFFF;
  color: #EF4444;
  border-color: #EF4444;
}

.yens-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.yens-card-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0984E3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.yens-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.yens-card-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.yens-card-title a:hover {
  color: #0984E3;
}

.yens-card-price-row {
  margin-top: auto;
  margin-bottom: 12px;
}

.yens-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
}

.yens-card-price del {
  font-size: 0.85rem;
  font-weight: 400;
  color: #94A3B8;
  margin-right: 6px;
}

.yens-card-price ins {
  text-decoration: none;
  color: #0984E3;
}

.yens-card-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  background: #EFF6FF;
  color: #0984E3;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.yens-card-add-btn:hover {
  background: #0984E3;
  color: #FFFFFF;
}

/* Pagination */
.yens-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.yens-pagination ul,
.woocommerce-pagination ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  gap: 6px;
}

.yens-pagination li,
.woocommerce-pagination li {
  margin: 0 !important;
}

.yens-pagination a,
.yens-pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  background: #FFFFFF;
}

.yens-pagination span.current,
.woocommerce-pagination span.current {
  background: #0984E3;
  color: #FFFFFF;
  border-color: #0984E3;
}

/* ==========================================================================
   3. SINGLE PRODUCT DETAIL PAGE (LILLA.ID INSPIRED + YENSBABY BLUE)
   STRICTLY SCOPED TO .single-product / .yens-single-product-wrap
   ========================================================================== */
.single-product .site-main,
.single-product .yens-single-product-wrap,
.yens-single-product-wrap {
  background-color: #F8FAFC !important;
  padding: 10px 0 40px 0 !important;
}

.single-product .yens-single-product-wrap .yens-container,
.yens-single-product-wrap .yens-container {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* 3.1 Single Authoritative Breadcrumb */
.single-product .yens-product-breadcrumb,
.yens-single-product-wrap .yens-product-breadcrumb {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  font-size: 0.85rem !important;
  color: #64748B !important;
  margin: 12px 0 24px 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

.single-product .yens-product-breadcrumb a,
.yens-single-product-wrap .yens-product-breadcrumb a {
  color: #64748B !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.single-product .yens-product-breadcrumb a:hover,
.yens-single-product-wrap .yens-product-breadcrumb a:hover {
  color: #0984E3 !important;
}

.single-product .yens-product-breadcrumb .sep,
.yens-single-product-wrap .yens-product-breadcrumb .sep {
  color: #CBD5E1 !important;
  font-size: 0.75rem !important;
  user-select: none !important;
}

.single-product .yens-product-breadcrumb .current,
.yens-single-product-wrap .yens-product-breadcrumb .current {
  color: #0F172A !important;
  font-weight: 600 !important;
}

/* 3.2 Product Hero 2-Column Grid */
.single-product .yens-product-hero-grid,
.yens-single-product-wrap .yens-product-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important;
  gap: 40px !important;
  align-items: start !important;
  margin-bottom: 48px !important;
}

@media (max-width: 991px) {
  .single-product .yens-product-hero-grid,
  .yens-single-product-wrap .yens-product-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* 3.3 Left Column: Product Gallery */
.single-product .yens-product-gallery-card,
.yens-single-product-wrap .yens-product-gallery-card {
  position: relative !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
}

.single-product .yens-gallery-badge-sale,
.yens-single-product-wrap .yens-gallery-badge-sale {
  position: absolute !important;
  top: 20px !important;
  left: 20px !important;
  background: #FF7675 !important;
  color: #FFFFFF !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 30px !important;
  z-index: 2 !important;
  box-shadow: 0 2px 8px rgba(255, 118, 117, 0.3) !important;
}

.single-product .yens-main-image-viewport,
.yens-single-product-wrap .yens-main-image-viewport {
  width: 100% !important;
  max-width: 480px !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  margin: 0 auto !important;
}

.single-product .yens-main-image-viewport img,
.yens-single-product-wrap .yens-main-image-viewport img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.single-product .yens-gallery-thumbs-strip,
.yens-single-product-wrap .yens-gallery-thumbs-strip {
  display: flex !important;
  gap: 12px !important;
  margin-top: 20px !important;
  overflow-x: auto !important;
  padding-bottom: 6px !important;
  justify-content: center !important;
}

.single-product .yens-thumb-btn,
.yens-single-product-wrap .yens-thumb-btn {
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 72px !important;
  padding: 4px !important;
  background: #FFFFFF !important;
  border: 2px solid #E2E8F0 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.single-product .yens-thumb-btn:hover,
.single-product .yens-thumb-btn.active,
.yens-single-product-wrap .yens-thumb-btn.active {
  border-color: #0984E3 !important;
  box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.15) !important;
}

.single-product .yens-thumb-btn img,
.yens-single-product-wrap .yens-thumb-btn img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

/* 3.4 Right Column: Product Summary */
.single-product .yens-product-summary-card,
.yens-single-product-wrap .yens-product-summary-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.single-product .yens-product-category-tag a,
.yens-single-product-wrap .yens-product-category-tag a {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #0984E3 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 4px 10px !important;
  background: #EBF5FF !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.single-product .yens-product-category-tag a:hover,
.yens-single-product-wrap .yens-product-category-tag a:hover {
  background: #D8ECFE !important;
}

.single-product .yens-product-detail-title,
.yens-single-product-wrap .yens-product-detail-title {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .single-product .yens-product-detail-title,
  .yens-single-product-wrap .yens-product-detail-title {
    font-size: 1.4rem !important;
  }
}

.single-product .yens-product-rating-row,
.yens-single-product-wrap .yens-product-rating-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.9rem !important;
}

.single-product .yens-stars-wrap,
.yens-single-product-wrap .yens-stars-wrap {
  display: flex !important;
  gap: 3px !important;
  color: #F59E0B !important;
}

.single-product .yens-rating-score,
.yens-single-product-wrap .yens-rating-score {
  font-weight: 700 !important;
  color: #1E293B !important;
}

.single-product .yens-rating-count-link,
.yens-single-product-wrap .yens-rating-count-link {
  color: #64748B !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
}

.single-product .yens-rating-count-link:hover,
.yens-single-product-wrap .yens-rating-count-link:hover {
  color: #0984E3 !important;
  text-decoration: underline !important;
}

/* Price presentation */
.single-product .yens-product-price-container,
.yens-single-product-wrap .yens-product-price-container {
  display: flex !important;
  align-items: baseline !important;
  gap: 14px !important;
  margin-top: 2px !important;
}

.single-product .yens-price-display,
.yens-single-product-wrap .yens-price-display {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #0984E3 !important;
}

.single-product .yens-price-display del,
.yens-single-product-wrap .yens-price-display del {
  font-size: 1.15rem !important;
  color: #94A3B8 !important;
  font-weight: 500 !important;
  margin-right: 8px !important;
}

.single-product .yens-price-display ins,
.yens-single-product-wrap .yens-price-display ins {
  text-decoration: none !important;
  color: #0984E3 !important;
}

.single-product .yens-discount-pill,
.yens-single-product-wrap .yens-discount-pill {
  background: #FF7675 !important;
  color: #FFFFFF !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

/* Stock status & SKU */
.single-product .yens-stock-sku-row,
.yens-single-product-wrap .yens-stock-sku-row {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  font-size: 0.88rem !important;
}

.single-product .yens-stock-pill,
.yens-single-product-wrap .yens-stock-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.single-product .yens-stock-pill.in-stock,
.yens-single-product-wrap .yens-stock-pill.in-stock {
  background: #ECFDF5 !important;
  color: #059669 !important;
}

.single-product .yens-stock-pill.out-of-stock,
.yens-single-product-wrap .yens-stock-pill.out-of-stock {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
}

.single-product .yens-stock-pill .stock-dot,
.yens-single-product-wrap .yens-stock-pill .stock-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: currentColor !important;
}

.single-product .yens-sku-tag,
.yens-single-product-wrap .yens-sku-tag {
  color: #94A3B8 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

.single-product .yens-product-short-description,
.yens-single-product-wrap .yens-product-short-description {
  font-size: 0.95rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  border-top: 1px solid #F1F5F9 !important;
  padding-top: 14px !important;
}

/* Native Add to Cart Controls */
.single-product .yens-product-add-to-cart-container,
.yens-single-product-wrap .yens-product-add-to-cart-container {
  padding: 10px 0 16px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.single-product form.cart,
.yens-single-product-wrap form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}

.single-product form.cart .quantity,
.yens-single-product-wrap form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  background: #F8FAFC !important;
  overflow: hidden !important;
  height: 48px !important;
}

.single-product form.cart .quantity input.qty,
.yens-single-product-wrap form.cart .quantity input.qty {
  width: 54px !important;
  height: 48px !important;
  text-align: center !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.single-product form.cart .single_add_to_cart_button,
.yens-single-product-wrap form.cart .single_add_to_cart_button {
  flex: 1 1 200px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0984E3 0%, #0270D1 100%) !important;
  color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  padding: 0 28px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(9, 132, 227, 0.28) !important;
}

.single-product form.cart .single_add_to_cart_button:hover,
.yens-single-product-wrap form.cart .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #0270D1 0%, #0156A0 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(9, 132, 227, 0.35) !important;
}

/* Trust Props Box */
.single-product .yens-product-trust-container,
.yens-single-product-wrap .yens-product-trust-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
}

.single-product .yens-trust-item,
.yens-single-product-wrap .yens-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.single-product .yens-trust-icon-box,
.yens-single-product-wrap .yens-trust-icon-box {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #EBF5FF !important;
  color: #0984E3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
}

.single-product .yens-trust-text,
.yens-single-product-wrap .yens-trust-text {
  display: flex !important;
  flex-direction: column !important;
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
}

.single-product .yens-trust-text strong,
.yens-single-product-wrap .yens-trust-text strong {
  color: #0F172A !important;
  font-weight: 700 !important;
}

.single-product .yens-trust-text span,
.yens-single-product-wrap .yens-trust-text span {
  color: #64748B !important;
  font-size: 0.8rem !important;
}

/* 3.5 Product Information Tabs */
.single-product .yens-product-tabs-section,
.yens-single-product-wrap .yens-product-tabs-section {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 56px !important;
}

.single-product .yens-tabs-nav,
.yens-single-product-wrap .yens-tabs-nav {
  display: flex !important;
  gap: 12px !important;
  border-bottom: 2px solid #F1F5F9 !important;
  padding: 0 0 16px 0 !important;
  margin: 0 0 24px 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
}

.single-product .yens-tabs-nav li,
.yens-single-product-wrap .yens-tabs-nav li {
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .yens-tabs-nav li a,
.yens-single-product-wrap .yens-tabs-nav li a {
  display: inline-block !important;
  padding: 8px 18px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.single-product .yens-tabs-nav li:hover a,
.yens-single-product-wrap .yens-tabs-nav li:hover a {
  color: #0984E3 !important;
  background: #F8FAFC !important;
}

.single-product .yens-tabs-nav li.active a,
.yens-single-product-wrap .yens-tabs-nav li.active a {
  color: #FFFFFF !important;
  background: #0984E3 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(9, 132, 227, 0.25) !important;
}

.single-product .yens-tab-content,
.yens-single-product-wrap .yens-tab-content {
  display: none !important;
}

.single-product .yens-tab-content.active,
.yens-single-product-wrap .yens-tab-content.active {
  display: block !important;
}

.single-product .yens-tab-inner-content,
.yens-single-product-wrap .yens-tab-inner-content {
  font-size: 0.95rem !important;
  color: #334155 !important;
  line-height: 1.7 !important;
}

.single-product .yens-tab-inner-content h2,
.single-product .yens-tab-inner-content h3,
.yens-single-product-wrap .yens-tab-inner-content h2,
.yens-single-product-wrap .yens-tab-inner-content h3 {
  color: #0F172A !important;
  font-weight: 800 !important;
  margin: 20px 0 10px 0 !important;
}

.single-product .yens-empty-tab-notice,
.yens-single-product-wrap .yens-empty-tab-notice {
  color: #94A3B8 !important;
  font-style: italic !important;
  margin: 0 !important;
}

/* 3.6 Related Products Section */
.single-product .yens-related-products-block,
.yens-single-product-wrap .yens-related-products-block {
  margin-top: 48px !important;
  margin-bottom: 60px !important;
}

.single-product .yens-related-header,
.yens-single-product-wrap .yens-related-header {
  margin-bottom: 24px !important;
}

.single-product .yens-related-title,
.yens-single-product-wrap .yens-related-title {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 6px 0 !important;
}

.single-product .yens-related-subtitle,
.yens-single-product-wrap .yens-related-subtitle {
  font-size: 0.9rem !important;
  color: #64748B !important;
  margin: 0 !important;
}


/* ==========================================================================
   4. CART PAGE LAYOUT (IS_CART())
   ========================================================================== */
.woocommerce-cart .site-main,
.woocommerce-cart .entry-content {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce-cart table.cart {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 30px !important;
}

.woocommerce-cart table.cart th {
  background: #F8FAFC !important;
  padding: 16px 20px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.woocommerce-cart table.cart td {
  padding: 18px 20px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  vertical-align: middle !important;
}

.woocommerce-cart .cart_totals {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  max-width: 500px !important;
  margin-left: auto !important;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 16px 0 !important;
}

.woocommerce-cart .cart_totals table {
  width: 100% !important;
  margin-bottom: 20px !important;
}

.woocommerce-cart .checkout-button {
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, #0984E3, #0069D9) !important;
  color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-cart .checkout-button:hover {
  background: linear-gradient(135deg, #0069D9, #0056B3) !important;
}



/* ==========================================================================
   5. CHECKOUT PAGE 2-COLUMN LAYOUT & SHIPPING CARDS
   ========================================================================== */
.woocommerce-checkout .site-main,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .yens-container {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.yens-checkout-page-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

form.checkout.woocommerce-checkout,
.yens-checkout-form {
  width: 100% !important;
  display: block !important;
}

.yens-checkout-layout-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr !important;
  gap: 36px !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {
  .yens-checkout-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

.yens-checkout-main-col {
  width: 100% !important;
  min-width: 0 !important;
}

.yens-checkout-sidebar-col {
  width: 100% !important;
  min-width: 0 !important;
}

.yens-checkout-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 28px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.yens-checkout-section-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 20px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  font-size: 0.92rem !important;
}

.woocommerce-checkout-review-order-table th {
  color: #64748B !important;
  font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table td {
  color: #0F172A !important;
  text-align: right !important;
}

/* FULL-WIDTH SHIPPING ROW INSIDE REVIEW TABLE */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
  display: block !important;
  width: 100% !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
  padding: 14px 0 !important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  padding: 0 0 10px 0 !important;
  border: none !important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
}

/* KIRIMINAJA AUTHORIZED 3-SERVICE SHIPPING CARDS */
ul#shipping_method,
.woocommerce-shipping-methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

ul#shipping_method li,
.woocommerce-shipping-methods li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

ul#shipping_method li:hover {
  border-color: #0984E3 !important;
  background: #F8FAFC !important;
}

ul#shipping_method li input[type="radio"] {
  margin: 0 12px 0 0 !important;
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  accent-color: #0984E3 !important;
  cursor: pointer !important;
}

ul#shipping_method li label {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  cursor: pointer !important;
  gap: 12px !important;
  min-width: 0 !important;
}

ul#shipping_method li label .amount {
  font-weight: 800 !important;
  color: #0984E3 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #0984E3 !important;
  border-top: 2px solid #E2E8F0 !important;
  padding-top: 16px !important;
}

/* XENDIT PAYMENT BOX & PLACE ORDER BUTTON */
#payment {
  background: transparent !important;
}

#payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
}

#payment ul.payment_methods li {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
}

#payment ul.payment_methods li label {
  font-weight: 700 !important;
  color: #0F172A !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#place_order,
.woocommerce-checkout #place_order {
  width: 100% !important;
  height: 50px !important;
  background: linear-gradient(135deg, #0984E3, #0069D9) !important;
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(9, 132, 227, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

#place_order:hover {
  background: linear-gradient(135deg, #0069D9, #0056B3) !important;
  box-shadow: 0 6px 18px rgba(9, 132, 227, 0.4) !important;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991px) {
  .yens-shop-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .yens-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yens-single-product-layout {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .yens-checkout-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .yens-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .yens-single-trust-grid {
    grid-template-columns: 1fr;
  }
}


/* Hide redundant shipping dropdown if present */
select.shipping_method,
select#shipping_method_0,
.woocommerce-shipping-totals select {
  display: none !important;
}
