/********** 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;
    bottom: 20px;
    right: 20px;
    animation: moveUpDown 2s infinite;
}

@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
img.animated.pulse {
    animation-duration: 5s;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 85px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 45px;
    padding: 0;
    color: var(--bs-dark);
    font-weight: 500;
    transition: .5s;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--bs-primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 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;
    }
}


/*** Hero Header ***/
.hero-header {
    position: relative;
    margin-top: -85px;
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: black;
    /* background: url(../img/bg.png) center center no-repeat; */
    background-size: cover;
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-light);
}


/*** Feature ***/
.feature-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.feature-item .border {
    position: relative;
    border-color: rgba(255, 255, 255, .2) !important;
    z-index: 1;
}


.deal {
    position: relative;
    background: black; /* Set background color to black */
    background-size: cover;
}

.deal::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1); /* Semi-transparent black overlay */
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%); /* Clip path shape */
    pointer-events: none; /* Ensure the overlay does not block pointer events */
}

.deal .bg-white {
    position: relative;
    z-index: 1; /* Ensure content inside .bg-white appears above the overlay */
}

.deal .cdt span {
    display: block;
    font-size: 16px;
    font-style: italic;
    font-weight: 200;
    text-transform: capitalize;
}


/*** How To Use ***/
.how-to-use {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.how-to-use::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.how-to-use .container {
    position: relative;
    z-index: 1;
}

.how-to-use .border {
    border-color: rgba(255, 255, 255, .2) !important;
}


/*** Product ***/
.product-item {
    transition: .1s;
}

.product-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
}

.product-item:hover a.btn {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.testimonial::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.testimonial .testimonial-carousel {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
    border-color: rgba(0, 0, 0) !important;
    margin: 0 auto 20px auto;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 3px solid rgba(0, 0, 0);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--bs-dark);
}


/*** Blog ***/
.blog-item {
    transition: .1s;
}

.blog-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
}

.blog-item:hover a.btn {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Contact ***/
.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh; /* Adjust as needed */
}

.contact-form-container form {
    width: 100%;
    max-width: 500px; /* Maximum width for larger screens */
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Mobile view adjustments */
@media (max-width: 600px) {
    .contact-form-container form {
        width: 100%; /* Full width for smaller screens */
    }
}


/*** Newsletter ***/
.newsletter {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.newsletter::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter .form-custom {
    background: rgba(255, 255, 255, .3);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--bs-body);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 3px solid var(--bs-light);
}

.footer .copyright a {
    color: var(--bs-body);
}

.footer .copyright a:hover {
    color: var(--bs-primary);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 3px solid var(--bs-light);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}




.btn-custom {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
    background-color: black !important;
    color: white !important;
    border: 1px solid white !important;
    box-shadow: none !important;
}


/*** Get Started custom btn ***/
.bg-black {
    background-color: black;
}
.text-uppercase {
    text-transform: uppercase;
}
.p-4 {
    padding: 1rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.fw-bold {
    font-weight: 700 !important;
}
.display-4 {
    font-size: 2.5rem !important;
}
.display-6 {
    font-size: 1.25rem !important;
}
.border {
    border: 1px solid white;
}
  
  .form-custom2 {
    width: 100%; /* Adjust width as needed */
    padding: 10px; /* Adjust padding as needed */
    border: 2px solid #000000; /* Default border color */
    border-radius: 5px; /* Optional: for rounded corners */
    transition: border-color 0.3s; /* Smooth transition for border color */
  }
  
  .form-custom2:focus {
    border-color: #ffffff; /* Change border color to black or darker on focus */
    outline: none; /* Remove default outline */
  }
  
/* Adjust shopping cart icon and badge */
.navbar .fa-shopping-cart {
    color: #ffffff; /* Change color as needed */
    font-size: 1.5rem; /* Adjust icon size */
    position: relative; /* Ensure relative positioning for absolute child */
}

.navbar .badge {
    font-size: 0.75em;
    position: absolute;
    top: -8px; /* Adjust top position */
    right: -10px; /* Adjust right position */
    background-color: #dc3545; /* Badge background color */
    color: #ffffff; /* Badge text color */
    padding: 5px 8px; /* Padding for badge */
    border-radius: 50%; /* Rounded badge */
}

/* Ensure cart link is not affected by collapse */
.cart-container {
    position: absolute;
    right: 0;
    top: 25px;
    display: flex;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar .nav-link.ms-3 {
        margin-right: 0; /* Reset right margin for smaller screens */
    }
    .navbar .badge {
        top: -6px; /* Adjust badge top position for smaller screens */
        right: -8px; /* Adjust badge right position for smaller screens */
    }
}

@media (max-width: 767.98px) {
    .navbar .badge {
        font-size: 0.6em; /* Reduce badge font size for smaller screens */
        padding: 4px 6px; /* Adjust padding for smaller screens */
    }
    .navbar .navbar-toggler {
        margin-right: auto; /* Ensure the toggler is on the left on small screens */
    }
}

.navbar .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .navbar-collapse {
    flex-grow: 1;
}

.navbar .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar .nav-link.ms-3 {
    position: relative;
}


/* Base styles for custom table */
.table-custom {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table-custom th, .table-custom td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table-custom thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table-custom tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.table-custom img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .table-custom thead {
        display: none;
    }

    .table-custom, .table-custom tbody, .table-custom tr, .table-custom td {
        display: block;
        width: 100%;
    }

    .table-custom tr {
        margin-bottom: 0.625rem;
        border-bottom: 2px solid #dee2e6;
    }

    .table-custom td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .table-custom td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 0.75rem;
        font-weight: bold;
        text-align: left;
    }

    .table-custom td:last-child {
        border-bottom: 0;
    }
}

.animated-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    animation: moveUpDown 2s infinite;
}

