/* ====== FONTS ====== */

@font-face {
    font-family: 'Montserrat';
    src: url(/fonts/Montserrat-Medium.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair';
    src: url(/fonts/PlayfairDisplay-Regular.woff2) format('woff2'),
         url(/fonts/PlayfairDisplay-Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Libre';
    src: url(/fonts/LibreCaslonDisplay-Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url(/fonts/CormorantGaramond-VariableFont_wght.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Arimo';
    src: url(/fonts/Arimo-VariableFont_wght.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ====== HEADER ====== */

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 6vw;
    margin: 0 0;
    padding-top: 0.4vw;
    position: fixed;
    background-color: white;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

#header-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 42.5vw;
}

#header-icons a {
    margin: 1vw 0.4vw;
}

#header-icons a:hover {
    filter: brightness(0) saturate(0) invert(0) opacity(0.6);
}

#logo-container {
    margin-left: 46vw;
}

#logo-container:hover {
    cursor: pointer;
}

#logo {
    width: 5vw;
}

#cart-button {
    background: none;
    border: none;
}

#cart-button:hover {
    cursor: pointer;
}

#icon-search {
    width: 1.6vw;
}

#icon-cart {
    width: 1.8vw;
}

#menubutton {
    display: none;
}

#sidebar {
    display: none;
}

#cart-sidebar {
    display: unset;
    width: 37%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 0;
    right: -100%;
    color: rgb(0, 0, 0);
    padding: 1vw 1vw;
    transform: translateX(0);
    transition: right 0.3s ease;
    z-index: 3;
}

#cart-sidebar.active {
    right: 0;
}

.cart-header {
    font-family: Helvetica;
    color: rgb(60, 60, 60);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100.5%;
}

#cart-close {
    background: none;
    background-image: url("/images/close.svg");
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    width: 2vw;
    height: 2vw;
}

#cart-close:hover {
    cursor: pointer;
}

/* ====== NAVIGATION ====== */

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 0;
    padding-bottom: 0.9vw;
    border-top: 1px solid rgba(60, 60, 60, 0.3);
    position: fixed;
    background-color: white;
    top: 6.4vw;
    left: 0;
    width: 100%;
    z-index: 2;
}

nav a {
    position: relative;
    text-decoration: none;
    font-size: 1.05vw;
    font-family: 'Montserrat';
    color: black;
    margin: 1vw 1vw;
    margin-bottom: 0;
    display: inline-block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    top: 1.3vw;
    left: 0;
    height: 0.1vw;
    width: 0;
    background-color: black;
    transition: width 0.2s ease-in-out;
}

nav a:hover::after {
    width: 100%;
}

/* ====== CART BACKGROUND CHANGES ====== */

body,
header,
nav {
    transition: background-color 0.3s ease-in;
}

body.active,
header.active, 
nav.active {
    background-color: rgb(240, 240, 240);
}

/* ====== FOOTER ====== */

#footer {
    background-color: #efefef;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.mobileshow {
    display: none;
}

#footertext {
    font-size: 1.2vw;
    font-family: sans-serif;
}

div[id=footone] {
    width: 15vw;
    display: flex;
    flex-direction: column;
    margin-top: 2.1vw;
    margin-left: 5vw;
    font-family: 'Playfair';
    font-size: 1.5vw;
}

div[class=foottwo] {
    display: flex;
    flex-direction: column;
    margin-top: 2vw;
    margin-left: 5vw;
    font-family: 'Montserrat';
    font-size: 1.2vw;
}

#footone h2,
.foottwo h4, 
#footthree h4 {
    margin: 2vw 0;
    margin-bottom: 1vw;
}

.foottwo a {
    width: max-content;
    text-decoration: none;
    margin-bottom: 1.2vw;
    color: black;
    position: relative;
    display: inline-block;
}

.foottwo a::after {
    content: '';
    position: absolute;
    bottom: 0;
    top: 1.3vw;
    left: 0;
    height: 0.1vw;
    width: 0;
    background-color: black;
    transition: width 0.2s ease-in-out;
}

.foottwo a:hover::after {
    width: 100%;
}

div[id=footthree] {
    display: flex;
    flex-direction: column;
    margin-top: 2vw;
    margin-left: 10vw;
    font-family: 'Montserrat';
    font-size: 1.2vw;
    align-items: center;
}

#newsletter {
    background-color: #f5f5f5;
    padding: 1.3vw 1.3vw;
    width: 20vw;
    height: 5.7vw;
    border-radius: 1vw;
    box-shadow: 0 0 1vw rgba(0,0,0,0.4);
}

