/**
 * Yistar Worldwide - WooCommerce Stylesheet
 */

/* ==========================================================================
   1. SHOP HERO BANNER
   ========================================================================== */
.yw-shop-hero {
  background: linear-gradient(135deg, #092c47 0%, #061828 100%);
  color: #ffffff;
  padding: 44px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.yw-shop-hero:before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 106, 237, 0.18) 0%, rgba(14, 106, 237, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.yw-shop-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.yw-shop-hero-copy {
  max-width: 680px;
}
.yw-shop-hero .yw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.yw-shop-hero .yw-eyebrow:before {
  content: "";
  width: 20px;
  height: 2px;
  background: #60a5fa;
}
.yw-shop-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.yw-shop-lead {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
.yw-shop-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.yw-breadcrumbs {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.yw-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.yw-breadcrumbs a:hover {
  color: #60a5fa;
}
.yw-crumb-sep {
  color: #64748b;
  font-size: 11px;
}
.yw-shop-badge-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.yw-shop-badge-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}
.yw-shop-badge-strip i {
  color: #34d399;
}

/* ==========================================================================
   2. MAIN 2-COLUMN SHOP LAYOUT
   ========================================================================== */
.yw-shop-section {
  padding: 44px 0 76px;
  background: #f8fafc;
}
.yw-shop-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
}

/* ==========================================================================
   3. LEFT SIDEBAR STYLING
   ========================================================================== */
.yw-shop-sidebar {
  position: relative;
}
.yw-sidebar-sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.yw-sidebar-mobile-head {
  display: none;
}
.yw-shop-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(9, 44, 71, 0.03);
}
.yw-widget-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #092c47;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yw-title-icon {
  color: #0e6aed;
  font-size: 15px;
}

/* Search widget */
.yw-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.yw-search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}
.yw-search-field {
  width: 100%;
  padding: 11px 40px 11px 38px;
  font-family: inherit;
  font-size: 13.5px;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  transition: all 0.2s ease;
  outline: none;
}
.yw-search-field:focus {
  background: #ffffff;
  border-color: #0e6aed;
  box-shadow: 0 0 0 3px rgba(14, 106, 237, 0.12);
}
.yw-search-submit {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 15px;
  transition: color 0.2s ease;
}
.yw-search-submit:hover {
  color: #0e6aed;
}

/* Category tree in sidebar */
.yw-cat-tree {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.yw-cat-item {
  position: relative;
}
.yw-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.yw-cat-link,
.yw-cat-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: 6px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s ease;
}
.yw-cat-item > a:hover,
.yw-cat-link:hover {
  background: #f1f5f9;
  color: #0e6aed;
  transform: translateX(2px);
}
.yw-cat-item.active > a,
.yw-cat-item.active > .yw-cat-row > .yw-cat-link {
  background: #e6f0fd;
  color: #0e6aed;
  font-weight: 700;
}
.yw-cat-item.active-parent > .yw-cat-row > .yw-cat-link {
  color: #0e6aed;
  font-weight: 700;
}
.yw-cat-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.yw-cat-name i {
  color: #0e6aed;
  font-size: 14px;
}
.yw-cat-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  min-width: 22px;
  text-align: center;
  transition: all 0.18s ease;
}
.yw-cat-item.active .yw-cat-count,
.yw-cat-item > a:hover .yw-cat-count,
.yw-cat-link:hover .yw-cat-count {
  background: #0e6aed;
  color: #ffffff;
}
.yw-cat-toggle {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 11px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.yw-cat-toggle:hover {
  color: #0e6aed;
}

/* Subcategories */
.yw-sub-cats {
  list-style: none;
  margin: 2px 0 6px 14px;
  padding: 0 0 0 10px;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yw-cat-child a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}
.yw-cat-child a:hover {
  background: #f1f5f9;
  color: #0e6aed;
}
.yw-cat-child.active a {
  background: #e6f0fd;
  color: #0e6aed;
  font-weight: 700;
}
.yw-cat-child.active .yw-cat-count {
  background: #0e6aed;
  color: #ffffff;
}

/* Sort links */
.yw-sort-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.yw-sort-links a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}
.yw-sort-links a:hover {
  background: #f1f5f9;
  color: #0e6aed;
}
.yw-sort-links a.active {
  background: #e6f0fd;
  color: #0e6aed;
  font-weight: 700;
}

