/* Site chrome shared by both layouts (resources/views/app.blade.php and shop/app.blade.php).
   Every selector is scoped to .site-header (old layout header only), .site-footer (both
   footers) or #offcanvas-mobile-menu, so page bodies — basket and checkout included — are
   never affected. Colours are the FreshCart tokens used by public/shop/css/theme.min.css. */

/* ---------- Footer ---------- */
.site-footer {
    background: #f0f3f2;
    color: #5c6c75;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    padding: 48px 0 0;
}
.site-footer .site-footer-heading {
    color: #21313c;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 14px;
}
.site-footer .site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer .site-footer-links li {
    margin-bottom: 8px;
}
.site-footer a {
    color: #5c6c75;
    text-decoration: none;
}
.site-footer a:hover {
    color: #ff7004;
}
.site-footer .site-footer-bottom {
    border-top: 1px solid #dfe2e1;
    font-size: 13px;
    margin-top: 16px;
    padding: 20px 0;
}

/* ---------- Header (old layout: resources/views/inc/header.blade.php) ---------- */
.site-header,
#offcanvas-mobile-menu {
    font-family: 'Inter', sans-serif;
}

/* Top bar */
.site-header .site-topbar {
    background: #f0f3f2;
    color: #5c6c75;
    font-size: 12.25px;
    padding: 6px 0;
}
.site-header .site-topbar a {
    color: #21313c;
    text-decoration: none;
}
.site-header .site-topbar a:hover {
    color: #ff7004;
}
.site-header .site-topbar .container > .d-flex {
    gap: 4px 12px; /* wraps the phone onto its own line on narrow screens, like the new layout */
}
.site-header .site-topbar-actions {
    gap: 14px;
}
.site-header .site-topbar-whatsapp {
    display: inline-flex;
}
.site-header .site-topbar .dropdown-toggle {
    background: none;
    border: 0;
    color: #21313c;
    font-size: 13px;
    padding: 0;
    text-decoration: underline;
}
.site-header .site-topbar .dropdown-toggle::after {
    display: none;
}
.site-header .site-topbar .dropdown-toggle i {
    font-size: 11px;
    margin-left: 4px;
}
.site-header .site-topbar .dropdown-item {
    font-size: 13px;
}
.site-header .dropdown-item.is-active {
    color: #ff7004;
}

/* Desktop row */
.site-header .site-header-main {
    background: #fff;
    padding: 20px 0;
}
.site-header .site-logo {
    flex: 0 0 auto;
    margin-right: 24px;
}
.site-header .site-search {
    max-width: 850px;
}
.site-header .site-search .dropdown_search1 {
    position: relative;
}
.site-header .site-search input {
    border: 1px solid #dfe2e1;
    border-radius: .5rem;
    color: #21313c;
    font-size: 14px;
    height: 42px;
    padding: 0 44px 0 16px;
}
.site-header .site-search input:focus {
    border-color: #ff7004;
    box-shadow: none;
}
.site-header .site-search .submit {
    background: none;
    border: 0;
    color: #5c6c75;
    height: 42px;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
}
.site-header .site-search .results_dd {
    border-radius: .5rem;
    left: 0;
    margin-top: 3px;
    position: absolute;
    right: 0;
    /* no z-index here: the theme's .results-input {z-index:100000} keeps results above the sticky nav */
}
.site-header .site-header-icons {
    align-items: center;
    display: flex;
    gap: 28px;
    margin-left: auto;
    padding-left: 24px;
}
.site-header .site-header-icons .header_account_list {
    border: 0;
    margin: 0;
    padding: 0;
}
.site-header .header-action-btn,
.site-header .user-bookmarks,
.site-header .user-bookmarks i {
    color: #5c6c75;
}
/* The old theme draws 2px separators left of the account and basket icons. */
.site-header .site-header-icons .header-bottom-set,
.site-header .site-header-icons .header-action-btn-cart {
    border-left: 0;
    padding-left: 0;
}
.site-header .header-action-btn:hover {
    color: #ff7004;
}
.site-header .header-action-btn i {
    font-size: 20px;
}
.site-header .header-action-btn .header-action-num,
.site-header .header-action-btn .wishlist-counter {
    background: #198754;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    height: 17px;
    line-height: 17px;
    padding: 0;
    position: absolute;
    right: -9px;
    text-align: center;
    top: -7px;
    width: 17px;
}

/* Nav bar (resources/views/inc/nav.blade.php) */
.site-header .site-nav {
    background: #fff;
    border-bottom: 1px solid #dfe2e1;
}
.site-header .site-nav .main-menu {
    justify-content: flex-start;
}
.site-header .site-nav .main-menu > ul > li + li {
    margin-left: 28px;
}
.site-header .site-nav .main-menu > ul > li > a {
    color: #21313c;
    font-size: 14px !important; /* beats the Home link's inline font-size:1rem */
    font-weight: 500;
    letter-spacing: 0;
    line-height: 52px;
}
.site-header .site-nav .main-menu > ul > li > a:hover {
    color: #ff7004;
}
.site-header .site-nav .main-menu > ul > li > a i {
    font-size: 11px;
    margin-left: 3px;
}
.site-header .site-nav.menu_fixed {
    background: #fff;
}
