﻿/* =============================================================
   YELLA.UZ — NEW HEADER CSS (Desktop only: 768px+)
   ============================================================= */

@media (min-width: 768px) {

  /* ── HEADER SHELL ──────────────────────────────────────── */
  html body header.up-header,
  html body .light-theme header.up-header,
  html body .light-theme .up-header {
    background: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border-bottom: 1px solid #E6E8EB !important;
  }

  /* Logo */
  html body header.up-header #logo a,
  html body .up-header__logo-desktop a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    padding: 0 !important;
    background: transparent !important;
  }
  html body header.up-header .up-header__logo-top img,
  html body header.up-header #logo img,
  html body header.up-header .up-header__logo-desktop img,
  html body .up-header__logo-top img,
  html body .up-header__logo-desktop img {
    max-height: 28px !important;
    width: auto !important;
    filter: none !important;
    display: block !important;
  }

  /* Left zone — no padding, logo flush */
  html body header.up-header .up-header__left {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
  }
  html body header.up-header .up-header__logo-top {
    margin-right: 6px !important;
  }

  /* Container */
  html body header.up-header .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Header row — compact */
  html body header.up-header .row {
    min-height: 58px !important;
    gap: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Catalog button */
  html body header.up-header .box-menu-top {
    margin-left: 0 !important;
  }
  html body header.up-header .btn-menu-top,
  html body .light-theme header.up-header .btn-menu-top {
    background: #1A1A1A !important;
    color: #CCFF00 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: 32px !important;
    box-shadow: 0 2px 8px rgba(26,26,26,0.18) !important;
    transition: background 0.2s, transform 0.15s !important;
  }
  html body header.up-header .btn-menu-top:hover {
    background: #2d2d2d !important;
    transform: translateY(-1px) !important;
  }
  html body header.up-header .btn-menu-top i,
  html body header.up-header .btn-menu-top .up-icon-menu-line,
  html body header.up-header .btn-menu-top .up-icon-menu-grid,
  html body header.up-header .btn-menu-top .up-icon-angle-down {
    color: #CCFF00 !important;
    font-size: 14px !important;
  }
  html body header.up-header .btn-menu-top .text-category {
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  /* Search */
  html body header.up-header .box-search {
    flex: 1 !important;
    max-width: none !important;
  }
  html body header.up-header .header-search,
  html body .light-theme header.up-header .header-search {
    height: 34px !important;
    border-radius: 999px !important;
    border: 1.5px solid #E6E8EB !important;
    background: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
  }
  html body header.up-header .header-search:focus-within {
    border-color: #CCFF00 !important;
    box-shadow: 0 0 0 3px rgba(204,255,0,0.18), 0 1px 4px rgba(0,0,0,0.06) !important;
  }
  html body header.up-header .header-search input.form-control {
    height: 34px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
  }
  html body header.up-header .header-search input.form-control::placeholder {
    color: #8A8F98 !important;
  }
  html body header.up-header .header-search .btn-search {
    height: 34px !important;
    background: transparent !important;
    color: #1A1A1A !important;
    border: none !important;
    border-radius: 0 999px 999px 0 !important;
    min-width: 36px !important;
  }
  html body header.up-header .header-search .input-group-btn {
    height: 34px !important;
  }
  html body header.up-header .header-search .btn-search:hover {
    background: rgba(204,255,0,0.15) !important;
  }
  html body header.up-header .header-search .btn-search i {
    color: #8A8F98 !important;
    font-size: 16px !important;
    transition: color 0.2s ease !important;
  }
  html body header.up-header .header-search .btn-search:hover i {
    color: #2563EB !important;
    text-shadow: 0 0 8px rgba(37,99,235,0.4), 0 0 2px rgba(37,99,235,0.3) !important;
  }
  /* Hide voice search */
  html body header.up-header .btn-voice-search,
  html body header.up-header .group_voice_search,
  html body header.up-header .btn-mic {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* Right zone — tighter */
  html body header.up-header .up-header__right {
    gap: 0px !important;
    padding-left: 4px !important;
    padding-right: 0 !important;
  }

  /* Account */
  html body header.up-header .box-account {
    margin-left: 0 !important;
  }
  html body header.up-header .box-account .btn-account {
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    color: #1A1A1A !important;
    transition: background 0.2s !important;
  }
  html body header.up-header .box-account .btn-account:hover {
    background: #F5F6F7 !important;
  }
  html body header.up-header .box-account .btn-account i {
    color: #1A1A1A !important;
    font-size: 18px !important;
  }
  html body header.up-header .box-account .btn-account .text-a-icon {
    display: none !important;
  }

  /* Cart */
  html body header.up-header .box-cart {
    margin-left: 0 !important;
  }
  html body header.up-header .box-cart #cart > .btn {
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    color: #1A1A1A !important;
    transition: background 0.2s !important;
    box-shadow: none !important;
  }
  html body header.up-header .box-cart #cart > .btn:hover {
    background: #F5F6F7 !important;
  }
  html body header.up-header .box-cart #cart > .btn i {
    color: #1A1A1A !important;
    font-size: 18px !important;
  }
  html body header.up-header .box-cart #cart > .btn .cart-total,
  html body header.up-header .box-cart #cart > .btn .ch-c-name,
  html body header.up-header .box-cart #cart > .btn .ch-c-price {
    display: none !important;
  }
  html body header.up-header .box-cart .cart-quantity {
    background: #CCFF00 !important;
    color: #1A1A1A !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12) !important;
    top: 1px !important;
    right: 1px !important;
    min-width: 15px !important;
    height: 15px !important;
    line-height: 15px !important;
  }

  /* Hide wishlist/compare in header */
  html body header.up-header .box-wishlist,
  html body header.up-header .box-compare {
    display: none !important;
  }

  /* Nav below header — compact */
  html body .box-dopmenu,
  html body #additional-menu,
  html body .menu-header-box {
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
  }
  html body .box-dopmenu .container,
  html body .menu-header-box .container {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  html body .box-dopmenu .row,
  html body .menu-header-box .row {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
  }
  html body .left-dopmenu,
  html body .nav-dopmenu {
    display: flex !important;
    align-items: center !important;
  }
  html body #additional-menu .nav-dopmenu > li > a,
  html body .menu-header-box .nav > li > a {
    height: auto !important;
    line-height: normal !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    color: #1A1A1A !important;
    transition: color 0.2s !important;
    position: relative !important;
  }
  html body #additional-menu .nav-dopmenu > li > a:hover {
    color: #1A1A1A !important;
  }
  html body #additional-menu .nav-dopmenu > li > a:hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2px;
    background: #CCFF00 !important;
    border-radius: 1px;
  }
  html body #additional-menu .nav-dopmenu > li {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
  }
  html body .left-dopmenu {
    margin-right: auto !important;
    padding-left: 0 !important;
  }
  html body .hmenu_type {
    padding-left: 0 !important;
  }
  html body #additional-menu .nav-dopmenu > li:first-child > a {
    padding-left: 0 !important;
  }
  html body .menu-header-box .dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #E6E8EB !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  }
  html body .menu-header-box .dropdown-menu li a {
    color: #1A1A1A !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
  }
  html body .menu-header-box .dropdown-menu li a:hover {
    background: #CCFF00 !important;
    color: #1A1A1A !important;
  }

}



