/* General Styles and Reset */

html {
    scroll-behavior: smooth;
    
}
body {
    margin: 0;
    
    direction: rtl;
    /* For Persian language */
    text-align: right;
    /* For right-to-left alignment */
    overflow-x: hidden;
    overscroll-behavior: none;
}
img {
    
    aspect-ratio: 1/1; /* یا هر نسبت مناسب */
    object-fit:contain;
    display:block;
}

.app-container {
    max-width: 480px;
    /* Similar to main website's max-width */
    margin: 0 auto;
    min-height: 100vh;
    /* Minimum height */
    padding: 0 !important;
    
    /* Padding for content is handled in tab-content-wrapper */
}

/* Image Skeleton Loading Effect */
.image-wrapper {
    background-color: #e0e0e0;
    /* Background color for Skeleton */
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 5px;
    background-image: linear-gradient(to right, #e0e0e0 0%, #f5f5f5 20%, #e0e0e0 40%, #e0e0e0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite forwards;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Initial image is hidden */
    transition: opacity 0.3s ease-in-out;
    /* Fade-in animation for image */
}

.image-wrapper.loaded img {
    opacity: 1;
    /* Show image after loading */
}

/* Stop Skeleton animation when image is loaded */
.image-wrapper.loaded {
    animation: none;
    background-image: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Main Banner */
.main-banner {
    width: 100%;
    text-align: center;
    padding: 20px;
    color: var(--theme-text);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.main-banner h1 {
    margin-bottom: 5px;
    font-weight: 700;
}

.main-banner p {
    margin-top: 0;
    opacity: 0.8;
}

.main-banner img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
}

.main-banner>* {
    position: relative;
    z-index: 1;
}

/* Tabs Navigation */
.tabs-navigation2 {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tabs-header2 {
    display: flex;
    justify-content: center;
    
}

.tab-button2 {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-family: 'Dana', sans-serif;
    font-size: 16px;
    color: var(--theme-text-contrast, rgba(0, 0, 0, 0.6));
    transition: all 0.3s ease;
    position: relative;
    border-radius: 14px 14px 0px 0px;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

.tab-button2.active {
    font-weight: 500;
    background-color: var(--bs-dark-bg-subtle);
}

.tab-button2.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bs-body-color);
    transition: background-color 0.3s ease-in-out, width 0.3s ease-in-out;
}

.tab-content-wrapper2 {
    padding: 0px;
    display: block;
    flex-direction: row;
    border-top: 1px solid var(--bs-dark-border-subtle);
}

.tab-content {
    display: none;
    width: 100%;

}

.tab-content.active {
    display: block;
}

/* Product Categories */
.product-categories {
    
    background: var(--bs-light-bg-subtle);
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
}




.category-item-catalog  {
    text-align: center;
    padding: 17px;
    border-radius: 0px;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    background-color: var(--bs-dark-bg-subtle);
    justify-content: center;

}
.category-item-text {
    border-right: 1px solid var(--bs-body-color);
    padding: 0px 8px;
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-item-img {
    border: 1px solid;
    border-radius: 50%;
    padding: 3px;
}

.category-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0px;
}

.category-item-img-catalog {
    border: 1px solid;
    border-radius: 50%;
    padding: 3px;
}
.category-item-catalog .category-item-img-catalog img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0px;
}
.category-item h3 {
    font-size: 10px;
    margin: 0;
}

.category-item h5 {
    font-size: 8px;
    margin-top: 4px;
}

.category-item-catalog h6 {
    font-size: 10px;
    margin: 0;
}
/* Product Catalog */
.product-catalog {
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 10px;
    width: 100%;
}

.product-item {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.product-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-item .img-catalog {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    display: block;
}

.product-item .product-info {
    padding: 15px;
    text-align: right;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    position: relative;
}

.product-item .product-info h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.product-item .product-info p {
    font-size: 10px;
    line-height: 1.2;
}

.product-item .product-info .product-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--bs-primary);
    
    position: absolute;
    left: 54px;
    bottom: -8px;
}
.popup-price{
    font-size: 16px;
    font-weight: bold;
    color: var(--bs-primary);
    margin-top: 10px;
}
/* Product Popup */
.product-popup {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-popup.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.popup-content {
    background-color: var(--bs-body-bg);
    border-radius: 0px;
    max-width: 462px;
    width: 90%;
    max-height: 100%;
    overflow-y: auto;
    position: relative;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.close-button {
    position: relative;
    top: 0px;
    left: 10px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--bs-body-color);
    z-index: 10;
    border-radius: 50px;
    background-color: var(--bs-dark-bg-subtle);
    width: 34px;
    height: 34px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 19px;
}

/* Media Gallery Section - Main image container */
.popup-media-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-dark-bg-subtle);
    position: relative;
    width: 100%;
    height: 50%;
    max-height: fit-content;
    
}

