﻿
:root {
    --insecticides-color: #bb2247;
    --detergentes-color: #0f75bc;
    --airFreshener-color: #ebb1cc;
    --other-products-color: #f69521;
}

body {
    --themeht-primary-color: #04a44c;
}

.category-hero {
    --category-accent: var(--themeht-primary-color);
    --category-hero-overlay-start: rgba(8, 28, 61, 0.32);
    --category-hero-overlay-end: rgba(4, 116, 76, 0.6);
    position: relative;
    padding: 6rem 0 5.5rem;
    color: #fff;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
}

.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--category-hero-overlay-start), var(--category-hero-overlay-end));
}

.category-hero__content {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.category-hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.category-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    margin: 0;
    line-height: 1.05;
    text-shadow: 0 18px 36px rgba(6, 15, 28, 0.3);
}

.category-hero__subtitle {
    margin-top: 1.75rem;
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.category-index {
    background-color: #f5f8fd;
    padding: 5rem 0;
}

.category-detail {
    --category-accent: var(--themeht-primary-color);
    background-color: #f5f8fd;
    padding: 5rem 0 5.5rem;
}

.category-product-list {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.category-product-card {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 34px 85px rgba(23, 43, 77, 0.16);
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    border: 1px solid rgba(12, 44, 74, 0.05);
}

.category-product-card__header {
    position: relative;
}

.category-product-card__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--category-accent);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    padding: 0.9rem 3.4rem 0.9rem 2rem;
    border-radius: 14px;
    width: clamp(15rem, 65%, 32rem);
    max-width: 100%;
    line-height: 1;
    box-shadow: 0 14px 35px rgba(20, 39, 70, 0.18);
}

.category-product-card__tag::after {
    content: "";
    position: absolute;
    top: 0;
    right: -28px;
    width: 28px;
    height: 100%;
    background-color: var(--category-accent);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    border-radius: 0 0 0 0;
}

.category-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-product-card__content {
    color: #3a4656;
    font-size: 1rem;
    line-height: 1.85;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    max-width: 540px;
}

.category-product-card__description {
    margin: 0;
}

.category-product-card__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-product-card__gallery span {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(17, 34, 60, 0.18);
}

.category-product-card__gallery img {
    width: 68px;
    height: 68px;
    object-fit: cover;
}

.category-product-card__media {
    text-align: right;
    max-width: 260px;
    margin-left: auto;
}

.category-product-card__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 45px rgba(23, 43, 77, 0.18));
}

.category-product-card__placeholder {
    background: repeating-linear-gradient(-45deg, rgba(4, 164, 76, 0.08), rgba(4, 164, 76, 0.08) 10px, rgba(4, 164, 76, 0.02) 10px, rgba(4, 164, 76, 0.02) 20px);
    border-radius: 18px;
    min-height: 180px;
    color: rgba(12, 44, 74, 0.6);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    padding: 1.5rem;
    text-align: center;
}

.category-product-card__placeholder::before {
    content: "\f03e";
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.4rem;
    color: var(--category-accent);
}

.category-theme--insecticides {
    --category-accent: var(--insecticides-color);
    --category-hero-overlay-start: rgba(16, 32, 58, 0.25);
    --category-hero-overlay-end: rgba(187, 34, 71, 0.72);
}

.category-theme--detergents {
    --category-accent: var(--detergentes-color);
    --category-hero-overlay-start: rgba(10, 54, 94, 0.25);
    --category-hero-overlay-end: rgba(15, 117, 188, 0.68);
}

.category-theme--airfresheners {
    --category-accent: var(--airFreshener-color);
    --category-hero-overlay-start: rgba(50, 25, 70, 0.25);
    --category-hero-overlay-end: rgba(235, 177, 204, 0.7);
}

.category-theme--other-products {
    --category-accent: var(--other-products-color);
    --category-hero-overlay-start: rgba(30, 51, 76, 0.22);
    --category-hero-overlay-end: rgba(246, 149, 33, 0.72);
}

.category-theme--default {
    --category-accent: var(--themeht-primary-color);
    --category-hero-overlay-start: rgba(12, 54, 43, 0.25);
    --category-hero-overlay-end: rgba(4, 164, 76, 0.65);
}

