/* Custom CSS for Jhulo LLC - Poppins Font and Slider Enhancements */

/* Minipopup Notification Styles */
.minipopup-area {
    position: fixed;
    right: 20px;
    bottom: 20px;
    font-size: 1.1em;
    text-align: center;
    z-index: 20002;
}

.minipopup-box {
    position: absolute;
    right: -100px;
    text-align: left;
    margin: auto auto 20px;
    padding: 20px;
    line-height: 1.4;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
    word-break: break-word;
    transform: translateY(-100%);
    width: 300px;
    z-index: 1000;
    background: #fff;
    opacity: 0;
    transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.minipopup-box.active {
    right: 0;
    opacity: 1;
}

.minipopup-box .product {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.minipopup-box figure {
    max-width: 60px;
    margin-right: 10px;
    margin-bottom: 0;
}

.minipopup-box .product-detail {
    font-family: Poppins, sans-serif;
    font-weight: 500;
}

.minipopup-box .product-detail .product-name {
    color: #222529;
    font-size: 12px;
    font-weight: 700;
}

.minipopup-box .product-detail .product-name:hover {
    color: #08C;
}

.minipopup-box .product-detail p {
    font-size: 12px;
    letter-spacing: -0.025em;
    margin-bottom: 0;
}

.minipopup-box .product-action .btn {
    min-width: 120px;
    letter-spacing: 0.025em;
    font-size: 11.2px;
    padding: 11.2px 22.4px;
}

.minipopup-box .product-action .btn.viewcart {
    background-color: #efefef;
    color: #000;
}

.minipopup-box .product-action .btn.checkout {
    float: right;
}

.minipopup-box .mfp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.minipopup-box .mfp-close:hover {
    color: #333;
    background-color: #f5f5f5;
}

/* Cart dropdown remove button */
.cart-dropdown .btn-remove , .cart-table-container .btn-remove{
    position: absolute;
    top: -11px;
    right: -9px;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: inherit;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
    line-height: 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.cart-dropdown .btn-remove span, .cart-table-container .btn-remove span{
    display: block;
    margin-top: 1px;
    
}

.cart-table-container .btn-remove span{
    color: #fff;
    
}

.cart-dropdown .btn-remove:hover, .cart-table-container .btn-remove:hover,
.cart-dropdown .btn-remove:focus {
    color: #08C;
    text-decoration: none;
    transform: scale(1.1);
}

/* Image Viewer Modal Styles */
#gallery-viewer-modal .modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
}

#gallery-viewer-modal .modal-content {
    background: #000;
    border: none;
    border-radius: 0;
}

#gallery-viewer-modal .modal-header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #333;
    color: #fff;
}

#gallery-viewer-modal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

#gallery-viewer-modal .modal-header .close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#gallery-viewer-modal .modal-header .close span {
    display: block;
    margin-top: 1px;
}

/* General close button styling to match cart dropdown */
.product-page .close,
.product-detail .close,
.modal .close {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    color: #333;
    text-decoration: none;
}

.product-page .close:hover,
.product-detail .close:hover,
.modal .close:hover {
    color: #08C;
    transform: scale(1.1);
    text-decoration: none;
}

.product-page .close span,
.product-detail .close span,
.modal .close span {
    display: block;
    margin-top: 1px;
}

#gallery-viewer-modal .carousel-item img {
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
}

#gallery-viewer-modal .carousel-control-prev,
#gallery-viewer-modal .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.5);
}

#gallery-viewer-modal .carousel-control-prev:hover,
#gallery-viewer-modal .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Product gallery clickable cursor */
.product-single-image {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.product-single-image:hover {
    opacity: 0.8;
}

/* Full screen button styling */
#open-gallery-viewer {
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#open-gallery-viewer:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: scale(1.1);
}

/* Responsive styles for product gallery */
@media (max-width: 768px) {
    .product-single-gallery .prod-thumbnail {
        gap: 8px;
        justify-content: center;
    }
    
    .product-single-gallery .prod-thumbnail .owl-dot {
        width: 70px;
        height: 70px;
    }
    
    .product-single-gallery .product-item {
        height: 300px;
    }
    
    .product-single-gallery .product-single-image {
        height: 300px;
    }
}

@media (max-width: 479px) {
    .minipopup-area {
        right: 10px;
    }
    
    .product-single-gallery .prod-thumbnail {
        gap: 6px;
    }
    
    .product-single-gallery .prod-thumbnail .owl-dot {
        width: 60px;
        height: 60px;
    }
    
    .product-single-gallery .product-item {
        height: 250px;
    }
    
    .product-single-gallery .product-single-image {
        height: 250px;
    }
}

@media (max-width: 479px) {
    .minipopup-box {
        width: 290px;
    }
}

