@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Urbanist', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

section .container .card:nth-child(1) .box .icon .iconBox {
    background: #E02321;
}
section .container .card:nth-child(2) .box .icon .iconBox {
    background: #F77C01;
}
section .container .card:nth-child(3) .box .icon .iconBox {
    background: #38A7FE;
}
section .container .card:nth-child(4) .box .icon .iconBox {
    background: #1F7329;
}
section .container .card ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
}
section .container .card ul li {
    text-transform: uppercase;
    background: var(--clr-tag);
    color: #282828;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.375rem 0.625rem;
    border-radius: 0.188rem;
}
section .container .card ul .branding {
    color: #704a31;
}
section .container .card ul .packaging {
    color: #072821;
}
section .container .card ul .marketing {
    color: #4d1637;
}
section .container .card .content {
    padding: 0.938rem 0.625rem;
}
section .container .card-inner {
    position: relative;
    width: inherit;
    height: 11.75rem;
    background: var(--clr);
    border-radius: 1.25rem;
    border-bottom-right-radius: 0;
    overflow: hidden;
}
section .container .card-inner .box {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
}
section .container .card-inner .box .imgBox {
    border-radius: 20px;
    inset: 0;
    border: 2px solid #fff;
    overflow: hidden;
}
section .container .card-inner .box .imgBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-right-radius: 29px;
}
section .container .card-inner .box .icon {
    position: absolute;
    bottom: -0.375rem;
    right: -0.375rem;
    width: 5rem;
    height: 5rem;
    background: var(--clr);
    border-top-left-radius: 50%;
}
section .container .card-inner .box .icon:hover .iconBox {
    transform: scale(1.1);
}
section .container .card-inner .box .icon::before {
    position: absolute;
    content: "";
    bottom: 0.8rem;
    left: -1.25rem;
    background: transparent;
    width: 1.25rem;
    height: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    box-shadow: 0.313rem 0.313rem 0 0.313rem #fff;
}
section .container .card-inner .box .icon::after {
    position: absolute;
    content: "";
    top: -1.25rem;
    right: 0.375rem;
    background: transparent;
    width: 1.25rem;
    height: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    box-shadow: 0.313rem 0.313rem 0 0.313rem var(--clr);
}
section .container .card-inner .box .icon .iconBox {
    position: absolute;
    inset: 0.625rem;
    background: #282828;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.category-card {
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
}

.category-card.collapsed {
    transform: scale(0.7);
    opacity: 0.7;
}

.category-card.expanded {
    transform: scale(0.8);
    opacity: 1;
    z-index: 10;
}

.collapsed-view {
    display: flex;
    align-items: center;
    justify-content: center;
}

.expanded-view {
    display: none;
}

.category-card.expanded .expanded-view {
    display: flex;
}

.category-card.expanded .collapsed-view {
    display: none;
}

.drawer {
    transition: transform 0.3s ease-in-out;
}
.drawer-hidden {
    transform: translateX(100%);
}
.drawer-visible {
    transform: translateX(0);
}
.overlay {
    transition: opacity 0.3s ease-in-out;
}
.overlay-hidden {
    opacity: 0;
    pointer-events: none;
}
.overlay-visible {
    opacity: 0.7;
    pointer-events: auto;
}

.marquee-container {
    width: 100%;
}

.marquee {
    display: flex;
    gap: 4rem;
}

.marquee.animate {
    animation: scroll-left 20s linear infinite;
}

.prose img {
    width: 100%;
    height: 100%;
}

.categories-slider .swiper {
    padding: 40px 0;
}
.categories-slider .swiper-wrapper {
    align-items: center;
}
.categories-slider .swiper-slide {
    width: 300px;
    transition: all 0.3s ease;
    opacity: 0.5;
    filter: blur(2px);
}
.categories-slider .swiper-slide-active {
    opacity: 1;
    filter: blur(0);
}

.categories-slider .swiper-slide-active .transform {
    transform: rotate(0) translateX(-50%) !important;
    top: 25px !important;
    left: 45% !important
}

.products-slider .swiper-slide {
    width: 70%;
}

.summary-text {
    transition: max-height 0.3s ease-out;
}

.first-column {
    border-right: 1px solid #ddd !important;
    background-color: #f8f9fa;
    font-weight: 500;
}

.second-column {
    padding-left: 40px
}

#product-detail table ul li {
    list-style: inside;
}

#product-detail .img-wrapper img {
    width: 100% !important;
    height: auto !important;
}

#product-detail .mobile-view {
    display: none;
}

@media (max-width: 768px) {
    #product-detail .mobile-view {
        display: block;
    }
    #product-detail .desktop-view {
        display: none;
    }
}

.read-more-btn {
    margin-top: 8px;
    font-size: 0.9rem;
}

.readMore:after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    background: #ddd;
    height: .5px;
    transform: translateY(-50%);
}

.readMore:before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%;
    width: 100%;
    background: #ddd;
    height: .5px;
    transform: translateY(-50%);
}

#filterDrawerClose:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30%;
    background: #ddd;
    height: .5px;
    transform: translateY(-50%);
}

#filterDrawerClose:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 30%;
    background: #ddd;
    height: .5px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .readMore:before, .readMore:after {
        display: none;
    }
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-container:hover .marquee.animate {
    animation-play-state: paused;
}

#home-products .swiper-slide {
    position: relative;
    width: 400px;
    height: 500px;
    user-select: none;
    border-radius: 12px;
    overflow: hidden;
    transition: 1s;
}

#home-testimonials .testimonials-slider .swiper-slide {
    height: auto;
}

#home-testimonials .testimonials-slider .swiper-slide .border-2 {
    height: 100%;
}

#home-testimonials .testimonials-slider p {
    font-size: 0.875rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-trigger:hover .accordion-icon {
    color: #4B5563;
}

.accordion-trigger:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.accordion-item.active {
    background-color: #F9FAFB;
}

section .container .card-inner .box .icon .iconBox img {
    height: 25px;
}

@media (max-width: 768px) {
    .swiper-pagination {
        display: none;
    }
    .categories-slider .swiper-slide {
        width: 70%;
    }
    .column-group {
        margin-bottom: 40px;
    }
    section .container .card-inner {
        height: auto;
    }
    section .container .card-inner .box .icon .iconBox {
        inset: .375rem;
    }
    section .container .card-inner .box .icon {
        width: 3rem;
        height: 3rem;
    }
    section .container .card-inner .box .icon::before {
        bottom: .5rem;
    }
    section .container .card-inner .box .icon::after {
        top: -0.675rem;
        right: 0.275rem;
        width: 0.625rem;
        height: 0.625rem;
    }
    section .container .card-inner .box .icon .iconBox img {
        height: 15px;
    }
    section .container .card-inner .box .imgBox {
        border-radius: 10px;
    }
    section .container .card-inner, section .container .card-inner .box {
        border-radius: 0;
    }
}