#newsletter input {
    width: 19.5vw;
    height: 1vw;
    padding: 0.7vw 0;
    padding-left: 0.5vw;
    margin-bottom: 0.8vw;
    border: 0.1vw solid #ccc;
    border-radius: 0.3vw;
    font-size: 1.1vw;
    transition: all 0.3s ease;
}

#newsletter input::placeholder {
    color: #999;
}

#newsletter input:focus {
    outline: none;
    border-color: #c9a95a;
    box-shadow: 0 0 5px rgba(201, 169, 90, 0.3);
}

#newsletter button {
    background-color: #c9a95a;
    color: white;
    border: none;
    padding: 0.7vw 2vw;
    width: 20vw;
    height: 2.5vw;
    border-radius: 0.3vw;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1vw;
    transition: background-color 0.2s ease-in;
}

#newsletter button:hover {
    background-color: #b8954f;
}

#footsocial1,
#footsocial2,
#footsocial3,
#footsocial4 {
    margin: 2vw 0.3vw;
}

#footsocial1 {
    width: 1.3vw;
}

#footsocial2 {
    width: 2vw;
}

#footsocial3 {
    width: 2.5vw;
    padding-top: 0.05vw;
}

#footsocial4 {
    width: 1.8vw;
    padding-top: 0.15vw;
}

.footsocial {
    transition: transform 0.3s ease-in-out;
}

.footsocial:hover {
    transform: translateY(-5px);
}

#copyright {
    background-color: white;
    width: 98.7vw;
}

#copyrighttext {
    padding: 1.4vw 3vw;
    color: rgb(105, 105, 105);
    font-family: sans-serif;
    font-size: 1.1vw;
}

/* ====== MOBILE LAYOUT ====== */