/* Custom OEM RFQ Callout Card in Sidebar */
.yw-sidebar-rfq-card {
  background: linear-gradient(145deg, #092c47 0%, #0c3352 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(9, 44, 71, 0.15);
}
.yw-rfq-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 106, 237, 0.28);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.yw-sidebar-rfq-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.yw-sidebar-rfq-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 14px;
}
.yw-rfq-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yw-rfq-features li {
  font-size: 12.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yw-rfq-features i {
  color: #34d399;
}
.yw-sidebar-rfq-btn {
  width: 100%;
  padding: 11px;
  font-size: 13px;
  border-radius: 6px;
  background: #0e6aed;
  border-color: #0e6aed;
}
.yw-sidebar-rfq-btn:hover {
  background: #1a5ade;
  border-color: #1a5ade;
}

/* ==========================================================================
   4. SHOP TOOLBAR & ORDERING
   ========================================================================== */
.yw-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(9, 44, 71, 0.02);
  flex-wrap: wrap;
  gap: 14px;
}
.yw-toolbar-results .woocommerce-result-count {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  float: none !important;
}
.yw-toolbar-ordering .woocommerce-ordering {
  margin: 0;
  float: none !important;
}
.yw-toolbar-ordering .woocommerce-ordering select {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23334155' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 34px 8px 14px;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.yw-toolbar-ordering .woocommerce-ordering select:focus {
  border-color: #0e6aed;
  box-shadow: 0 0 0 3px rgba(14, 106, 237, 0.12);
  background-color: #ffffff;
}
.yw-filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  background: #092c47;
  color: #ffffff;
  border: 1px solid #092c47;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   5. PRODUCT GRID (ul.products)
   ========================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 0 0 36px !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}
.woocommerce ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(9, 44, 71, 0.04) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(9, 44, 71, 0.1) !important;
  border-color: #93c5fd !important;
}

/* Product link wrapping thumbnail and details */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}

/* Image container */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  background: #f8fafc;
  margin: 0 !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}
.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img {
  transform: scale(1.05) !important;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 8 !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.3 !important;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.35) !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #092c47 !important;
  padding: 16px 18px 6px !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  transition: color 0.2s ease !important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #0e6aed !important;
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating {
  margin: 0 18px 8px !important;
  font-size: 12px !important;
  color: #f59e0b !important;
  float: none !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #0e6aed !important;
  padding: 0 18px 14px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}
.woocommerce ul.products li.product .price del {
  font-size: 13.5px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  font-size: 17.5px !important;
  font-weight: 800 !important;
  color: #0e6aed !important;
}

/* Add to cart button */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.button.add_to_cart_button {
  margin: auto 18px 18px !important;
  padding: 10px 16px !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  background: #092c47 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  border: 1px solid #092c47 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.button.add_to_cart_button:hover {
  background: #0e6aed !important;
  border-color: #0e6aed !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(14, 106, 237, 0.28) !important;
}
.woocommerce ul.products li.product a.button.added {
  display: none !important;
}
.woocommerce ul.products li.product a.added_to_cart {
  display: block !important;
  margin: -10px 18px 16px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: center !important;
  background: #e6f0fd !important;
  color: #0e6aed !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

/* ==========================================================================
   6. PAGINATION
   ========================================================================== */
.yw-shop-pagination-wrap {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.woocommerce-pagination li {
  border: none !important;
  margin: 0 !important;
  float: none !important;
}
.woocommerce-pagination a,
.woocommerce-pagination span.current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.woocommerce-pagination a:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0e6aed !important;
}
.woocommerce-pagination span.current {
  background: #0e6aed !important;
  border-color: #0e6aed !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(14, 106, 237, 0.25) !important;
}

/* Empty state */
.yw-no-products {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 60px 30px;
  text-align: center;
  max-width: 520px;
  margin: 20px auto;
}
.yw-no-products-icon {
  font-size: 44px;
  color: #94a3b8;
  margin-bottom: 14px;
}
.yw-no-products h3 {
  font-size: 20px;
  font-weight: 700;
  color: #092c47;
  margin: 0 0 8px;
}
.yw-no-products p {
  color: #64748b;
  font-size: 14.5px;
  margin: 0 0 20px;
}

/* ==========================================================================
   7. WOOCOMMERCE NOTICES
   ========================================================================== */
.yw-notices-container {
  margin-bottom: 20px;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 20px 14px 50px !important;
  margin: 0 0 20px !important;
  position: relative !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  list-style: none !important;
}
.woocommerce-message {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
  border-left: 4px solid #10b981 !important;
}
.woocommerce-info {
  background: #eff6ff !important;
  color: #1e40af !important;
  border: 1px solid #bfdbfe !important;
  border-left: 4px solid #3b82f6 !important;
}
.woocommerce-error {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
  border-left: 4px solid #ef4444 !important;
}
.woocommerce-message .button,
.woocommerce-info .button {
  background: #092c47 !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  float: right !important;
  margin-top: -2px !important;
  text-decoration: none !important;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
  background: #0e6aed !important;
}

/* ==========================================================================
   8. SINGLE PRODUCT PAGE STYLES
   ========================================================================== */
.yw-single-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 0;
}
.yw-single-product-section {
  padding: 44px 0 80px;
  background: #ffffff;
}
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.single-product .woocommerce-product-gallery {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 16px;
}
.single-product .summary.entry-summary {
  display: flex;
  flex-direction: column;
}
.single-product .product_title {
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 800 !important;
  color: #092c47 !important;
  margin: 0 0 12px !important;
  line-height: 1.2 !important;
}
.single-product .summary .price {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0e6aed !important;
  margin: 0 0 18px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
}
.single-product .summary .price del {
  color: #94a3b8 !important;
  font-size: 18px !important;
}
.single-product .woocommerce-product-details__short-description {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}
.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.single-product .quantity input.qty {
  width: 70px;
  height: 46px;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}
