:root {
    --primary-color: #146c43;
    --secondary-color: #198754;
    --dark-color: #1f2937;
    --light-gray: #f3f4f6;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    font-size: 14px;
}

/* Top Header Bar */
.top-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 0;
    font-size: 0.75rem;
}

.top-header a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: opacity 0.3s;
}

.top-header a:hover {
    opacity: 0.8;
}

/* Sticky Navigation Wrapper */
.sticky-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
}

/* Main Navigation */
.main-navbar {
    background: white;
    padding: 12px 0;
    position: relative;
    z-index: 1002;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


.logo {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

/* Navbar Toggler Fix */
.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20, 108, 67, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar form {
    position: relative;
    width: 100%;
}

.search-bar input {
    border-radius: 8px;
    padding: 12px 50px 12px 20px;
    border: 1px solid #e5e7eb;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 4px 12px rgba(20, 108, 67, 0.15);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-icons a {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s;
    text-decoration: none;
}

@media (max-width: 991px) {
    .nav-icons a {
        margin: 0 10px;
    }
}

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

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Navigation */
.category-nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.category-nav .navbar-nav {
    width: 100%;
    justify-content: center;
}

.category-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
}

.category-nav .nav-link:hover {
    color: var(--primary-color);
    background: white;
}

.category-nav .dropdown-menu {
    border: none;

    border-radius: 10px;
    margin-top: 0;
}

.category-nav .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.category-nav .dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Hero Section with Slider */
.hero-section {
    padding: 30px 0;
    background: #ffffff;
}

.category-sidebar {
    background: white;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    height: 450px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.category-sidebar h5 {
    font-weight: 600;
    margin-bottom: 0;
    color: white;
    background: var(--primary-color);
    padding: 16px 20px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--primary-color);
}

.category-sidebar h5 i {
    margin-right: 10px;
    font-size: 1rem;
    color: white !important;
}

.category-list {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.category-list li {
    padding: 10px 15px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid transparent;
}

.category-list li:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateX(3px);
}

.category-list li:hover i {
    color: #1f2937;
}

.category-list li span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #374151;
}

.category-list li span i {
    font-size: 1rem;
    color: #6b7280;
    transition: color 0.2s;
}

.category-list li .bi-chevron-right {
    font-size: 0.75rem;
    color: #9ca3af;
    transition: all 0.2s;
}

.category-list li:hover .bi-chevron-right {
    color: #4b5563;
    transform: translateX(3px);
}

/* Carousel Styling */
.carousel-item {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 30px 35px;
    bottom: 40px;
    left: 40px;
    right: auto;
    text-align: left;
    max-width: 480px;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.carousel-caption h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
}

.carousel-caption p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #4b5563;
    font-weight: 400;
}

