/* menu.css */

/* ---------- MENU TOGGLE BUTTON ---------- */
.menu-toggle {
    font-size: 17px;
    font-weight: 600;
    padding: 0 12px;
    background: none;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
	margin-right: auto;
}

/* Hide toggle on desktop */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* ---------- DRAWER OVERLAY ---------- */
.drawer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: flex-start;
    z-index: 99999;
	min-height: 100vh; /* fallback */
	flex-direction: column;  /* make children stack vertically */
	
}

/* ---------- DRAWER PANEL ---------- */
.drawer-panel {
    width: 310px;
    max-width: 85%;
    height: 100%;           /* fill parent */
    min-height: 100vh;      /* ensure full height */
    background: #fff;
    padding: 10px 15px 0 22px;
    transform: translateX(-100%);
    transition: transform 0.35s ease-in-out;
    box-shadow: 4px 0 12px rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;
	
	border-radius: 0; /* remove all rounding */
}

/* Active state */
.drawer.open {
    display: block;
}

.drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
	
    position: relative; /* allows absolute positioning inside */
}

.drawer-logo {
    height: 40px;
}

/* Drawer close button */
.drawer-close {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
	
    position: absolute;
    top: 6px;
    right: 8px;
    padding: 0;
}

/* Drawer links styling */
.drawer-links {
    padding: 0;
    margin: 0;
	flex: 1; 
}

.drawer-links li {
    list-style: none;
    margin: 5px 0;
}

.drawer-links a {
    text-decoration: none;
    font-size: 18px;
    color: #222;
	font-weight: 500;
	text-transform: uppercase;
}

/* --- DROPDOWN --- */

.shop-dropdown {
    width: 100%;
}

/* Header bar */
.dropdown-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;	
	
    text-decoration: none;
    font-size: 18px;
    color: #222;
	font-weight: 500;
	text-transform: uppercase;	
	
    align-items: center;
    height: 28px;              /* same height as regular menu rows */
}

/* Style for the SHOP link */
.dropdown-header .shop-link {
    text-decoration: none;
    font-size: 18px;
    color: #222;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    height: 100%;              /* match parent height */
}

/* Arrow button */
.dropdown-header .arrow-toggle {
    border: none;
    background: #e7e7e7;
    height: 100%;
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Arrow icon */
.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Rotate only when dropdown open */
.shop-dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Hidden content */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fff;
}

/* Category list items */
.dropdown-content li {
    border-bottom: 1px solid #eee;
}

/* Remove border from last item */
.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content li a {
    display: block;
    padding: 14px 0 16px 0;
    font-size: 16px;
    color: #333;
	font-weight: 400;
}

.shop-dropdown .dropdown-header {
    padding-left: 0 !important;
}

.shop-dropdown .dropdown-content {
    padding-left: 5px !important;
}

.shop-dropdown .dropdown-content li {
    padding-left: 0 !important;
}

.shop-dropdown .dropdown-content li a {
    padding-left: 0 !important;
}