@media (max-width: 430px) {

    /* ====== Header/Nav ====== */

    header {
        height: 11vw;
        padding: 2vw 0;
        justify-content: right;
    }

    nav {
        display: none;
    }

    #logo-container {
        margin-left: 35vw;
        margin-top: 1vw;
    }

    #logo {
        width: 11vw;
    }

    #header-icons {
        margin-left: 32.5vw;
        margin-right: 2.5vw;
        justify-content: center;
    }

    #icon-search {
    width: 5vw;
    margin-top: 1.5vw;
    margin-right: 0.7vw;
    }

    #icon-cart {
    width: 6vw;
    margin-top: 1.5vw;
    }

    #cart-sidebar {
        width: 100%;
        right: -105%;
    }

    /* ====== SIDEBAR ====== */

    #menubutton {
        border: none;
        background: none;
        display: unset;
        margin-top: 0.3vw;
    }

    #buttonimage {
        width: 4.3vw;
    }

    #buttonimage:hover {
        filter: brightness(0) saturate(0) invert(0) opacity(0.6);
    }

    #sidebar {
        display: unset;
        width: 60%;
        height: 100%;
        background-color: white;
        position: fixed;
        top: 0;
        left: -100%;
        color: rgb(0, 0, 0);
        padding: 2vw 2vw;
        transform: translateX(0);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    #sidebar.active {
        left: 0;
    }

    .sidebar-header {
        padding: 1vw 0;
        padding-left: 24vw;
        border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    }

    #menu-Logo {
        width: 12vw;
    }

    .sidebar-tagline {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.9);
        margin-top: 0.3rem;
        font-style: italic;
    }

    .nav-section {
        margin: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 0.5rem;
    }

    .nav-section:last-child {
        border-bottom: none;
    }

    .section-title {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        background: #f8f9fa;
        margin-bottom: 0.5rem;
    }

    .nav-link {
        display: block;
        padding: 1.8vw 5vw;
        color: #333;
        text-decoration: none;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        position: relative;
        font-size: 4vw;
        font-family: 'Playfair';
    }

    .nav-link:hover {
        background: #f8f9fa;
        color: #d4af37;
        border-left-color: #d4af37;
        padding-left: 8vw;
    }

    .nav-link::after {
        content: '→';
        position: absolute;
        right: 4vw;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.2s ease;
        color: #d4af37;
    }

    .nav-link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .dropdown-category {
        margin: 2vw 0;
    }

    .dropdown-toggle {
        width: 100%;
        background: none;
        border: none;
        padding: 0.8rem 1.5rem;
        color: #666;
        text-align: left;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
        position: relative;
    }

    .dropdown-toggle:hover {
        background: #f8f9fa;
        color: #d4af37;
        border-left-color: #d4af37;
    }

    .dropdown-toggle::after {
        content: '▼';
        position: absolute;
        right: 1.5rem;
        transition: transform 0.2s ease;
        font-size: 0.7rem;
        color: #999;
    }

    .dropdown-toggle.active::after {
        transform: rotate(180deg);
        color: #d4af37;
    }

    .dropdown-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #fafafa;
    }

    .dropdown-content.active {
        max-height: 200px;
    }

    .dropdown-content .nav-link {
        padding: 0.7rem 2.5rem;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
        background: #fafafa;
    }

    .dropdown-content .nav-link:hover {
        background: white;
        border-left-color: #d4af37;
        color: #d4af37;
        padding-left: 3rem;
    }

    .sidebar-footer {
        width: 92%;
        margin-top: 115vw;
        padding: 2vw;
        border-top: 1px solid rgba(0, 0, 0, 0.5);
        text-align: center;
    }

    .sidebar-footer p {
        font-size: 3.5vw;
        color: #999;
    }

    #sidebar::-webkit-scrollbar {
        width: 4px;
    }

    #sidebar::-webkit-scrollbar-track {
        background: #f8f9fa;
    }

    #sidebar::-webkit-scrollbar-thumb {
        background: #d4af37;
        border-radius: 2px;
    }

    #sidebar::-webkit-scrollbar-thumb:hover {
        background: #c9a96e;
    }

    /* ====== FOOTER ====== */

    #footer {
        padding: 0 0;
        align-items: center;
        justify-content: center;
    }

    .mobileshow {
        display: unset;
        margin-top: 4vw;
    }

    .nav-section2 {
        margin: 4vw 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
        width: 100%;
    }

    .nav-section2:last-child {
        border-bottom: none;
    }

    .section-title2 {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        background: #f8f9fa;
        margin-bottom: 0.5rem;
    }

    .nav-link2 {
        display: block;
        padding: 1.8vw 5vw;
        color: #333;
        text-decoration: none;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        position: relative;
        font-size: 4vw;
        font-family: 'Playfair';
    }

    .nav-link2:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .dropdown-category2 {
        margin: 2vw 0;
    }

    .dropdown-toggle {
        width: 100%;
        background: none;
        border: none;
        padding: 0.8rem 1.5rem;
        color: #666;
        text-align: left;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
        position: relative;
    }

    .dropdown-toggle2 {
        width: 100%;
        background: none;
        border: none;
        padding: 0.8rem 1.5rem;
        color: #666;
        text-align: left;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
        position: relative;
    }

    .dropdown-toggle:hover {
        background: #f8f9fa;
        color: #d4af37;
        border-left-color: #d4af37;
    }

    .dropdown-toggle2:hover {
        background: #f8f9fa;
        color: #d4af37;
        border-left-color: #d4af37;
    }

    .dropdown-toggle::after {
        content: '▾';
        position: absolute;
        right: 1.5rem;
        transition: transform 0.2s ease;
        font-size: 4vw;
        color: #999;
    }

    .dropdown-toggle2::after {
        content: '+';
        position: absolute;
        right: 1.5rem;
        transition: transform 0.2s ease;
        font-size: 4vw;
        color: #999;
    }

    .dropdown-toggle2.active::after {
        content: '-';
        color: #d4af37;
    }

    .dropdown-content2 {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: #efefef;
    }

    .dropdown-content2.active {
        max-height: 200px;
    }

    .dropdown-content2 .nav-link2 {
        padding: 0.7rem 2.5rem;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
        background-color: #efefef;
    }

    #footone,
    #mobileremove,
    #footspecial {
        display: none;
    }

    #footthree {
        margin-right: 9vw;
    }

    #footthree h4 {
        font-size: 3.3vw;
    }

    #newsletter {
        margin: 1vw;
        width: 70vw;
        height: auto;
        padding: 2.5vw 2.5vw;
        border-radius: 2.4vw;
    }

    #newsletter input {
        width: 100%;
        height: auto;
        font-size: 4vw;
        border-radius: 1vw;
    }

    #newsletter button {
        width: 100%;
        height: 7vw;
        font-size: 4vw;
        padding: 1.3vw 0;
        border-radius: 1vw;
    }

    #footthree a {
        margin-left: 2vw;
    }

    #footsocial1 {
    width: 4vw;
    padding-top: 0.2vw;
    }

    #footsocial2 {
    width: 6.3vw;
    }

    #footsocial3 {
    width: 7.5vw;
    padding-top: 0.3vw;
    }

    #footsocial4 {
    width: 5.5vw;
    padding-top: 0.5vw;
    }

    #copyrighttext {
    padding: 4vw 3vw;
    color: rgb(105, 105, 105);
    font-family: sans-serif;
    font-size: 3.2vw;
    }
}