.btn-shop-now {
    background: var(--primary-color);
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-shop-now:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Product Cards */
.col-lg-5ths {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991px) {
    .col-lg-5ths {
        width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .col-lg-5ths {
        width: 50%;
    }
}

.section-title {
    text-align: center;
    margin: 40px 0 30px;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title p {
    color: #6b7280;
    font-size: 0.875rem;
}

.product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
    margin-bottom: 25px;
    position: relative;
    height: 350px;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

.product-card:hover {
    border-color: #d1d5db;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge.new {
    background: var(--secondary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 100%;
    display: block;
    text-decoration: none;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-overlay {
    display: none;
}

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

.product-overlay button {
    background: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    pointer-events: auto;
}

.product-overlay button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-category {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

@media (max-width: 576px) {
    .product-name {
        margin-bottom: 4px;
        font-size: 0.8rem;
    }
    .product-info {
        padding: 8px 10px;
    }
    .product-price {
        margin-bottom: 5px;
    }
    .product-card {
        height: auto;
    }
}

.product-card-link:hover .product-name {
    color: var(--primary-color);
}

.product-rating {
    display: none;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 10px;
}

.current-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 108, 67, 0.3);
}

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

.btn-add-cart i {
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.btn-add-cart span {
    position: relative;
    z-index: 1;
}

.btn-add-cart.btn-success {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: white !important;
    cursor: not-allowed;
}

/* Category Showcase */
.category-showcase {
    padding: 60px 0;
    background: var(--light-gray);
}

.category-box {
    background: white;
    border-radius: 15px;
    overflow: hidden;

    transition: all 0.3s;
    margin-bottom: 30px;
    cursor: pointer;
    position: relative;
    height: 250px;
}

.category-box:hover {
    transform: translateY(-5px);

}

.category-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-box:hover img {
    transform: scale(1.1);
}

.category-box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
}

.category-box-overlay h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    color: white;
}

.newsletter h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);

}

/* Footer */
.footer {
    background: #0b3b24;
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer .social-icons a:hover {
    color: #6ee7b7;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.payment-methods i {
    font-size: 2rem;
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Cart Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    margin: 0 0 20px 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-header .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page-header .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 0 6px;
}

.cart-table {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-category {
    color: #6b7280;
    font-size: 0.875rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-btn {
    background: var(--light-gray);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 5px;
}

.cart-item-price-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 20px;
    min-width: 180px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.unit-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #d1d5db;
}

.unit-price small {
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Roboto', sans-serif;
}

.unit-price .price-value {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Roboto', sans-serif;
}

.total-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.total-price small {
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Roboto', sans-serif;
}

.cart-item-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #146c43;
    font-family: 'Roboto', sans-serif;
}

.remove-btn {
    background: #ef4444;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

    position: sticky;
    top: 20px;
}

.cart-summary h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: none;
    padding-top: 20px;
}

/* Delivery Location Section */
.delivery-section {
    margin: 20px 0 15px;
    padding: 0;
}

.delivery-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-family: 'Roboto', sans-serif;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.delivery-option:hover {
    border-color: #9ca3af;
    background: #f5f5f5;
}

.delivery-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 12px 0 0;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.delivery-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: #f0f0ff;
}