.single-product .single_add_to_cart_button {
  height: 46px;
  padding: 0 32px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  background: #0e6aed !important;
  color: #ffffff !important;
  border: 1px solid #0e6aed !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.single-product .single_add_to_cart_button:hover {
  background: #1a5ade !important;
  border-color: #1a5ade !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(14, 106, 237, 0.3) !important;
}
.single-product .product_meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}
.single-product .product_meta a {
  color: #0e6aed;
  font-weight: 600;
  text-decoration: none;
}

/* Tabs & related products */
.woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 48px;
}
.woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 8px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  list-style: none !important;
}
.woocommerce-tabs ul.tabs li {
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 12px 20px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
  transition: all 0.2s ease !important;
}
.woocommerce-tabs ul.tabs li.active a {
  color: #0e6aed !important;
  border-bottom-color: #0e6aed !important;
}
.woocommerce-tabs .panel {
  padding: 10px 0;
  color: #334155;
  line-height: 1.7;
}

/* Related products */
.related.products {
  grid-column: 1 / -1;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.related.products > h2 {
  font-size: 22px;
  font-weight: 800;
  color: #092c47;
  margin: 0 0 24px;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .yw-shop-layout {
    grid-template-columns: 250px 1fr;
    gap: 24px;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .single-product div.product {
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .yw-shop-layout {
    grid-template-columns: 1fr;
  }
  .yw-filter-toggle-btn {
    display: inline-flex;
  }

  /* Mobile Slide-out Drawer for Sidebar */
  .yw-shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 10001;
    overflow-y: auto;
    padding: 24px 20px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .yw-shop-sidebar.open {
    transform: translateX(0);
  }
  .yw-sidebar-sticky {
    position: static;
  }
  .yw-sidebar-mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
  }
  .yw-sidebar-mobile-head h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #092c47;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .yw-sidebar-close {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
  }
  .yw-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 44, 71, 0.6);
    z-index: 10000;
    backdrop-filter: blur(2px);
  }
  .yw-sidebar-backdrop.open {
    display: block;
  }

  .yw-shop-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .yw-shop-hero-meta {
    align-items: flex-start;
  }
  .single-product div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .yw-shop-hero {
    padding: 32px 0;
  }
  .yw-shop-title {
    font-size: 24px;
  }
  .yw-shop-lead {
    font-size: 13.5px;
  }
  .yw-shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .yw-toolbar-ordering .woocommerce-ordering select {
    width: 100%;
  }
}

/* ==========================================================================
   10. CART & CHECKOUT PAGES STYLING
   ========================================================================== */
.woocommerce-cart .yw-copy,
.woocommerce-checkout .yw-copy {
  max-width: 100% !important;
}
table.shop_table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 28px !important;
  background: #ffffff !important;
}
table.shop_table th {
  background: #092c47 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 18px !important;
  border: none !important;
}
table.shop_table td {
  padding: 16px 18px !important;
  border-top: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  font-size: 14px !important;
  color: #334155 !important;
}
table.shop_table .product-name a {
  font-weight: 700 !important;
  color: #092c47 !important;
  text-decoration: none !important;
}
table.shop_table .product-name a:hover {
  color: #0e6aed !important;
}
table.shop_table .product-price,
table.shop_table .product-subtotal {
  font-weight: 800 !important;
  color: #0e6aed !important;
}
table.shop_table a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  color: #ef4444 !important;
  background: #fee2e2 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}
table.shop_table a.remove:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}
.cart_totals {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 12px rgba(9, 44, 71, 0.04) !important;
}
.cart_totals h2 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #092c47 !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}
.wc-proceed-to-checkout a.checkout-button,
#place_order {
  display: block !important;
  width: 100% !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  background: #0e6aed !important;
  color: #ffffff !important;
  border: 1px solid #0e6aed !important;
  border-radius: 6px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.wc-proceed-to-checkout a.checkout-button:hover,
#place_order:hover {
  background: #1a5ade !important;
  border-color: #1a5ade !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(14, 106, 237, 0.3) !important;
}
.woocommerce-checkout #customer_details {
  margin-bottom: 32px;
}
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
}
.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus,
.woocommerce-checkout .woocommerce-input-wrapper textarea:focus {
  border-color: #0e6aed;
  box-shadow: 0 0 0 3px rgba(14, 106, 237, 0.12);
  outline: none;
}
#order_review {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
}