/* Custom styles for Owl Carousel inside popup */
.product-gallery-owl {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-description-section {
    padding: 12px;
    margin-top: 0px;
    padding-bottom: 69px;
}

h3.popup-title {
    margin-top: 7px;
}

.popup-footer-actions {
    height: 66px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    flex-direction: row;
}

/* Styles for images within Owl Carousel */
.product-gallery-owl .item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0px;
}

/* Styles for Owl Carousel navigation buttons (arrows) and dots (pagination) */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 5;
}

.owl-nav button {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px !important;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    border: none !important;
}

.owl-nav button:hover {
    opacity: 1;
}

.owl-dots {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    z-index: 5;
}

.owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.6) !important;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: 5px;
}

.owl-dots .owl-dot.active span {
    background: var(--theme-primary-color, #0f62fe) !important;
}

.owl-dots .owl-dot {
    display: inline-block;
}



/* Contact Info and About Us */
.contact-info,
.about-us {
    padding: 20px;
    line-height: 1.8;
}

.contact-info h2,
.about-us h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-info p,
.about-us p {
    margin-bottom: 10px;
}

.social-media a {
    display: inline-block;
    margin-left: 15px;
    text-decoration: none;
    color: var(--theme-primary-color, #0f62fe);
    font-weight: 500;
}

/* Chat and Consult Button */
.chat-consult-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 900;
}

.chat-icon {
    background-color: var(--theme-primary-color, #0f62fe);
    color: var(--theme-light-color, white);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.chat-icon:hover {
    background-color: var(--theme-primary-dark-color, #0c56d1);
}

.chat-icon img {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    filter: invert(100%);
}

.chat-icon span {
    font-weight: 500;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .main-banner {
        padding: 0px;
    }

    .main-banner h1 {
        font-size: 24px;
        margin-top: 18px;
    }

    .main-banner p {
        font-size: 14px;
    }

    .tabs-header {
        flex-wrap: wrap;
        padding: 0 0px;

    }

    .tab-button {
        padding: 9px 28px;
        font-size: 17px;
        flex-grow: 0;
    }

    .product-catalog {
        grid-template-columns: 1fr;
    }

    .product-popup {
        padding: 0;
    }

    .popup-content {
        width: 100%;
        height: 100vh;
        padding: 0px;
        scrollbar-width: none;
    }

    .chat-consult-button {
        bottom: 15px;
        right: 15px;
    }

    /* Smaller height for popup media gallery on mobile */
    .popup-media-gallery {
        height: 50%;
        max-height: fit-content;
        background-color: var(--bs-dark-bg-subtle);
    }
}

.popup-brand-info {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    /* top: 0px; */
    z-index: 1000;
    background-color: var(--bs-body-bg);
    /* width: 30%; */
    /* margin-bottom: 31px; */
}

img.brand-avatar {
    border: 1px solid var(--bs-body-color);
    border-radius: 61px;
    width: 34px;
    height: 34px;
}

img.img-icon-brand {
    width: 77px;
    height: 77px;
    position: relative;
    margin-bottom: 19px;
    margin-top: -5.4rem;
    background-color: aliceblue;
    border-radius: 100%;
    padding: 4px;
    z-index: 1;
}

.dropdown-toggle::after {
    display: none !important;
}

img.imgd {
    width: 15px;
}

.fade-in-image {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in-image.is-visible {
    opacity: 1;
}

.top-img {
    clip-path: polygon(0% 0%, 0% 100%, 100% 72%, 100% 0%);
}

.img-org {
    width: 125px;
    border-radius: 0px 0px 5px 0px;
}

.vert-line {
    border-left: 1px solid var(--bs-gray);
    height: 64px;
    width: 1px;
    padding: 0;
    margin: 15px;
}

.product-external-link {
    background-color: var(--bs-border-color);
    border-radius: 50px;
    padding: 4px 9px;
    text-decoration: none;
    color: var(--bs-body-color);
    font-size: 13px;
}

/* Owl Carousel Navigation Button Specifics */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex !important;
    /* Overriding previous display: block */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    border: 1px solid #ccc !important;
    /* Ensure border is applied */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 0 !important;
    /* Reset padding */
    font: inherit;
    /* Inherit font properties */
    color: inherit;
    /* Inherit color properties */
}

.owl-carousel .owl-nav button:hover {
    background: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* RTL positioning for prev/next arrows */
.owl-carousel .owl-nav button.owl-prev {
    right: 10px;
    left: auto;
}

.owl-carousel .owl-nav button.owl-next {
    left: 10px;
    right: auto;
}

/* Styles for SVG within buttons */
.owl-carousel .owl-nav button svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    display: block;
}

/* Hide default Owl Carousel button text */
.owl-carousel .owl-nav button span {
    display: none;
}

.owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    display: flex;
}

.owl-stage .owl-item.active .category-item.is-highlighted .category-item-img{
    border: 1px solid aquamarine;
}
.category-catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
}

img, svg {
    vertical-align: middle;
    fill: var(--bs-body-color);
}

.menu-cat-button {
    position: fixed;
    bottom: 67px;
    right: 19px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: flex;
    fill: #e0e0e0;
    border-radius: 74px;
    justify-content: center;
    align-items: center;
}

.menu-cat-button svg {
    fill: inherit;
}

img.offcanvas-img {
    width: 100%;
    z-index: 0;
    margin: 0;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    height: 25%;
    overflow: hidden;
}

div#offcanvasBottom {
    overflow: scroll;
    height: 82%;
    width: 95%;
    right: 3%;
    left: 0;
    border-radius: 16px 16px 0 0;
    scroll-width: none;
    scrollbar-width: none;
    max-width: 335px;
}

.offcanvas-header .btn-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background-color: aliceblue;
    border-radius: 50px;
    width: 0px;
    height: 0px;
    margin: 0;
    padding: 15px;
}
.offcanvas-title {
    margin-bottom: 0;
    line-height: var(--bs-offcanvas-title-line-height);
    position: relative;
    top: -37%;
    color: aliceblue;
}

