* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cormorant Garamond', serif;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #faf8f5;
    transition: background 0.3s ease;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* Overlay for mobile menu */
body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: all;
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row !important;
    padding: 15px 60px;
    background: #faf8f5;
    border-bottom: 1px solid #e8e2d8;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 70px;
    margin: 0 !important;
}

.header.scrolled {
    background: rgba(250, 248, 245, 0.98);
    border-bottom: 1px solid #D2691E;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    z-index: 10001;
    position: relative;
    order: 1;
    margin-right: auto;
}

.logo-img {
    height: 80px;
    width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
    background: none;
    border: none;
    position: relative;
    order: 3;
    margin-left: auto;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #D2691E;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Styles */
.nav {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: nowrap;
    order: 2;
}

.nav > a,
.nav-item > a {
    text-decoration: none;
    color: #654321;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
    padding: 8px 10px;
}

.nav > a::after,
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D2691E;
    transition: width 0.3s ease;
}

.nav > a:hover,
.nav-item > a:hover {
    color: #D2691E;
}

.nav > a:hover::after,
.nav-item > a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.nav-item {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(250, 248, 245, 0.98);
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    border-radius: 8px;
    z-index: 1001;
    border-top: 3px solid #D2691E;
    margin-top: 5px;
    border: 1px solid #e8e2d8;
}

.nav-item:last-of-type .submenu {
    left: auto;
    right: 0;
}

.nav-item:hover > .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    color: #654321;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #D2691E;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.submenu a:hover {
    background: rgba(244, 164, 96, 0.15);
    color: #D2691E;
    padding-left: 25px;
}

.submenu a:hover::before {
    transform: scaleY(1);
}

/* Nested Submenu */
.submenu-item {
    position: relative;
}

.nested-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: rgba(250, 248, 245, 0.98);
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    border-radius: 8px;
    z-index: 1002;
    border-top: 3px solid #D2691E;
    border: 1px solid #e8e2d8;
}

.submenu-item:hover > .nested-submenu {
    display: block;
}

.nested-submenu a {
    display: block;
    padding: 12px 20px;
    color: #654321;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nested-submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #D2691E;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nested-submenu a:hover {
    background: rgba(244, 164, 96, 0.15);
    color: #D2691E;
    padding-left: 25px;
}

.nested-submenu a:hover::before {
    transform: scaleY(1);
}

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 24px;
    color: #654321;
    transition: color 0.3s;
    padding: 5px;
}

.cart-icon:hover {
    color: #D2691E;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #D2691E;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Google Translate Widget */
#google_translate_element {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-te-gadget-simple {
    background: #fff !important;
    border: 1px solid #D2691E !important;
    padding: 8px 15px !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.goog-te-gadget-simple:hover {
    background: #FFE4B5 !important;
    border-color: #8B4513 !important;
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.3);
}

.goog-te-gadget {
    color: #654321 !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: #654321 !important;
    font-weight: 600;
}

.goog-te-gadget-simple .goog-te-menu-value span:hover {
    color: #D2691E !important;
}

.goog-te-gadget-icon {
    background-image: none !important;
    margin-right: 0 !important;
    width: 0 !important;
    display: none !important;
}

.goog-te-gadget-simple::before {
    content: "🌐";
    margin-right: 6px;
    font-size: 14px;
}

.goog-te-menu-frame {
    border: 1px solid #D2691E !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 16px rgba(210, 105, 30, 0.3) !important;
    max-height: 400px !important;
}

.goog-te-menu2 {
    background: #FFFAF0 !important;
    border-radius: 8px !important;
    padding: 6px !important;
    max-height: 380px !important;
    overflow-y: auto !important;
}

.goog-te-menu2-item div,
.goog-te-menu2-item:link div,
.goog-te-menu2-item:visited div {
    color: #654321 !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
}

