/* Createthinks Custom Theme Colors */
/* Main Color: Blue #00A0E3 */
/* Secondary Color: Gray #4E565A */

:root {
    --primary-color: #00A0E3;
    --secondary-color: #4E565A;
    --primary-hover: #0088C7;
    --secondary-hover: #3A4144;
    --primary-light: rgba(0, 160, 227, 0.1);
    --primary-dark: #006A9E;
}

/* Hide Sticky Header */
.sticky-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Override default link hover color */
a:hover {
    color: var(--primary-color) !important;
}

/* Primary Color Overrides */
.btn-primary,
.btn-dark.btn-hover-primary:hover,
.btn-outline-dark:hover,
.btn-dark:not(.btn-hover-primary):hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-dark.btn-hover-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Links - Already defined above */

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Topbar */
.topbar-section {
    background-color: var(--primary-color) !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.topbar-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.topbar-social .social-icon {
    width: 40px;
    height: 40px;
    background: #e6e6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-social .social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.topbar-lan-curr .header-lan-curr {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-lan-curr .header-lan-curr li {
    position: relative;
}

.topbar-lan-curr .header-lan-curr li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* Header Navigation Left */
.header-nav-left ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-left ul li a {
    color: #4E565A;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.header-nav-left ul li a:hover {
    color: var(--primary-color);
}

/* Category Navigation Bar */
.category-nav-section {
    background: #fff;
    padding: 15px;
    border-top: 1px dashed #dedede;
}

.category-nav-section .container {
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 10px 20px;
    max-width: 1200px;
    width: fit-content;
    margin: 0 auto;
}

.category-nav ul {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0;
}

.category-nav ul li {
    position: relative;
    flex: 0 0 auto;
}

.category-nav ul li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    /* padding: 8px 12px; */
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 80px;
    flex: 0 0 auto;
    padding: 10px;
}

.category-nav ul li > a:hover {
    background: var(--primary-light);
    padding: 10px;
}

.category-nav .category-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    display: block;
    object-fit: contain;
}

.category-nav .category-text {
    display: block;
    text-align: center;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #7e7e7e;
}

.category-nav .category-arrow {
    font-size: 8px;
    margin-top: 4px;
    display: block;
    color: var(--primary-color);
}

.category-nav .category-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 12px 20px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    white-space: nowrap;
}

.category-nav ul li:hover .category-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-nav .category-sub-menu li {
    padding: 0;
    margin: 0;
    display: inline-block;
    position: relative;
}

.category-nav .category-sub-menu li a {
    display: inline-block;
    padding: 0;
    color: #4E565A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.category-nav .category-sub-menu li a:hover {
    background: transparent !important;
    color: #4E565A !important;
    padding: 0 !important;
}

.category-nav .category-sub-menu li a:hover{
    color: var(--primary-color) !important;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .category-nav-section .container {
        max-width: 100%;
        padding: 12px 15px;
    }
    
    .category-nav ul {
        justify-content: center;
        gap: 0;
    }
    
    .category-nav ul li > a {
        min-width: 70px;
        padding: 6px 8px;
    }
    
    .category-nav .category-sub-menu {
        min-width: 100%;
        padding: 10px 15px;
    }
    
    .category-nav .category-sub-menu li a {
        padding: 0;
        font-size: 13px;
    }
    
    .category-nav .category-sub-menu li:not(:last-child)::after {
        margin: 0 8px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .topbar-social {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .topbar-lan-curr {
        text-align: center;
        margin-top: 10px;
    }
    
    .header-nav-left ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .category-nav-section .container {
        border-radius: 15px;
        padding: 10px 12px;
        margin: 0 15px;
    }
    
    .category-nav ul {
        gap: 0;
        justify-content: center;
    }
    
    .category-nav ul li > a {
        min-width: 60px;
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .category-nav .category-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 3px;
    }
    
    .category-nav .category-sub-menu {
        min-width: 100%;
        padding: 8px 12px;
        margin-top: 5px;
    }
    
    .category-nav .category-sub-menu li a {
        padding: 0;
        font-size: 12px;
    }
    
    .category-nav .category-sub-menu li:not(:last-child)::after {
        margin: 0 6px;
        font-size: 11px;
    }
}

.topbar-section.bg-dark {
    background-color: var(--secondary-color) !important;
}

.topbar-section a:hover {
    color: var(--primary-color) !important;
}

.topbar-section .text-white {
    color: #fff !important;
}

/* Header Tools Icons */
.header-tools a:hover {
    color: var(--primary-color) !important;
}

/* Product Badges */
.product-badges .onsale,
.product-badges .hot {
    background-color: var(--primary-color) !important;
}

/* Product Buttons */
.product-button:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Full-width Add to Cart Button */
.product-buttons {
    margin-top: 15px;
}

.product-buttons .add-to-cart-btn {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 0px 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.product-buttons .add-to-cart-btn:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 160, 227, 0.3);
}

/* Price Colors */
.price .new {
    color: var(--primary-color) !important;
}

/* Section Titles */
.section-title4 .title {
    color: var(--secondary-color) !important;
}

/* Product Tabs */
.product-tab-list li a.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
}

