#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}



.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: 'Battambang', cursive !important;
    color: #b58cbf;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Battambang', sans-serif !important;
}

body {
    font-family: 'Battambang', sans-serif;
    background-color: #ffffff;
    color: #000000;
    position: relative;
    padding-top: 80px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none !important;
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.ingredients {
    position: relative;
    background: transparent !important;
}

.ingredients .bg-light,
.ingredients-img {
    background: transparent !important;
}

.ingredients-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.ingredients-img .main-img,
.ingredients-img .hover-img {
    transition: 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredients-img .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.1);
}

.ingredients-img:hover .main-img {
    transform: scale(1.1);
}

.ingredients-img:hover .hover-img {
    opacity: 1;
    transform: scale(1);
}

.ingredients-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    border-radius: 0 0 8px 8px;
    transition: 0.5s;
}

.ingredients-img:hover .ingredients-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

#dalmatian-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.dalmatian-spot {
    position: absolute !important;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    animation: spotFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes spotFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, 15px) rotate(90deg);
    }

    50% {
        transform: translate(-15px, 10px) rotate(180deg);
    }

    75% {
        transform: translate(5px, -10px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}


.dark-theme .dalmatian-spot {
    opacity: 0.2;
    filter: invert(1);
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}



.btn.btn-primary {
    border: 0;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: #b58cbf !important;
}

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}




.nav-bar {
    background: #b58cbf !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.nav-bar .navbar-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-bar .nav-link {
    font-family: 'Battambang', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 15px 10px;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #b58cbf;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 50%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #b58cbf;
}

.navbar .navbar-nav .nav-link i,
.navbar-toggler .fa,
.btn-md-square i,
.btn-md-square .fa,
.btn-md-square .fas,
.btn-md-square .fab {
    font-size: 1.7em !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: #b58cbf;
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}

@media (max-width: 992px) {
    .nav-bar .navbar-nav {
        gap: 15px;
        padding: 10px 0;
    }

    .nav-bar .navbar-brand {
        padding: 0 15px;
    }

    .nav-bar .navbar-brand h1 {
        font-size: 2rem;
    }

    .nav-bar .nav-link {
        font-size: 1.1rem;
        padding: 10px 5px;
    }

    .hero-content {
        width: 95%;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 0;
    }

    .nav-bar .navbar-nav {
        gap: 10px;
        padding: 5px 0;
    }

    .nav-bar .navbar-brand h1 {
        font-size: 1.8rem;
    }

    .nav-bar .nav-link {
        font-size: 1rem;
        padding: 8px 5px;
        letter-spacing: 1px;
    }

    .hero-content {
        width: 100%;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .nav-bar .navbar-nav {
        gap: 5px;
    }

    .nav-bar .navbar-brand h1 {
        font-size: 1.5rem;
    }

    .nav-bar .nav-link {
        font-size: 0.9rem;
        padding: 5px 3px;
        letter-spacing: 0.5px;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-slide {
        height: 50vh;
        min-height: 300px;
    }
}

.nav-bar .navbar-toggler {
    border: none;
    padding: 0;
}

.nav-bar .navbar-toggler:focus {
    box-shadow: none;
}

.nav-bar .navbar-toggler .fa {
    color: #ffffff !important;
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    .nav-bar .navbar-toggler .fa {
        font-size: 1.2rem;
    }
}




.container-fluid.bg-light.py-6.my-6.mt-0 {
    background-color: #ffffff !important;
}

.hero-slider {
    position: relative;
    overflow: visible;
}

.hero-slider .owl-carousel {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1, .hero-content small:not(.welcomeMsg) {
    color: #b58cbf !important;
}

.hero-slide::after {
    content: none;
}

.hero-slider .owl-dots {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 10;
}

.hero-slider .owl-dot {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    transition: all 0.3s;
    border: 2px solid #b58cbf;
}

.hero-slider .owl-dot.active {
    background: #b58cbf !important;
    transform: scale(1.2);
    border-color: #b58cbf;
}


.dark-theme .hero-slide::after {
    background: rgba(0, 0, 0, 0.6);
}

.dark-theme .hero-carousel .owl-dot {
    background: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }

    .hero-slider .owl-dots {
        left: 10px;
        gap: 10px;
    }

    .hero-slider .owl-dot {
        width: 14px !important;
        height: 14px !important;
    }
}




.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    background-color: #ffffff !important;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
    /* color: #000 !important; */
}

.service-item:hover .service-content-icon i {
    color: #ffffff !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}




.video {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none !important;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 52%;
    top: 54%;
    transform: translateX(-50%) translateY(-50%);
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

.video .btn-play img {
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
    vertical-align: middle;
    border: 0;
    margin-top: -4px;
    margin-right: -8px;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    padding: 0 !important;
}

#videoModal .modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    z-index: 999;
    right: -5px;
    top: -5px;
    color: var(--bs-white);
    opacity: 1;
    background: var(--bs-dark);
    padding: 5px 10px;
    border-radius: 50%;
    text-shadow: none;
    border: 2px solid var(--bs-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#videoModal .close:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
}




.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3)
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: #b58cbf !important;
}




.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: #b58cbf !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}




.testimonial-item {
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}




.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}





