/* =========================================================
   FINAL HEADER FIX — OUR STORY + CONTACT
========================================================= */

/* HEADER */
.header {
    position: relative;
    z-index: 9999;

    width: 100%;
    min-height: 110px;

    display: flex;
    align-items: center;

    padding: 0 5.8%;

    background: rgba(10, 7, 5, 0.92);
    border-bottom: 1px solid rgba(201, 133, 77, 0.10);

    box-sizing: border-box;
}


/* =========================================================
   LOGO
========================================================= */

.header .brand-logo {
    display: flex !important;
    align-items: center !important;

    width: 120px !important;
    flex-shrink: 0;

    text-decoration: none;
}

.header .brand-logo img {
    display: block !important;

    width: 105px !important;
    height: auto !important;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION
========================================================= */

.header .navigation {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;

    display: flex !important;
    align-items: center !important;

    gap: 43px !important;

    white-space: nowrap;
}


/* IMPORTANT: FORCE CAPITAL LETTERS */

.header .navigation .nav-link {
    position: relative;

    display: inline-flex !important;
    align-items: center !important;

    height: 38px;

    color: #e9e2db !important;

    font-family: "Inter", Arial, sans-serif !important;

    font-size: 11px !important;
    font-weight: 600 !important;

    font-style: normal !important;

    letter-spacing: 3px !important;

    text-transform: uppercase !important;

    text-decoration: none !important;

    line-height: 1 !important;

    transition:
        color .3s ease,
        opacity .3s ease;
}


/* HOVER */

.header .navigation .nav-link:hover {
    color: #ffffff !important;
}


/* ACTIVE / HOVER LINE */

.header .navigation .nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    width: 100%;
    height: 1px;

    background: #c9854d;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform .35s ease;
}

.header .navigation .nav-link:hover::after,
.header .navigation .nav-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   RIGHT SIDE ICONS
========================================================= */

.header .header-actions {
    position: relative;
    z-index: 10000;

    margin-left: auto;

    display: flex !important;
    align-items: center !important;

    gap: 21px !important;
}


/* ALL ICON BUTTONS */

.header .header-actions .icon-button {
    position: relative;

    width: 30px !important;
    height: 30px !important;

    min-width: 30px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    outline: none !important;

    background: transparent !important;

    color: #f4eee7 !important;

    text-decoration: none !important;

    cursor: pointer;

    z-index: 10001;

    box-sizing: border-box;
}


/* =========================================================
   SEARCH / ACCOUNT / CART SVG
========================================================= */

.header .header-actions .icon-button svg {
    display: block !important;

    width: 21px !important;
    height: 21px !important;

    min-width: 21px;
    min-height: 21px;

    fill: none !important;

    stroke: #f4eee7 !important;

    stroke-width: 1.5 !important;

    stroke-linecap: round !important;
    stroke-linejoin: round !important;

    opacity: 1 !important;

    visibility: visible !important;

    pointer-events: none;
}


/* HOVER */

.header .header-actions .icon-button:hover {
    color: #c9854d !important;
}

.header .header-actions .icon-button:hover svg {
    stroke: #c9854d !important;
}


/* =========================================================
   CART ICON — FORCE VISIBLE
========================================================= */

.header .cart-button {
    position: relative !important;

    display: flex !important;

    visibility: visible !important;
    opacity: 1 !important;

    color: #f4eee7 !important;
}


/* FORCE CART SVG */

.header .cart-button svg {
    display: block !important;

    visibility: visible !important;
    opacity: 1 !important;

    width: 22px !important;
    height: 22px !important;

    stroke: #f4eee7 !important;
    fill: none !important;

    z-index: 5;
}


/* =========================================================
   CART NUMBER
========================================================= */

.header .cart-count {
    position: absolute !important;

    top: -6px !important;
    right: -8px !important;

    width: 17px !important;
    height: 17px !important;

    min-width: 17px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    border-radius: 50% !important;

    background: #c9854d !important;

    color: #ffffff !important;

    font-family: Arial, sans-serif !important;

    font-size: 8px !important;
    font-weight: 700 !important;

    line-height: 17px !important;

    z-index: 20;

    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.header .menu-toggle {
    display: none;

    border: none;
    background: transparent;

    cursor: pointer;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .header {
        min-height: 90px;
        padding: 0 5%;
    }

    .header .navigation {
        gap: 22px !important;
    }

    .header .navigation .nav-link {
        font-size: 9px !important;
        letter-spacing: 2px !important;
    }

}


@media (max-width: 760px) {

    .header {
        min-height: 82px;
    }

    .header .brand-logo {
        width: 95px !important;
    }

    .header .brand-logo img {
        width: 82px !important;
    }

    .header .navigation {
        display: none !important;
    }

    .header .header-actions {
        gap: 10px !important;
    }

    .header .menu-toggle {
        display: block !important;
    }

}


/* =========================================================
   CONTACT PAGE SAFETY
   Same header should behave exactly like Our Story
========================================================= */

body.contact-page .header,
.contact-page .header {
    position: relative;
    z-index: 9999;
}

body.contact-page .header .navigation .nav-link,
.contact-page .header .navigation .nav-link {
    text-transform: uppercase !important;

    font-family: "Inter", Arial, sans-serif !important;

    font-style: normal !important;

    letter-spacing: 3px !important;
}

body.contact-page .header .cart-button svg,
.contact-page .header .cart-button svg {
    stroke: #f4eee7 !important;

    fill: none !important;

    display: block !important;

    visibility: visible !important;
}