.offcanvas-body.small {
    padding: 4px;
}

.product-categories-menu {
    display: flex
;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
}
.category-item-menu {
    text-align: center;
    padding: 4px;
    border-radius: 0px;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: fit-content;
}
.category-item-menu .category-item-img img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0px;
}
.category-item-menu h3 {
    font-size: 10px;
    margin: 0;
}

/* Product Categories Grid Styles */
.product-categories-grid-container {
    width: 100%;
    max-width: 1200px; /* یا هر عرض دلخواه */
    margin: 0 auto;
    padding: 20px 0;
}

.product-categories-grid {
    display: flex;
   
    gap: 20px;
    justify-content: center;
    align-items: start;
    padding-bottom: 20px;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0px 16px 0px 16px;
}

.category-item {
    background-color:var(--bs-border-color);;
    
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 29%;
   

}

.category-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.category-item-img {
    width: 100%;
    height: 120px; /* ارتفاع ثابت برای تصاویر */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.category-item-img img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain; /* تصویر را بدون بریدن و با حفظ نسبت ابعاد در کادر نگه می دارد */
    border-radius: 4px;
}

.category-item-text h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    white-space: nowrap; /* از شکستن خط جلوگیری می کند */
    overflow: hidden; /* اگر متن طولانی بود، پنهان می کند */
    text-overflow: ellipsis; /* سه نقطه در انتهای متن طولانی */
}

/* Back Button Styles */
.back-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-categories-grid {
        
    }
}

