/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400;500;600;700&family=Poppins:wght@300;400;500&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {
    --header-height: 3rem;

    /*========== COLORS ==========*/
    --first-color: #3B2005;
    --second-color: #AC9465;
    --third-color: #627C62;
    --white-color: white;
    --text-color: #DADAAA;
    --text-color-dark: #bbbb63;
    --text-color-light: #e9e9cd;

    /*========== FONT & TYPORGRAPHY ==========*/
    --body-font: 'Domine', serif;
    --secondary-font: 'Poppins', sans-serif;

    /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
    --biggest-font-size: 3rem;
    --bigger-font-size: 2.5rem;
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== FONT WEIGHT ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Z INDEX ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/*========== FONT SIZE FOR LARGER SCREENS ==========*/
@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 5rem;
        --bigger-font-size: 4rem;
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*==================== BASE ====================*/
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

main {
    margin-top: var(--header-height);
}

body {
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    background-color: var(--second-color);
    font-size: var(--normal-font-size);
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

button,
input {
    border: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
    padding: 0 0 4rem;
}

.section__title {
    position: relative;
    font-size: var(--bigger-font-size);
    font-weight: 500;
    color: var(--first-color);
    letter-spacing: 5px;
    -webkit-text-stroke: 1px var(--second-color);
    z-index: var(--z-tooltip);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section__title::before {
    position: absolute;
    content: attr(data-text);
    color: var(--first-color);
    font-size: var(--bigger-font-size);
    font-weight: 500;
    letter-spacing: 5px;
    -webkit-text-stroke: 4px var(--first-color);
    z-index: -1;
}

.container {
    max-width: 968px;
    width: calc(100% - 3rem);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: -ms-grid;
    display: grid;
    gap: 1.5rem;
}

/*==================== HEADER ====================*/
.header__top {
    background-color: var(--first-color);
}

.t1 {
    padding-bottom: 0 !important;
}

.t2 {
    padding-top: 0 !important;
}

.header__title {
    z-index: var(--z-tooltip);
    text-align: center;
    padding: 2rem 0;

    position: relative;
    font-size: var(--biggest-font-size);
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 5px;
    -webkit-text-stroke: 2px var(--first-color);
}

.header__title::before {
    position: absolute;
    content: attr(data-text);
    color: var(--text-color);
    font-size: var(--biggest-font-size);
    font-family: var(--body-font);
    letter-spacing: 5px;
    -webkit-text-stroke: 5px var(--text-color);
    position: absolute;
    z-index: -1;
}

.header {
    width: 100%;
    height: var(--header-height);
    padding: 0 1rem;
    background-color: var(--third-color);
    z-index: var(--z-fixed);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    transition: .1s;
    -webkit-transition: .1s;
    -moz-transition: .1s;
    -ms-transition: .1s;
    -o-transition: .1s;
}

.header__logo {
    color: var(--dark-color);
}

.header__toggle {
    font-size: 1.7rem;
    cursor: pointer;
}

/*==================== NAVBAR ====================*/
@media screen and (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        background-color: var(--white-color);
        width: 80%;
        max-width: 350px;
        height: 100vh;
        padding: 2rem 0;
        z-index: var(--z-fixed);
        -webkit-transition: .5s;
        -o-transition: .5s;
        transition: .5s;
    }
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.nav__item {
    margin-bottom: 2rem;
}

.nav__link {
    font-family: var(--secondary-font);
    color: var(--first-color);
}

.nav__link:hover {
    color: var(--second-color);
}

/* -------------------- SHOW MENU -------------------- */
.show {
    left: 0;
}

/* -------------------- ACTIVE LINK -------------------- */
.active-link {
    position: relative;
    color: var(--first-color) !important;
}

/* -------------------- ACTIVE HEADER -------------------- */
.scroll-header {
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    top: 0 !important;
}

/*==================== HOME ====================*/
.home__description {
    font-family: var(--secondary-font);
    margin-bottom: .5rem;
}

/*==================== SHOP ====================*/
.shop__container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.shopp {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.shop__card{
    max-width: 250px;
}

.img-box {
    overflow: hidden;
}

.shop__img {
    width: 250px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.shop__card:hover .shop__img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.shop__card:hover .shop__price {
    margin-top: 0;
}

.shop__card-title {
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
    font-weight: var(--font-semi-bold);
}

.shop__price {
    background-color: var(--third-color);
    color: var(--first-color);
    padding: .5rem 0 .5rem .5rem;
    margin-top: -.25rem;
    z-index: var(--z-modal);
    font-size: var(--h3-font-size);
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.shop__old-price {
    color: var(--text-color);
    margin-right: .5rem;
}

.shop__type {
    margin-top: .3rem;
    text-transform: capitalize;
    text-decoration: underline;
    font-size: var(--normal-font-size);
}

/*==================== MEDIA QUERIES ====================*/
@media screen and (max-width: 320px) {
    .container {
        width: calc(100% - 1rem);
        margin-left: .8rem !important;
        margin-right: .8rem !important;
    }
}

@media screen and (min-width: 576px) {
    .nav {
        width: 288px;
    }

    .home__container {
        grid-template-columns: 1fr .6fr;
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }
}

@media screen and (min-width: 992px) {
    .section__title {
        -webkit-text-stroke: 2px var(--second-color);
    }

    .section__title::before {
        -webkit-text-stroke: 5px var(--first-color);
    }

    .header {
        position: initial;
    }

    .header__logo, .header__toggle {
        display: none !important;
    }

    .nav {
        width: 100%;
    }

    .nav__list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        justify-content: space-between;
    }

    .nav__item {
        margin: 0 1.5rem;
        padding: 1.4rem 0;
    }

    .nav__link {
        color: var(--text-color);
    }

    .nav__link:hover {
        color: var(--text-color-light);
    }

    .active-link {
        color: var(--text-color-dark) !important;
    }

    .active-link::before {
        background-color: var(--text-color-dark)
    }

    /* -------------------- ACTIVE LINK NEW COLOR -------------------- */
    .active {
        color: var(--first-color);
    }
}

@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1024px;
    }
}