.product-tab-list li a:hover {
    color: var(--primary-color) !important;
}

/* Remove decorative :after element from product tabs */
.product-tab-list.tab-hover2 li a:after {
    display: none !important;
    content: none !important;
}

/* Sale Banner */
.sale-banner9 .btn-dark.btn-hover-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.sale-banner9 .btn-dark.btn-hover-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Icon Box */
.icon-box5 .icon {
    color: var(--primary-color) !important;
}

.icon-box5 .title {
    color: var(--secondary-color) !important;
}

/* Footer Links */
.widget-list li a:hover {
    color: var(--primary-color) !important;
}

/* Offcanvas Cart/Wishlist */
.offcanvas-cart .btn-dark.btn-hover-primary,
.offcanvas-wishlist .btn-dark.btn-hover-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.offcanvas-cart .btn-dark.btn-hover-primary:hover,
.offcanvas-wishlist .btn-dark.btn-hover-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Search Form */
.offcanvas-search-form button[type="submit"] {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.offcanvas-search-form button[type="submit"]:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Menu Active States */
.site-main-menu li.active > a,
.site-main-menu li:hover > a {
    color: var(--primary-color) !important;
}

.site-main-menu .sub-menu li a:hover {
    color: var(--primary-color) !important;
}

/* Mobile Menu */
.offcanvas-menu li.active > a,
.offcanvas-menu li a:hover {
    color: var(--primary-color) !important;
}

/* Social Icons */
.offcanvas-social a:hover {
    color: var(--primary-color) !important;
}

/* Subscribe Form */
.subscribe-form-inner button[type="submit"] {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.subscribe-form-inner button[type="submit"]:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Testimonials */
.testimonial-item .author-name {
    color: var(--secondary-color) !important;
}

/* Breadcrumbs */
.breadcrumb a:hover {
    color: var(--primary-color) !important;
}

/* Pagination - shop, category, account */
.pagination-wrapper {
    padding: 20px 0;
    overflow: visible;
}
.pagination {
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.pagination .page-item .page-link {
    padding: 0.5rem 0.75rem;
    color: var(--primary-color, #00a0e3);
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
.pagination .page-item.disabled .page-link {
    opacity: 0.6;
}
.pagination .page-link:hover {
    color: var(--primary-color) !important;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 160, 227, 0.25) !important;
}

/* Select2 Dropdown */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
}

/* Rating Stars */
.star-rating .rating-active {
    color: var(--primary-color) !important;
}

/* Quick View Modal */
#quickViewModal .btn-dark.btn-hover-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

#quickViewModal .btn-dark.btn-hover-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Scroll to Top */
#scroll-top:hover {
    background-color: var(--primary-color) !important;
}

/* Loading Spinner */
.spinner {
    border-top-color: var(--primary-color) !important;
}

/* Custom Button Styles */
.btn-createthinks-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-createthinks-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff !important;
}

.btn-createthinks-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

.btn-createthinks-secondary:hover {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
    color: #fff !important;
}

/* Additional Theme Elements */

/* Border Colors */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* Badge Colors */
.badge-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.badge-secondary {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Alert Colors */
.alert-primary {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-dark) !important;
}

/* Progress Bars */
.progress-bar-primary {
    background-color: var(--primary-color) !important;
}

.progress-bar-secondary {
    background-color: var(--secondary-color) !important;
}

/* Tooltip */
.tooltip-inner {
    background-color: var(--secondary-color) !important;
}

.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: var(--secondary-color) !important;
}

.tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: var(--secondary-color) !important;
}

.tooltip.bs-tooltip-left .arrow::before {
    border-left-color: var(--secondary-color) !important;
}

