/* ===== Animated Top Bar ===== */
.animated-top-bar {
    background-color: #111212;
    color: #ffffff;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
}

.animated-top-bar-content {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.animated-top-bar-text {
    padding: 0 50px;
    display: inline-block;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --primary-dark: #000;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --text-light: #000;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'PingARLT';
    src: url('fonts/PingARLT-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingARLT';
    src: url('fonts/PingARLT-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PingARLT';
    src: url('fonts/PingARLT-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'PingARLT', 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== New Modern Header Styles ===== */
.new-modern-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
}

.logo-section .logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo-text:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navigation-section .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-list .nav-item {
    margin: 0;
    position: relative;
}

.nav-list .nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list .nav-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-list .nav-link i {
    font-size: 12px;
    transition: var(--transition);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 8px 0 0 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-item {
    list-style: none;
    margin: 0;
}

.dropdown-item a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-item a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-right: 24px;
}

.actions-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--primary-color);
}

.user-actions {
    display: flex;
    gap: 15px;
}

.action-link {
    position: relative;
    color: var(--secondary-color);
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease;
    background: #f5f5f5;
    padding: 8px;
    margin: -3px;
    border-radius: 90%;
    display: grid;
}

.action-link:hover {
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fd0000;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.search-container {
    display: none;
    background-color: var(--white);
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-container.active {
    display: block;
}

.search-wrapper {
    display: flex;
    align-items: center;
}

.search-form {
    flex-grow: 1;
    display: flex;
}

.search-input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

.close-search {
    margin-right: 20px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #999;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: var(--primary-color);
}

/* ===== Main Content ===== */
main {
    min-height: calc(100vh - 200px);
}

.main-content {
    padding: 32px 0;
    background-color: #fff;
}

/* ===== Hero Section ===== */
.hero-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.hero-section a {
    display: block;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

@media (max-width: 768px) {
    .hero-image {
        max-height: 300px;
    }
}

/* ===== Homepage Banners ===== */
.homepage-banner {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 30px;
    padding: 0 15px;
    overflow: hidden;
    border-radius: 12px;
}

.homepage-banner a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage-banner a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.homepage-banner a:hover .banner-image {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .homepage-banner {
        margin: 10px auto 20px;
        padding: 0 10px;
    }
}

/* ===== Section Styles ===== */
.categories-section {
    margin-bottom: 48px;
}

.section-title {
    text-align: center;
    margin: 10px 0 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto;
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ===== Categories Swiper Styles ===== */
.categories-swiper-container {
    position: relative;
    padding: 0 50px;
    margin-bottom: 50px;
}

.categoriesSwiper {
    padding-bottom: 50px;
    padding-top: 10px;
}

.category-card-swiper {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.category-card-swiper:hover {
    transform: translateY(-8px);
}

.category-card-swiper .category-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 4px solid var(--white);
    outline: 2px solid #000;
    outline-offset: 2px;
}

.category-card-swiper:hover .category-image-wrapper {
    box-shadow: 0 8px 30px rgba(25, 58, 80, 0.4);
    transform: scale(1.05);
    outline-color: var(--primary-dark);
    outline-width: 3px;
}

.category-card-swiper .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-swiper:hover .category-image {
    transform: scale(1.15);
}

.category-card-swiper .category-info {
    padding: 15px 10px;
    text-align: center;
    background: transparent;
}

.category-card-swiper .category-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.category-card-swiper:hover .category-name {
    color: var(--primary-color);
}

/* Swiper Navigation Buttons */
.categoriesSwiper .swiper-button-next,
.categoriesSwiper .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.categoriesSwiper .swiper-button-next:after,
.categoriesSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.categoriesSwiper .swiper-button-next:hover,
.categoriesSwiper .swiper-button-prev:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.categoriesSwiper .swiper-button-next:hover:after,
.categoriesSwiper .swiper-button-prev:hover:after {
    color: var(--white);
}

/* Swiper Pagination */
.categoriesSwiper .swiper-pagination {
    bottom: 10px;
}

.categoriesSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--text-light);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.categoriesSwiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.5;
    margin-bottom: 1px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 2;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-link {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

.product-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.add-to-cart {
    flex-grow: 1;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

.add-to-cart:hover {
    background-color: var(--primary-dark);
}

.view-details {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-details:hover {
    background-color: var(--bg-light);
}

/* ===== Salla Style Footer (White) ===== */
.salla-footer {
    background: #fff;
    color: #333;
    padding: 60px 0 30px;
    font-size: 14px;
    border-top: 1px solid #eee;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.footer-brand .footer-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.brand-description {
    color: #000;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.salla-footer .social-links {
    display: flex;
    gap: 12px;
}

.salla-footer .social-links a {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.salla-footer .social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links-group {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-links h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-divider {
    height: 1px;
    background: #eee;
    margin: 40px 0 25px;
}

.salla-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.salla-footer .payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.salla-footer .payment-methods span {
    color: #000;
    font-size: 13px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icons i {
    font-size: 28px;
    color: #888;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: var(--primary-color);
}

.payment-icons .mada-icon {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-icons .mada-icon:hover {
    opacity: 1;
}

.copyright {
    color: #888;
    font-size: 13px;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .salla-footer {
        padding: 40px 0 25px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .salla-footer .social-links {
        justify-content: center;
    }

    .footer-links-group {
        width: 100%;
        justify-content: space-between;
        gap: 40px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links ul li a:hover {
        transform: translateX(0);
    }

    .salla-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .salla-footer .payment-methods {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== Message Popup ===== */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideIn 0.3s ease-out;
    max-width: 450px;
    line-height: 1.6;
}

.message-popup.success {
    background-color: #27ae60;
}

.message-popup.error {
    background-color: #e74c3c;
    white-space: pre-line;
    color: #fff;
}

.message-popup .close-btn {
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.2s;
    flex-shrink: 0;
    color: #fff;

}

.message-popup .close-btn:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Cart Page Styles ===== */
.cart-page {
    padding: 20px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 32px;
    text-align: center;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.empty-cart i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.empty-cart h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.continue-shopping,
.continue-shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.continue-shopping:hover,
.continue-shopping-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.item-price {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.item-size {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.qty-value {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.item-total {
    min-width: 100px;
    text-align: left;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.remove-item {
    width: 40px;
    height: 40px;
    border: none;
    background: #fee;
    color: #e74c3c;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    background: #e74c3c;
    color: var(--white);
}

.cart-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-color);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

.total-row {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.coupon-section {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.coupon-section input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}

.apply-coupon-btn {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.apply-coupon-btn:hover {
    background: #1a252f;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.checkout-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.continue-shopping-link {
    width: 100%;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.continue-shopping-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== Fixed Bottom Bar for Product Detail Page ===== */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.fixed-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.product-info-mini {
    flex: 1;
    min-width: 200px;
}

.product-title-mini {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price-mini {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.old-price-mini {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.fixed-bottom-actions {
    display: flex;
    gap: 10px;
}

.fixed-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.add-to-cart-btn.fixed-btn {
    background: #000;
    color: #fff;
    min-width: 160px;
}

.add-to-cart-btn.fixed-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.buy-now-btn.fixed-btn {
    background: #fff;
    color: #000;
    border: 2px solid #6b6b6b;
    min-width: 160px;
}

.buy-now-btn.fixed-btn:hover {
    background: #1a252f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for fixed bottom bar */
@media (max-width: 768px) {
    .fixed-bottom-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product-info-mini {
        text-align: center;
    }

    .fixed-bottom-actions {
        justify-content: center;
        width: 100%;
    }

    .fixed-btn {
        flex: 1;
        min-width: auto;
        padding: 14px;
        font-size: 15px;
        justify-content: center;
    }

    .product-title-mini {
        font-size: 14px;
    }

    .current-price-mini {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .fixed-bottom-bar {
        padding: 8px 0;
    }

    .fixed-btn {
        padding: 12px;
        font-size: 14px;
    }

    .product-title-mini {
        font-size: 13px;
    }

    .current-price-mini {
        font-size: 15px;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .navigation-section {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .navigation-section.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    .nav-list .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-list .nav-link {
        display: flex;
        padding: 12px 15px;
        border-radius: 6px;
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown.active .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-item a {
        padding: 10px 20px 10px 30px;
        font-size: 13px;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .header-container {
        padding: 9px 3%;
        position: relative;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 24px;
    }

    .actions-section {
        gap: 15px;
    }

    .user-actions {
        gap: 10px;
    }

    .action-link {
        font-size: 1.1rem;
    }

    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
        position: relative;
        padding-top: 30px;
    }

    .item-image img {
        width: 80px;
        height: 80px;
    }

    .item-quantity {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .item-total {
        grid-column: 1 / -1;
        text-align: center;
    }

    .remove-item {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }

    .search-input {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .search-button {
        padding: 10px 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    /* Swiper responsive adjustments */
    .categories-swiper-container {
        padding: 0 30px;
    }

    .categoriesSwiper .swiper-button-next,
    .categoriesSwiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .categoriesSwiper .swiper-button-next:after,
    .categoriesSwiper .swiper-button-prev:after {
        font-size: 14px;
    }

    .category-card-swiper .category-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .category-card-swiper .category-name {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo-section {
        order: 1;
    }

    .actions-section {
        order: 2;
    }

    .mobile-toggle {
        order: 3;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image-wrapper {
        height: 380px;
    }

    .search-wrapper {
        flex-direction: column;
    }

    .search-form {
        width: 100%;
        margin-bottom: 15px;
    }

    .close-search {
        margin-right: 0;
        align-self: flex-end;
    }

    .container {
        padding: 0 10px;
    }

    /* Swiper mobile adjustments */
    .categories-swiper-container {
        padding: 0 5px;
    }

    .categoriesSwiper .swiper-button-next,
    .categoriesSwiper .swiper-button-prev {
        display: none;
    }

    .category-card-swiper .category-image-wrapper {
        width: 90px;
        height: 90px;
    }

    .category-card-swiper .category-name {
        font-size: 0.75rem;
    }

    .category-card-swiper .category-info {
        padding: 10px 5px;
    }

    .main-content {
        padding: 24px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image-wrapper {
        height: 320px;
    }

    .product-title {
        font-size: 14px;
        min-height: 42px;
    }

    .price {
        font-size: 18px;
    }

    .old-price {
        font-size: 14px;
    }

    .product-link {
        padding: 10px 16px;
        font-size: 14px;
    }

    .category-image-wrapper {
        height: 140px;
    }

    .product-image-wrapper {}

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 0.95rem;
        min-height: auto;
    }

    .price {
        font-size: 1.1rem;
    }

    .old-price {
        font-size: 0.85rem;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.p-1 {
    padding: 8px;
}

.p-2 {
    padding: 16px;
}

.p-3 {
    padding: 24px;
}

.p-4 {
    padding: 32px;
}

/* ===== Category Page Styles ===== */
.category-header {
    margin-bottom: 32px;
}

.category-description {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 800px;
}

/* ===== Product Detail Page Styles ===== */
.product-detail {

    padding: 32px;
    margin-bottom: 32px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.thumbnail-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

/* Video Thumbnail Styles */
.video-thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e74c3c;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail:hover,
.video-thumbnail.active {
    border-color: #c0392b;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transform: scale(1.05);
}

.video-thumbnail .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(231, 76, 60, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(231, 76, 60, 0.5);
    z-index: 2;
}

.video-thumbnail .video-play-icon i {
    color: white;
    font-size: 12px;
    margin-left: 2px;
}

.video-thumbnail .video-label {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.video-thumbnail:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(192, 57, 43, 1);
}

.video-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    border-radius: 6px;
}

.product-details {
    display: flex;
    flex-direction: column;
}

.product-title-detail {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.product-price-detail {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-price-detail .current-price {
    font-size: 18px;
    color: #000;
    font-weight: 700;
}

.product-price-detail .old-price-detail {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.product-price-detail .discount-badge {
    background: #e74c3c;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Product Meta Info (Seller & Model) */
.product-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.meta-label {
    font-weight: 600;
    color: var(--text-color);
}

.meta-value {
    color: var(--text-light);
    font-weight: 500;
}

/* Product Accordion */
.product-accordion {
    margin-bottom: 24px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.accordion-title i {
    color: #000;
    font-size: 16px;
}

.accordion-icon {
    color: var(--text-light);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.accordion-item.active .accordion-content {
    border-top: 1px solid var(--border-color);
}

/* Size Chart Table */
.size-chart-table {
    padding: 20px;
    overflow-x: auto;
}

.size-chart-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.size-chart-table th,
.size-chart-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    font-size: 13px;
}

.size-chart-table th {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.size-chart-table tbody tr:hover {
    background: #f8f9fa;
}

.size-chart-table td strong {
    color: var(--primary-color);
    font-size: 15px;
}

/* Policy Content */
.policy-content {
    padding: 20px;
    line-height: 1.8;
}

.policy-content h4 {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 20px;
}

.policy-content h4:first-child {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.policy-content ul {
    margin: 12px 0;
    padding-right: 20px;
}

.policy-content li {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.policy-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-note {
    background: #fff3cd;
    border-right: 4px solid #ffc107;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 14px;
}

.product-meta {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-color);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.product-actions-detail {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn {
    background: #000;
    color: var(--white);
    flex: 1;
}

.add-to-cart-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Product Categories */
.product-categories {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.categories-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.categories-list {
    gap: 3px;
    flex-wrap: wrap;
}

.category-tag {
    background: var(--bg-light);
    color: #4b5563;
    padding: 6px 12px;
    font-size: 13px;
    display: inline-block;
    transition: var(--transition);
}

.category-tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Product Seller */
.product-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.seller-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.seller-name {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

/* Product Sizes */
.product-sizes {
    margin-bottom: 24px;
}

.sizes-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    font-size: 14px;
}

.sizes-label .required {
    color: #e74c3c;
    font-weight: 700;
}

.sizes-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.size-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.size-option.active {
    background: #000000;
    color: var(--white);
    border-color: #000000;
}

.buy-now-btn {
    background: #ffffff;
    color: #000;
    border: 2px solid #6b6b6b;
}

.buy-now-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.product-description {
    margin-top: 24px;
}

.product-description h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.description-content {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Product Description Section (Outside product-detail) */
.product-description-section {
    background: var(--white);
    padding: 40px 0;
    margin-top: 40px;
}

.product-description-section .container {
    max-width: 1200px;
}

.product-description-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.product-description-section .description-content {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    line-height: 1.9;
    color: var(--text-color);
    font-size: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.add-to-cart {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.add-to-cart:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.add-to-cart:active {
    transform: translateY(0);
}

/* ===== Product Detail Responsive ===== */
@media (max-width: 1024px) {
    .product-detail-grid {
        gap: 32px;
    }

    .main-image {}
}

@media (max-width: 768px) {
    .product-detail {
        padding: 24px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .main-image {}

    .product-title-detail {
        font-size: 22px;
    }

    .product-price-detail {
        font-size: 26px;
    }

    .product-description-section {
        padding: 30px 0;
        margin-top: 30px;
    }

    .product-description-section h3 {
        font-size: 20px;
    }

    .product-description-section .description-content {
        padding: 20px;
        font-size: 14px;
    }

    .product-meta-info {
        gap: 15px;
    }

    .meta-info-item {
        font-size: 13px;
    }

    .accordion-header {
        padding: 14px 16px;
    }

    .accordion-title {
        font-size: 14px;
    }

    .size-chart-table {
        padding: 15px;
    }

    .size-chart-table th,
    .size-chart-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .policy-content {
        padding: 15px;
    }

    .policy-content h4 {
        font-size: 15px;
    }

    .policy-content p,
    .policy-content li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 16px;
        border-radius: 8px;
    }

    .main-image {}

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .product-title-detail {
        font-size: 20px;
    }

    .product-price-detail {
        font-size: 24px;
    }

    .product-price-detail .old-price-detail {
        font-size: 16px;
    }

    .add-to-cart {
        padding: 14px 24px;
        font-size: 15px;
    }

    .product-description-section {
        padding: 20px 0;
        margin-top: 20px;
    }

    .product-description-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .product-description-section .description-content {
        padding: 15px;
        font-size: 13px;
        line-height: 1.7;
    }

    .product-meta-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .meta-info-item {
        font-size: 12px;
    }

    .accordion-header {
        padding: 12px 14px;
    }

    .accordion-title {
        font-size: 13px;
    }

    .accordion-title i {
        font-size: 14px;
    }

    .size-chart-table {
        padding: 12px;
    }

    .size-chart-table th,
    .size-chart-table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .size-chart-table th {
        font-size: 12px;
    }

    .policy-content {
        padding: 12px;
    }

    .policy-content h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .policy-content p,
    .policy-content li {
        font-size: 12px;
    }

    .policy-note {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* ===== Loading Indicator for Infinite Scroll ===== */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 15px;
    margin-top: 40px;
}

.loading-indicator p {
    color: #000;
    font-size: 16px;
    margin: 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Checkout Page */
.checkout-page {
    padding: 40px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.checkout-form-section {
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-md);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-order-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.submit-order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.checkout-summary-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.order-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 4px 0;
}

.item-qty {
    font-size: 12px;
    color: var(--text-light);
    margin: 4px 0 0 0;
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-color);
    font-size: 14px;
}

.total-row {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ===== Checkout Form Styles ===== */
.form-section {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 12px;
}

/* Shipping Options */
.shipping-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.shipping-option {
    display: block;
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-option input[type="radio"]:checked+.shipping-label {
    background-color: #e3f2fd;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.shipping-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.shipping-label:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.shipping-info {
    flex: 1;
}

.shipping-info strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 15px;
}

.shipping-desc {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

.shipping-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    margin-right: 15px;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: block;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked+.payment-label {
    background-color: #e3f2fd;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.payment-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.payment-label:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.payment-info {
    flex: 1;
}

.payment-info strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 15px;
}

.payment-desc {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

/* Bank Transfer Details */
.bank-transfer-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-color);
}

.bank-transfer-details h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-transfer-details h4 i {
    color: var(--primary-color);
}

.bank-detail {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.bank-detail:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bank-detail label {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
}

.bank-value {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.file-help {
    color: var(--text-light);
    font-size: 13px;
    margin: 8px 0;
}

.file-info {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 5px;
}

#bankTransferFile {
    padding: 10px;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#bankTransferFile:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

#bankTransferFile:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Submit Button */
.submit-order-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.submit-order-btn:active {
    transform: translateY(0);
}

/* ===== Reviews and Comments Section ===== */
.reviews-section {
    background-color: var(--bg-light);
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.reviews-container {
    display: block;
}

.reviews-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.reviews-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-overview {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.average-rating {
    text-align: center;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 8px;
}

.rating-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.rating-stars {
    font-size: 16px;
    color: #ffc107;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.rating-count {
    font-size: 12px;
    color: var(--text-light);
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.distribution-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.dist-label {
    min-width: 50px;
    text-align: left;
    color: var(--text-light);
}

.dist-bar {
    flex: 1;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.dist-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transition: width 0.3s ease;
}

.dist-count {
    min-width: 25px;
    text-align: right;
    color: var(--text-color);
    font-weight: 600;
    font-size: 12px;
}

/* Add Review Form */
.add-review-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.add-review-form h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 13px;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars-input {
    display: flex;
    gap: 6px;
    font-size: 22px;
    cursor: pointer;
}

.stars-input i {
    color: #ddd;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stars-input i:hover,
.stars-input i.active {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-text {
    font-size: 12px;
    color: var(--text-light);
    min-width: 80px;
}

.submit-review-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.submit-review-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Reviews List */
.reviews-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.reviews-list h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.reviews-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loading,
.no-reviews,
.error {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
    font-size: 14px;
}

.error {
    color: #e74c3c;
}

.review-item {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.review-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.review-info {
    flex: 1;
}

.review-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
}

.review-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-light);
}

.verified-badge {
    background-color: #d4edda;
    color: #155724;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 11px;
}

.review-rating {
    font-size: 14px;
    color: #ffc107;
    letter-spacing: 1px;
}

.review-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.review-comment {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-actions {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.helpful-btn,
.unhelpful-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
}

.helpful-btn:hover {
    background-color: #d4edda;
    border-color: #28a745;
    color: #28a745;
}

.unhelpful-btn:hover {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #dc3545;
}

.review-replies {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.review-replies h6 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.reply-item {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.reply-header strong {
    color: var(--primary-color);
}

.reply-date {
    color: var(--text-light);
}

.reply-text {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

.load-more-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reviews-list {
        grid-column: 1;
    }

    .review-header {
        flex-direction: column;
    }

    .review-actions {
        flex-direction: column;
    }

    .helpful-btn,
    .unhelpful-btn {
        width: 100%;
        justify-content: center;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-summary-section {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .shipping-label {
        flex-direction: column;
        align-items: flex-start;
    }

    .shipping-price {
        margin-right: 0;
        margin-top: 10px;
    }
}

/* ===== Tabs Navigation ===== */
.tabs-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    color: #333;
}

.tab-button.active {
    color: #007bff;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007bff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== Questions Section ===== */
.questions-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.add-question-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.add-question-form h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}

.question-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-form .form-group {
    display: flex;
    flex-direction: column;
}

.question-form label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 12px;
}

.question-form input,
.question-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.question-form input:focus,
.question-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.submit-question-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.submit-question-btn:hover {
    background: #0056b3;
}

.questions-list {
    margin-top: 0;
}

.questions-list h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}

.questions-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-item {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    border-right: 3px solid #007bff;
    transition: all 0.3s ease;
}

.question-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.question-text {
    margin: 0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}

.question-date {
    color: #999;
    font-size: 11px;
    white-space: nowrap;
}

.question-author {
    color: #000;
    font-size: 12px;
    margin: 6px 0;
}

.question-answers {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.question-answers h5 {
    margin-bottom: 8px;
    color: #333;
    font-size: 12px;
}

.answer-item {
    background: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    border-left: 3px solid #28a745;
}

.answer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 8px;
}

.answer-header strong {
    color: #28a745;
    font-size: 12px;
}

.answer-date {
    color: #999;
    font-size: 11px;
    white-space: nowrap;
}

.answer-text {
    color: #555;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.no-answers {
    color: #999;
    font-size: 12px;
    font-style: italic;
    margin: 10px 0 0 0;
}

.no-data {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-size: 14px;
}

.loading {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-size: 14px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .tabs-navigation {
        gap: 5px;
    }

    .tab-button {
        padding: 12px 15px;
        font-size: 14px;
    }

    .question-item {
        padding: 15px;
    }

    .question-header {
        flex-direction: column;
    }

    .question-date {
        align-self: flex-start;
    }

    .add-question-form {
        padding: 15px;
    }

    .submit-question-btn {
        width: 100%;
        align-self: stretch;
    }
}

/* Warning Section Styles */
.warning-section {
    background: #fff8f0;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 12px !important;
    margin-bottom: 15px !important;
}

.warning-section h3 {
    color: #ff9800;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

.warning-section h3 i {
    color: #ff9800;
}

.warning-box {
    background: #fffbf7;
    border-left: 4px solid #ff9800;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.warning-text {
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.warning-text:last-child {
    margin-bottom: 0;
}

.checkbox-group {
    margin-bottom: 0 !important;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 13px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-label span {
    user-select: none;
}

/* ===== Blog Articles Styles ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #999;
    margin-top: auto;
    flex-wrap: wrap;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-category {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .blog-image {
        height: 150px;
    }

    .blog-title {
        font-size: 16px;
    }

    .blog-excerpt {
        font-size: 13px;
    }
}

/* ===== Desktop Header Alignment ===== */
@media (min-width: 992px) {
    .header-container {
        justify-content: flex-start;
        gap: 30px;
    }

    .actions-section {
        margin-right: auto;
    }
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 20px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #ccc;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-item.active {
    border-color: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
    gap: 12px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-question span {
    flex: 1;
    line-height: 1.6;
}

.faq-icon {
    font-size: 13px;
    color: #999;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 22px 18px;
}

.faq-answer p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 15px;
    }
}