.goog-te-menu2-item div:hover {
    background: #FFE4B5 !important;
    color: #D2691E !important;
    border-radius: 5px;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .header {
        padding: 18px 80px;
    }

    .logo-img {
        height: 90px;
        width: 230px;
    }

    .nav {
        gap: 35px;
    }

    .nav > a,
    .nav-item > a {
        font-size: 17px;
    }
}

/* Standard Desktop (1200px - 1599px) */
@media (max-width: 1599px) and (min-width: 1200px) {
    .header {
        padding: 15px 60px;
    }

    .logo-img {
        height: 80px;
        width: 200px;
    }

    .nav {
        gap: 25px;
    }
}

/* Medium Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .header {
        padding: 15px 40px;
    }

    .nav {
        gap: 18px;
    }

    .nav > a,
    .nav-item > a {
        font-size: 15px;
        padding: 6px 8px;
    }

    .logo-img {
        height: 70px;
        width: 180px;
    }
}

/* Small Desktop/Tablet (901px - 1023px) */
@media (max-width: 1023px) and (min-width: 901px) {
    .header {
        padding: 12px 30px;
    }

    .nav {
        gap: 15px;
    }

    .nav > a,
    .nav-item > a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .logo-img {
        height: 65px;
        width: 170px;
    }
}

/* ========== MOBILE LAYOUT (900px and below) ========== */
@media (max-width: 900px) {
    .header {
        padding: 12px 25px !important;
        min-height: 60px !important;
        background: #faf8f5 !important;
        position: fixed !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        border-bottom: 1px solid #e8e2d8 !important;
    }

    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10001 !important;
    }

    .logo-img {
        height: 55px;
        width: 145px;
    }

    /* Mobile Navigation Panel */
    .nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        height: 100vh !important;
        width: 85% !important;
        max-width: 380px !important;
        background: #faf8f5 !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 90px 0 30px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 10000 !important;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1) !important;
        gap: 0 !important;
        border-right: 1px solid #e8e2d8;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #D2691E rgba(244, 164, 96, 0.3);
    }

    .nav::-webkit-scrollbar {
        width: 6px;
    }

    .nav::-webkit-scrollbar-track {
        background: rgba(244, 164, 96, 0.2);
    }

    .nav::-webkit-scrollbar-thumb {
        background: #D2691E;
        border-radius: 3px;
    }

    .nav.active {
        left: 0 !important;
    }

    .nav > a,
    .nav-item {
        width: 100%;
    }

    .nav > a,
    .nav-item > a {
        width: 100%;
        padding: 16px 25px;
        border-bottom: 1px solid rgba(232, 226, 216, 0.5);
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #654321;
    }

    .nav > a::after,
    .nav-item > a::after {
        display: none;
    }

    .nav > a:active,
    .nav-item > a:active {
        background: rgba(244, 164, 96, 0.1);
    }

    /* Mobile Submenu - Accordion Style */
    .submenu {
        position: static !important;
        width: 100% !important;
        background: rgba(232, 226, 216, 0.3) !important;
        overflow: hidden !important;
        max-height: 0 !important;
        transition: max-height 0.3s ease !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        right: auto !important;
        border-top: none !important;
        margin-top: 0 !important;
        display: block !important;
        border: none !important;
    }

    .nav-item.active > .submenu {
        max-height: 800px !important;
        padding: 8px 0 !important;
    }

    /* Disable hover on mobile */
    .nav-item:hover > .submenu {
        display: block !important;
        max-height: 0 !important;
    }

    /* Mobile Nested Submenu */
    .nested-submenu {
        position: static !important;
        background: rgba(232, 226, 216, 0.2) !important;
        overflow: hidden !important;
        max-height: 0 !important;
        transition: max-height 0.3s ease !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        border-top: none !important;
        display: block !important;
        border: none !important;
    }

    .submenu-item.active > .nested-submenu {
        max-height: 600px !important;
        padding: 8px 0 !important;
    }

    .submenu-item:hover > .nested-submenu {
        display: block !important;
        max-height: 0 !important;
    }

    .submenu a,
    .nested-submenu a {
        padding: 14px 25px 14px 40px;
        font-size: 15px;
        border-bottom: 1px solid rgba(232, 226, 216, 0.3);
        color: #654321;
    }

    .nested-submenu a {
        padding-left: 55px;
        font-size: 14px;
    }

    .submenu a:hover,
    .nested-submenu a:hover {
        padding-left: 45px;
        background: rgba(244, 164, 96, 0.15);
    }

    .nested-submenu a:hover {
        padding-left: 60px;
    }

    .submenu a:active,
    .nested-submenu a:active {
        background: rgba(210, 105, 30, 0.1);
    }

    .submenu a::before,
    .nested-submenu a::before {
        display: none;
    }

    /* Google Translate - Mobile */
    #google_translate_element {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .goog-te-gadget-simple {
        width: 100%;
        justify-content: center;
    }

    /* Cart Icon - Mobile */
    .cart-icon {
        margin-top: 1rem;
    }
}