.footer {
    background-color: #ffffff !important;
}

.footer .footer-item a.text-body:hover {
    color: #b58cbf !important;
}

.bg-white {
    background-color: #a09d9dce !important;
}




.cat-paw {
    position: fixed;
    width: 24px;
    height: 24px;
    background-image: url('../img/paw.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.7;
    transform: translate(-50%, -50%);
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
    }
}

.dark-theme {
    background-color: #333;
    color: #ffffff;
}

.dark-theme .nav-bar {
    background: rgba(0, 0, 0, 0.95);
}

.dark-theme .navbar .navbar-nav .nav-link {
    color: #ffffff;
}

.dark-theme .service-item,
.dark-theme .testimonial-item,
.dark-theme .footer {
    background-color: #333 !important;
    color: #ffffff;
}

.dark-theme .bg-light {
    background-color: #333 !important;
}

.dark-theme .text-dark,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6,
.dark-theme p,
.dark-theme span,
.dark-theme .text-body,
.dark-theme .text-muted {
    color: #ffffff !important;
}

.dark-theme .text-primary {
    color: #ffffff !important;
}


.dark-theme .container-fluid.bg-light.py-6.my-6.mt-0 {
    background-color: #333 !important;
}

.dark-theme .container-fluid.bg-light.py-6.my-6.mt-0 h1,
.dark-theme .container-fluid.bg-light.py-6.my-6.mt-0 small {
    color: #ffffff;
}


.dark-theme .ingredients {
    background-color: #333 !important;
}

.dark-theme .ingredients h1,
.dark-theme .ingredients p,
.dark-theme .ingredients .text-dark {
    color: #ffffff;
}

.dark-theme .ingredients .bg-light {
    background-color: #333 !important;
}

.dark-theme .ingredients .border-primary {
    border-color: #ffffff !important;
}

.dark-theme .product-card-front,
.dark-theme .product-card-back {
    background: #333 !important;
    color: #ffffff;
}

.dark-theme .footer {
    background-color: #333 !important;
}

.dark-theme .footer .text-dark {
    color: #ffffff !important;
}

.dark-theme .border-top {
    border-color: #333333 !important;
}


.dark-theme .service-item .service-content-icon h4,
.dark-theme .service-item .service-content-icon p {
    color: #ffffff !important;
}

.dark-theme .service-item:hover .service-content-icon p {
    color: #ffffff !important;
}


.dark-theme .product-card h4,
.dark-theme .product-card p {
    color: #ffffff !important;
}


#languageDropdown {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#languageDropdown:hover {
    transform: rotate(15deg);
}

.dropdown-menu {
    min-width: 120px;
    padding: 0.5rem 0;
    margin: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #b58cbf;
    color: #ffffff;
}


.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .navbar-nav {
    padding-right: 0;
}

.rtl .dropdown-menu {
    text-align: right;
}

.dark-theme .dropdown-menu {
    background-color: #333;
    border-color: #333333;
}

.dark-theme .dropdown-item {
    color: #ffffff;
}

.dark-theme .dropdown-item:hover {
    background-color: #333333;
    color: #ffffff;
}


#theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    transform: rotate(15deg);
}

.dark-theme #theme-toggle {
    background-color: #ffffff;
    border-color: #ffffff;
}

.dark-theme #theme-toggle:hover {
    background-color: #cccccc;
    border-color: #cccccc;
}


.rtl #language-toggle {
    margin-left: 1.5rem !important;
    margin-right: 0 !important;
}

#language-toggle:focus,
#language-toggle:active,
#theme-toggle:focus,
#theme-toggle:active {
    background-color: #b58cbf !important;
    border-color: #b58cbf !important;
    box-shadow: none !important;
    color: #fff !important;
}

.dark-theme .cat-paw {
    filter: brightness(0) invert(1);
}

