  /* ------------------------
       RESET & BASE STYLES
    ------------------------ */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: Arial, sans-serif;

    color: #333;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul {
    list-style: none;
  }

  .container-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  /* ------------------------
       TOP BAR (Homepage / MK)
    ------------------------ */
  .top-bar {
    background-color: #eaeaea;
    height: 40px;
    font-size: 0.9rem;
  }

  .top-bar .page-name {
    font-weight: 500;
  }

  .top-bar .mk-auth {
    font-weight: 500;
  }

  /* ------------------------
       MAIN HEADER
    ------------------------ */
  header.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.09);
    position: relative;
    z-index: 10;
    padding: 20px;
  }


  .main-header .container {
    height: 60px;
  }

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #f3800e;
  }

  /* Contact info: phone & email */
  .contact-blocks {
    display: flex;
    gap: 7rem;
    align-items: center;
  }

  /* Contact info block */
  .contact-info {
    display: flex;
    color: #693C14;
    flex-direction: column;
    line-height: 1.4;
  }

  span.time {
    font-size: .85rem;
    color: #38210B;
  }



  /* Search bar */
  .search-bar {
    position: relative;
    flex: 1;
    max-width: 177px;
    margin-right: 20px;
    display: flex;
  }

  .search-bar input {
    width: 100%;
    padding: 8px 35px 8px 10px;
    border: none;
    border-bottom: 1px solid #989898;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: #333;
  }

  a.navbar__logo {

    display: flex;
    align-items: center;
  }

  .search-bar button {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-bar button svg {
    width: 18px;
    height: 18px;
  }

  /* Cart button */
  .cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F08E34;
    color: black;
    padding: 14px 20px;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
  }

  .cart:hover {
    background-color: #d66e00;
    color: white;
    border-color: #d66e00;
  }

  .cart-icon {
    display: flex;
    align-items: flex-end;
  }

  .cart-icon {
    display: flex;
    gap: 10px;
  }

  .cart-icon svg {
    display: block;
    width: 20px;
    height: 20px;
  }

  .cart-label {
    display: flex;
    align-items: center;
    line-height: 1;
    font-size: 1rem;
  }

  .cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #F08E34;
    font-weight: bold;
    width: 22px;
    height: 22px;
    font-size: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
  }





  .cart .cart-icon {
    margin-right: 8px;
    font-size: 1.2rem;
    gap: 10px;

  }

  /* ------------------------
       NAVIGATION MENU
    ------------------------ */
  .nav-menu {
    background-color: #fff;
  }

  .nav-menu .container {
    justify-content: center;
    padding: 1.75rem;
  }

  /*  .nav-menu ul {
    gap: 1.5rem;
  }*/

  .nav-menu li {
    align-self: center;
  }

  .nav-menu a {
    font-size: 0.875rem;
    color: #333;
    transition: color 0.3s;
    display: flex;
    gap: .5rem;
  }

  .nav-menu a:hover {
    color: #f3800e;
  }

  .arrow-down {
    display: flex;
    align-items: center;
  }



  .submenu {
    display: none;
  }

  .submenu.show {
    display: block;
  }

  .arrow-svg {
    transition: transform 0.3s ease;
  }

  .arrow-svg.up {
    transform: rotate(180deg);
  }



  /* ------------------------
       RESPONSIVE STYLES
    ------------------------ */


  @media (max-width: 768px) {
    .container-header {
      flex-wrap: wrap;
    }

    .submenu-close {
      display: none !important;
    }

    .top-bar .container {
      justify-content: space-between;
    }

    .main-header .container {
      height: auto;
      padding: 10px 0;
    }

    .contact-info {
      margin: 10px 0;
    }

    .search-bar {
      margin: 1rem;
      max-width: 100%;
    }


    .nav-menu .container {
      height: auto;
    }

    .nav-menu ul {
      flex-direction: column;
      padding: 10px 0;
    }
  }


  /*Mobile view*/

  .mobile-header {
    display: none;
  }

  @media (max-width: 768px) {

    .submenu.show {
      background: #fdf9f2;
      padding: 1rem 1.5rem;
      border-left: 4px solid #F08E34;
      animation: slideDown 0.3s ease;
      margin-top: 0.4rem;
    }
  }

  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 768px) {


    .contact-info {
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
    }

    .nav-menu ul {
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .nav-menu li {
      margin: 0.6rem 0;
    }

    .nav-menu a {
      text-decoration: none;
      color: #333;
      font-size: 1rem;
    }

    .arrow-down {
      font-size: 0.8rem;
      margin-left: 0.4rem;
    }

    header>div {
      width: 15%;
      display: flex;
      justify-content: center;
    }

    /* Base styles */
    .mobile-header {
      flex-direction: row;
      position: relative;
      background-color: #fdfaf6;
      padding: 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    /* Logo */
    .navbar__logo svg {
      max-width: 120px;
    }

    /* Cart & Search */
    .mobile-icons {
      display: flex;
      align-items: center;
      margin-left: auto;
      margin-right: 1rem;
    }

    .cart-btn {
      position: relative;
      background: #f08e34;
      color: #fff;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }


    .cart-count {
      position: absolute;
      top: -6px;
      right: -6px;
      background-color: white;
      color: #f08e34;
      border-radius: 50%;
      font-size: 0.7rem;
      padding: 2px 6px;
    }

    /* Burger Icon */
    .burger-icon {
      display: flex;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      z-index: 999;
    }

    .burger-icon span {
      display: block;
      width: 30px;
      height: 3px;
      background-color: #F08E34;
      transition: 0.3s ease;
      border-radius: 3px;
    }

    /* Hide checkbox */
    .burger-toggle {
      display: none;
    }

    /* Animate to X */
    .burger-toggle:checked+.burger-icon span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-toggle:checked+.burger-icon span:nth-child(2) {
      opacity: 0;
    }

    .burger-toggle:checked+.burger-icon span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Dropdown menu */
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #fdfaf6;
      width: 100%;
      padding: 1rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      z-index: 998;
    }

    .burger-toggle:checked~.dropdown-menu {
      display: block;
    }

    .dropdown-menu .contact-info {
      margin-bottom: 1rem;
      font-size: 1rem;
    }

    .dropdown-menu nav ul {
      list-style: none;
      padding: 0;
    }

    .dropdown-menu nav ul li {
      margin-bottom: 0.8rem;
    }

    .dropdown-menu nav ul li a {
      color: #333;
      text-decoration: none;
      font-size: 1rem;
    }

    .search-btn {
      border: none;
      background-color: unset;
    }
  }

  @media (max-width: 768px) {

    .main-header,
    .nav-menu {
      display: none;
    }

  }


  .submenu {
    display: none;
    position: absolute;

    width: 20vw;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.35s ease-out;
    z-index: 999;
  }

  .submenu.show {
    display: block;
  }

  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


  .submenu li {
    list-style: none;
    margin-bottom: 0.5rem;
  }

  .submenu li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    transition: background 0.2s ease;
  }

  .submenu li a:hover {
    background-color: #f2f2f2;
  }

  .submenu-close {
    text-align: right;
    font-size: 1.4rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    margin-bottom: 1rem;
  }

  .submenu-close:hover {
    color: #F08E34;
  }

  .submenu-nested {
    margin-left: 1.25rem;
    padding-left: 1rem;
    border-left: 2px solid #eee;
    margin-top: 1rem;
  }

  /* Navigation Menu Container */
  .nav-menu {
    background-color: white;
    border-bottom: 1px solid #eee;
    font-family: sans-serif;
  }

  /* Main Navigation Styling */
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    gap: 1.25rem;
    justify-content: center
  }

  .main-nav>li {
    position: relative;
  }

  /* Navigation Links */
  .main-nav>li>a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
  }

  .main-nav>li>a:hover,
  .main-nav>li>a:focus {
    background-color: #F08E34;
    color: #fff;
  }

  /* Dropdown Arrow Animation */
  .arrow-svg {
    display: inline-flex;
    transition: transform 0.3s ease;
  }

  .arrow-svg.up {
    transform: rotate(180deg);
  }



  .submenu.show {
    display: block;
  }

  .submenu li {
    list-style: none;
    margin-bottom: 0.4rem;
  }

  .submenu li:last-child {
    margin-bottom: 0;
  }

  .submenu li a {
    display: block;
    padding: 0.4rem 0.6rem;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background 0.2s ease;
  }

  .submenu li a:hover {
    background-color: #f5f5f5;
  }

  /* Close Button for Submenu */
  .submenu-close {
    text-align: right;
    font-size: 1.3rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    margin-bottom: 0.5rem;
  }

  .submenu-close:hover {
    color: #F08E34;
  }

  /* Nested Submenus */
  .submenu-nested {
    margin-left: 1rem;
    margin-top: 0.5rem;
  }

  /* Fade Slide Animation */
  @keyframes fadeSlide {
    0% {
      opacity: 0;
      transform: translateY(8px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive Styling for Mobile */
  @media (max-width: 768px) {
    .main-nav {
      flex-direction: column;
      padding: 1rem;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .submenu {
      position: relative;
      width: 100%;
      top: auto;
      left: auto;
      box-shadow: none;
      border-radius: 0;
      margin-top: 0.5rem;
    }
  }


  /* ===== TABLET VIEW (769px–1100px) ===== */
  @media (min-width: 769px) and (max-width: 1100px) {
    .container-header {
      display: grid;
      grid-template-columns: auto 1fr auto auto;
      /* logo | contacts | search | cart */
      grid-template-areas: "logo contacts search cart";
      align-items: center;
      gap: 20px;
    }

    .logo {
      grid-area: logo;
    }

    .contact-blocks {
      grid-area: contacts;
      gap: 2rem;
      align-items: center;
    }

    .contact-info {
      font-size: 0.9rem;
      line-height: 1.3;
    }

    .contact-info span.time {
      font-size: 0.8rem;
    }

    .search-bar {
      grid-area: search;
      max-width: 180px;
      margin: 0;
    }

    .search-bar input {
      padding: 6px 32px 6px 10px;
      font-size: 0.9rem;
    }

    .search-bar button svg {
      width: 18px;
      height: 18px;
    }

    /* Cart on far right */
    .cart {
      grid-area: cart;
      padding: 10px 16px;
      border-radius: 999px;
      font-size: 0.9rem;
      gap: 6px;
    }

    .nav-menu .container {
      padding: 1rem 0;
    }

    .main-nav {
      gap: 1rem;
    }

    .back-text {

      margin-left: 1rem;
    }

    .section {
      padding: 1rem;
    }
  }

  .search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .search-input {
    min-height: 36px;
    max-width: 320px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.25;
    border: 1px solid #C8CDD5;
    border-radius: 8px;
    background: #fff;
  }

  .search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #C8CDD5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }

  .search-btn svg {
    pointer-events: none;
  }

  .search-input:focus {
    outline: none;
  }

  .search-btn:focus {
    outline: none;
  }

  .search-input:focus-visible,
  .search-btn:focus-visible {
    outline: none;
    border-color: #F08E34;
    box-shadow: 0 0 0 2px rgba(240, 142, 52, .25);
  }

  .search-btn:hover {
    background: #f7f7f7;
  }

  @media (pointer: coarse) {
    .search-input {
      min-height: 44px;
      font-size: 16px;
    }

    .search-btn {
      min-width: 44px;
      min-height: 44px;
    }
  }



  @media (min-width: 769px) and (max-width: 1100px) {

    html,
    body {
      overflow-x: hidden;
    }
  }