
/* ==========================================
   DDD 007 — EMERALD NEON PREMIUM HEADER
   OpenCart 2.3 / Aridius Deluxe
   ========================================== */

/* 1. ЛОГО */
.top-header .order_logo #logo img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 2. ТЕЛЕФОННИ НОМЕРА */
.top-header .order_tell .tell_nav,
.top-header .order_tell .title_tell {
    color: #ffffff;
    font-weight: 700;
    transition: color .2s ease;
}

.top-header .order_tell .tell_nav:hover,
.top-header .order_tell .tell_nav:hover .title_tell {
    color: #ffb52b;
}

/* 3. СТРЕЛКА ЗА ДОПЪЛНИТЕЛНИ ТЕЛЕФОНИ */
.top-header .order_tell .h_car {
    background: #087b48;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    width: 29px;
    height: 29px;
    min-width: 29px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}


/* DDD 007 — телефони и стрелка */
@media (min-width: 992px) {

  .top-header .order_tell .dropdown.phone {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    position: relative;
  }

  .top-header .order_tell .h_car {
    flex: 0 0 29px !important;
    margin: 0 !important;
  }

  .top-header .order_tell .tell_nav {
    flex: 0 1 auto;
    min-width: 0;
  }

  /* Падащото меню да не участва
     в подредбата на телефоните */
  .top-header .order_tell .dropdown-menu.fixxsmenu {
    position: absolute !important;
    top: 100%;
    left: 0;
  }
}





.top-header .order_tell .h_car:hover,
.top-header .order_tell .phone.open .h_car {
    background: #ff9800;
}

.top-header .order_tell .h_car .caret {
    border-top-color: #ffffff;
    border-top-width: 5px;
    border-right-width: 5px;
    border-left-width: 5px;
    margin: 0;
}

/* 4. ПАДАЩ ПАНЕЛ С ТЕЛЕФОНИ */
.top-header .order_tell .dropdown-menu.fixxsmenu {
    background: #ffffff;
    border: 1px solid #dbe8df;
    border-top: 3px solid #ff9800;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    padding: 8px 0;
    min-width: 230px;
    z-index: 1050;
}

.top-header .order_tell .fixxsmenu .dropdown-header {
    color: #075338;
    font-weight: 700;
}

.top-header .order_tell .fixxsmenu li a,
.top-header .order_tell .fixxsmenu li a .title_tell {
    color: #075338;
    font-weight: 600;
}

.top-header .order_tell .fixxsmenu li a:hover,
.top-header .order_tell .fixxsmenu li a:hover .title_tell {
    color: #075338;
    background: #fff0d6;
}

/* 5. РЕСПОНСИВ ХЕДЪР — ЛАПТОПИ */
@media (min-width: 992px) and (max-width: 1399px) {

    .top-header header .row.vertical-align {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .top-header header .row.vertical-align > div {
        float: none;
        min-width: 0;
    }

    /* Менюто има собствено място */
    .top-header header .row.vertical-align
    > div:has(> nav.menulogo) {
        width: 160px;
        flex: 0 0 160px;
        padding-right: 15px;
    }

    /* Повече пространство за логото */
    .top-header .order_logo {
        width: 31%;
        flex: 1 1 260px;
        padding-left: 20px;
        padding-right: 15px;
    }

    .top-header .order_logo #logo {
        width: 100%;
    }

    .top-header .order_logo #logo img {
        width: 100%;
        max-width: 310px;
        height: auto;
    }

    /* Телефони */
    .top-header .order_tell {
        width: 220px;
        flex: 0 0 220px;
    }

    /* Икони */
    .top-header .order_setclone {
        width: 135px;
        flex: 0 0 135px;
    }

    /* Търсачка на втори ред */
    .top-header .order_sear {
        order: 10;
        width: 100%;
        flex: 0 0 100%;
        padding: 10px 15px 14px;
    }

    .top-header #search_clone_h {
        width: 100%;
    }
}

/* 6. МАЛКИ ЕКРАНИ */
@media (max-width: 991px) {

    .top-header .order_logo #logo img {
        max-width: 100%;
        height: auto;
    }

    .top-header .order_sear {
        min-width: 0;
    }
}