.wheel-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 0;
    position: fixed;
    right: 40px;
    top: 68%;
    z-index: 1000;
    overflow: hidden;
    background: #fff !important;
    border: none;
    box-shadow: 0 2px 12px #0002;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 0;
    position: fixed;
    right: 40px;
    top: 85%;
    z-index: 1000;
    overflow: hidden;
    background: #b58cbf !important;
    border: none;
    box-shadow: 0 2px 12px #0002;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: width 0.4s cubic-bezier(.4, 2, .6, 1), border-radius 0.4s cubic-bezier(.4, 2, .6, 1), background 0.3s;
}

.center-btn video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    transition: border-radius 0.4s, width 0.4s, height 0.4s;
}

.btn-label {
    opacity: 0;
    white-space: nowrap;
    margin-left: 20px;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: bold;
    background: #b58cbf !important;
    padding: 16px 32px 16px 24px;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s 0.1s, margin-left 0.4s, background 0.3s;
    pointer-events: none;
}

.center-btn:hover {
    width: 340px;
    border-radius: 50px;
    background: #b58cbf !important;
}

.center-btn:hover video {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.center-btn:hover .btn-label {
    opacity: 1;
    margin-left: 20px;
    background: #b58cbf !important;
}

.btn-tooltip {
    position: absolute;
    bottom: 110%;
    right: 50%;
    transform: translateX(50%);
    background: #222b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 18px;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 10;
    box-shadow: 0 2px 12px #0003;
}

.center-btn:hover .btn-tooltip {
    opacity: 1;
    transform: translateX(50%) translateY(-8px) scale(1.05);
}


.dark-theme .center-btn {
    background: #333 !important;
    box-shadow: 0 2px 12px #0006;
}

.dark-theme .center-btn:hover {
    background: #333 !important;
}

.dark-theme .btn-label,
.dark-theme .center-btn:hover .btn-label {
    background: transparent !important;
}

@media (max-width: 768px) {
    .hero-slider .owl-nav button {
        width: 50px;
        height: 50px;
        font-size: 24px !important;
    }

    .hero-slider .owl-nav button.owl-prev {
        left: 10px;
    }

    .hero-slider .owl-nav button.owl-next {
        right: 10px;
    }
}


.cat-best-carousel,
.cat-best-carousel .owl-stage,
.cat-best-carousel .owl-item {
    direction: ltr !important;
}

.cat-best-carousel {
    width: 100%;
    margin: 0;
    padding: 0 0 30px 0;
}

.cat-best-slide {
    padding: 0 12px;
}

.cat-best-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    background: #fff;
}

@media (max-width: 1200px) {
    .cat-best-slide img {
        height: 180px;
    }
}

@media (max-width: 992px) {
    .cat-best-carousel {
        padding-bottom: 20px;
    }

    .cat-best-slide img {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .cat-best-slide img {
        height: 100px;
    }
}

.red-pill-bg {
    background: #b58cbf !important;
    border: 1px solid #b58cbf !important;
    color: #fff !important;
    transition: background 0.3s, color 0.3s;
}

.red-pill-bg[data-i18n] {
    color: #fff !important;
}


.dark-theme .red-pill-bg {
    background: #fff !important;
    color: #b58cbf !important;
    border: 1px solid #fff !important;
}


.cart-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.offcanvas {
    width: 350px;
}

#cart-items {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0F172B;
}

.btn-outline-primary {
    color: #0F172B;
    border-color: #0F172B;
}

.btn-outline-primary:hover {
    background-color: #0F172B;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}


.cart-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cart-notification.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.notification-content {
    background-color: #0F172B;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    text-align: center;
}

.notification-content i {
    color: #4CAF50;
    font-size: 1.4em;
}


.rtl .cart-notification {
    left: 50%;
    right: auto;
}


.dark-theme .notification-content {
    background-color: #2d2d2d;
    border: 1px solid #404040;
}

.dark-theme .hero-content h1 {
    color: #b58cbf !important;
}


@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }
}


:root {
    --container-padding: 15px;
    --section-spacing: 4rem;
}


.container, .container-fluid {
    width: 100%;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--container-padding) * -1);
    margin-left: calc(var(--container-padding) * -1);
}


.col {
    flex: 1 0 0%;
    padding: 0 var(--container-padding);
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}


.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    padding: 2rem;
}


.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #b58cbf !important;
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-padding);
}

.nav-bar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}


.product-card {
    height: auto;
    min-height: 400px;
    margin-bottom: 2rem;
}