.delivery-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.location-name {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

.delivery-price {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.delivery-option:has(input[type="radio"]:checked) .delivery-price {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-checkout:hover {
    transform: translateY(-3px);

}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart i {
    font-size: 5rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Product Details Page - Unified Card */
.product-details-section {
    padding: 40px 0;
}

.product-main-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;

    transition: all 0.3s;
}

.product-main-card:hover {}

.product-gallery-unified {
    padding: 40px;
    background: #f9fafb;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: white;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    background: white;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-unified {
    padding: 40px;
}

.product-info-unified h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-meta span {
    color: #6b7280;
}

.product-details-price {
    margin-bottom: 30px;
}

.product-details-price .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 15px;
}

.product-details-price .original-price {
    font-size: 1.75rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.discount-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 10px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #4b5563;
}

.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.color-options,
.size-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.color-option:hover,
.color-option.active {
    border-color: var(--dark-color);
    transform: scale(1.1);
}

.size-option {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.size-option:hover,
.size-option.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-to-cart {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20, 108, 67, 0.3);
}

.btn-add-to-cart.btn-success {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    cursor: not-allowed;
}

.btn-add-to-cart.btn-success:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(107, 114, 128, 0.3);
}

.btn-wishlist {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-wishlist:hover {
    background: var(--primary-color);
    color: white;
}

.product-features {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.product-features h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features ul li {
    padding: 10px 0;
    color: #4b5563;
}

.product-features ul li i {
    color: #10b981;
    margin-right: 10px;
}

/* Product Details Content */
.product-details-content {
    margin-top: 60px;
}

.details-card {
    background: white;
    border-radius: 20px;
    padding: 40px;

    transition: all 0.3s;
}

.details-card:hover {}

.details-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description-text {
    line-height: 1.9;
    color: #4b5563;
    font-size: 1.05rem;
}

.description-text p {
    margin-bottom: 20px;
}

/* Technical Highlights */
.tech-highlights {
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.highlights-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(20, 108, 67, 0.05), rgba(25, 135, 84, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.highlight-item:hover {
    transform: translateX(5px);

}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.highlight-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.highlight-content p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Specifications Card */
.specs-card {
    background: white;
    border-radius: 20px;
    padding: 35px;

    position: sticky;
    top: 100px;
    transition: all 0.3s;
}

.specs-card:hover {}

.specs-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specs-list {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.spec-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1rem;
}

/* What's in the Box */
.box-contents {
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.box-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-list li {
    padding: 12px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.box-list li:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.box-list li i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.75rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-item {
        height: 300px;
    }

    .category-sidebar {
        margin-bottom: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .cart-item-image {
        margin: 0 auto 15px;
    }

    .product-actions {
        flex-direction: column;
    }

    .main-image {
        height: 300px;
    }

    .product-details-info h1 {
        font-size: 1.75rem;
    }
}

/* Related Products Section */
.related-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-products-section .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.related-products-section .section-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.checkout-form-container {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.checkout-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-family: 'Roboto', sans-serif;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
}

.required {
    color: #dc2626;
}

.checkout-input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.2s;
}

.checkout-input:focus {
    border-color: #146c43;
    box-shadow: 0 0 0 3px rgba(20, 108, 67, 0.1);
    outline: none;
}

.checkout-input::placeholder {
    color: #9ca3af;
}

.country-display {
    padding: 12px 15px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* Order Summary */
.order-summary-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.order-summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.order-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    background: transparent;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.order-items {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

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

.order-item-name {
    flex: 1;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
}

.order-item-qty {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.order-item-price {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 20px;
    font-family: 'Poppins', sans-serif;
}

.order-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

/* Shipment Section */
.shipment-section {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.shipment-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.shipment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipment-option {
    display: flex;
    align-items: center;
}

.shipment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #146c43;
}

.shipment-option label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 12px;
    margin-bottom: 0;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}

.shipment-location {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 400;
}

.shipment-price {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 600;
}

/* Order Total */
.order-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

/* Payment Method */
.payment-method {
    padding: 0;
    background: transparent;
    border-bottom: none;
    margin-bottom: 20px;
}

.payment-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.payment-method p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Place Order Button */
.btn-place-order {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 14px 16px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 108, 67, 0.25);
}

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

.btn-place-order:disabled {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 991px) {

    .checkout-form-container,
    .order-summary-container {
        padding: 25px;
    }

    .order-summary-title,
    .order-header,
    .order-items,
    .order-subtotal,
    .shipment-section,
    .order-total,
    .payment-method {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========================================
   SELECT2 CUSTOM STYLING FOR CHECKOUT
   ======================================== */

.select2-container--default .select2-selection--single {
    height: 45px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 8px 15px !important;
    font-size: 0.9rem !important;
    font-family: 'Roboto', sans-serif !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
    color: #1f2937 !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
    right: 8px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #146c43 !important;
    box-shadow: 0 0 0 3px rgba(20, 108, 67, 0.1) !important;
    outline: none !important;
}

.select2-dropdown {
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    font-family: 'Roboto', sans-serif !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    font-family: 'Roboto', sans-serif !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #146c43 !important;
    outline: none !important;
}

.select2-results__option {
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
    color: #374151 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #146c43 !important;
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f3f4f6 !important;
    color: #1f2937 !important;
}

/* Category Active State */
.category-list li.active {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateX(3px);
    font-weight: 600;
}

.category-list li.active span i {
    color: var(--primary-color);
}

/* Live Search Dropdown */
.live-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
}

.live-search-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

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

.live-search-item:hover {
    background-color: #f9fafb;
}

.live-search-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
}

.live-search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}

.live-search-name {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-price {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Pagination Styling */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    margin: 0 4px;
    border-radius: 6px !important;
    font-weight: 500;
    transition: all 0.3s;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    color: var(--primary-color);
    background-color: #f3f4f6;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(20, 108, 67, 0.25);
}

/* Bootstrap Overrides (Deep Green Theme) */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

.btn-track-compact {
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(20, 108, 67, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-track-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(20, 108, 67, 0.28);
}

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

.link-primary {
    color: var(--primary-color) !important;
    color: white !important;
}

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

/* Ensure add-to-cart in loops has background */
.btn-add-cart {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(20, 108, 67, 0.3);
}

.btn-add-cart.btn-success {
    background: linear-gradient(135deg, #9ca3af, #6b7280) !important;
    color: white !important;
    cursor: not-allowed !important;
}

/* ============================================
   CART SIDEBAR STYLES
   ============================================ */

/* Cart Sidebar Container */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.cart-sidebar.active {
    pointer-events: all;
}

/* Overlay */
.cart-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.cart-sidebar.active .cart-sidebar-overlay {
    opacity: 1;
}

/* Sidebar Content */
.cart-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90%;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.cart-sidebar.active .cart-sidebar-content {
    transform: translateX(0);
}

/* Sidebar Header */
.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cart-sidebar-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-sidebar-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.cart-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sidebar Body */
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-sidebar-body::-webkit-scrollbar {
    width: 6px;
}

.cart-sidebar-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Empty Cart Message */
.cart-sidebar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #6b7280;
    padding: 40px 20px;
}

.cart-sidebar-empty i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-sidebar-empty h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.cart-sidebar-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* Cart Item in Sidebar */
.cart-sidebar-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.cart-sidebar-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cart-sidebar-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--light-gray);
}

.cart-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-sidebar-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-sidebar-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-sidebar-item-category {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
}

.cart-sidebar-item-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-sidebar-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-sidebar-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.cart-sidebar-qty-btn:hover {
    border-color: var(--primary-color);
    background: var(--light-gray);
}

.cart-sidebar-qty-value {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.cart-sidebar-item-remove {
    background: transparent;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 4px;
    font-size: 1.1rem;
    transition: opacity 0.3s;
    align-self: flex-start;
}

.cart-sidebar-item-remove:hover {
    opacity: 0.7;
}

/* Sidebar Footer */
.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: white;
}

.cart-sidebar-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cart-sidebar-total span:first-child {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-view-cart,
.btn-checkout-sidebar {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-view-cart {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-bottom: 12px;
}

.btn-view-cart:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.btn-checkout-sidebar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-checkout-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 108, 67, 0.3);
    color: white;
}

/* ============================================
   FLOATING CART BUTTON
   ============================================ */

.floating-cart-btn {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(20, 108, 67, 0.35);
    z-index: 998;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
}

.floating-cart-btn:hover {
    width: 78px;
    height: 78px;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(20, 108, 67, 0.45);
    transform: translateY(-50%) scale(1.1);
}

.floating-cart-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Floating Cart Badge */
.floating-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
    animation: badgePulse 0.6s ease-out;
}

/* Badge Animation */
@keyframes badgePulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating button responsive */
@media (max-width: 768px) {
    .floating-cart-btn {
        width: 64px;
        height: 64px;
        right: 16px;
        font-size: 1.4rem;
    }

    .floating-cart-btn:hover {
        width: 72px;
        height: 72px;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .cart-sidebar-content {
        width: 100%;
        max-width: 100%;
    }

    .cart-sidebar-item-image {
        width: 60px;
        height: 60px;
    }

    /* ============================================
       SELECT2 CUSTOM STYLING
       ============================================ */

    .select2-container--default .select2-selection--single {
        border: 1px solid #d1d5db !important;
        border-radius: 6px;
        padding: 4px;
        height: 100%;
    }

    .select2-container--default.select2-container--focus .select2-selection--single {
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 0 3px rgba(20, 108, 67, 0.1);
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #1f2937;
        padding: 8px 11px;
        line-height: 1.5;
        font-family: 'Poppins', sans-serif;
        font-size: 0.9rem;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100%;
        right: 8px;
    }

    .select2-dropdown {
        border: 1px solid #d1d5db;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .select2-results__option {
        padding: 10px 12px;
        font-family: 'Poppins', sans-serif;
        font-size: 0.9rem;
        color: #374151;
    }

    .select2-results__option--highlighted[aria-selected] {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        color: white;
    }

    .select2-results__option[aria-selected=true] {
        background: #f3f4f6;
        color: var(--primary-color);
        font-weight: 500;
    }
}
