/********** Template CSS **********/

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

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

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Fonts ***/
.font-work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.font-dancing-script1 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 55px;
    text-align: center;
}


/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

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

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

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

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

.btn-dark,
.btn-primary {
    margin: 10px;
}

.btn-primary::before,
.btn-primary::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-primary::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.btn-dark::before,
.btn-dark::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-dark::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-dark);
    border-right: 2px solid var(--bs-dark);
}

.btn-dark::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-dark);
    border-bottom: 2px solid var(--bs-dark);
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 0;
    outline: none;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

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

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn-primary {
    border-width: 2px;
    background: var(--bs-light);
}

.navbar .btn-primary:hover {
    background: var(--bs-primary);
}


/*** Hero Header ***/
.hero-header {
    background: url(../img/hero-bg.png) top left no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header .container {
        max-width: 100% !important;
    }

    .hero-header .hero-header-text  {
        padding-left: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero-header .hero-header-text  {
        padding-left: 3rem;
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-text  {
        padding-left: 4rem;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.owl-carousel {
    touch-action: pan-y;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    position: relative;
    margin-left: 2px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    background: var(--bs-primary);
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
}

.page-header {
    background: url(../img/page-header.png) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
@media (max-width: 768px) {
    .service .service-item {
        border: none !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    }
}

@media (min-width: 992px) {
    .service .service-item.border-lg-end {
        border-right: 1px solid #dee2e6;
    }

    .service .service-item.border-lg-end-0 {
        border-right: none !important;
    }

    .service .service-item.border-lg-bottom-0 {
        border-bottom: none !important;
    }
}

.service .service-item .btn-primary {
    border-width: 2px;
    background: var(--bs-white);
}

.service .service-item .btn-primary:hover {
    background: var(--bs-primary);
}

.service .service-item img {
    margin-bottom: 5px;
}


/*** Team ***/
.team {
    position: relative;
}

.team::before {
    position: absolute;
    content: "";
    width: 200%;
    height: 200px;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    margin-top: 1rem;
    background: var(--bs-primary);
}

.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    text-align: center;
    background: rgba(255, 255, 255, .5);
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-overlay {
    background: rgba(255, 255, 255, .9);
}

.team-overlay p {
    letter-spacing: 1px;
}

.team-overlay .btn-dark {
    border-width: 2px;
    color: var(--bs-dark);
    background: transparent;
}

.team-overlay .btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item {
    position: relative;
}

.testimonial-carousel .owl-item::before {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .1;
}

.testimonial-carousel .owl-item img {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item span {
    letter-spacing: 2px;
}

.testimonial-carousel .owl-item.center .bg-light {
    background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .bg-light * {
    color: var(--bs-dark) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Footer ***/
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--bs-secondary);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}


/*** Product Filter Dropdowns ***/
.product-filter-dropdown {
    position: relative;
}

.product-filter-dropdown .form-select {
    border: 2px solid #bf9456;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23bf9456' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.product-filter-dropdown .form-select:focus {
    border-color: #bf9456 !important;
    box-shadow: 0 0 0 0.2rem rgba(191, 148, 86, 0.25) !important;
    outline: none;
}

.product-filter-dropdown .form-select:hover {
    border-color: #bf9456 !important;
    box-shadow: 0 0 0 0.2rem rgba(191, 148, 86, 0.15);
}

.product-filter-dropdown .form-select option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}

.product-filter-dropdown .form-select option:hover {
    background-color: #bf9456 !important;
    color: #fff !important;
}

.product-filter-dropdown .form-select option:checked,
.product-filter-dropdown .form-select option:focus {
    background-color: #bf9456 !important;
    color: #fff !important;
}

/* Custom dropdown arrow styling */
.product-filter-dropdown .form-select::-ms-expand {
    display: none;
}

/* For WebKit browsers */
.product-filter-dropdown .form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Responsive adjustments for filters */
@media (max-width: 768px) {
    .product-filter-dropdown .form-select {
        font-size: 14px;
        padding: 8px 12px;
        padding-right: 35px;
    }
}
.product-image-box {
    width: 100%;
    height: 300px;
    max-height: 300px;
    overflow: hidden;
}

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

.productButtonDiv {
    position: relative;
    width: 100%;
    padding: 0;
    border-radius: 0px;
    border: 2px solid #bf9456;
    color: #000;
}

    /* Same decorative border effect */
    .productButtonDiv::before,
    .productButtonDiv::after {
        position: absolute;
        content: "";
        pointer-events: none;
    }

    .productButtonDiv::before {
        top: -10px;
        left: -5px;
        width: calc(100% + 10px);
        height: calc(100% + 20px);
        border-left: 2px solid var(--bs-primary);
        border-right: 2px solid var(--bs-primary);
    }

    .productButtonDiv::after {
        top: -5px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 10px);
        border-top: 2px solid var(--bs-primary);
        border-bottom: 2px solid var(--bs-primary);
    }

.productButtonDiv1 {
    position: relative;
    width: 100%;
    padding: 0;
    border-radius: 0px;
    background-color: var(--bs-light);
    border: 2px solid #bf9456;
    color: #000;
}

    /* Same decorative border effect */
    .productButtonDiv1::before,
    .productButtonDiv1::after {
        position: absolute;
        content: "";
        pointer-events: none;
    }

    .productButtonDiv1::before {
        top: -10px;
        left: -5px;
        width: calc(100% + 10px);
        height: calc(100% + 20px);
        border-left: 2px solid var(--bs-primary);
        border-right: 2px solid var(--bs-primary);
    }

    .productButtonDiv1::after {
        top: -5px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 10px);
        border-top: 2px solid var(--bs-primary);
        border-bottom: 2px solid var(--bs-primary);
    }
.productimg {
    height: auto;
    max-width: 80px;
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    cursor: pointer;
}

.productButtonDiv1 .carousel-control-prev,
.productButtonDiv1 .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.productButtonDiv1 .carousel-control-prev {
    left: 20px;
}

.productButtonDiv1 .carousel-control-next {
    right: 20px;
}

.productButtonDiv1 .img-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.productButtonDiv1 .cursor-pointer {
    cursor: pointer;
}
.productButtonDiv1 .image-zoom-container {
    height: 500px;
    background-color: #f8f9fa;
}

.productButtonDiv1 .magnifier-container {
    position: relative;
    display: inline-block;
}

.productButtonDiv1 .magnifier {
    position: fixed;
    display: none;
    width: 300px;
    height: 300px;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    z-index: 9999;
}

.productButtonDiv1 .magnifier__img {
    position: absolute;
    width: 1200px;
    transform-origin: top left;
}

/* Share Statistics Badges */
.share-stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}

.share-stat-whatsapp {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-color: #25d366;
}

.share-stat-instagram {
    background-color: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border-color: #e1306c;
}

.share-stat-facebook {
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border-color: #1877f2;
}

/* Color Swatch Cards */
.color-swatch-card {
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.color-swatch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-swatch {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: 2px solid #dee2e6;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.productbutton1 {
    background-color: white !important;
    border: 2px solid #bf9456;
}

.productbutton-row .productbutton1 {
    margin: 0 !important; /* Override template's 10px margin only in detail row */
}
    .productbutton1:hover {
        background-color: #bf9456 !important;
        border: 2px solid #bf9456;
    }

/* Contact Card Styling */
.contact-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: #fff;
    border-color: #bf9456 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header.bg-primary {
    background-color: #bf9456 !important;
}

/* Button responsive margins */
@media (max-width: 767.98px) {
    .productbutton1 {
        margin: 5px 0 !important;
    }
}
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--bs-primary);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-right 30s linear infinite;
}

