/**
 * LC4 Druco skin — layout closer to RTL Druco auto-parts demo (light shop + orange accent).
 * Reference: https://rtlr.ir/230875
 */
:root {
  --lc4-primary: #f29f05;
  --lc4-primary-dark: #d98704;
  --lc4-accent: #e1251b;
  --lc4-dark: #1b1f2a;
  --lc4-muted: #6b7280;
  --lc4-surface: #ffffff;
  --lc4-bg: #f4f5f7;
  --lc4-radius: 6px;
  --lc4-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

body.lc4-druco-skin {
  background-color: var(--lc4-bg);
  color: #1f2937;
  --wd-primary-color: var(--lc4-primary);
  --wd-alternative-color: var(--lc4-accent);
  --btn-accented-bgcolor: var(--lc4-primary);
  --btn-accented-bgcolor-hover: var(--lc4-primary-dark);
}

/* Header — Druco-style light bar with orange CTA */
body.lc4-druco-skin .whb-header,
body.lc4-druco-skin .whb-sticky-shadow {
  background: var(--lc4-surface) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

body.lc4-druco-skin .whb-color-dark .woodmart-nav-link,
body.lc4-druco-skin .whb-color-light .woodmart-nav-link,
body.lc4-druco-skin .whb-header {
  color: var(--lc4-dark);
}

body.lc4-druco-skin .whb-header .wd-nav > li > a:hover {
  color: var(--lc4-primary-dark);
}

/* Hide broken Elementor homepage layers when using LC4 storefront */
body.lc4-druco-skin.home .elementor-location-single,
body.lc4-druco-skin.home .entry-content > .elementor,
body.lc4-druco-skin.home .elementor-default {
  display: none !important;
}

body.lc4-druco-skin.home .site-content {
  padding-top: 12px;
}

body.lc4-slug-host .whb-top-bar {
  display: none !important;
}

.lc4-druco-hero .lc4-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: var(--lc4-primary);
  color: #fff !important;
  border-radius: var(--lc4-radius);
  font-weight: 700;
  text-decoration: none !important;
}

.lc4-druco-hero .lc4-btn:hover {
  background: var(--lc4-primary-dark);
}

.lc4-druco-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0 0 8px;
  color: var(--lc4-dark);
}

/* Druco home storefront block */
.lc4-druco-home {
  background: var(--lc4-bg);
  padding: 24px 0 40px;
}

.lc4-druco-home .lc4-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.lc4-druco-hero {
  background: linear-gradient(120deg, #fff 0%, #fff6e8 100%);
  border: 1px solid #f0e4d0;
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: var(--lc4-shadow);
}

.lc4-druco-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--lc4-dark);
}

.lc4-druco-hero p {
  margin: 0;
  color: var(--lc4-muted);
}

.lc4-druco-section-title {
  font-size: 1.25rem;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lc4-primary);
  color: var(--lc4-dark);
}

.lc4-druco-cats ul.products,
.lc4-druco-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1024px) {
  .lc4-druco-cats ul.products,
  .lc4-druco-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lc4-druco-cats ul.products,
  .lc4-druco-products ul.products {
    grid-template-columns: 1fr;
  }
}

.lc4-druco-cats li.product-category,
.lc4-druco-products li.product {
  background: var(--lc4-surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--lc4-radius);
  overflow: hidden;
  box-shadow: var(--lc4-shadow);
  margin: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lc4-druco-cats li.product-category:hover,
.lc4-druco-products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.lc4-druco-products .product img,
.lc4-druco-cats .woocommerce-loop-category__title {
  border-radius: 0;
}

.lc4-druco-products .price,
.lc4-druco-products .amount {
  color: var(--lc4-accent) !important;
  font-weight: 700;
}

.lc4-druco-products .woocommerce-loop-product__title,
.lc4-druco-products h2,
.lc4-druco-cats .woocommerce-loop-category__title {
  color: var(--lc4-dark) !important;
  opacity: 1 !important;
}

.lc4-druco-products a,
.lc4-druco-cats a {
  color: var(--lc4-dark);
}

.lc4-druco-products .button,
.lc4-druco-products a.add_to_cart_button {
  background: var(--lc4-primary) !important;
  border-radius: var(--lc4-radius);
  color: #111 !important;
  font-weight: 600;
}

.lc4-druco-products .button:hover {
  background: var(--lc4-primary-dark) !important;
}

.lc4-druco-more {
  margin-top: 18px;
  text-align: center;
}

.lc4-druco-more a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--lc4-dark);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* Shop archive Jet/Elementor cards */
body.lc4-druco-skin.post-type-archive-product .jet-listing-grid__item,
body.lc4-druco-skin.tax-product_cat .jet-listing-grid__item {
  background: var(--lc4-surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--lc4-radius);
  box-shadow: var(--lc4-shadow);
}

body.lc4-druco-skin .wd-footer,
body.lc4-druco-skin footer.footer-container {
  background: var(--lc4-dark);
  color: #e5e7eb;
}