/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       Antoshka
 Template:     woodmart
 Version:      1.0.0
*/

/* 1. WoodMart Built-in Category Button "КАТАЛОГ" */
.whb-header .wd-header-cats .wd-header-cats-btn,
.wd-header-cats .wd-header-cats-btn,
.header-categories-nav .menu-opener {
    background-color: #4a90e2 !important;
    color: #ffffff !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.whb-header .wd-header-cats .wd-header-cats-btn .menu-opener-icon,
.whb-header .wd-header-cats .wd-header-cats-btn span,
.whb-header .wd-header-cats .wd-header-cats-btn:after {
    color: #ffffff !important;
}

/* 2. Main Menu "КАТАЛОГ" Button Item */
.wd-nav-main > li.nav-item-katalog-button > a,
.whb-header .wd-nav-main > li.nav-item-katalog-button > a {
    background-color: #4a90e2 !important;
    color: #ffffff !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    margin-right: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.wd-nav-main > li.nav-item-katalog-button > a:before {
    content: "☰ ";
    font-size: 15px;
    font-weight: bold;
}

.wd-nav-main > li.nav-item-katalog-button:hover > a {
    background-color: #357abd !important;
    color: #ffffff !important;
}

/* 3. "СКИДКИ" Pill Badge Item */
.wd-nav-main > li.nav-item-skidki-pill > a,
.whb-header .wd-nav-main > li.nav-item-skidki-pill > a {
    background-color: #d7e7f9 !important;
    color: #2b78e4 !important;
    border-radius: 24px !important;
    padding: 7px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    margin-right: 10px !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.wd-nav-main > li.nav-item-skidki-pill > a:hover {
    background-color: #c4dcf7 !important;
    color: #1a62cc !important;
}

/* Other menu links */
.wd-nav-main > li > a {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #333333 !important;
    letter-spacing: 0.5px !important;
}

/* ======================================================
   IGRUSHKI7 BRANDING & LIVE HOMEPAGE STYLING
   ====================================================== */

:root {
  --wd-primary-color: #F26522 !important;
  --ig-primary-hover: #D95314;
  --ig-secondary: #26A69A;
  --ig-bg-gray: #F5F6F8;
  --ig-border: #E5E7EB;
  --ig-text: #1F2937;
  --ig-text-muted: #9CA3AF;
}

/* Background */
body.woocommerce-page,
.site-content,
.main-page-wrapper {
  background-color: var(--ig-bg-gray) !important;
}

/* Navigation & Header Buttons */
.wd-nav-main > li.nav-item-katalog-button > a,
.whb-header .wd-header-cats .menu-opener,
.whb-header .searchform .searchsubmit,
.wd-header-cart .wd-tools-count {
  background-color: #F26522 !important;
  color: #ffffff !important;
}

.wd-nav-main > li.nav-item-katalog-button:hover > a,
.whb-header .wd-header-cats .menu-opener:hover {
  background-color: #D95314 !important;
}

.wd-nav-main > li.nav-item-skidki-pill > a,
.whb-header .wd-nav-main > li.nav-item-skidki-pill > a {
  background-color: #FFF3ED !important;
  color: #F26522 !important;
  border: 1px solid #FFD8C2 !important;
}

.whb-header .searchform {
  border: 2px solid #F26522 !important;
  border-radius: 6px !important;
}

/* Product Cards */
.product-grid-item {
  background: #ffffff !important;
  border: 1px solid var(--ig-border) !important;
  border-radius: 8px !important;
  padding: 12px !important;
  transition: all 0.25s ease !important;
}

.product-grid-item:hover {
  border-color: #F26522 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(242, 101, 34, 0.12) !important;
}

.product-grid-item .wd-entities-title a {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ig-text) !important;
}

.product-grid-item .wd-entities-title a:hover {
  color: #F26522 !important;
}

/* Prices */
.price, 
.price .amount, 
.price ins .amount {
  color: #F26522 !important;
  font-weight: 700 !important;
}

.price del, 
.price del .amount {
  color: var(--ig-text-muted) !important;
  font-weight: 400 !important;
}

/* Buttons */
.single_add_to_cart_button,
.add_to_cart_button,
.wd-buy-now-btn,
.checkout-button,
.button.btn-color-primary,
.woocommerce-Button {
  background-color: #F26522 !important;
  border-color: #F26522 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
.wd-buy-now-btn:hover,
.checkout-button:hover,
.button.btn-color-primary:hover {
  background-color: #D95314 !important;
  border-color: #D95314 !important;
}

/* Labels */
.product-label.onsale {
  background-color: #E53935 !important;
  border-radius: 4px !important;
}

.product-label.new {
  background-color: #26A69A !important;
  border-radius: 4px !important;
}

/* Trust / Feature bar styling */
.ig-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--ig-border);
  border-radius: 10px;
  padding: 18px 24px;
  margin: 25px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

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

.ig-trust-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF3ED;
  color: #F26522;
  border-radius: 50%;
  flex-shrink: 0;
}