.tooltip.bs-tooltip-right .arrow::before {
    border-right-color: var(--secondary-color) !important;
}

/* Dropdown Menu */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.dropdown-menu .dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Nav Tabs */
.nav-tabs .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
}

/* Contact Page Styles */
.contact-info-wrapper {
    padding: 40px 0;
}

.contact-info-wrapper .heading-section {
    margin-bottom: 40px;
}

.contact-info-wrapper .heading-section .title {
    font-size: 32px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-info-wrapper .heading-section .desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 15px;
    color: #666;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    padding: 40px 0;
}

.contact-form-wrapper .heading-section {
    margin-bottom: 40px;
}

.contact-form-wrapper .heading-section .title {
    font-size: 32px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-form-wrapper .heading-section .desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fff;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    padding: 12px 40px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-messege {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

.form-messege.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-messege.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Page Title Section */
.page-title-section {
    padding: 60px 0;
    background-color: #ebf9ff;
}

.page-title .title {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-title .breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title .breadcrumb-item {
    font-size: 14px;
    color: #666;
}

.page-title .breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-title .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.page-title .breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 500;
}

.page-title .breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

/* Responsive Contact Page */
@media (max-width: 991px) {
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 30px 0;
    }

    .contact-info-wrapper .heading-section,
    .contact-form-wrapper .heading-section {
        margin-bottom: 30px;
    }

    .contact-info-wrapper .heading-section .title,
    .contact-form-wrapper .heading-section .title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .page-title-section {
        padding: 40px 0;
    }

    .page-title .title {
        font-size: 32px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* Footer WhatsApp Button */
.widget-contact2 .whatsapp-button {
    display: inline-block;
    margin-top: 15px;
    margin-left: 0;
    transition: transform 0.3s ease;
}

.widget-contact2 .whatsapp-button:hover {
    transform: scale(1.05);
}

.widget-contact2 .whatsapp-button img {
    max-width: 100%;
    height: auto;
}

/* Page Content Styles (for policy pages) */
.page-content {
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-section h3:first-of-type {
    margin-top: 0;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.content-section ul,
.content-section ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.content-section strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.content-section .last-updated {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .page-content {
        padding: 40px 20px;
    }

    .content-section h3 {
        font-size: 20px;
    }
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Modal */
.modal-header {
    border-bottom-color: var(--primary-color) !important;
}

.modal-footer {
    border-top-color: var(--primary-color) !important;
}

/* Loading Spinner */
.spinner-border-primary {
    border-color: var(--primary-color) !important;
    border-right-color: transparent !important;
}

/* Card Borders */
.card-primary {
    border-top-color: var(--primary-color) !important;
}

.card-secondary {
    border-top-color: var(--secondary-color) !important;
}

/* Full Width Hero Slider */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

body {
    overflow-x: hidden;
}

/* ============================================
   Account Pages Styling
   ============================================ */

/* Account Section Container */
.flat-spacing {
    padding: 60px 0;
}

/* Account Sidebar */
.account-sidebar {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: fit-content;
}

.account-user-info {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.account-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.account-user-info h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.account-user-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Account Navigation */
.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-nav-item {
    margin-bottom: 5px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    background-color: transparent;
    width: 100%;
    text-align: left;
}

.account-nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-light);
}

.account-nav-item.active .account-nav-link {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.account-nav-link svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.account-logout-form {
    margin: 0;
    padding: 0;
}

.account-logout-form .account-nav-link {
    color: #dc3545;
}

.account-logout-form .account-nav-link:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.2);
}

/* Account Content Area */
.account-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.account-header .title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.account-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Statistics Cards */
.tf-store-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tf-store-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tf-store-item:hover {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 160, 227, 0.1);
    transform: translateY(-2px);
}

.stat-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.tf-store-info {
    flex-grow: 1;
}

.tf-store-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.tf-store-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Account Forms */
.account-form {
    margin-top: 20px;
}

.info-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.info-item {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.info-item label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.info-item input[type="text"],
.info-item input[type="email"],
.info-item input[type="password"],
.info-item input[type="tel"],
.info-item textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: var(--secondary-color);
    background-color: #fff;
    transition: all 0.3s ease;
}

.info-item input:focus,
.info-item textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.box-progress-checkout {
    margin-top: 30px;
}

.tf-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.tf-btn:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 160, 227, 0.3);
}

.tf-btn.w-100 {
    width: 100%;
}

.tf-btn.btn-reset {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

.tf-btn.btn-reset:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.tf-btn.btn-reset:focus,
.tf-btn.btn-reset:focus-visible {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.tf-btn.btn-reset:active {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: scale(0.98);
}

/* Account Sections */
.account-section {
    margin-top: 30px;
}

.account-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.account-section-header .title {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.account-section-header .link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.account-section-header .link:hover {
    text-decoration: underline;
}

/* Orders Table */
.account-orders-table {
    overflow-x: auto;
}

.account-orders-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.account-orders-table thead {
    background-color: #f8f9fa;
}

.account-orders-table th {
    padding: 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid #e0e0e0;
}

.account-orders-table td {
    padding: 15px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.account-orders-table tbody tr:hover {
    background-color: #f8f9fa;
}

.order-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.order-status-completed,
.order-status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.order-status-processing {
    background-color: #cfe2ff;
    color: #084298;
}

.order-status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* Order Cards */
.account-orders-list {
    margin-top: 20px;
}

.account-order-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.account-order-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.order-card-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.order-card-header h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.order-card-header p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.order-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.order-card-body {
    padding: 20px;
}

.order-items {
    margin-bottom: 15px;
}

.order-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    flex-shrink: 0;
}

.order-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.order-item-details h6 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.order-item-details p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.order-item-total {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.order-card-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

/* Empty State */
.account-empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.account-empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.account-empty-state h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.account-empty-state p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .account-sidebar {
        margin-bottom: 30px;
    }

    .account-content {
        padding: 30px 20px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .tf-store-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .flat-spacing {
        padding: 40px 0;
    }

    .account-content {
        padding: 20px 15px;
    }

    .account-header .title {
        font-size: 24px;
    }

    .info-box {
        padding: 20px 15px;
    }

    .order-card-header {
        padding: 15px;
    }

    .order-card-body {
        padding: 15px;
    }

    .order-card-footer {
        padding: 15px;
    }

    .account-orders-table {
        font-size: 12px;
    }

    .account-orders-table th,
    .account-orders-table td {
        padding: 10px 8px;
    }
}

/* Utility Classes */
.mb_20 {
    margin-bottom: 20px;
}

.mb_24 {
    margin-bottom: 24px;
}

.mb_32 {
    margin-bottom: 32px;
}

.text-secondary-2 {
    color: #666;
}

.text-caption-1 {
    font-size: 13px;
}

/* Order Detail Page */
.order-items-table {
    overflow-x: auto;
    border-radius: 10px;
}

.order-items-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.order-items-table thead {
    background-color: #f8f9fa;
}

.order-items-table th {
    padding: 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid #e0e0e0;
}

.order-items-table td {
    padding: 15px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.order-items-table tbody tr:hover {
    background-color: #f8f9fa;
}

.order-item-image-small {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    border: 1px solid #e0e0e0;
}

.order-summary-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.order-summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
    margin-top: 10px;
    padding-top: 15px;
}

.order-summary-label {
    font-size: 15px;
    color: #666;
}

.order-summary-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Billing Information */
.billing-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.billing-info p {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.billing-info p:last-child {
    margin-bottom: 0;
}

.billing-info strong {
    color: var(--secondary-color);
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

/* ============================================
   Shopping Cart Page Styling
   ============================================ */

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

.cart-wishlist-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-wishlist-table thead {
    background-color: #f8f9fa;
}

.cart-wishlist-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--secondary-color);
}

.cart-wishlist-table th.name {
    width: auto;
}

.cart-wishlist-table th.price,
.cart-wishlist-table th.quantity,
.cart-wishlist-table th.subtotal {
    width: 120px;
    text-align: center;
}

.cart-wishlist-table th.remove {
    width: 60px;
    text-align: center;
}

.cart-wishlist-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.cart-wishlist-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-wishlist-table .thumbnail {
    width: 100px;
    padding-right: 0;
}

.cart-wishlist-table .thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.cart-wishlist-table .name {
    padding-left: 15px;
}

.cart-wishlist-table .name a {
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 15px;
}

.cart-wishlist-table .name a:hover {
    color: var(--primary-color);
}

.cart-wishlist-table .price {
    text-align: center;
}

.cart-wishlist-table .price span {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.cart-wishlist-table .quantity {
    text-align: center;
}

.cart-wishlist-table .subtotal {
    text-align: center;
}

.cart-wishlist-table .subtotal span {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.cart-wishlist-table .remove {
    text-align: center;
}

.product-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    padding: 0;
    border-right: 1px solid #ddd;
}

.qty-btn:last-child {
    border-right: none;
    border-left: 1px solid #ddd;
}

.qty-btn:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.qty-btn i {
    font-size: 12px;
}

.input-qty {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 15px;
    color: var(--secondary-color);
    -moz-appearance: textfield;
    padding: 0;
}

.input-qty::-webkit-outer-spin-button,
.input-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-qty:focus {
    outline: none;
}

.cart-coupon {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.cart-coupon input {
    padding: 10px 15px;
    border: none;
    font-size: 14px;
    color: var(--secondary-color);
    min-width: 200px;
}

.cart-coupon input:focus {
    outline: none;
}

.cart-coupon .btn {
    padding: 10px 15px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    border-radius: 0;
}

.cart-coupon .btn:hover {
    background: var(--primary-hover);
}

.cart-totals {
    max-width: 500px;
    margin-left: auto;
}

.cart-totals .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.cart-totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.cart-totals table th,
.cart-totals table td {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.cart-totals table th {
    font-weight: 500;
    color: #666;
    text-align: left;
}

.cart-totals table td {
    text-align: right;
    font-weight: 600;
    color: var(--secondary-color);
}

.cart-totals table tr.total {
    border-top: 2px solid var(--secondary-color);
    border-bottom: none;
}

.cart-totals table tr.total th,
.cart-totals table tr.total td {
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.cart-totals .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px 30px;
    margin-top: 0;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.cart-empty svg {
    color: #ddd;
    margin: 0 auto 20px;
    display: block;
}

.cart-empty h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cart-empty p {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.cart-wishlist-table .remove .btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.cart-wishlist-table .remove .btn:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #c82333;
}

@media (max-width: 768px) {
    .cart-wishlist-table {
        font-size: 14px;
    }
    
    .cart-wishlist-table th,
    .cart-wishlist-table td {
        padding: 10px 8px;
    }
    
    .cart-wishlist-table .thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .input-qty {
        width: 40px;
    }

    .cart-totals {
        max-width: 100%;
        margin-left: 0;
    }

    .cart-coupon {
        margin-bottom: 15px;
    }

    .cart-coupon input {
        min-width: 150px;
    }
}


/* ============================================
   Checkout Page Styling
   ============================================ */

.checkout-section {
    padding: 60px 0 100px;
}

.checkout-form-wrapper,
.checkout-order-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.checkout-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    color: var(--secondary-color);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary-color);
    display: block;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: var(--secondary-color);
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.checkout-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.order-items-list {
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-size: 15px;
}

.order-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.order-item-price {
    font-weight: 600;
    color: var(--secondary-color);
}

.order-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--secondary-color);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
}

.order-total-row.total {
    font-size: 18px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
    color: var(--secondary-color);
}

.order-total-row .label {
    font-weight: 500;
}

.order-total-row .value {
    font-weight: 600;
}

.order-total-row.total .label,
.order-total-row.total .value {
    font-weight: 700;
    color: var(--secondary-color);
}

.checkout-section .alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.checkout-section .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

@media (max-width: 991px) {
    .checkout-order-summary {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 40px 0;
    }

    .checkout-form-wrapper,
    .checkout-order-summary {
        padding: 20px 15px;
    }
    
    .checkout-form-actions {
        flex-direction: column;
    }
    
    .checkout-form-actions .btn-style-2,
    .checkout-form-actions .btn-style-3 {
        width: 100%;
    }

    .order-items-list {
        max-height: 300px;
    }
}
.section-padding-50{
    padding: 50px 0;
}

/* ============================================
   Checkout Page - Billing Summary & Modal
   ============================================ */

.billing-details-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.billing-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.billing-summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    min-width: 150px;
}

.summary-value {
    color: #666;
    font-size: 14px;
    text-align: right;
    flex: 1;
}

.billing-summary-actions {
    margin-top: 20px;
}

.billing-summary-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Checkout Bottom Bar */
.checkout-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.bottom-bar-total {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bottom-bar-total .label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.bottom-bar-total .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.checkout-bottom-bar .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
}

.checkout-bottom-bar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkout-bottom-bar .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Modal Styles */
#editBillingModal .modal-content {
    border-radius: 8px;
    border: none;
}

#editBillingModal .modal-header {
    border-bottom: 2px solid #e0e0e0;
    padding: 20px 30px;
}

#editBillingModal .modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

#editBillingModal .modal-body {
    padding: 30px;
}

#editBillingModal .modal-footer {
    border-top: 2px solid #e0e0e0;
    padding: 20px 30px;
}

#editBillingModal .form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

#editBillingModal .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
}