@media (max-width: 480px) {
    .product-categories-grid {
        
    }
    .category-item-img {
        height: 100px;
    }
    .category-item-text h3 {
        font-size: 1em;
    }
    .back-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}
.spinner {
    display: flex
;
    justify-content: center;
}

/* style.css (یا فایل CSS سفارشی شما) */

/* Floating Cart Button */
.floating-cart-button {
    position: fixed; /* Makes it stay in place even when scrolling */
    bottom: 30px; /* Distance from bottom */
    right: 30px;  /* Distance from right */
    background-color: #007bff; /* Primary brand color */
    color: white;
    border-radius: 50%; /* Make it round */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it's above other content */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.floating-cart-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px); /* Slight lift effect */
}
.floating-cart-button a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    /* padding: 29px; */
    margin-top: 7px;
}

.floating-cart-button .fas.fa-shopping-cart {
    font-size: 24px;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545; /* Red for emphasis */
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 20px; /* Ensure it's always round */
    text-align: center;
}

/* Cart Sidebar (hidden by default) */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Start off-screen to the right */
    width: 296px; /* Width of the sidebar */
    height: 100%;
    background-color:var(--bs-body-bg);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001; /* Above floating button and overlay */
    transition: right 0.2s ease-in-out ; /* Smooth slide-in/out */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack header, body, footer vertically */
}

.cart-sidebar.open {
    right: 0; /* Slide into view */
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--bs-border-color);
    background-color:var(--bs-dark-bg-subtle); /* Light background for header */
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--bs-body-color);
}

.cart-sidebar .close-btn {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.cart-sidebar .close-btn:hover {
    color: #000;
}

.cart-sidebar-body {
    flex-grow: 1; /* Allows body to take up available space */
    overflow-y: auto; /* Enable scrolling for long lists */
    padding: 20px;
}

.cart-sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--bs-border-color);
    background-color:var(--bs-body-bg);
    text-align: right;
}

.cart-sidebar-footer p {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Cart Overlay (hidden by default) */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1000; /* Below sidebar, above page content */
    display: none; /* Hidden by default */
    cursor: pointer; /* Indicates it can be clicked to close */
    opacity:1;
    transition: display 0.6s ease-in-out;
    
}

.cart-overlay.active {
   
  display: block;
}

/* Ensure body doesn't scroll when sidebar is open */
body.cart-sidebar-open {
    overflow: hidden;
}

/* Styling for cart items list (inside #cart-items-list) */
#cart-items-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cart-items-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    justify-content: space-between;
}

#cart-items-list li:last-child {
    border-bottom: none;
}

#cart-items-list li .item-details {
    flex-grow: 1;
    margin-right: 10px;
}

#cart-items-list li .item-details strong {
    display: block;
    font-size: 1.1em;
}

#cart-items-list li .item-details span {
    font-size: 0.9em;
    color: #666;
}

#cart-items-list li .item-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent controls from shrinking */
}

#cart-items-list li .item-controls input.cart-quantity-input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#cart-items-list p {
    margin-top: 10px;
    font-style: italic;
    color: #888;
}

.add-to-cart-btn {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--bs-dark-border-subtle);
    border-radius: 0px 12px 0px 12px;
}
.add-to-cart-btn-pop {
  
    
}

.btn:focus,
.btn:active,
.btn.active,
.btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}


a#checkout-button {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 4px;
    font-size: 16px;
    gap: 7px;
    align-content: stretch;
}
i.bi.bi-chevron-left {
    font-size: 11px;
    margin-top: 6px;
}

.empty-cart-container {
    min-height: 60vh;
}
.empty-cart-img {
    transition: transform 0.3s;
}
.empty-cart-img:hover {
    transform: scale(1.08) rotate(-4deg);
}
.empty-cart-text {
    color: var(--bs-secondary);
}

body.dark-mode .empty-cart-text {
    color: #ededed !important;
}
.logoimg{
    aspect-ratio: 16 / 0;
        width: 120px;
}






.manual-register-form {

  display: flex;

  width: 350px;

  flex-direction: column;

  color: var(--text);

  border-radius: 5px;

  border: solid 1px var(--bg2);

}

.manual-register-form .title {

  text-align: center;

  border-bottom: solid 1px var(--bg2);

  padding: 30px;

}

