
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--primary-color);
}

body {
    font-family: "Open Sans";
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a, a:hover {
    text-decoration: none;
}

:root {
    --white: #fff;

    --primary-color: #584a2b;
    --highlight-primary-color: #3d2f10;

    --border-light: rgba(88, 80, 56, 0.25);
    --border-medium: rgba(48, 34, 4, 0.5);
    --border-dark: rgba(48, 34, 4, 0.5);

    --line-divider: #d3d3d3;
}

/*
    ______________ Buttons and Inputs______________
*/

.btn-dark {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-dark:hover {
    color: var(--white);
    background-color: var(--highlight-primary-color);
    border-color: var(--highlight-primary-color);
}

.btn-dark.focus, .btn-dark:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem var(--border-dark);
}

.btn-dark:not(:disabled):not(.disabled):active {
    background-color: var(--highlight-primary-color);
    border-color: var(--highlight-primary-color);
}

.btn-dark:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem var(--border-dark);
}
 
.btn-outline-dark {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-dark:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-dark.focus, .btn-outline-dark:focus {
    box-shadow: 0 0 0 0.2rem var(--border-medium);
}

.btn-outline-dark:not(:disabled):not(.disabled):active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-dark:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem var(--border-medium);
}

.form-control {
    color: var(--primary-color);
}

.form-control:focus {
    color: var(--primary-color);
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--border-light);
}

/*
    ______________ Top Navigation ______________
*/

header nav.navbar {
    background: rgba(255, 255, 255, 0.7);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--primary-color);
    padding-left: 13px;
    padding-right: 13px;
    font-weight: 550;
    transition: 0.3s all;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--highlight-primary-color);
}

.navbar-dark .navbar-toggler {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255, 0);
}

.divider {
    background: var(--primary-color);
    width: 2px;
    margin: 12px 15px;
}

.bag-item {
    font-size: 1.3em;
}

.search-item {
    font-size: 1.2em;
}

.margin-top {
    margin-top: 100px;
}

/*
    ______________ Mega Menu ______________
*/

.megamenu {
    position: static;
}
  
.mega-menu-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.9s ease;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    right: 0;
    top: 100%;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    border-radius: 0.5em;
}