/* Global Poppins Font Application */
body {
    font-family: 'Poppins', sans-serif !important;
}

/* Apply Poppins to all text elements */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, textarea, select,
label, li, td, th {
    font-family: 'Poppins', sans-serif !important;
    color: #333 ;
}

/* Ensure form elements use Poppins */
.form-control,
.btn,
.nav-link,
.dropdown-item {
    font-family: 'Poppins', sans-serif !important;
    color: #333 ;
}

/* Override demo41 font classes to use Poppins */
.font1, .font2, .font3, .font4 {
    font-family: 'Poppins', sans-serif !important;
    color: #333 ;
}

.btn-dark{
    color: #fff;
}

/* Ensure all components use Poppins */
.page-wrapper,
.main,
.header,
.footer,
.sidebar,
.modal,
.popup {
    font-family: 'Poppins', sans-serif !important;
}


.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

/* Slider Autoplay and Dots Enhancement */
.intro-slider .owl-carousel {
    /* Enable autoplay */
    animation: none;
}

/* Ensure dots are visible and styled */
.intro-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.owl-dot.active,
.owl-dot:hover {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* Additional Poppins font weights for better typography */
.font-light {
    font-weight: 300 !important;
}

.font-regular {
    font-weight: 400 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-extrabold {
    font-weight: 800 !important;
}

/* Product Listing Improvements */
.product-default .product-title {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
    color: #333 !important;
    max-height: 2.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-default .product-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.product-default .product-title a:hover {
    color: #183f72 !important;
}

/* Product list view improvements */
.product-list .product-title {
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.8rem !important;
    color: #333 !important;
}

/* Product widget improvements (sidebar) */
.product-widget .product-title {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.4rem !important;
    color: #333 !important;
}

/* Product spacing improvements */
.product-default {
    margin-bottom: 2rem !important;
    padding: 1rem !important;
    transition: all 0.3s ease !important;
}

.product-default .product-body {
    padding: 1rem 0.5rem !important;
}

.product-default .product-cat {
    margin-bottom: 0.5rem !important;
    font-size: 1.1rem !important;
}

.product-default .product-cat a {
    color: #666 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.product-default .product-price {
    margin-bottom: 0.8rem !important;
    font-weight: 600 !important;
}

.product-default .ratings-container {
    margin-bottom: 0.5rem !important;
}

/* Product grid layout improvements */
.products-grid {
    margin-bottom: 3rem !important;
}

.products-grid .row {
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
}

.products-grid .col-6,
.products-grid .col-md-4,
.products-grid .col-lg-4,
.products-grid .col-xl-3 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Product card improvements */
.product-default {
    border-radius: 8px !important;
    border: 1px solid #f0f0f0 !important;
    background: #fff !important;
    overflow: hidden !important;
}

.product-default:hover {
    border-color: #183f72 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-default figure {
    margin-bottom: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-default figure img {
    transition: transform 0.3s ease !important;
}

.product-default:hover figure img {
    transform: scale(1.05) !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-default .product-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    .product-list .product-title {
        font-size: 1.3rem !important;
    }
    
    .products-grid .col-6 {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

@media (max-width: 575px) {
    .product-default .product-title {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }
    
    .product-default {
        margin-bottom: 1.5rem !important;
        padding: 0.8rem !important;
    }
    
    .products-grid .row {
        margin-left: -0.25rem !important;
        margin-right: -0.25rem !important;
    }
}

/* Product Filtering and Layout Styles */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-inputs input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.price-inputs span {
    color: #666;
    font-weight: 500;
}

.price-inputs .form-control{
    height: auto;
    margin: 0px;
}

.price-inputs .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #fff;
}

#price-slider {
    margin-top: 1rem;
}

/* Product List View Styles */
.product-list-view {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-list-view:hover {
    border-color: #183f72;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-list-view .product-media {
    margin-bottom: 0;
    text-align: center;
}

.product-list-view .product-media img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-list-view:hover .product-media img {
    transform: scale(1.05);
}

.product-list-view .product-details {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-list-view .product-title {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: #333 !important;
    line-height: 1.3 !important;
}

.product-list-view .product-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.product-list-view .product-title a:hover {
    color: #183f72 !important;
}

.product-list-view .category-list {
    margin-bottom: 0.8rem;
}

.product-list-view .category-list a {
    color: #666;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-list-view .category-list a:hover {
    color: #183f72;
}

.product-list-view .ratings-container {
    margin-bottom: 1rem;
}

.product-list-view .product-ratings {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.product-list-view .ratings {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffc107;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.product-list-view .ratings-text {
    margin-left: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.product-list-view .price-box {
    margin-bottom: 1.5rem;
}

.product-list-view .product-price {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #183f72 !important;
}

.product-list-view .old-price {
    font-size: 1.2rem !important;
    color: #999 !important;
    text-decoration: line-through !important;
    margin-right: 0.5rem;
}

.product-list-view .product-action {
    margin-top: auto;
}

a.btn-product.btn-cart span {
    color: #fff;
}

.product-list-view .btn-product {
    background: #183f72;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.product-list-view .btn-product a{
    color: #fff !important;
}


.product-list-view .btn-product:hover {
    background: #0d2b4a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 63, 114, 0.3);
    color: #fff !important;
    text-decoration: none;
}

/* Filter Styles */
.filter-item {
    margin-bottom: 0.8rem;
}

.category-count {
    color: #999;
    font-size: 0.9rem;
}

/* Loading Styles */
.products-loading {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.products-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #183f72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Layout Toggle Styles */
.layout-modes .layout-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 26px;
    text-align: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-left: 0.5rem;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #fff;
}

.layout-modes .layout-btn:hover,
.layout-modes .layout-btn.active {
    background: #183f72;
    border-color: #183f72;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 63, 114, 0.2);
}

.layout-modes .layout-btn i {
    font-size: 1.2rem;
}

/* Product Label Styles for List View */
.product-list-view .product-label-group {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-list-view .product-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-list-view .label-sale {
    background: #e74c3c;
}

/* Ensure proper spacing in list view */
.products-list .row {
    margin-left: 0;
    margin-right: 0;
}

.products-list .product-item {
    padding-left: 0;
    padding-right: 0;
}

/* Product Item Visibility */
.product-item {
    transition: all 0.3s ease;
}

.product-item.hidden {
    display: none !important;
}

.product-item.visible {
    display: block !important;
}

/* Loading State */
.products-loading {
    text-align: center;
    padding: 2rem;
}

.products-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #183f72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* List View Layout Adjustments */
.products-list .product-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 2rem !important;
}

.products-list .product-grid-view {
    display: none !important;
}

.products-list .product-list-view {
    display: block !important;
}

.products-list .product-list-view .row {
    align-items: center;
}

.products-list .product-list-view .col-md-3 {
    flex: 0 0 200px;
    max-width: 200px;
}

.products-list .product-list-view .col-md-9 {
    flex: 1;
    max-width: calc(100% - 200px);
}

/* Grid View Layout Adjustments */
.products-grid .product-list-view {
    display: none !important;
}

.products-grid .product-grid-view {
    display: block !important;
}

/* Responsive adjustments for list view */
@media (max-width: 767px) {
    .product-list-view .row {
        flex-direction: column;
    }
    
    .product-list-view .col-md-3,
    .product-list-view .col-md-9 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .product-list-view .product-media {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .products-list .product-list-view .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .products-list .product-list-view .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Active Page Navigation Styles */
.header-menu ul li a.active,
.shop-menu li a.active,
.footer .widget ul li a.active {
    color: #183f72 !important;
    font-weight: 600 !important;
    position: relative;
}

.header-menu ul li a.active::after,
.shop-menu li a.active::after,
.footer .widget ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #183f72;
    border-radius: 1px;
}

/* Enhanced Hover Effects for Navigation */
.header-menu ul li a,
.shop-menu li a,
.footer .widget ul li a {
    transition: all 0.3s ease !important;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
}

.header-menu ul li a:hover,
.shop-menu li a:hover,
.footer .widget ul li a:hover {
    color: #183f72 !important;
    background: rgba(24, 63, 114, 0.1);
    transform: translateY(-1px);
}

.header-menu ul li a:hover::after,
.shop-menu li a:hover::after,
.footer .widget ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #183f72;
    border-radius: 1px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

/* Product Detail Page Styles - Demo41 Layout */
.product-single-container {
    margin-bottom: 3rem;
}

.product-single-gallery {
    padding-right: 2rem;
}

.product-single-gallery .product-slider-container {
    margin-bottom: 1rem;
}

.product-single-gallery .product-single-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
    background: #fff;
}

.product-single-gallery .prod-thumbnail {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.product-single-gallery .prod-thumbnail .owl-dot {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.product-single-gallery .prod-thumbnail .owl-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-single-gallery .prod-thumbnail .owl-dot.active,
.product-single-gallery .prod-thumbnail .owl-dot:hover {
    border-color: #183f72;
    transform: scale(1.05);
}

/* Ensure proper alignment of the main slider container */
.product-single-gallery .product-slider-container {
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-single-gallery .product-single-carousel {
    position: relative;
}

.product-single-gallery .product-item {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.product-single-gallery .product-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-single-details {
    padding-left: 2rem;
}

/* Product description content styling */
.product-description-content {
    line-height: 1.6;
    color: #666;
}

.product-description-content p {
    margin-bottom: 1rem;
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4,
.product-description-content h5,
.product-description-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description-content ul,
.product-description-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.product-description-content li {
    margin-bottom: 0.5rem;
}

.product-description-content strong,
.product-description-content b {
    font-weight: 600;
    color: #333;
}

.product-description-content em,
.product-description-content i {
    font-style: italic;
}

.product-description-content a {
    color: #183f72;
    text-decoration: none;
}

.product-description-content a:hover {
    text-decoration: underline;
}

.product-single-details .product-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-single-details .price-box .product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #183f72;
    margin-bottom: 1.5rem;
}

.product-single-details .product-desc {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #666;
}

.product-single-details .single-info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-single-details .single-info-list li {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    color: #666;
}

.product-single-details .single-info-list strong {
    color: #333;
    font-weight: 600;
}

.product-single-details .product-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-single-details .product-single-qty {
    width: 120px;
}

.product-single-details .product-single-qty .form-control {
    text-align: center;
    font-weight: 600;
    border: 2px solid #e7e7e7;
    border-radius: 6px;
    padding: 0.8rem;
}

.product-single-details .add-cart {
    background: #183f72;
    border: none;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.product-single-details .add-cart:hover {
    background: #0d2b4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 63, 114, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Related Products Section */
.products-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e7e7e7;
}

.products-section .section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

/* Cart Count Animation */
.cart-count {
    transition: all 0.3s ease;
}

.cart-count.updated {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Add to Cart Success Message */
.cart-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: none;
}

.cart-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for product detail */
@media (max-width: 991px) {
    .product-single-gallery {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .product-single-details {
        padding-left: 0;
    }
    
    .product-single-details .product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .product-single-details .product-action {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-single-details .product-single-qty {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .product-single-details .add-cart {
        text-align: center;
    }
}

/* Cart Page Styles - Demo Design */
.checkout-progress-bar {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-progress-bar li {
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkout-progress-bar li.active {
    background: #183f72;
    color: #fff;
}

.checkout-progress-bar li.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.checkout-progress-bar li a {
    color: inherit;
    text-decoration: none;
}

.cart-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-cart {
    margin-bottom: 0;
}

.table-cart thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #333;
    padding: 1rem;
}

.table-cart tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.table-cart .product-image-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.table-cart .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.table-cart .btn-remove , .cart-table-container .btn-remove{
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-cart .btn-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

.table-cart .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.table-cart .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-cart .product-title a:hover {
    color: #183f72;
}

.table-cart .product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #183f72;
}

.table-cart .cart-qty {
    width: 80px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    padding: 0.5rem;
    font-weight: 600;
}

.table-cart .cart-qty:focus {
    border-color: #183f72;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(24, 63, 114, 0.25);
}

.table-cart .subtotal-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.cart-summary h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.table-totals {
    margin-bottom: 1.5rem;
}

.table-totals td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.table-totals tfoot td {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #e9ecef;
    border-bottom: none;
}

.cart-discount {
    margin-bottom: 1rem;
}

.cart-discount .input-group {
    display: flex;
}

.cart-discount .form-control {
    border-radius: 4px 0 0 4px;
}

.cart-discount .btn {
    border-radius: 0 4px 4px 0;
    background: #183f72;
    border-color: #183f72;
    color: #fff;
}

.cart-discount .btn:hover {
    background: #0d2b4a;
    border-color: #0d2b4a;
}

.btn-update-cart {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-update-cart:hover {
    background: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
}

.checkout-methods .btn {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkout-methods .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-cart h4 {
    margin-bottom: 1rem;
    color: #333;
}

.empty-cart .btn {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
}

/* Shipping Options */
.shipping-options {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.shipping-options .form-group {
    margin-bottom: 1rem;
}

.shipping-options .form-group:last-child {
    margin-bottom: 0;
}

.shipping-options .btn-update-total {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.shipping-options .btn-update-total:hover {
    background: #218838;
    border-color: #1e7e34;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .table-cart {
        font-size: 0.9rem;
    }
    
    .table-cart .product-image-container {
        width: 60px;
        height: 60px;
    }
    
    .table-cart .product-title {
        font-size: 1rem;
    }
    
    .cart-summary {
        margin-top: 2rem;
        position: static;
    }
    
    .checkout-progress-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .checkout-progress-bar li {
        margin: 0.25rem 0;
    }
}


.dropdown-cart-total,.dropdown-cart-total .cart-total-price{

font-size: 1.5rem;

}

.products-section h2{
    padding: 10px 0px;
}

/* Social Login Button Styles */
.btn-login.btn-g {
    background-color: red;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn-login.btn-g:hover {
    background-color: red;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.3);
  }

.btn-login.btn-g i {
    font-size: 1.1rem;
}

.btn-login.btn-f {
    background-color: #1877F2;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
}

.btn-login.btn-f:hover {
    background-color: #166fe5;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

.btn-login.btn-f i {
    font-size: 1.1rem;
}