#editBillingModal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 227, 0.1);
}

@media (max-width: 768px) {
    .checkout-bottom-bar {
        padding: 12px 0;
    }
    
    .checkout-bottom-bar .row {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkout-bottom-bar .col-md-6 {
        width: 100%;
    }
    
    .checkout-bottom-bar .text-end {
        text-align: center !important;
    }
    
    .bottom-bar-total {
        justify-content: center;
    }
    
    .checkout-bottom-bar .btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .billing-summary-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .summary-value {
        text-align: left;
    }
    
    #editBillingModal .modal-body {
        padding: 20px 15px;
    }
}

/* ============================================
   Checkout Success Page Styling
   ============================================ */

.checkout-success-section {
    padding: 40px 0;
}

.success-message-box {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 20px;
}

.success-icon {
    margin-bottom: 15px;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 10px;
}

.success-message {
    font-size: 15px;
    color: #155724;
    margin-bottom: 15px;
}

.order-number {
    font-size: 16px;
    margin-top: 15px;
}

.order-no {
    color: #181818;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
}

.order-no-display {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    font-family: monospace;
}

.print-actions {
    margin-bottom: 20px;
}

.print-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.order-details-box {
    background: #70809038;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.box-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
    color: var(--secondary-color);
}

.info-item {
    margin-bottom: 12px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
}

