/* Верхняя панель WoodStyle. Мобильные стили сайта не переопределяются. */
@media screen and (min-width: 1200px) {
  #top { background: #fff; padding: 0; }
  #top > .container { width: 100%; max-width: 1330px; padding: 0 15px; }
  #top #top-links { float: none !important; width: 100%; padding: 0; margin: 0; text-align: left; }
  #top #top-links > .list-inline { display: flex; align-items: center; justify-content: space-between; gap: 0; min-height: 94px; padding: 0; margin: 0; }
  #top #top-links > .list-inline > li { flex: 0 0 auto; padding: 0; }
  #top #top-links > .list-inline > li.top_search { display: none; }
  #top #top-links > .list-inline > .top_nav_button_whatsapp,
  #top #top-links > .list-inline > .top_nav_button_telegramm { display: none; }
  #top #top-links > .list-inline > .ws-separator { display: block; width: 1px; height: 33px; margin: 0 28px; background: #e5e6e2; }
  #top #top-links > .list-inline > .top_call { margin-left: 22px; }
  #top #top-links > .list-inline > .ws-spacer { display: block; width: 12px; }
  #top #top-links > .list-inline > .ws-messengers { display: flex; gap: 8px; }
  #top .ws-messengers a { display: block; width: 42px; height: 42px; border: 1px solid #e7e9e3; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 22px 22px; }
  #top .ws-messengers a + a { margin-left: 0; }
  #top .ws-messengers a:hover { background-color: #edf0ea; }
  #top .ws-messengers .ws-max { background-image: url(../image/max.svg); }
  #top .ws-messengers .ws-telegram { background-image: url(../image/telegram.svg); }
  #top #top-links, #top #top-links a, #top #top-links button { font-family: 'PT Sans Narrow', sans-serif; }

  #top .top_button_phone > a { display: flex; align-items: center; gap: 14px; color: #262824; text-decoration: none; }
  #top .top_button_phone .fa-phone { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid #e6e6e1; border-radius: 50%; font-size: 20px; }
  #top .top_button_phone .fa-phone::before { content: ""; display: block; width: 22px; height: 22px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2331352f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 3 5.2 2 2 0 0 1 5 3h3a2 2 0 0 1 2 1.7l.4 2.4a2 2 0 0 1-.6 1.8L8.5 10a16 16 0 0 0 5.5 5.5l1.1-1.3a2 2 0 0 1 1.8-.6l2.4.4a2 2 0 0 1 1.7 1.9Z'/%3E%3C/svg%3E"); }
  #top .ws-phone-text { text-align: left; }
  #top .ws-phone-number { display: block; font-size: 24px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
  #top .ws-phone-caption { display: block; margin-top: 5px; color: #8b8e87; font-size: 14px; font-weight: 400; line-height: 1; }
  #top .top_call .top_nav_button { display: inline-block; border: 1px solid #d5d8d1; border-radius: 28px; padding: 12px 22px; color: #30342e; background: #fff; font-size: 18px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
  #top .top_call .top_nav_button:hover, #top .top_call .top_nav_button:focus { border-color: #28332a; background: #28332a; color: #fff; }

  #top .top_nav_button_whatsapp a, #top .top_nav_button_telegramm a { display: block; width: 42px; height: 42px; border: 1px solid #e7e9e3; border-radius: 50%; background-position: center; background-size: 22px 22px; transition: background-color .2s; }
  #top .top_nav_button_whatsapp a:hover, #top .top_nav_button_telegramm a:hover { background-color: #edf0ea; }
  #top .cities { position: relative; display: block; border: 1px solid #d5d8d1; border-radius: 28px; padding: 10px 15px !important; background: #fff; cursor: pointer; }
  #top .cities:hover { border-color: #899489; background: #f8faf7; }
  #top .cities .prmn-cmngr__city { display: inline-flex; align-items: center; gap: 6px; color: #30342e; font-size: 18px; font-weight: 700; line-height: 1.2; cursor: pointer; }
  #top .cities .prmn-cmngr__city .prmn-cmngr__city-name { padding-right: 0; }
  #top .cities .prmn-cmngr__city::after { content: ''; display: inline-block; width: 7px; height: 7px; margin: -3px 2px 0 4px; border-right: 1.5px solid #7b8278; border-bottom: 1.5px solid #7b8278; transform: rotate(45deg); }
  #top .cities .prmn-cmngr__city .fa-map-marker { padding: 0; color: #777f70; font-size: 19px; }
  #top .ws-time-original { display: none; }
  #top .ws-time-desktop { display: block; color: #777d72; font-size: 16px; line-height: 1.4; white-space: nowrap; }
  #top .ws-time-desktop strong, #top .ws-time-desktop > span { display: block; }
  #top .ws-time-desktop strong { color: #343a32; font-size: 18px; font-weight: 700; }
  #top .ws-time-desktop > span { font-weight: 400; }
  #top .ws-header-cart #cart { width: auto; margin-bottom: 0; }
  #top .ws-header-cart #cart_btn { display: flex; align-items: center; gap: 12px; color: #262824; font-size: 18px; font-weight: 700; white-space: nowrap; }
  #top .ws-header-cart #cart:has(.dropdown-menu p.text-center) #cart_btn > span::after { content: "Пока пусто"; display: block; margin-top: 5px; color: #999e96; font-size: 14px; font-weight: 400; line-height: 1; }
  #top .ws-header-cart .icon_shopping-cart { top: auto; width: 46px; height: 46px; border: 1px solid #e6e6e1; border-radius: 50%; background-position: center; background-size: 22px 25px; }
  /* Открытая корзина: сохраняем штатный выпадающий список OpenCart. */
  #top #cart.open > #cart_btn,
  #top #cart.open > #cart_btn:hover,
  #top #cart.open > #cart_btn:focus { background: transparent; color: #262824; border-color: transparent; box-shadow: none; }
  #top #cart > .dropdown-menu { right: 0; left: auto; top: calc(100% + 12px); min-width: 290px; max-width: min(480px, calc(100vw - 30px)); padding: 12px; border: 1px solid #e8ebe5; border-radius: 14px; background: #fff; box-shadow: 0 12px 36px rgba(38, 48, 38, .13); color: #262824; }
  #top #cart > .dropdown-menu:has(table) { width: 460px; }
  #top #cart > .dropdown-menu > li { padding: 0; }
  #top #cart > .dropdown-menu > li > p.text-center { margin: 0; padding: 18px 12px 20px; color: #343a32; font-size: 18px; line-height: 1.3; }
  #top #cart > .dropdown-menu > li > p.text-center::before { content: ""; display: block; width: 48px; height: 48px; margin: 0 auto 12px; border: 1px solid #e5e9e2; border-radius: 50%; background: #f7f9f6 url(../image/cart.svg) center / 22px 25px no-repeat; }
  #top #cart .dropdown-menu li > div { min-width: 0; padding: 0 5px; }
  #top #cart .dropdown-menu table, #top #cart .dropdown-menu tr { background: #fff; color: #343a32; }
  #top #cart .dropdown-menu a { color: #343a32; }
  #top #cart .dropdown-menu a:hover { color: #627d58; }
  /* Компактный список добавленных товаров и итогов. */
  #top #cart > .dropdown-menu:has(table) { width: 440px; padding: 20px; }
  #top #cart > .dropdown-menu:has(table) > li > div { padding: 0; }
  #top #cart > .dropdown-menu:has(table) table { width: 100%; margin: 0; border: 0; }
  #top #cart > .dropdown-menu:has(table) table td { border: 0; background: #fff; vertical-align: middle; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table td { padding: 10px 5px; font-size: 16px; line-height: 1.25; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table td:first-child { width: 72px; padding-left: 0; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table img { width: 62px; height: 62px; max-width: none; object-fit: cover; border: 0; border-radius: 7px; padding: 0; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table td:nth-child(2) { min-width: 120px; text-align: left; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table td:nth-child(2) a { font-size: 16px; line-height: 1.25; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table td:nth-child(3),
  #top #cart > .dropdown-menu:has(table) > li:first-child table td:nth-child(4) { white-space: nowrap; }
  #top #cart > .dropdown-menu:has(table) > li:first-child table td:last-child { width: 30px; padding-right: 0; }
  #top #cart > .dropdown-menu:has(table) > li:first-child .btn-danger { padding: 5px 8px; border: 0; border-radius: 6px; background: #f3f4f1; color: #70776c; box-shadow: none; text-shadow: none; }
  #top #cart > .dropdown-menu:has(table) > li:first-child .btn-danger:hover { background: #e8ebe6; color: #30352e; }
  #top #cart > .dropdown-menu:has(table) > li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e9ece6; }
  #top #cart > .dropdown-menu:has(table) > li + li table td { padding: 5px 0; color: #6f776c; font-size: 15px; line-height: 1.3; }
  #top #cart > .dropdown-menu:has(table) > li + li table td:first-child { text-align: left; }
  #top #cart > .dropdown-menu:has(table) > li + li table tr:last-child td { padding-top: 10px; color: #2b312a; font-size: 18px; font-weight: 700; }
  #top #cart > .dropdown-menu:has(table) > li + li p { display: flex; gap: 8px; justify-content: space-between; margin: 14px 0 0; }
  #top #cart > .dropdown-menu:has(table) > li + li p a { flex: 1; display: inline-block; padding: 10px 8px; border: 1px solid #dce1d9; border-radius: 24px; text-align: center; color: #303a30; font-size: 18px; line-height: 1.2; white-space: nowrap; }
  #top #cart > .dropdown-menu:has(table) > li + li p a + a { margin-left: 0; }
  #top #cart > .dropdown-menu:has(table) > li + li p a:last-child { border-color: #303a30; background: #303a30; color: #fff; }
  #top #cart > .dropdown-menu:has(table) > li + li p a:hover { background: #eef2ec; color: #303a30; }
  #top #cart > .dropdown-menu:has(table) > li + li p a:last-child:hover { background: #495b48; color: #fff; }

}
/* Новая подпись скрыта за пределами десктопной панели. */
@media screen and (max-width: 1199px) { #top .ws-time-desktop { display: none; } }
