@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Core Variables & Tokens */
:root {
  --bg-color: #f7f7f8;
  --surface-solid: #ffffff;
  --surface-hover: #fafafa;
  --surface-border: #e8e8e8;
  
  --text-primary: #222222;
  --text-secondary: #666666;
  --text-muted: #999999;
  
  --primary: #ff5c00;          /* Temu Orange */
  --primary-hover: #e05200;
  --primary-glow: rgba(255, 92, 0, 0.1);
  
  --accent: #ffbf00;           /* Temu Gold/Yellow */
  --success: #09b83e;
  --error: #fb2c2c;
  
  --font-family: 'Inter', sans-serif;
  --header-height: 120px;
  
  --border-radius-xs: 4px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  
  --transition-fast: 0.15s ease;
  --container-max-width: 1240px;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.5;
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-main {
  padding: 1.5rem 0;
}

/* TOP PROMO STRIP */
.top-promo-bar {
  background-color: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-promo-bar a {
  color: var(--accent);
  text-decoration: underline;
  margin-left: 8px;
}

/* MAIN HEADER */
.site-header {
  background-color: var(--surface-solid);
  border-bottom: 1px solid var(--surface-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  gap: 1.5rem;
}

.site-logo a {
  font-size: 2.2rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
}

.site-logo a span {
  color: var(--primary);
}

.site-logo-slogan {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -4px;
  text-transform: uppercase;
}

/* SEARCH BAR */
.header-search-wrapper {
  flex-grow: 1;
  max-width: 600px;
}

.header-search-form {
  display: flex;
  border: 2px solid var(--primary);
  border-radius: 24px;
  overflow: hidden;
  height: 44px;
}

.header-search-input {
  flex-grow: 1;
  border: none;
  padding: 0 1.25rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  color: var(--text-primary);
}

.header-search-submit {
  background-color: var(--primary);
  border: none;
  color: #fff;
  width: 70px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.header-search-submit:hover {
  background-color: var(--primary-hover);
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
}

.action-item:hover {
  color: var(--primary);
}

.action-icon {
  font-size: 1.4rem;
  margin-bottom: 2px;
  position: relative;
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

/* NAVIGATION TIER */
.header-nav-row {
  background-color: var(--surface-solid);
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-top: 1px solid #f4f4f4;
}

.categories-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
  cursor: pointer;
  margin-right: 2rem;
}

.header-nav-menu ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.header-nav-menu a {
  color: var(--text-secondary);
}

.header-nav-menu a:hover {
  color: var(--primary);
}

/* DOTTED COUPON GRID */
.coupons-showcase {
  margin: 1.5rem 0;
}

.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.coupon-card {
  background: linear-gradient(135deg, #fffcf5 0%, #fff7e6 100%);
  border: 1.5px dashed var(--primary);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(255, 92, 0, 0.05);
}

/* Circle clips on left/right edges */
.coupon-card::before, .coupon-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background-color: var(--bg-color);
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1.5px solid var(--primary);
  z-index: 2;
}

.coupon-card::before {
  left: -8px;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.coupon-card::after {
  right: -8px;
  border-right-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.coupon-details h3 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.1;
}

.coupon-details p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
}

.coupon-action-btn {
  background-color: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 3;
}

.coupon-action-btn:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

/* FLASH DEALS SECTION */
.flash-deals-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.flash-title {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.flash-icon {
  color: var(--primary);
}

/* Countdown boxes */
.countdown-container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.countdown-box {
  background-color: #222;
  color: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

/* PRODUCT WALL GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
}

/* DENSE PRODUCT CARD STYLING */
.product-card {
  background-color: var(--surface-solid);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-xs);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image-container {
  width: 100%;
  aspect-ratio: 1;
  background-color: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Discount Tag */
.badge-discount {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 10;
}

/* Body content details */
.product-info-wrap {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #222;
  line-height: 1.35;
  margin-bottom: 6px;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 6px;
}

.rating-stars {
  color: #ff9f00;
}

.product-sales-count {
  font-size: 0.7rem;
  color: #f72c00;
  background-color: #fff2f0;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 8px;
}

/* Pricing tags */
.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 8px;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Progress bar for flash claims */
.deal-progress-container {
  margin-top: auto;
}

.deal-progress-bar {
  background-color: #eee;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.deal-progress-fill {
  background: linear-gradient(90deg, var(--primary) 0%, #ff8c00 100%);
  height: 100%;
}

.deal-progress-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

/* Large Quick Add button on hover */
.product-quick-add-btn {
  width: 100%;
  background-color: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  text-align: center;
  border-radius: 16px;
  margin-top: 4px;
  transition: background-color var(--transition-fast);
}

.product-quick-add-btn:hover {
  background-color: var(--primary-hover);
}

/* POPUP COUPON BOX (Floating) */
.floating-coupon-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 320px;
  z-index: 1000;
  display: none;
  animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.popup-header {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.popup-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* WOOCOMMERCE DENSE GRID OVERRIDES */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 3rem 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background-color: var(--surface-solid);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-xs);
  overflow: hidden;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product img {
  margin-bottom: 8px !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-family) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #222 !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  line-height: 1.35 !important;
  height: 38px !important;
  overflow: hidden;
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-family) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-bottom: 10px !important;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.woocommerce ul.products li.product .price del {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  display: inline-block;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  background: transparent !important;
}

.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  background-color: var(--primary) !important;
  color: #fff !important;
  font-family: var(--font-family) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 8px 0 !important;
  border-radius: 16px !important;
  text-align: center !important;
  border: none !important;
  display: block !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: var(--primary-hover) !important;
}

.woocommerce span.onsale {
  background-color: var(--primary) !important;
  font-size: 0.75rem !important;
  padding: 2px 6px !important;
  border-radius: 2px !important;
  top: 8px !important;
  left: 8px !important;
  margin: 0 !important;
}

/* TRUST BADGES & FOOTER */
.trust-strip {
  background-color: #fff;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 1.5rem 0;
  margin: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 2rem;
  color: var(--primary);
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Footer Section */
.site-footer {
  background-color: #fff;
  border-top: 1px solid var(--surface-border);
  padding: 3rem 0 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-widget h3 {
  color: #000;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-brand h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

.footer-brand h2 span {
  color: var(--primary);
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 0.75rem;
}

.footer-widget li a {
  color: var(--text-secondary);
}

.footer-widget li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.payment-svg {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.payment-svg:hover {
  transform: translateY(-2px);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f5f5f5;
  border: 1px solid var(--surface-border);
  color: #4b5563;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.08);
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-main-row {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }
  .header-search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
  }
  .site-header {
    height: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Hero Banner override */
.hero-section {
  max-height: 180px;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--surface-border);
}
.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Us Layout */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.contact-info-panel {
  background-color: var(--surface-solid);
  border: 1px solid var(--surface-border);
  padding: 2rem;
  border-radius: var(--border-radius-sm);
}
.contact-info-panel h3 {
  margin-bottom: 1.5rem;
}
.contact-detail-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  font-size: 1.5rem;
  color: var(--primary);
}
.contact-form-panel {
  background-color: var(--surface-solid);
  border: 1px solid var(--surface-border);
  padding: 2rem;
  border-radius: var(--border-radius-sm);
}
.contact-form-panel h3 {
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-control {
  border: 1px solid var(--surface-border);
  padding: 10px 14px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  border-radius: 4px;
  outline: none;
  background-color: #fafafa;
}
.form-control:focus {
  border-color: var(--primary);
}

/* About Us Layout */
.about-hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #fffcf5 0%, #fff7e6 100%);
  border: 1px solid rgba(255, 92, 0, 0.1);
  border-radius: var(--border-radius-sm);
  margin-bottom: 2.5rem;
}
.about-hero h1 {
  color: var(--primary);
  margin-bottom: 10px;
}
.about-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.about-text h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--surface-border);
}

/* New Premium Ecasca Features */

/* 1. Hero Grid Section (3 Columns) */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.hero-promo-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  aspect-ratio: 1.05;
  display: flex;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.hero-promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* 2. Categories Showcase Grid */
.categories-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin: 2.5rem 0 1.5rem 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.categories-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.category-showcase-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 1.55;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.category-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-showcase-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 2;
  transition: opacity var(--transition-fast);
}
.category-showcase-text {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: flex-start;
  transition: padding-left var(--transition-fast);
}
.category-showcase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.category-showcase-card:hover img {
  transform: scale(1.06);
}
.category-showcase-card:hover .category-showcase-text {
  padding-left: 1.5rem;
}
@media (max-width: 992px) {
  .categories-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .categories-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .category-showcase-text {
    font-size: 0.9rem;
    padding: 8px 10px;
  }
}

/* 3. Products Grid Override: 4 items per row, 25% width each */
.products-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
.woocommerce ul.products {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
@media (max-width: 1024px) {
  .products-grid, .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .products-grid, .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 480px) {
  .products-grid, .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}