.brand-box {
    padding: 30px 60px 15px 60px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 45px;
}

.brand-name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bs-secondary) !important;
}

.brand-desc {
    font-size: 1.2rem;
    color: var(--bs-secondary) !important;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

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

@media (max-width: 768px) {
    .brand-name {
        font-size: 2rem;
    }

    .brand-desc {
        font-size: 1rem;
    }

}

/*** Product Carousel ***/
.product-item {
    position: relative;
    overflow: hidden;
    margin: 2px;
    box-shadow: 0 0px 9px rgb(0 0 0 / 46%);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s;
    z-index: 10;
    cursor: pointer;
    box-shadow: inset 0 0 20px rgb(255 179 98);
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-item:hover img {
    transform: scale(1.2);
    transition: all 0.5s;
}

.product-item img {
    transition: all 0.5s;
    width: 100% !important;
    max-height: 240px !important;
}
.owl-nav {
    display: none;
}
.categorynameindexmobile {
    font-size: 20px;
}
.productback {
    position: relative;
}
    .productback::before {
        position: absolute;
        content: "";
        width: -webkit-fill-available;
        height: 145px;
        top: 62.25%;
        left: -20%;
        transform: translateY(-50%);
        margin-top: 1rem;
        background: var(--bs-primary);
    }
.productbackgorund {
    margin: 0px;
    visibility: visible;
    animation-delay: 0s;
    animation-name: fadeIn;
    padding: 20px;
}
.productimagediv {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    .maintesttoptext {
        padding-left: 5px !important;
    }
    .indexmailfont {
        font-size: 1.01rem !important;
    }
    .product-item img {
        transition: all 0.5s;
        width: 100% !important;
        max-height: 300px !important;
    }
    .categorynameindexmobile {
        font-size: 1.5rem;
    }
    .categorynameindex {
        font-size: 2.5rem;
    }
    .header-carousel .owl-nav .owl-prev, .header-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }
    .back-to-top {
        right: 30px;
        bottom: 30px;
        width: 40px !important;
        height: 40px !important;
    }
    .brand-box {
        line-height: 30px;
        padding: 20px 50px 10px 50px;
    }

    .product-card .productButtonDiv {
        flex-direction: column;
    }

    .product-card .col-6 {
        width: 100% !important;
    }

    .product-card .productimagediv {
        order: 1; /* Image comes first */
    }

    .product-card .d-flex.flex-column {
        order: 2; /* Content comes second */
    }
    .product-image-box {
        width: 100%;
        height: 250px;
        max-height: 250px;
        overflow: hidden;
    }
}
