header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #ccc;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    color: rgb(0, 0, 0);
    position: sticky;
    top: 0;
    isolation: isolate;
    background:
        radial-gradient(circle at 10% -30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 88% 8%, rgba(255, 219, 164, 0.46), rgba(255, 219, 164, 0) 32%),
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.64) 0%,
            rgba(255, 255, 255, 0.34) 45%,
            rgba(224, 184, 115, 0.22) 100%);
    -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.08);
    backdrop-filter: blur(24px) saturate(190%) brightness(1.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow:
        0 18px 42px rgba(45, 41, 38, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 -1px 0 rgba(134, 88, 22, 0.08) inset;
}

.navbar::before,
.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.navbar::before {
    background:
        linear-gradient(115deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.24) 24%,
            rgba(255, 255, 255, 0.05) 56%,
            rgba(255, 255, 255, 0.34) 100%);
    opacity: 0.68;
    mix-blend-mode: screen;
}

.navbar::after {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(255, 255, 255, 0) 42%,
            rgba(172, 106, 0, 0.10) 100%);
}

.navbar > * {
    position: relative;
    z-index: 1;
}

nav {
  display: flex;
  gap: 1rem;
}
nav a {
  text-decoration: none;
  color: #333;
}
.nav-icons {
  display: flex;
  gap: 0.5rem;
}
.material-icons {
  font-size: 24px;
  color: #333;
}

.logo a {
    display: flex;
    align-self: center;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.navbar .logo {
    background: none;
    -webkit-text-fill-color: initial;
}

.navbar .logo a {
    background: none;
    color: #5b3508;
    -webkit-text-fill-color: #5b3508;
    text-decoration: none;
    text-shadow: none;
    animation: none;
}

.navbar .logo a:hover {
    color: #8a5209;
    -webkit-text-fill-color: #8a5209;
}

.nav-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    font-size: 12.8px;
    align-items: center;
    margin: 0;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
    list-style: none;
}

.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1.2em;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #ac6a00;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a:active {
    color: #ac6a00;
}

.dropdown {
    display: none;
    position: absolute;
    top: 42px;
    left: -13px;
    /* background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.84),
            rgba(255, 251, 244, 0.62) 58%,
            rgba(239, 207, 157, 0.36)); */
    background: linear-gradient(145deg, rgb(255 255 255), rgb(255 251 244) 58%, rgb(239 207 157));
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 16px;
    box-shadow:
        0 20px 48px rgba(45, 41, 38, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    list-style: none;
    padding: 12px;
    width: 294px;

}
.sub-dropdown ul{
    list-style: none;
}

.dropdown li {
    padding: 10px;
    position: relative;
}

.dropdown a {
    color: #000000;
    font-size: 1em;
}

.dropdown li a:active,
.dropdown li a:hover{

    color: #ac6a00;

}

.sub-dropdown {
    top: 0;
    left: 100%;
}
.sub-dropdown a{
    font-weight: 400;
    color: #444;
}

.sub-dropdown a:active,
.sub-dropdown a:hover{
    color: #ac6a00;
}

.login-button, .login-button-list {
    background: #ac6a00;
    color: white;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 42px;
}

.material-symbols-outlined {
  line-height: 1.5;
}

.bag-icon {
    position: relative;

}

.grey-xsmall{
    color: #777777;
    font-size: 11px;
    font-weight: 700;
}

.grey-small{
    color: #777;
    font-size: 14px;
    font-weight: 400;
}
.cart-count {
    background-color: red;
    position: absolute;
    top: 0px;
    left: 60%;
    display: flex;
    width: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    height: 16px;
    font-size: 12px;
    color: #FFF;
    display: none;
}

.cart-count.has-items {

    display: flex;
}

/* ============================================================
   FOOTER — modern, elegant, professional (overrides legacy
   .ft-grid layout from home_styles.css via higher specificity)
   ============================================================ */
footer.footer {
    background: linear-gradient(160deg, #241a12 0%, #18110b 100%);
    color: #b9a98f;
    padding: 56px 0 0;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-top: 1px solid rgba(224, 184, 115, 0.14);
}

footer.footer .ft-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

footer.footer .ft-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

/* Neutralise legacy grid-column placements from home_styles.css so the
   columns flow naturally in the responsive grids defined below. */
footer.footer .ft-1,
footer.footer .ft-2,
footer.footer .ft-3,
footer.footer .ft-4 {
    grid-column: auto;
}

/* Brand column */
footer.footer .ft-1 { justify-items: start; }

footer.footer .ft-logo {
    font-family: "Playfair Display", Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #f3e7d2;
    margin: 0;
    display: inline-block;
}

footer.footer .ft-tagline {
    margin: 8px 0 16px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c79a5a;
}

footer.footer .ft-about {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #ab9c84;
    max-width: 300px;
}

/* Column headings */
footer.footer .ft-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f3e7d2;
    margin: 2px 0 18px;
}

footer.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer.footer ul li { margin: 0 0 11px; }

footer.footer a {
    color: #b9a98f;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
}

footer.footer a:hover { color: #e6c389; }

/* Contact column */
footer.footer .ft-contact-list li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 9px;
    font-size: 14px;
    line-height: 1.6;
    color: #ab9c84;
    margin-bottom: 14px;
}

footer.footer .ft-contact-list .material-symbols-outlined {
    font-size: 18px;
    color: #c79a5a;
    line-height: 1.5;
    flex: 0 0 auto;
}

/* Social icon buttons — fixed size + flex centering keeps the SVGs
   perfectly aligned on iOS Safari (no inline baseline gaps). */
footer.footer .social-icons {
    display: inline-flex;
    gap: 12px;
    margin-top: 2px;
}

footer.footer .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224, 184, 115, 0.30);
    background: rgba(255, 255, 255, 0.04);
    color: #d9c3a0;
    transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
    flex: 0 0 auto;
    line-height: 0;
}