.info-item span {
    color: var(--secondary-color);
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cfe2ff;
    color: #084298;
}

.status-delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.status-cancelled {
    background: #f8d7da;
    color: #842029;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    color: var(--secondary-color);
}

.order-items-table {
    overflow-x: auto;
}

.order-items-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.order-items-table th,
.order-items-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.order-items-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--secondary-color);
}

.billing-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.billing-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.billing-info p:last-child {
    margin-bottom: 0;
}

.billing-info strong {
    color: var(--secondary-color);
    min-width: 100px;
    display: inline-block;
}

/* Thank You Message Box */
.thank-you-message-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thank-you-icon {
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 24px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 15px;
}

.thank-you-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.thank-you-details {
    text-align: left;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.thank-you-details p {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.thank-you-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thank-you-details ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.thank-you-details ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .checkout-success-section,
    .checkout-success-section * {
        visibility: visible;
    }
    
    .checkout-success-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
    }
    
    .page-title-section,
    .print-actions,
    .success-actions,
    header,
    footer,
    .breadcrumb {
        display: none !important;
    }
    
    .success-message-box {
        margin-bottom: 20px;
        page-break-inside: avoid;
    }
    
    .order-details-box {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .order-items-table table {
        page-break-inside: avoid;
    }
    
    .billing-info {
        page-break-inside: avoid;
    }
    
    .thank-you-message-box {
        page-break-inside: avoid;
    }
    
    @page {
        margin: 1cm;
    }
}

@media (max-width: 991px) {
    .checkout-success-section .col-lg-7,
    .checkout-success-section .col-lg-5 {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .checkout-success-section {
        padding: 30px 0;
    }
    
    .success-message-box {
        padding: 20px 15px;
    }
    
    .success-title {
        font-size: 20px;
    }
    
    .order-details-box {
        padding: 20px 15px;
    }
    
    .box-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .order-items-table table {
        font-size: 12px;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 8px 5px;
    }
    
    .order-items-table .product-thumb {
        width: 30px;
        height: 30px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn-style-2,
    .success-actions .btn-style-3 {
        width: 100%;
    }
}

/* ============================================
   Product Details Page Styling
   ============================================ */

.product-images {
    position: relative;
}

.product-gallery-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.product-gallery-popup:hover {
    background: #fff;
    transform: scale(1.1);
}

.product-gallery-slider {
    margin-bottom: 15px;
}

.product-gallery-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumb-slider {
    margin-top: 10px;
}

.product-thumb-slider .item {
    cursor: pointer;
    padding: 5px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.product-thumb-slider .item:hover,
.product-thumb-slider .item.active {
    border-color: var(--primary-color);
}

.product-thumb-slider .item img {
    width: 100%;
    height: auto;
    display: block;
}

.product-summery {
    padding-left: 30px;
}

.product-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-nav a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.product-nav a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-ratings {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.star-rating {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.rating-active {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffc107;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.8;
}

.product-variations table {
    width: 100%;
    margin-bottom: 25px;
}

.product-variations table td {
    padding: 12px 0;
    vertical-align: middle;
}

.product-variations .label {
    width: 120px;
    font-weight: 600;
    color: var(--secondary-color);
}

.product-sizes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-sizes a {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.product-sizes a:hover,
.product-sizes a.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.product-colors {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-colors a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: block;
    cursor: pointer;
    transition: all 0.3s;
}

.product-colors a:hover,
.product-colors a.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.input-qty {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-weight: 600;
}

.product-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.product-buttons .btn {
    padding: 12px 25px !important;
}

.product-buttons .btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-meta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.product-meta table {
    width: 100%;
}

.product-meta table td {
    padding: 10px 0;
    vertical-align: top;
}

.product-meta .label {
    width: 120px;
    font-weight: 600;
    color: var(--secondary-color);
}

.product-category,
.product-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-category li,
.product-tags li {
    display: inline;
}

.product-category a,
.product-tags a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.product-category a:hover,
.product-tags a:hover {
    color: var(--primary-color);
}

.product-share {
    display: flex;
    gap: 10px;
}

.product-share a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.product-share a:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

/* Product Info Tabs */
.product-info-tab-list {
    list-style: none;
    padding: 0;
    margin: 0px;
    display: flex;
    gap: 30px;
    /* border-bottom: 2px solid #e9ecef; */
}

.product-info-tab-list li {
    margin: 0;
}

.product-info-tab-list a {
    padding: 15px 0;
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.product-info-tab-list a.active,
.product-info-tab-list a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.product-infor-tab-content {
    padding: 30px 0;
}

/* Product Carousel */
.product-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.product-carousel .col {
    min-width: 250px;
    flex: 0 0 auto;
}

/* Shop/category product grid - use Bootstrap column widths (do not force full width) */
#shop-products .product,
.shop-products-grid .product,
.category .products .product {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#shop-products .product .product-info,
.shop-products-grid .product .product-info,
.category .products .product .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-top: auto;
}
#shop-products .product .product-info .title,
.shop-products-grid .product .product-info .title,
.category .products .product .product-info .title {
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
#shop-products .product .product-info .price,
.shop-products-grid .product .product-info .price,
.category .products .product .product-info .price {
    margin-bottom: 0.5rem;
}
#shop-products .product .product-buttons,
.shop-products-grid .product .product-buttons,
.category .products .product .product-buttons {
    margin-top: auto;
}
/* Hide any slick/carousel arrows that leak into shop product area */
#shop-products .slick-prev,
#shop-products .slick-next,
.section .isotope-grid .slick-prev,
.section .isotope-grid .slick-next {
    display: none !important;
}

.product {
    position: relative;
}

.product-thumb {
    position: relative;
    margin-bottom: 15px;
}

.product-thumb .image {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.product-thumb:hover img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.product-button:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 991px) {
    .product-summery {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .product-info-tab-list {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .product-carousel {
        gap: 15px;
    }
    
    .product-carousel .col {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 22px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .product-buttons {
        flex-wrap: wrap;
    }
    
    /* .product-buttons .btn {
        flex: 1;
        min-width: 150px;
    } */
}

/* Vertical dividers between category nav items – no extra spacing */
/* Only apply to top-level nav items, not submenu items */
.category-nav > ul > li {
    border-right: 1px solid #d9d9d9;
    padding: 0px 10px;
}

.category-nav > ul > li:last-child {
    border-right: none;
}

/* Explicitly remove borders and padding from submenu items */
.category-nav .category-sub-menu li {
    border: none;
    padding: 0;
    margin: 0;
}

/* Submenu: left-aligned (main .category-nav ul centers; this overrides for submenu only) */
.category-nav .category-sub-menu {
    text-align: left;
    justify-content: left;
}

/* Remove arrow icon from mobile sub-menu items (keep plus sign only) */
.offcanvas-menu .sub-menu li.has-children > a::before,
.offcanvas-menu .sub-menu li.has-children a::before,
.offcanvas-mobile-menu .sub-menu li.has-children > a::before,
.offcanvas-mobile-menu .sub-menu li.has-children a::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

@media (max-width: 767px) {
    .header-logo {
        justify-content: flex-start;
    }
    .product-quantity{
        margin: auto;
    }
}