@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .navbar-collapse {
        position: fixed;
        left: 0;
        top: 0;
        width: 200px;
        height: 100%;
        background-color: #000000;
        overflow-y: auto;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
        padding-top: 60px; /* Add some padding to avoid logo overlapping with content */
        z-index: 1040; /* Ensure it's above other elements */
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-toggler {
        position: absolute;
        top: 10px;
        left: 00px;
        z-index: 1050; /* Ensure it's above the navbar */
    }

    .navbar-brand {
        position: absolute;
        top: 10px;
        left: 50px; /* Adjust to avoid overlap with the toggle button */
    }

    .navbar-collapse .navbar-nav {
        margin-top: 60px; /* Adjust for the height of the logo */
    }
}

.price-display-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
}

.price-display {
    display: flex;
    align-items: center;
}

.original-price {
    text-decoration: line-through;
    color: #ffffff; /* Gray color for the original price */
    margin-right: 10px; /* Space between original and discounted price */
    font-size: 1.5rem; /* Adjust font size as needed */
}

.discounted-price {
    color: #ff0000; /* Red color for the discounted price */
    font-size: 2rem; /* Larger font size for emphasis */
    font-weight: bold;
}


/* Style for the cart icon */
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000; /* Customize as needed */
    color: #fff;
    text-align: center;
    font-size: 24px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cart-icon .fa-shopping-cart {
    font-size: 24px; /* Adjust icon size */
}

.cart-icon .badge {
    font-size: 12px; /* Adjust badge font size */
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    background-color: #dc3545; /* Customize badge color */
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .cart-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .cart-icon .badge {
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
    }
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: #333; /* Background color */
    color: #ffffff; /* Text color */
    min-width: 150px; /* Adjust width */
}

/* Dropdown item styling */
.dropdown-item {
    color: #ffffff; /* Text color for menu items */
    font-size: 14px; /* Smaller text size */
}

/* Dropdown item hover effect */
.dropdown-item:hover {
    background-color: #444; /* Hover background color */
}

/* Navbar adjustment */
.navbar-nav .nav-link {
    margin-right: 15px; /* Space between navbar items */
}

@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%; /* Full width on small screens */
    }
}

 /* Custom CSS to adjust column widths in admin table for manage orders start */
 .table td, .table th {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
}
.table .col-id { width: 10%; }
.table .col-customer { width: 20%; }
.table .col-email { width: 25%; }
.table .col-total { width: 15%; }
.table .col-status { width: 10%; }
.table .col-created { width: 15%; }
.table .col-notes { width: 25%; }
.table .col-select-status { width: 15%; }
.table .col-action { width: 10%; }

/* Custom CSS for expanding the select box */
.form-select {
    width: 50%; /* Ensure select box takes full width of its cell */
    min-width: 130px; /* Set minimum width to make it wider */
}

 /* Admin table for manage orders ends */


/* Logo image start */
 .logo-img {
    max-width: 80px; /* Default size */
    height: auto; /* Maintain aspect ratio */
}
@media (max-width: 1200px) {
    .logo-img {
        max-width: 80px; /* Adjust for medium screens */
    }
}
@media (max-width: 768px) {
    .logo-img {
        max-width: 60px; /* Adjust for smaller screens */
    }
}
/* Logo image end */