 .fs-12 {
     font-size: 12px !important;
 }

 .fs-22 {
     font-size: 22px !important;
 }

 .bg-custom-light {
     background-color: #F2F7FD;
 }

 .text-header {
     color: #056CFF;
     font-size: 29px;
     font-weight: 600;
 }

 @media (max-width: 768px) {
     .text-header {
         font-size: 1.35rem !important;
     }
 }

 /* Hero Section */
 .bg-gradient-primary {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 }

 /* Single Post Styles */
 .single-post-card {
     overflow: hidden;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
 }

 .post-hero-wrapper {
     overflow: hidden;
 }

 .post-hero-overlay {
     background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
 }

 .author-avatar {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: #f8f9fa;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .post-content {
     font-size: 1.1rem;
     line-height: 1.8;
     color: #333;
 }

 .post-content img {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     margin: 1rem 0;
 }

 .post-content h2,
 .post-content h3,
 .post-content h4 {
     color: #2c3e50;
     margin-top: 2rem;
     margin-bottom: 1rem;
 }

 .post-content blockquote {
     border-left: 4px solid #3498db;
     padding-left: 1rem;
     margin: 2rem 0;
     font-style: italic;
     color: #555;
 }

 .post-tags-section {
     background: #f8f9fa !important;
 }

 .tags-cloud .badge:hover {
     background: #007bff !important;
     color: white !important;
     transform: translateY(-2px);
     transition: all 0.3s ease;
 }

 /* Related Posts */
 .related-posts .card:hover {
     transform: translateY(-5px);
     transition: all 0.3s ease;
 }

 /* Blog List Styles */
 .posts-container {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .post-card-modern {
     overflow: hidden;
     transition: all 0.3s ease !important;
 }

 .post-card-modern:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
 }

 .post-image {
     transition: transform 0.3s ease;
 }

 .post-card-modern:hover .post-image {
     transform: scale(1.1);
 }

 .post-overlay {
     background: rgba(0, 0, 0, 0.7);
 }

 .post-title-link {
     transition: color 0.3s ease;
 }

 .post-title-link:hover {
     color: #007bff !important;
 }

 .read-more-btn {
     background: linear-gradient(45deg, #007bff, #0056b3);
     color: white;
     border: none;
     border-radius: 25px;
     padding: 0.5rem 1.5rem;
     font-weight: 600;
     transition: all 0.3s ease;
 }

 .read-more-btn:hover {
     background: linear-gradient(45deg, #0056b3, #004085);
     color: white;
     transform: translateX(5px);
 }


 /* Sidebar Styles */
 .sidebar-sticky {
     position: sticky;
     top: 2rem;
 }

 .sidebar-widget .card-header {
     border: none;
     font-weight: 600;
     background: linear-gradient(45deg, #007bff, #0056b3);
     color: #fff !important;
     border-radius: 5px;
 }

 .search-container {
     position: relative;
 }

 .search-input {
     border-radius: 25px;
     border: 2px solid #e9ecef;
     padding-right: 3rem;
 }

 .search-btn {
     right: 0;
     top: 0;
     border-radius: 0 25px 25px 0;
     padding: 0.375rem 1rem;
 }

 .categories-list {
     display: flex;
     flex-direction: column;
     gap: 0.25rem;
 }

 .category-item {
     transition: background-color 0.3s ease;
 }

 .category-item:hover {
     background-color: #f8f9fa !important;
 }

 .category-link {
     color: #495057;
     font-weight: 500;
     transition: color 0.3s ease;
 }

 .category-link:hover {
     color: #007bff !important;
 }

 .tags-cloud {
     gap: 0.5rem !important;
 }

 /* Pagination */
 .pagination-modern .page-link {
     border: none;
     border-radius: 50px !important;
     padding: 0.75rem 1rem;
     color: #6c757d;
     background: #f8f9fa;
     margin: 0 0.25rem;
     transition: all 0.3s ease;
 }

 .pagination-modern .page-link:hover {
     background: #007bff;
     color: white;
     transform: translateY(-2px);
 }

 .pagination-modern .page-item.active .page-link {
     background: #007bff;
     color: white;
     box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
 }

 /* Empty State */
 .no-posts-state {
     background: #f8f9fa;
     border-radius: 15px;
     margin: 2rem 0;
 }

 /* Hover Effects */
 .hover-bg-light:hover {
     background-color: #f8f9fa !important;
 }

 .post-hover-effect {
     cursor: pointer;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .post-hero-overlay {
         padding: 2rem 0;
     }

     .single-post-card .card-body {
         padding: 2rem 1.5rem !important;
     }

     .sidebar-sticky {
         position: static;
     }

     .related-posts .row {
         gap: 1rem;
     }

     .recent-post-item {
         flex-direction: column;
         text-align: center;
     }

     .custom-footer-fs {
         font-size: 14px;
     }

 }

 /* Custom scrollbar */
 ::-webkit-scrollbar {
     width: 8px;
 }

 ::-webkit-scrollbar-track {
     background: #f1f1f1;
 }

 ::-webkit-scrollbar-thumb {
     background: #888;
     border-radius: 4px;
 }

 ::-webkit-scrollbar-thumb:hover {
     background: #555;
 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .post-card-modern {
     animation: fadeInUp 0.6s ease-out;
 }

 .sidebar-widget {
     animation: fadeInUp 0.6s ease-out 0.2s both;
 }

 /* Global Typography Styles */
 body {
     line-height: 1.7;
 }

 body p {
     margin-bottom: 12px;
 }

 /* Footer smaller font sizes */
 .footer .nav-link {
     font-size: 0.875rem;
     /* 14px instead of default 16px */
     line-height: 1.4;
 }

 .footer h5 {
     font-size: 1rem;
     /* 16px instead of default 20px */
     font-weight: 600;
 }

 .footer p {
     font-size: 0.875rem;
     /* 14px for address/contact info */
     line-height: 1.5;
 }

 .footer .contact-link {
     font-size: 0.875rem;
 }

 /* Footer responsive improvements */
 .footer .contact-info p {
     line-height: 1.4;
     word-wrap: break-word;
 }

 .footer .social-icons-div {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
 }

 .footer .navbar-brand img,
 .footer-logo {
     max-width: 140px;
     max-height: 75px;
     object-fit: contain;
     transition: opacity 0.3s ease;
 }

.footer .navbar-brand:hover img,
.footer-logo:hover {
    opacity: 0.8;
}

/* Product Card Styles - Common for all product displays */
.product-card {
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px);
}

.product-card-inner {
    border-radius: 8px;
    overflow: hidden;
}

.card-img-wrapper {
    height: 250px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1 !important;
}

/* Sold Out Overlay Styles */
.sold-out-overlay {
    opacity: 1 !important;
}

.product-card:hover .sold-out-overlay {
    opacity: 0 !important;
}

.sold-out-text {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(89, 89, 89, 0.9);
    padding: 12px 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Button Styles */
.view-product-btn,
.add-to-cart-btn {
    transition: all 0.2s ease;
}

.view-product-btn:hover {
    transform: scale(1.05);
}

.add-to-cart-btn:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

/* Out of stock cart button styling */
.add-to-cart-btn.text-muted {
    border-color: var(--bs-gray-400) !important;
    color: var(--bs-gray-600) !important;
}

.add-to-cart-btn.text-muted:hover {
    background-color: transparent !important;
    border-color: var(--bs-gray-400) !important;
    color: var(--bs-gray-600) !important;
}

/* List View Styles */
.product-card-list {
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card-list:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.product-card-list .card-img-wrapper {
    height: 200px;
}

/* Loading State */
.product-image[loading="lazy"] {
    filter: blur(2px);
}

.product-image.loaded {
    filter: blur(0);
}

/* Toast Styles */
.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 350px;
    max-width: 500px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    backdrop-filter: blur(10px);
}

.toast .toast-body {
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.toast .btn-close {
    opacity: 0.8;
}

.toast .btn-close:hover {
    opacity: 1;
}

 /* Mobile footer adjustments */
 @media (max-width: 768px) {
     .footer {
         padding-top: 2rem;
     }

     .footer .col-lg-2,
     .footer .col-lg-3 {
         margin-bottom: 2rem;
     }

     .footer h5 {
         font-size: 1rem !important;
         margin-bottom: 1rem !important;
     }

     .footer .nav-link {
         font-size: 0.8rem;
         padding: 0.25rem 0;
     }

     .footer .contact-info p {
         font-size: 0.85rem;
     }

     .footer .icon-custom {
         width: 35px !important;
         height: 35px !important;
         font-size: 14px !important;
     }
 }

 @media (max-width: 576px) {
     .footer .container {
         padding-left: 15px;
         padding-right: 15px;
     }

     .footer .col-sm-6 {
         padding-left: 10px;
         padding-right: 10px;
     }

     .footer .navbar-brand img {
         max-width: 150px;
     }
 }

/* Customer Authentication Pages Styles */
.login-page {
    min-height: 100vh;
    padding: 0;
}

.banner-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
}

.form-section {
    padding: 2rem 1rem;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-card {
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: none;
    max-width: 550px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.card-header {
    border: none;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

.brand-logo {
    color: rgba(255, 255, 255, 0.9);
}

.card-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.form-floating {
    position: relative;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.form-floating > label {
    padding: 1rem 0.75rem;
    font-weight: 500;
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.8;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    transform: translateY(-1px);
}

.alert {
    border: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.card-footer {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Modern Form Styles */
.input-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #6c757d;
    transition: all 0.3s ease;
}

.form-control-modern {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-control-modern:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.form-control-modern:focus + .input-icon {
    color: #007bff;
}

.input-label {
    position: absolute;
    left: 50px;
    top: 15px;
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.form-control-modern:focus + .input-label,
.form-control-modern:not(:placeholder-shown) + .input-label {
    top: -8px;
    font-size: 0.8rem;
    color: #007bff;
    background: white;
    font-weight: 500;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    color: #6c757d;
    font-size: 0.9rem;
    cursor: pointer;
}

.forgot-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    transition: transform 0.3s ease;
}

.btn-login:hover .btn-icon {
    transform: translateX(5px);
}

/* Responsive Design for Auth Pages */
@media (max-width: 991px) {
    .banner-section {
        display: none !important;
    }

    .form-section {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .login-card {
        max-width: 600px !important;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .login-page {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    .form-section {
        padding: 1rem;
        min-height: 100vh;
    }

    .login-card {
        max-width: 100% !important;
        margin: 0 1rem;
    }

    .card-header {
        padding: 2rem 1.5rem !important;
    }

    .card-body {
        padding: 2rem 1.5rem !important;
    }

    .brand-logo .fa-3x {
        font-size: 2.5rem !important;
    }

    .card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 0.5rem;
        min-height: 100vh;
    }

    .login-card {
        max-width: 100% !important;
        margin: 0 0.5rem;
    }

    .card-header {
        padding: 1.5rem 1rem !important;
    }

    .card-body {
        padding: 1.5rem 1rem !important;
    }

    .brand-logo .fa-3x {
        font-size: 2rem !important;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .form-floating > .form-control {
        height: calc(3rem + 2px);
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .form-floating > label {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Mobile Categories Bar - Menu Button & Pills */
.mobile-categories-bar {
    background-color: #ED3438 !important;
    padding: 6px 0 !important;
    width: 100% !important;
}

.mobile-cat-menu-btn {
    background: rgba(0, 0, 0, 0.22) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important;
    padding: 6px 20px !important;
    font-size: 0.88rem !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.mobile-categories-scroll {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding: 2px 6px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    align-items: center !important;
}

.mobile-categories-scroll::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
}

.mobile-category-pill {
    display: inline-flex !important;
    align-items: center !important;
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
}

.mobile-category-pill i {
    color: inherit !important;
    font-size: 0.75rem !important;
}

.mobile-category-pill:hover,
.mobile-category-pill:focus {
    background-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.mobile-category-pill.active {
    background-color: #ffffff !important;
    color: #ED3438 !important;
    font-weight: 700 !important;
    border-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.mobile-category-pill.active i {
    color: #ED3438 !important;
}

.mobile-category-pill.mobile-category-subpill {
    font-size: 0.75rem !important;
    padding: 4px 11px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Results Info Badge Refinement */
.results-info .badge {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    padding: 0.32rem 0.65rem !important;
    border-radius: 4px !important;
}

@media (max-width: 768px) {
    .results-info .badge {
        font-size: 0.76rem !important;
        padding: 0.25rem 0.55rem !important;
    }
}

/* Collapsible Filter Card on Mobile */
.filter-card {
    border-radius: 8px !important;
    overflow: hidden;
}

.filter-card-header {
    background: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.filter-card-header:hover {
    background-color: #fafafa;
}

.filter-card-header .filter-chevron {
    transition: transform 0.25s ease;
}

.filter-card-header:not(.collapsed) .filter-chevron,
.filter-card-header[aria-expanded="true"] .filter-chevron {
    transform: rotate(180deg);
}

.filter-card-header:not(.collapsed),
.filter-card-header[aria-expanded="true"] {
    border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 769px) {
    #productFiltersCollapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

/* Global Checkout & Product Details Mobile Responsive Styles */
.customer-info-card .form-control::placeholder,
.shipping-address-card .form-control::placeholder,
.order-form-section .form-control::placeholder,
.order-form-section textarea::placeholder,
#checkoutForm .form-control::placeholder,
#checkoutForm textarea::placeholder,
#orderForm .form-control::placeholder,
#orderForm textarea::placeholder {
    font-size: 0.82rem !important;
    color: #9ca3af !important;
    font-weight: 400 !important;
}

.shipping-option-card {
    padding: 0.7rem 0.95rem !important;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.shipping-option-card .form-check,
.payment-option-card .form-check {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    width: 100%;
}

.shipping-option-card .form-check-input,
.shipping-option-card input[type="radio"],
.payment-option-card .form-check-input,
.payment-option-card input[type="radio"] {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0.65rem !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

.shipping-option-card .shipping-title {
    font-size: 0.95rem;
    line-height: 1.35;
    word-break: break-word;
}

.shipping-option-card .shipping-cost-value {
    font-size: 0.95rem;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    /* Checkout & Single Page Checkout Cards */
    .customer-info-card,
    .shipping-address-card,
    .shipping-cost-card,
    .payment-options-card,
    .order-summary-card,
    .checkout-summary-card,
    .checkout-main-card {
        padding: 0.85rem !important;
        margin-bottom: 0.85rem !important;
        border-radius: 8px !important;
    }

    .customer-info-card h5,
    .shipping-address-card h5,
    .shipping-cost-card h5,
    .payment-options-card h5,
    .order-summary-card h5,
    .checkout-summary-card h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.65rem !important;
        padding-bottom: 0.45rem !important;
    }

    /* Form Fields & Labels */
    #orderForm .form-label,
    #checkoutForm .form-label,
    .customer-info-card .form-label,
    .shipping-address-card .form-label {
        font-size: 0.82rem !important;
        margin-bottom: 0.2rem !important;
        font-weight: 600 !important;
    }

    #orderForm .form-control,
    #checkoutForm .form-control,
    .customer-info-card .form-control,
    .shipping-address-card .form-control {
        height: 38px !important;
        font-size: 0.86rem !important;
        padding: 0.35rem 0.65rem !important;
        border-radius: 6px !important;
    }

    #orderForm textarea.form-control,
    #checkoutForm textarea.form-control,
    .customer-info-card textarea.form-control,
    .shipping-address-card textarea.form-control {
        height: auto !important;
        min-height: 62px !important;
        font-size: 0.85rem !important;
        padding: 0.4rem 0.65rem !important;
        line-height: 1.35 !important;
    }

    /* Shipping Option Cards on mobile */
    .shipping-option-card {
        padding: 0.6rem 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }

    .shipping-option-card .form-check-input,
    .shipping-option-card input[type="radio"],
    .payment-option-card .form-check-input,
    .payment-option-card input[type="radio"] {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0.55rem !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
        transform: scale(1.1) !important;
    }

    .shipping-option-card .form-check-label,
    .shipping-option-card .shipping-title {
        font-size: 0.83rem !important;
        line-height: 1.3 !important;
        word-break: break-word;
    }

    .shipping-option-card .shipping-cost-value {
        font-size: 0.83rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin-left: 0.4rem !important;
    }

    /* Payment Option Cards */
    .payment-option-card {
        padding: 0.65rem 0.85rem !important;
        margin-bottom: 0.45rem !important;
    }

    /* Product Details Carousel on Mobile */
    .carousel-container {
        height: 280px !important;
        max-height: 320px !important;
    }

    .carousel-image {
        height: 280px !important;
        object-fit: cover !important;
    }

    .product-info-sidebar {
        padding: 1rem !important;
        margin-top: 1rem !important;
    }

    .complete-order-title {
        font-size: 1.3rem !important;
    }
}