/* DDD 007 — балансиран хедър на големи монитори */

@media (min-width: 1400px) {

  .top-header header .row.vertical-align {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  .top-header header .row.vertical-align > div {
    float: none;
    min-width: 0;
  }

  /* Лого — центрирано в собствената си зона */
  .top-header .order_logo {
    width: 450px;
    flex: 0 0 450px;
    padding: 0 10px;
  }

  .top-header .order_logo #logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-header .order_logo #logo img {
    display: block;
    width: 430px;
    max-width: 100%;
    height: auto;
    transform: none;
  }

  /* Търсачка */
  .top-header .order_sear {
    width: auto;
    flex: 1 1 0;
    min-width: 220px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Телефони — повече място за стрелката */
  .top-header .order_tell {
    width: 245px;
    flex: 0 0 245px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Иконки — отделна зона */
  .top-header .order_setclone {
    width: 185px;
    flex: 0 0 185px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Без изместване на самото лого */
  .top-header .order_logo #logo img {
    transform: none;
  }
}


/* DDD 007 — премахваме старото изместване на логото */
@media (min-width: 992px) {
    .top-header .order_logo #logo img {
        transform: none;
    }
}



/* =========================================
   DDD 007 — ПРОДУКТИ
   Единен стил на бутона
   ========================================= */

@media (min-width: 992px) {

  .top-header a.with-child.dropdown-toggle:has(> .vmenu_name) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    column-gap: 7px !important;

    width: 148px !important;
    min-width: 148px !important;
    height: 56px !important;
    min-height: 56px !important;

    padding: 0 8px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    border-radius: 12px;
  }

  /* Иконката */
  .top-header a.with-child.dropdown-toggle > svg.vmenu {
    display: block !important;
    position: static !important;
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    flex: 0 0 23px !important;

    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    float: none !important;
  }

  /* Надписът */
  .top-header a.with-child.dropdown-toggle > .vmenu_name {
    display: block !important;
    position: static !important;
    width: auto !important;
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    float: none !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 23px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
}



/* =========================================
   DDD 007 — ИКОНКИ И БРОЯЧИ
   Desktop + laptop
   ========================================= */

@media (min-width: 992px) {

  /* Зона с иконките */
  .top-header .order_setclone #setclone {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Три еднакви позиции */
  .top-header #setclone > .order_cart,
  .top-header #setclone > .order_compare,
  .top-header #setclone > .order_wish {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 36px !important;
    float: none !important;
    margin: 0 !important;
  }

  /* Връзките */
  .top-header #setclone > .order_compare > a,
  .top-header #setclone > .order_wish > a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 36px !important;
    margin: 0 !important;
  }

  /* Иконките за любими и сравнение */
  .top-header #setclone > .order_compare .cartphotos,
  .top-header #setclone > .order_wish .cartphotos {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 0 !important;
  }

  /* Оранжеви кръгчета */
  .top-header #setclone > .order_compare .cart-item_h,
  .top-header #setclone > .order_wish .cart-item_h {
    position: absolute !important;
    top: -3px !important;
    right: -5px !important;
    left: auto !important;
    margin: 0 !important;

    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    z-index: 3 !important;
  }

  /* Центриране на цифрите */
  .top-header #setclone > .order_compare .cart-item-after_h,
  .top-header #setclone > .order_wish .cart-item-after_h {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
  }
}

/* Големи монитори */
@media (min-width: 1400px) {
  .top-header .order_setclone #setclone {
    gap: 14px !important;
  }
}

/* Лаптопи */
@media (min-width: 992px) and (max-width: 1399px) {
  .top-header .order_setclone #setclone {
    gap: 8px !important;
  }
}


/* =========================================
   DDD 007 — брояч на количката
   ========================================= */

@media (min-width: 992px) {

  /* Количката е ориентир за брояча */
  .top-header #setclone > .order_cart #cart {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 36px !important;
    margin: 0 !important;
  }

  /* Позиция на оранжевото кръгче */
  .top-header #setclone #cart-total {
    position: absolute !important;
    top: -3px !important;
    right: -5px !important;
    left: auto !important;
    bottom: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3 !important;
  }
}