footer.footer .social-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

footer.footer .social-btn:hover {
    background: #e0b873;
    border-color: #e0b873;
    color: #241a12;
    transform: translateY(-2px);
}

/* Bottom bar */
footer.footer .ft-bottom {
    margin-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #8c7e69;
}

footer.footer .ft-bottom p { margin: 0; }
footer.footer .ft-bottom-links a { font-size: 13px; }
footer.footer .ft-bottom-links span { opacity: .5; margin: 0 4px; }

/* Tablet */
@media (max-width: 900px) {
    footer.footer .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 28px;
    }
    footer.footer .ft-1 { grid-column: 1 / -1; }
}

/* Mobile — keep every column visible (overrides the legacy rule
   that hid the contact column on small screens). */
@media (max-width: 768px) {
    footer.footer { padding-top: 42px; }
    footer.footer .ft-inner { padding: 0 22px; }
    footer.footer .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    /* Brand column centered */
    footer.footer .ft-1 {
        grid-column: 1 / -1;
        justify-items: center;
        text-align: center;
    }
    footer.footer .ft-about {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    footer.footer .social-icons { justify-content: center; }

    /* Contact column centered */
    footer.footer .ft-4 {
        grid-column: 1 / -1;
        display: block;
        text-align: center;
    }
    footer.footer .ft-4 .ft-col-title { text-align: center; }
    footer.footer .ft-contact-list li { justify-content: center; }

    footer.footer .ft-bottom {
        justify-content: center;
        text-align: center;
    }
}

body.menu-active main,
body.menu-active footer {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.2s ease;

}

.redirect-text{
    font-size: 13px;
    margin-top: 32px;
    color: #7f7f7f;
}

@media (max-width: 768px) {

    .navbar {
        padding: 10px 16px;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        justify-content: flex-start;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 100%;
        left: -100%;
        width: 70%;
        height: 100vh;
        background:
            radial-gradient(circle at 10% -30%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 34%),
            radial-gradient(circle at 88% 8%, rgba(255, 219, 164, 0.62), rgba(255, 219, 164, 0) 32%),
            linear-gradient(135deg,
                rgba(255, 255, 255, 0.94) 0%,
                rgba(255, 250, 243, 0.88) 45%,
                rgba(239, 207, 157, 0.78) 100%);
        -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.08);
        backdrop-filter: blur(24px) saturate(190%) brightness(1.08);
        box-shadow: 20px 0 44px rgba(45, 41, 38, 0.16),
            inset 1px 0 0 rgba(255, 255, 255, 0.65),
            inset -1px 0 0 rgba(134, 88, 22, 0.08);
        color: rgb(0, 0, 0);
        text-align: left;
        transition: left 0.3s ease-in-out;
        font-size: 14px;
        padding: 12px;
        gap: 12px;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: scroll;
        border-right: 1px solid rgba(255, 255, 255, 0.56);

    }
    .nav-links.show {
        left: 0;
        align-items: flex-start;

    }
    .nav-links li{
        margin: 0px 12px;
        padding: 10px;

    }
    .nav-links a {
        font-size: 1em;
    }

    .dropdown {
        display: none;
        position: static;
        /* padding-left: 6px;
        background:
            linear-gradient(145deg,
                rgba(255, 255, 255, 0.70),
                rgba(255, 251, 244, 0.54));
        border-color: rgba(255, 255, 255, 0.50);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
        font-size: 14px;
        width: 100% */

        background: none;
        border: none;
        box-shadow: none;
        backdrop-filter:none;
    }
    .sub-dropdown{
        display: none;
        position: static;
        padding-left: 10px;
        /* background: rgba(255, 255, 255, 0.36); */
        font-size: 14px;
    }
    .dropdown li {
        padding: 10px 0;
    }
    .login-button {
        display: none;
    }
    .login-btn-nav{
        display: block;
    }
    .login-button-list {
        width: 90%;
        margin: 15px auto;
        display: block;
        text-align: center;
    }
    .icons {
        gap: 2rem;
        padding-right: 16px;
    }

    .redirect-text{
        font-size: 11px;
        margin-top: 16px;
    }

}

@media (max-width:480px) {
    .icons {
        gap: 1rem;
        padding-right: 8px;
    }

}

.menu-icon .line {
    fill: black;
    transition: all 0.3s ease;
    transform-origin: center;
}

body.menu-active .menu-icon .top {
    transform: translateY(10px) translateX(-32px) rotate(45deg);
    width: 40px;

    fill: red;

}
body.menu-active .menu-icon .middle {
    color: red;
    transform: translateY(0px) translateX(0px) rotate(-45deg);
    x: 40;
    fill: red;
}
body.menu-active .menu-icon .bottom {
    transform: translateY(-20px) translateX(20px) rotate(45deg);
    width: 50px;
    fill: rgb(255, 0, 0);

}

svg{
    display: flex;
    color: #000;
}

.contact-div {
    display: flex;
    flex-direction: column;
    padding: 0px 8px;
}