/* Tablet (768px - 900px) */
@media (max-width: 768px) and (min-width: 481px) {
    .header {
        padding: 10px 20px !important;
        min-height: 55px !important;
    }

    .logo-img {
        height: 50px;
        width: 135px;
    }

    .nav {
        width: 90% !important;
        max-width: 350px !important;
        padding: 80px 0 25px !important;
    }

    .menu-toggle span {
        width: 26px;
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .header {
        padding: 10px 18px !important;
        min-height: 54px !important;
    }

    .logo-img {
        height: 48px;
        width: 130px;
    }
}

/* Small Mobile (360px - 480px) */
@media (max-width: 480px) {
    .header {
        padding: 10px 15px !important;
        min-height: 50px !important;
    }

    .logo-img {
        height: 45px;
        width: 120px;
    }

    .menu-toggle {
        padding: 8px;
    }

    .menu-toggle span {
        width: 24px;
        height: 2.5px;
    }

    .nav {
        width: 100% !important;
        max-width: 320px !important;
        padding: 75px 0 20px !important;
    }

    .nav > a,
    .nav-item > a {
        padding: 14px 20px;
        font-size: 15px;
    }

    .submenu a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
    }

    .nested-submenu a {
        padding-left: 50px;
        font-size: 13px;
    }

    .submenu a:hover {
        padding-left: 40px;
    }

    .nested-submenu a:hover {
        padding-left: 55px;
    }

    .goog-te-gadget-simple {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }

    .cart-icon {
        font-size: 20px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Extra Small Mobile (320px - 359px) */
@media (max-width: 359px) {
    .header {
        padding: 8px 12px !important;
        min-height: 48px !important;
    }

    .logo-img {
        height: 42px;
        width: 110px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
    }

    .nav {
        max-width: 280px !important;
        padding: 70px 0 18px !important;
    }

    .nav > a,
    .nav-item > a {
        padding: 12px 18px;
        font-size: 14px;
    }

    .submenu a {
        padding: 11px 18px 11px 32px;
        font-size: 13px;
    }

    .nested-submenu a {
        padding-left: 46px;
        font-size: 12px;
    }

    .cart-icon {
        font-size: 18px;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }
}

/* Landscape Mode Adjustments for Mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .nav {
        padding: 70px 0 20px !important;
    }

    .header {
        min-height: 50px !important;
        padding: 8px 20px !important;
    }

    .logo-img {
        height: 45px;
    }
}

/* Ultra-wide screens (2000px+) */
@media (min-width: 2000px) {
    .header {
        padding: 20px 120px;
    }

    .logo-img {
        height: 100px;
        width: 250px;
    }

    .nav {
        gap: 40px;
    }

    .nav > a,
    .nav-item > a {
        font-size: 18px;
        padding: 10px 12px;
    }
}

/* Print Styles */
@media print {
    .header {
        position: static;
        border: none;
        box-shadow: none;
    }

    .menu-toggle,
    .cart-icon,
    #google_translate_element {
        display: none;
    }

    .nav {
        position: static;
        display: flex;
        flex-direction: row;
    }
}