/*banner*/
.hero-section {
    background: url('../../images/home/banner.png') center center / cover no-repeat;
    min-height: 500px;
    position: relative;
    z-index: 1;

    min-height: 670px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-subtitle {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;

    color: #FFFFFF;
}

.hero-title {
    font-family: 'Shafarik';
    font-style: normal;
    font-weight: 500;
    font-size: 91px;
    line-height: 80px;
    /* identical to box height */
    text-transform: uppercase;

    color: #FFFFFF;
}

.hero-divider {
    width: clamp(200px, 40vw, 550px); /* Responsive width */
    height: 5px;
    background-color: #fff;
    border-radius: 10px;
}

.hero-description {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;

    color: #FFFFFF;
    max-width: 900px;
    margin: 100px auto 50px;
}

.hero-section .custom-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background-color: transparent;
    border: 1.5px solid #ffffff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    padding: 15px 26px;
    color: #FFFFFF;
}

.hero-section .custom-btn:hover {
    background-color: #B1B1B1;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); /* optional soft glow */
}

/*brand*/
.brand-logo {
    max-height: 80px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

/*story*/
.hero-section-story {
    background-color: #141415;
    max-height: 620px;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-section-story h5 {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #FFFFFF;
}

.hero-section-story p {
    max-width: 900px;
    margin: auto;
    font-family: 'PT Serif Caption';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-align: center;

    color: #FFFFFF;
}

.video-placeholder {
    max-width: 630px;
    margin-top: 40px;
}


/*care*/
.care-section small {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    color: #141415;
}

.care-section h3 {
    font-family: 'Shafarik';
    font-style: normal;
    font-weight: 400;
    font-size: 72px;
    line-height: 80px;
    /* identical to box height */
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #141415;

}

.care-section p {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 23px;
    margin-bottom: 40px;
    color: #141415;

}

.care-section a {
    background: #141415;
    border-radius: 4px;

    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    padding: 13px 24px;

    color: #FFFFFF;
}

.responsive-hr {
    border-top: 2px solid #141415;
    max-width: 470px;
    width: 100%;
    margin: 3em 0;
}

@media (max-width: 768px) {
    .responsive-hr {
        margin-left: auto;
        margin-right: auto;
    }
}

/*product*/
.product-section {
    background-color: #F4F4F4;
}

.product-section a {
    text-decoration: none;
}

.product-section .section-title {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;

    color: #141415;
}

.product-container {
    background: linear-gradient(180deg, #F9F9F9 0%, #F0F2F1 100%);
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
    /*overflow: hidden;*/
}

.product-container:hover {
    box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.1);
}

.product-container:hover .card-img-top {
    transform: scale(1.05);
}

.product-container .product-name {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #141415;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: anywhere;
    height: 66px;
}

.product-container .product-name > a {
    color: #141415;

}

.product-container .product-price {
    font-family: 'Nunito Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-transform: lowercase;
    color: #141415;

    display: flex;
    align-items: center;
}

.product-container .old-price {
    font-size: 14px;
    color: #808080;
    text-decoration: line-through;
    line-height: 1;
    display: inline-block;
}

.product-container .new-price {
    font-size: 15px;
    font-weight: 700;
    color: #141415;
}

.product-section .card {
    padding: 0;
}

.product-section .card-body {
    padding: 16px;
}

.custom-img-height {
    min-height: 360px;
    max-height: 360px;
}

.card-img-top {
    height: 100%;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.product-section .favourite-icon,
.product-section .favourite-icon-full {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    z-index: 2;
    right: 12px;
}

.product-section .favourite-icon:hover,
.product-section .favourite-icon-full:hover {
    transform: scale(1.2);
}

.product-section .custom-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background-color: transparent;
    border: 1.5px solid #4A4A4A;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    padding: 15px 26px;
    color: #3F3F3F;
}

.product-section .custom-btn:hover {
    background-color: #B1B1B1;
    color: #3F3F3F;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); /* optional soft glow */
}

@media (max-width: 1199.98px) {
    .five-cols .col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991.98px) {
    .five-cols .col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 767.98px) {
    .five-cols .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .product-container {
        max-width: 280px;
    }

    .five-cols .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 550px) {
    .fade-product {
        padding: 0 10px;
        margin: 35px 0 !important;
    }

    .product-container {
        min-height: unset;
    }

    .custom-img-height {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        min-height: unset;
    }

    .product-container .product-price {
        flex-direction: column-reverse;
        gap: 5px;
    }
}

/*subscribe*/
.section-subscribe-box {
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 100px 0;
}

.subscribe-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
}

.section-subscribe-box h2 {
    font-size: clamp(2rem, 6vw, 81px);
    font-family: 'Shafarik';
    font-style: normal;
    font-weight: 400;
    line-height: clamp(2rem, 6vw, 61px);
    color: #141415;
}


.section-subscribe-box h3 {
    font-family: 'Shafarik';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 66px);
    line-height: clamp(2rem, 6vw, 61px);
    color: #141415;
}

.section-subscribe-box form {
    max-width: 100%;
}

.section-subscribe-box input {
    box-sizing: border-box;
    max-width: 416px;
    max-height: 46px;

    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #141415;
    backdrop-filter: blur(2px);
    border-radius: 5px;
}

.section-subscribe-box .custom-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background-color: #141415;
    border: 1.5px solid #4A4A4A;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    padding: 15px 46px;
    color: #FFFFFF;
}

.section-subscribe-box .custom-btn:hover {
    background-color: #B1B1B1 !important;
    color: #141415 !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); /* optional soft glow */
}

/*toastify*/
.toastify {
    word-break: break-word;
    max-width: 90vw !important;
    box-sizing: border-box;
}

.toast-close {
    color: #141415 !important;
    opacity: 1 !important;
}


.buy-button-container {
    display: inline-block
}

.buy-button {
    font-family: 'Nunito Sans', sans-serif;
    display: inline-block;
    border-radius: 8px;
    background: #F5F5F5;
    position: relative;
    top: 50%;
    border: 1px solid #E0E0E0;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s ease;

}

.buy-button:hover {

}

.product-container:hover .buy-button {
    background: linear-gradient(to right, #F5F5F5, #E0E0E0);
}

.custom-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #ffffff;
    color: #141415;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
    font-family: "Nunito Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    gap: .5em;
    align-items: center;
    background-image: linear-gradient(to right, #141415 6px, transparent 6px);
    background-repeat: no-repeat;
    background-size: 10px 100%;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.custom-toast.hide {
    opacity: 0;
}


.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    pointer-events: none; /* So clicks pass through to the link */
}

.overlay-text {
    font-family: 'Nunito Sans', sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 21px;
    line-height: 29px;
    text-align: center;
    text-transform: uppercase;
    color: #241A15;
    opacity: 0.78;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 6px;
}

/*product sort animation*/
.fade-product {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.fade-product.hide {
    opacity: 0;
}

.product-container.out-of-stock:hover .card-img-top {
    transform: none !important;
}

.custom-img-height {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image {
    max-height: 100%;
    width: auto;
    object-fit: cover;
}

.product-name {
    height: 44px;
    line-height: 22px;
    overflow: hidden;
    display: -webkit-box;
}

.product-price {
    min-height: 22px;
}

.buy-button-container {
    margin-top: auto;
}

@media (max-width: 576px) {
    .custom-img-height {
        height: 200px;
    }

    .product-name {
        height: 44px;
        font-size: 14px;
    }

    .product-price {
        font-size: 14px;
    }

    .buy-button {
        font-size: 13px;
        padding: 0.5rem 0.75rem;
    }

    .buy-button-container svg {
        display: none;
    }
}