/* ── FOOTER COLOR OVERRIDE ── */
@media (min-width: 768px) {
  html body footer, footer.ch-dark-theme, footer.ch-light-theme {
    background: #FFFFFF !important; color: #1A1A1A !important; border-top: 3px solid #CCFF00 !important;
  }
  html body footer .title-f {
    color: #1A1A1A !important; background: transparent !important; border-bottom: 2px solid #CCFF00 !important; padding-bottom: 8px !important;
  }
  html body footer ul.list-unstyled li a, html body footer .footer-contact a {
    color: #1A1A1A !important; opacity: 0.75 !important;
  }
  html body footer ul.list-unstyled li a:hover { opacity: 1 !important; }
  html body footer .ch-socials {
    list-style: none !important; padding: 0 !important; display: flex !important; flex-direction: row !important; gap: 8px !important;
  }
  html body footer .ch-socials li a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 36px !important; height: 36px !important; border-radius: 10px !important;
    border: 1.5px solid #E6E8EB !important; color: #1A1A1A !important; background: transparent !important;
    opacity: 1 !important; transition: background 0.2s, border-color 0.2s !important; padding: 0 !important; margin: 0 !important;
  }
  html body footer .ch-socials li a:hover {
    background: #CCFF00 !important; border-color: #CCFF00 !important; color: #1A1A1A !important;
  }
  html body footer .fa-width { color: #CCFF00 !important; }
  html body footer .footer-center {
    background: #FFFFFF !important; color: #1A1A1A !important; border-top: 1px solid #E6E8EB !important;
  }
  html body footer .copyright, html body footer .powered { color: #8A8F98 !important; font-size: 12px !important; }
  html body footer .copyright a { color: #8A8F98 !important; }
  html body #back-top .btn-back-top { background: #CCFF00 !important; color: #1A1A1A !important; border: none !important; border-radius: 50% !important; }
  html body footer .footer-top { border-bottom: 1px solid #E6E8EB !important; }
}
@media (max-width: 767px) {
  html body footer { background: #FFFFFF !important; border-top: 3px solid #CCFF00 !important; }
  html body footer .title-f {
    color: #1A1A1A !important; border-bottom: 2px solid #CCFF00 !important; padding-bottom: 8px !important;
    display: inline-block !important; font-size: 11px !important; font-weight: 800 !important;
    letter-spacing: 1.5px !important; text-transform: uppercase !important; margin-bottom: 10px !important;
  }
  html body footer ul.list-unstyled li a { color: #1A1A1A !important; opacity: 0.75 !important; font-size: 13px !important; padding: 4px 0 !important; }
  html body footer .footer-center { background: #FFFFFF !important; border-top: 1px solid #E6E8EB !important; padding: 24px 0 !important; }
  html body footer .copyright { font-size: 11px !important; color: #8A8F98 !important; }
}

/* REMOVE SUBSCRIBE BLOCK */
html body footer .footer-subscribe-block,
html body footer .footer-subscribe,
html body footer .footer-subscribe-form,
html body footer .footer-newsletter-block,
html body footer [class*="subscribe-newsletter"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}