.manual-register-form .title h2 {

  font-size: 18px;

  margin: 0;

  color: #ffffff;

}

.manual-register-form .logo {

  position: absolute;

  top: -50px;

  left: 50%;

  color: #ffffff;

  font-weight: bold;

  transform: translate(-50%, -50%);



}



.manual-register-form .logo img {

  width: 100px;

  height: 100px;

}



.manual-register-form .logo span {

  font-size: 16px;

  vertical-align: middle;

}



.register-input {

  display: inline-block;

  font-size: 13px;

  font-weight: 300;

  color: var(--text);

  background: aliceblue;

  border: none;

  height: 45px;

  width: 100%;

  line-height: 45px;

  padding: 0 5px;

  border-radius: 4px;

  text-indent: 10px;

  margin: 0;

  outline: none;

  text-align: right;

  font-family: VazirVodda;

}



.register-input:focus {

  background: #ffffff;

}



.rcp_login_data #rcp_user_login {

  display: inline-block;

  font-size: 13px;

  font-weight: 300;

  color: var(--text);

  background: var(--bg2);

  border: none;

  height: 45px;

  width: 96%;

  line-height: 45px;

  padding: 0 5px;

  border-radius: 4px;

  text-indent: 10px;

  margin: 0 10px;

  text-align: right;

}



.rcp_login_data #rcp_user_pass {

  display: inline-block;

  font-size: 13px;

  font-weight: 300;

  color: #0c0c0c;

  background: #ffffff;

  border: none;

  height: 45px;

  width: 96%;

  line-height: 45px;

  padding: 0 5px;

  border-radius: 4px;

  text-indent: 10px;

  margin: 0 10px;

  text-align: right;

  transition: all 0.3s ease;

}



.rcp_login_data #rcp_user_pass:focus-visible {

  outline: solid 1px #383840 !important;

  background: #ffffff;

}



.rcp_login_data #rcp_user_login:focus-visible {

  outline: solid 1px #383840 !important;



}



.rcp_login_data #rcp_user_pass:active {

  outline: solid 1px #383840 !important;

}



.rcp_login_data #rcp_user_login:active {

  outline: solid 1px #383840 !important;

}

.register-input::placeholder {

  color: #0e0e0e;

}

.ajax_form .register-input {

  width: 100%;

  display: flex;

  margin: 0;

  margin-bottom: 10px;

  transition: all 0.2s;

}



.submit-reg {

  background: #10d876;

  color: var(--text);

  border: solid 1px #0dbd67 !important;

  font-size: 15px;

  font-weight: bold;

  padding: 10px 20px;

  border: 0;

  border-radius: 4px;

  width: 100%;

  margin: 10px 0;

  transition: all 0.3s;

  font-family: VazirVodda;

}



.rcp_login_data {

  padding: 25px;

}





.otp-form .otp-field {

  font-size: 1rem;

  line-height: 2.3rem;

  text-align: center;

  border: solid 2px #525252;

  outline: none;

  background: none;

  width: 100%;

  height: auto;

  color: #ffffff;

  border-radius: 5px;

  transition: all .3s;

  margin: 2px;

}

.otp-form .otp-field:hover {

  border-color: #0dbd67;

  ;

}



.otp-form .otp-field:focus {

  border-color: #0dbd67;



}

.ltr {

  direction: ltr !important;

  text-align: left !important;

}

#mobile_auth_2 {



  flex-direction: column;

  align-items: center;

  justify-content: space-evenly;

  flex-wrap: wrap;

}

.otp-form-in {

  display: flex;

  flex-wrap: nowrap;

  flex-direction: row;

  justify-content: space-between;

}



.submit_auth_2 {

  background: #10d876;

  color: var(--text);

  border: solid 1px #0dbd67 !important;

  font-size: 15px;

  font-weight: bold;

  padding: 10px 20px;

  border: 0;

  border-radius: 4px;

  width: calc(47% - 14px);

  margin: 10px;

  transition: all 0.3s;

  font-family: VazirVodda;

}

.submit_auth_2:disabled {

  opacity: .6;

  cursor: wait;

  font-family: VazirVodda;

}
