:root {
    --bs-primary: #6B5B95;
    --bs-primary-rgb: 107, 91, 149;
}

html {
    scroll-behavior: smooth;
}

.btn-custom {
    background-color: #D4577A !important;
    border-color: #D4577A !important;
    color: white !important;
    white-space: nowrap !important;
}

.btn-custom:hover {
    background-color: #B84565 !important;
    border-color: #B84565 !important;
    color: white !important;
}

.hero-cta-button {
    background: linear-gradient(45deg, #D4577A, #6B5B95, #D4577A, #8E7CC3) !important;
    background-size: 300% 300% !important;
}

.hero-cta-button:hover {
    background: linear-gradient(45deg, #B84565, #5A4A80, #B84565, #7A6AAF) !important;
    background-size: 300% 300% !important;
}

.featurs .featurs-item .featurs-icon {
    width: 60px !important;
    height: 60px !important;
    background-color: #6B5B95 !important;
}

.featurs .featurs-item .featurs-icon::after {
    width: 18px !important;
    height: 18px !important;
    bottom: -5px !important;
    background-color: #6B5B95 !important;
}

.carousel-control-prev,
.carousel-control-next {
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

.carousel-control-prev {
    left: 10px !important;
}

.carousel-control-next {
    right: 10px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important;
    width: 30px !important;
    height: 30px !important;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '' !important;
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
}

.carousel-control-prev-icon::before {
    border-width: 15px 20px 15px 0 !important;
    border-color: transparent white transparent transparent !important;
}

.carousel-control-next-icon::before {
    border-width: 15px 0 15px 20px !important;
    border-color: transparent transparent transparent white !important;
}

.testimonial .owl-nav .owl-prev {
    display: none !important;
}

.testimonial .owl-nav .owl-next {
    right: 0 !important;
}

.carousel .fruite-item .p-4 {
    background-color: white !important;
}

.topbar {
    border-radius: 0 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.topbar.bg-primary {
    background-color: #3D3654 !important;
}

.navbar-nav {
    align-items: center !important;
}

.navbar {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    --logo-height: 2.5rem;
}

.navbar-brand .navbar-logo {
    height: var(--logo-height);
    width: auto;
    object-fit: contain;
}

.navbar-brand h2 {
    display: flex;
    align-items: center;
    font-size: var(--logo-height);
    line-height: 1;
    margin: 0;
}

@media (max-width: 768px) {
    .navbar-brand {
        --logo-height: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        --logo-height: 1.75rem;
    }
}

.carousel-slider-link {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-slider-link:hover {
    transform: scale(1.02);
}

.fruite-img img[src*="product1.jpg"],
.fruite-img img[src*="product2.jpg"],
.fruite-img img[src*="product3.jpg"],
.fruite-img img[src*="product4.jpg"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.fruite-img {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    position: relative !important;
}

.fruite-item {
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}

.fruite-item .fruite-img {
    flex-shrink: 0 !important;
}

.fruite-item .p-4 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
}

.fruite-item .p-4 .d-flex {
    margin-top: auto !important;
}

.carousel .fruite-item {
    max-width: 450px !important;
    margin: 0 auto !important;
    padding: 0 4em !important;
    background-color: white !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
}

.carousel .fruite-img {
    border-radius: 0.375rem 0.375rem 0 0 !important;
    padding-top: 24px !important;
    background-color: white !important;
}

.carousel .fruite-item .p-4 {
    border-radius: 0 0 0.375rem 0.375rem !important;
    margin: 0 !important;
}

.carousel .fruite-item .p-4 h4 {
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: clamp(0.6rem, 2vw, 1rem) !important;
    width: calc(100% + 8em) !important;
    margin-left: -4em !important;
    margin-right: -4em !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px !important;
    height: 60px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 60px !important;
    height: 60px !important;
}

.carousel-control-prev-icon::before {
    border-width: 20px 30px 20px 0 !important;
    border-color: transparent rgba(128, 128, 128, 0.3) transparent transparent !important;
}

.carousel-control-next-icon::before {
    border-width: 20px 0 20px 30px !important;
    border-color: transparent transparent transparent rgba(128, 128, 128, 0.3) !important;
}

.hero-header {
    position: relative;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.7) 49%, rgba(255, 255, 255, 0.7) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.7) 49%, rgba(255, 255, 255, 0.7) 51%, transparent 52%);
    background-size: 30px 30px;
    background-position: 0 0, 0 0;
    pointer-events: none;
    z-index: 1;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-subheadline {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #6c757d;
}

.section-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-section {
    background-color: #f8f9fa;
}

.newsletter-section .subscribe-btn {
    background-color: #6B5B95 !important;
    border-color: #6B5B95 !important;
}

.btn-shop-all {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .hero-header .container .row .col-lg-10 {
        margin-top: -4rem;
    }

    .btn:has(.fa-eye) {
        margin-top: 2em;
    }

    .btn-shop-all {
        max-width: 100%;
        white-space: normal;
        line-height: 1.35;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        font-size: 0.95rem;
    }
}