.product-card-inner {
    height: 100%;
}

.product-card-front,
.product-card-back {
    padding: 1rem;
}


@media (min-width: 576px) {
    :root {
        --container-padding: 20px;
    }

    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    :root {
        --container-padding: 25px;
    }

    .container {
        max-width: 720px;
    }

    .hero-content {
        padding: 3rem;
    }

    .product-card {
        min-height: 450px;
    }
}

@media (min-width: 992px) {
    :root {
        --container-padding: 30px;
    }

    .container {
        max-width: 960px;
    }

    .nav-bar .navbar-nav {
        gap: 3rem;
    }

    .hero-content {
        padding: 4rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .nav-bar .navbar-nav {
        gap: 25px;
    }

    .nav-bar .nav-link {
        font-size: 1.15rem;
        padding: 10px 12px;
    }

    .hero-content {
        width: 80%;
        padding: 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem !important;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1300px) {
    .hero-content {
        width: 75%;
    }

    .hero-content h1 {
        font-size: 4rem !important;
    }
}


@media (max-width: 991.98px) {
    .nav-bar .navbar-nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .nav-bar .nav-link {
        padding: 0.5rem 1rem;
    }

    .hero-slide {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-spacing: 3rem;
    }

    .hero-slide {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .product-card {
        min-height: 350px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    :root {
        --container-padding: 15px;
        --section-spacing: 2rem;
    }

    .hero-slide {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .product-card {
        min-height: 300px;
    }
}


@media (hover: none) {}


@media (prefers-color-scheme: dark) {
    .dark-theme {
        background-color: #333;
        color: #ffffff;
    }

    .dark-theme .product-card,
    .dark-theme .service-item {
        background-color: #1a1a1a;
    }
}


@media print {

    .nav-bar,
    .sidebar,
    .center-btn {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .container {
        width: 100%;
        max-width: none;
    }
}


@media (min-width: 768px) and (max-width: 1199.98px) {
    .nav-bar .navbar-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-bar .nav-link {
        font-size: 1rem;
        padding: 8px 10px;
    }

    .hero-content {
        width: 95%;
        padding: 2rem 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-bar .navbar-nav {
        gap: 2rem;
    }

    .nav-bar .nav-link {
        font-size: 1.1rem;
        padding: 10px 10px;
    }

    .hero-content {
        width: 90%;
        padding: 3rem 20px;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
    }
}


@media (min-width: 1024px) and (max-width: 1399.98px) {
    .nav-bar .navbar-nav {
        gap: 20px;
    }

    .nav-bar .nav-link {
        font-size: 1.1rem;
        padding: 10px 10px;
    }

    .hero-content {
        width: 90%;
        max-width: 1000px;
        padding: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
    }

    .hero-content p {
        font-size: 1.05rem;
    }
}

@media (min-width: 1200px) {
    .nav-bar .navbar-nav {
        gap: 30px;
    }

    .nav-bar .nav-link {
        font-size: 1.2rem;
        padding: 10px 15px;
    }

    .hero-content {
        width: 85%;
        max-width: 1100px;
        padding: 3rem;
    }

    .hero-content h1 {
        font-size: 3.8rem !important;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}


.hero-content h1, .hero-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


@media (min-width: 768px) and (max-width: 1199.98px) {

    .nav-bar .navbar-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-bar .nav-link {
        font-size: 1rem;
        padding: 8px 10px;
    }


    .sidebar {
        right: 15px;
        gap: 10px;
    }

    .sidebar-btn {
        width: 50px;
        height: 50px;
    }


    .hero-slider .owl-dots {
        position: absolute;
        left: 50%;
        bottom: 30px;
        top: auto;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 8px;
    }

    .hero-slider .owl-dot {
        width: 12px !important;
        height: 12px !important;
        margin: 0 4px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
    .nav-bar .navbar-nav {
        gap: 20px;
    }

    .nav-bar .nav-link {
        font-size: 1.05rem;
        padding: 8px 12px;
    }

    .hero-slider .owl-dots {
        bottom: 40px;
        gap: 10px;
    }

    .hero-slider .owl-dot {
        width: 14px !important;
        height: 14px !important;
        margin: 0 5px !important;
    }
}


@media (max-width: 767.98px) {
    .hero-slider .owl-dots {
        position: absolute;
        left: 50%;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 6px;
    }

    .hero-slider .owl-dot {
        width: 10px !important;
        height: 10px !important;
        margin: 0 3px !important;
    }
}