.megamenu:hover > .mega-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content .dropdown-item {
    color: var(--primary-color);
    padding: 0.25rem 1rem;
    background: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mega-menu-content .dropdown-item:hover {
    color: var(--highlight-primary-color);
    background: transparent;
}
  
.mega-menu-content .dropdown-item:hover {
    transform: translateX(6px);
}

/*
    ______________ Carousel ______________
*/

.carousel-item {
    width: 100%;
    height: 670px;
}
  
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
    ______________ Main Features ______________
*/

.feature-title {
    padding: 60px 0px 20px 0px;
    text-align: center;
    display: block;
}

.search-subtitle {
    text-align: center;
    margin-bottom: 100px;
}

.img-feature {
    font-size: 1.1em;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.img-feature:hover {
    transform: scale(1.02);
}

.features .img-feature {
    margin-bottom: 20px;
    font-size: 1.3em;
}

.categories .img-feature {
    font-size: 1.2em;
}

.img-feature a {
    text-decoration: none;
}

.img-feature img{
    border-radius: 0.5em;
    text-align: center;
}

.introducion-text {
    font-size: 0.9em;
}

.introducion-text, .img-feature {
    text-align: center;
}

/*
    ______________ Product View ______________
*/

.main-img-product-preview{
    border-radius: 0.5em;
}

.product-preview-img {
    border-radius: 0.25rem;
    width: 150px;
}

.product-preview-img:hover {
    cursor: pointer;
}

.product-set {
    box-shadow: 5px 5px 5px 4px rgb(0,0,0,0.6);
    transition: all 0.4s;
}

.cart-toast-fail {
    background: #e9b3a29f;
}

.cart-toast-success {
    background: #bdddb9a6;
}

.custom-input {
    max-width: 100px;
    text-align: center;
}

/*
    ______________ Shopping Cart ______________
*/
.shopping-cart i {
    color: var(--white);;
}

.cart-img {
    max-width: 130px;
    max-height: 130px;
    border-radius: 0.5em;
}

/*
    ______________ Loading ______________
*/

.loading {
    z-index: 1031;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading label {
    color: var(--white);
    font-size: 2rem;
}

/*
    ______________ Order submission feedback ______________
*/

.feedback-text {
    font-size: 1.1em;
}

.plane-item {
    font-size: 3em;
    color: #28a745;
    margin-bottom: 25px;
}

.frown-item {
    font-size: 3em;
    color: #dc3545;
    margin-bottom: 25px;
}

/*
    ______________ Whatsapp button ______________
*/

.whatsapp {
    position: fixed;
    bottom: 35px;
	right: 30px;
    z-index: 1031;
}

.whatsapp-button {
    padding: 11px;
    padding-top: 17px;
    border-radius: 20%;
    background-color: var(--primary-color);
    border: none;
    transition: .3s ease all;
}

.whatsapp-button:hover {
    background-color: var(--highlight-primary-color);
}

/*
    ______________ Page Navigation ______________
*/

.page-item.active .page-link {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
    background-color: var(--white);
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: var(--highlight-primary-color);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(63, 44, 2, 0.199);
}

/*
    ______________ Footer Formats ______________
*/

.line-divider {
    border-color: var(--line-divider);
}

footer {
    margin-top: auto;
    margin-bottom: 20px;
}

footer h3 {
    text-transform: uppercase;
    font-size: 1.1em;
}

footer p {
    font-size: 0.8em;
}

.footer-topic {
   margin: 10px 0 20px 0;
}

.social-icons a {
    text-decoration: none;
    margin-top: 10px;
}

.media-name {
    font-size: 0.8em;
    margin-left: 10px;
}

.social-icons i{
    font-size: 2.9em;
    margin-left: 12px;
}

.copyright {
    margin: 0 60px;
    font-size: 0.9em;
    text-align: center;
}

/*
    ______________ Gallery ______________
*/

.gallery-item:hover {
    cursor: pointer;
}

.photo-gallery-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    justify-content: center;
    align-items: center;
    z-index: 1032;
}

.photo-gallery-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-gallery-wrapper img {
    border: 5px solid var(--white);
    border-radius: 5px;
    object-fit: cover;

    max-width: 80vw;
    max-height: 80vh;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-gallery-wrapper img.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.photo-gallery-wrapper img.fade-in {
    opacity: 0;
    transform: translateX(-20px);
}

.photo-gallery-wrapper .prev,
.photo-gallery-wrapper .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: none;
    color: var(--white);
    border: none;
    cursor: pointer;
    padding: 10px 15px;
}

.photo-gallery-wrapper .prev {
    left: -45px;
}

.photo-gallery-wrapper .next {
    right: -45px;
}

.photo-gallery-popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bolder;
    color: var(--white);
    cursor: pointer;
}

/*
    ______________ Break Points ______________
*/

@media (max-width: 575.98px) {
    .img-feature .img-fluid {
        max-width: 75%;
    }

    .cart-img {
        display: none;
    }

    .carousel-item {
        width: 100%;
        height: 300px;
    }

    .photo-gallery-popup img {
        width: 95%;
    }

    .mega-menu-content {
        display: none !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .img-feature .img-fluid {
        max-width: 75%;
    }

    .cart-img {
        display: none;
    }
    
    .carousel-item {
        width: 100%;
        height: 400px;
    }

    .photo-gallery-popup img {
        width: 95%;
    }

    .mega-menu-content {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .main-img-product-preview  {
        max-width: 700px;
        max-height: 500px;
    }

    .img-feature .img-fluid {
        max-width: 75%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-item {
        width: 100%;
        height: 450px;
    }

    .mega-menu-content {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-img-product-preview  {
        max-width: 700px;
        max-height: 500px;
    }

    .carousel-item {
        width: 100%;
        height: 500px;
    }
}

@media (min-width: 1200px) {
    .main-img-product-preview  {
        max-width: 700px;
        max-height: 500px;
    }
}

@media (min-width: 1500px) {
    .whatsapp {
        right: 15%;
    }
}