.ig-trust-title {
  font-weight: 700;
  font-size: 14px;
  color: #1F2937;
  margin: 0 0 2px 0;
}

.ig-trust-desc {
  font-size: 12px;
  color: #6B7280;
  margin: 0;
}

/* Category Quick Circles */
.ig-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin: 20px 0 35px 0;
}

.ig-cat-card {
  background: #ffffff;
  border: 1px solid var(--ig-border);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ig-cat-card:hover {
  border-color: #F26522;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(242, 101, 34, 0.12);
}

.ig-cat-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.ig-cat-title {
  font-size: 13px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.3;
}

/* Promo Banner Grid */
.ig-promo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .ig-promo-grid {
    grid-template-columns: 1fr;
  }
}

.ig-promo-banner-main {
  background: linear-gradient(135deg, #FF6F00 0%, #F26522 60%, #E65100 100%);
  border-radius: 12px;
  padding: 40px 35px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ig-promo-banner-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ig-promo-mini {
  background: #ffffff;
  border: 1px solid var(--ig-border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ig-btn-white {
  display: inline-block;
  background: #ffffff;
  color: #F26522;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.ig-btn-white:hover {
  transform: translateY(-2px);
  color: #D95314;
}

/* Section Header */
.ig-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2937;
  margin: 35px 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-section-title:before {
  content: ";
  display: inline-block;
  width: 6px;
  height: 22px;
  background: #F26522;
  border-radius: 3px;
}

/* ======================================================
   HERO BANNER PHOTO OVERLAYS & MOVING BRANDS MARQUEE
   ====================================================== */

.ig-promo-banner-main {
  background: linear-gradient(90deg, rgba(230,81,0,0.95) 0%, rgba(242,101,34,0.85) 50%, rgba(242,101,34,0.3) 100%),
              url(https://antoshka-deti.com/wp-content/uploads/2026/10/поворот.webp) right center / contain no-repeat !important;
  background-color: #E65100 !important;
  min-height: 280px;
}

.ig-promo-mini-transport {
  background: linear-gradient(90deg, rgba(255,243,237,0.95) 0%, rgba(255,243,237,0.7) 60%, rgba(255,243,237,0.2) 100%),
              url(https://antoshka-deti.com/wp-content/uploads/2026/09/карелло-лайт-бамбук.webp) right center / contain no-repeat !important;
  background-color: #FFF3ED !important;
  border: 1px solid #FFD0B5 !important;
  position: relative;
  overflow: hidden;
}

.ig-promo-mini-rassrochka {
  background: linear-gradient(90deg, rgba(224,242,241,0.95) 0%, rgba(224,242,241,0.7) 60%, rgba(224,242,241,0.2) 100%),
              url(https://antoshka-deti.com/wp-content/uploads/2026/09/манеж-лионело.webp) right center / contain no-repeat !important;
  background-color: #E0F2F1 !important;
  border: 1px solid #80CBC4 !important;
  position: relative;
  overflow: hidden;
}

/* Бегущая строка брендов */
.ig-brands-marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--ig-border);
  border-radius: 12px;
  padding: 18px 0;
  margin: 35px 0 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: relative;
}

.ig-brands-marquee {
  display: flex;
  width: max-content;
  animation: igScrollBrands 25s linear infinite;
  gap: 20px;
}

.ig-brands-marquee:hover {
  animation-play-state: paused;
}

.ig-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ig-brand-item:hover {
  background: #FFF3ED;
  color: #F26522;
  border-color: #F26522;
}

@keyframes igScrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======================================================
   HEADER FILLER (CENTER PHONES & SEARCH BAR)
   ====================================================== */

.whb-general-header .whb-column.whb-col-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
}

.whb-general-header .whb-column.whb-col-right {
  flex-shrink: 0 !important;
}

.ant-header-contact-center {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #FFF8F4;
  border: 1px solid #FFE0D0;
  border-radius: 30px;
  padding: 8px 22px;
  box-shadow: 0 2px 6px rgba(242, 101, 34, 0.05);
}

.ant-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  color: #1F2937;
  transition: color 0.2s;
}

.ant-contact-item:hover {
  color: #F26522;
}

.ant-contact-city {
  font-weight: 700;
  color: #F26522;
  font-size: 11px;
  text-transform: uppercase;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #FFD0B5;
}

.ant-contact-num {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .ant-header-contact-center {
    display: none;
  }
}