@media (min-width: 768px) {
    .category-product-card__body {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .category-product-card__media {
        max-width: 280px;
    }
}

@media (min-width: 1200px) {
    .category-product-card {
        padding: 3.25rem 4rem;
        gap: 3rem;
    }

    .category-product-card__media {
        max-width: 320px;
    }
}

.category-card {
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(23, 43, 77, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(20, 39, 70, 0.18);
}

.category-card__header {
    padding: 1.5rem 1.8rem 0;
}

.category-card__tag {
    background-color: var(--themeht-primary-color);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-bottom-right-radius: 16px;
}

.category-card__media {
    display: block;
    padding: 1.25rem 1.8rem;
}

.category-card__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(20, 39, 70, 0.15);
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__media img {
    transform: scale(1.02);
}

.category-card__placeholder {
    height: 220px;
    border-radius: 14px;
    border: 2px dashed rgba(4, 164, 76, 0.35);
    color: rgba(12, 44, 74, 0.65);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: inset 0 0 0 1px rgba(4, 164, 76, 0.15);
}

.category-card__body {
    padding: 0 1.8rem 1.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.category-card__title {
    font-size: 1.35rem;
    margin: 0;
    text-transform: capitalize;
}

.category-card__title a {
    color: #0d2c4a;
    text-decoration: none;
}

.category-card__title a:hover {
    color: var(--themeht-primary-color);
}

.category-card__description {
    margin: 0;
    color: #6b7688;
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-card--insecticides .category-card__tag {
    background-color: var(--insecticides-color);
}

.category-card--detergents .category-card__tag {
    background-color: var(--detergentes-color);
}

.category-card--airfresheners .category-card__tag {
    background-color: var(--airFreshener-color);
}

.category-card--other-products .category-card__tag {
    background-color: var(--other-products-color);
}

.category-card--default .category-card__tag {
    background-color: var(--themeht-primary-color);
}

.category-card__media .category-card__placeholder span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-card__media .category-card__placeholder::before {
    content: "\f03e";
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.35rem;
}

.insecticides {
    background-color: var(--insecticides-color) !important;
}

.detergentes {
    background-color: var(--detergentes-color) !important;
}

.airfreshener {
    background-color: var(--airFreshener-color) !important;
    color: #ebb1cc !important;
}

.other-products {
    background-color: var(--other-products-color) !important;
}

.slider-title-font {
    font-family: serif;
    font-weight: 800;
    font-style: normal;
}

.product-img {
    width: 400px;
    height: 300px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-desc > .product-title {
    padding: 10px !important;
    color: #fff !important;
    text-transform: uppercase;
}

    .product-desc > .product-title .h6 {
        margin-bottom: 0;
        font-size: 1.2rem;
    }

.banner-content {
    height: 85vh !important;
}

.product-item-subcategory {
    background-image: url(../images/products/categories/DISINFECTANT_subcategory.png);
}

.product-personal-subcategory {
    background-image: url(../images/products/categories/personal_subcategory.png);
}


.product-personal-care-subcategory {
    background-image: url(../images/products/categories/personal_care_subcategory.png);
}



.home-maintenance-subcategory {
    background-image: url(../images/products/categories/home_maintenance_subcategory.png);
}

.car-and-electronic-use-subcategory {
    background-image: url(../images/products/categories/car_and_electronic_use.png);
}

.plants-subcategory {
    background-image: url(../images/products/categories/plants_subcategory.png);
}


.party-subcategory {
    background-image: url(../images/products/categories/party_subcategory.png);
}

.subcategory {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 15px 0px 0px;
    box-shadow: 0 0 45px rgb(5 28 141 / 10%);
    height: 35vh;
}


.subtitle {
    padding: 5px 5px;
    position: relative;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding: 10px !important;
    width: fit-content;
    bottom: -80%;
    left: -31px;
    position: relative;
}

.disinfect-subtitle,
.product-name.disinfect-subtitle {
    background: #a4dff9;
    color: #fff;
}

.product-title-otherProducts .h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    font-size: 1.2rem;
}

.personal-subtitle,
.product-name.personal-subtitle {
    background: #febe10;
    color: #fff;
}

.personal-care-subtitle,
.product-name.personal-care-subtitle {
    background: #16b8c9;
    color: #fff;
}


.home-maintenance-subtitle,
.product-name.home-maintenance-subtitle {
    background: #283892;
    color: #fff;
}

.car-and-electronic-use-subtitle,
.product-name.car-and-electronic-use-subtitle {
    background: #59595b;
    color: #fff;
}


.plants-subtitle,
.product-name.plants-subtitle {
    background: #124b2c;
    color: #fff;
}

.party-subtitle,
.product-name.party-subtitle {
    background: #bb2248;
    color: #fff;
}

.navbar-nav .nav-link:before, .footer h5:before {
    display: none !important;
}

.page-title {
    min-height: 35vh;
}

ul.list-unstyled.mb-0.footer-menu {
    margin-left: 10%;
}

.nav-item.dropdown .dropdown-menu a:before {
    content: none !important;
}

.service-item {
    width: fit-content;
}


@media only screen and (max-width: 600px) {
    .h2, h2 {
        font-size: 1.3rem !important;
    }

    .category-hero {
        padding: 4rem 0 3.75rem;
    }

    .category-hero__title {
        font-size: 2.3rem;
    }

    .category-card__media {
        padding: 1rem 1.2rem;
    }

    .category-card__media img,
    .category-card__placeholder {
        height: 200px;
    }
}

@media (max-width: 991.98px) {
    .category-product-card {
        padding: 2.5rem 2.25rem;
        gap: 2rem;
    }

    .category-product-card__tag {
        min-width: auto;
        padding: 0.8rem 2.4rem 0.8rem 1.9rem;
        font-size: 0.85rem;
        letter-spacing: 0.09em;
        width: 100%;
        justify-content: center;
    }

    .category-product-card__tag::after {
        right: -22px;
        width: 22px;
    }

    .category-product-card__content {
        max-width: none;
    }

    .category-product-card__media {
        max-width: 220px;
    }
}

@media (max-width: 767.98px) {
    .category-product-card {
        padding: 2.2rem 1.8rem;
    }

    .category-product-card__body {
        align-items: flex-start;
    }

    .category-product-card__media {
        margin-left: 0;
        margin-right: 0;
        max-width: 200px;
        text-align: center;
    }

    .category-product-card__media img {
        margin: 0 auto;
    }

    .category-product-card__tag::after {
        right: -18px;
        width: 18px;
    }

    .category-hero {
        min-height: 280px;
        align-items: center;
        padding: 4.5rem 0 3.5rem;
    }

    .category-hero__content {
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
    }
}
