body {
    font-family: 'Arial', sans-serif;
    color: var(--dark-color);
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumbs li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs li a:hover {
    color: var(--secondary-color);
}

.breadcrumbs li span {
    margin: 0 8px;
    color: #999;
}

.breadcrumbs li strong {
    color: var(--dark-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: white;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color) !important;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

.nav-item.dropdown .dropdown-toggle::after {
    margin-left: 5px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-header {
    color: var(--dark-color);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 8px 20px;
    margin-bottom: 5px;
}

.dropdown-divider {
    margin: 8px 0;
}

.navbar-icons a {
    color: var(--dark-color);
    margin-left: 15px;
    position: relative;
}

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

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#heroSlider {
    width: 100%;
}

.slider-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

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

.slider-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slider-content {
    /* background: rgba(255, 255, 255, 0.6); */
    padding: 50px 40px;
    /* border-radius: 8px; */
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.25); */
    /* max-width: 550px; */
    margin-left: auto;
}

.slider-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.slider-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1rem;
}

.slider-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-orange {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-orange:hover {
    background: var(--primary-color);
    filter: brightness(0.9);
    color: white;
}

.btn-outline-orange {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    background: transparent;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s;
}

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


/* Search */
.search-section {
    background: var(--dark-color);
    padding: 30px 0;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    height: 50px;
}

.search-form button {
    padding: 15px 25px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-size: 18px;
}

.search-title {
    color: white;
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.search-content {
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .slider-image-wrapper {
        height: 500px;
    }

    .slider-content {
        padding: 30px 25px;
        max-width: 100%;
        margin: 0 20px;
    }

    .slider-title {
        font-size: 2rem;
    }

    .slider-subtitle {
        font-size: 1rem;
    }

    .slider-description {
        font-size: 0.9rem;
    }

    .slider-buttons {
        flex-direction: column;
    }

    .btn-orange,
    .btn-outline-orange {
        width: 100%;
        text-align: center;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

/* Featured Categories Section */
.featured-categories-section {
    padding: 60px 0;
}

.featured-category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    width: 100%;
}

.featured-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-category-card:hover img {
    transform: scale(1.05);
}

.featured-category-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: all 0.3s;
}

.featured-category-card:hover .featured-category-label {
    background: var(--primary-color);
    color: white;
}

/* Ensure center column matches left/right height */
.featured-categories-section .row {
    align-items: stretch;
}

.featured-categories-section .col-lg-4 {
    display: flex;
    flex-direction: column;
}

/* Center column with two stacked square boxes */
.featured-categories-section .col-lg-4:nth-child(2) .d-flex {
    height: 100%;
    gap: 1rem;
    justify-content: space-between;
}

.featured-categories-section .col-lg-4:nth-child(2) .mb-3 {
    margin-bottom: 0 !important;
    flex: 0 0 calc(50% - 0.5rem);
}

.featured-categories-section .col-lg-4:nth-child(2) .flex-grow-0 {
    flex: 0 0 calc(50% - 0.5rem);
}

.featured-categories-section .col-lg-4:nth-child(2) .featured-category-card {
    /* Center column boxes - maintain square but fit in half height */
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
}

/* Trending Section */
.trending-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    position: relative;
    height: 490px;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 1;
}

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

.product-badge.best-seller {
    background: #333;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    /* background: #f5f5f5; */
    padding: 20px;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info .btn-orange {
    font-size: 14px;
    padding: 10px 20px;
}

.product-rating {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.product-name {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Promo Banners */
.promo-section {
    padding: 60px 0;
}

.promo-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.promo-banner a {
    display: block;
    width: 100%;
    height: 100%;
}

.promo-banner img {
    width: 600px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.promo-banner:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .promo-banner img {
        width: 100%;
        height: 200px;
    }
}

/* Instagram Section */
.instagram-section {
    padding: 60px 0;
    background: white;
}

.instagram-title {
    text-align: center;
    margin-bottom: 10px;
}

.instagram-title i {
    color: var(--primary-color);
}

.instagram-subtitle {
    text-align: center;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.instagram-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    font-size: 3rem;
    color: white;
}

.instagram-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.video-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-indicator i {
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Features Section */
.features-section {
    background: white;
    padding: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
}

.feature-content h5 {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.feature-content p {
    color: #666;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: calc(1.6em * 3);
}


/* Footer */
footer {
    background: #f9f9f9;
    padding: 50px 0 30px;
}

.footer-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

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

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

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-about p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-contact p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--dark-color);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 40px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods img {
    height: 25px;
    margin-left: 10px;
}

.payment-methods i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 0px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }


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

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }

    .newsletter-form button {
        margin-top: 10px;
    }
}

/* All Categories Page */
.shop-inner {
    padding: 40px 0;
}

.page-title {
    margin-bottom: 30px;
    text-align: center;
}

.page-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.toolbar {
    margin-bottom: 30px;
}

.product-grid-area {
    margin-bottom: 40px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-card a {
    display: block;
    position: relative;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    padding: 15px 20px;
    font-weight: 700;
    text-align: center;
    color: var(--dark-color);
    transition: all 0.3s;
    font-size: 1rem;
}

.category-card:hover .category-label {
    background: var(--primary-color);
    color: white;
}

.no-rec {
    padding: 60px 0;
    font-size: 1.2rem;
    color: #999;
}

.pagination-area {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Product Detail Page */
.product-view-area {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.product-big-image {
    flex: 0 0 auto;
}

.product-details-area {
    flex: 1;
    min-width: 300px;
}

.product-name h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-name a {
    font-weight: 300;
    text-decoration: none;
    font-size: 1rem;
    color: var(--dark-color);
}

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

.product-rating {
    color: #ffc107;
}

.rating-links {
    color: #666;
    margin: 0;
}

.availability {
    margin: 0;
    font-weight: 600;
}

.availability.in-stock span {
    color: #28a745;
}

.availability.out-of-stock span {
    color: #dc3545;
}

.price-box {
    padding: 10px 0;
}

.price-box .special-price {
    margin-bottom: 10px;
}

.price-box .price-label {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.price-box .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-box .old-price {
    margin: 0;
}

.price-box .old-price .price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.short-description {
    margin-bottom: 30px;
}

.short-description h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.short-description p {
    color: #666;
    line-height: 1.6;
}

.product-variation {
    margin-top: 30px;
}

.cart-plus-minus {
    margin-bottom: 20px;
}

.cart-plus-minus label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.numbers-row {
    display: inline-flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.numbers-row .qtybutton {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}

.numbers-row .qtybutton:hover {
    background: #e9ecef;
}

.numbers-row .qty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
}

.cart-btn {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cart-btn .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-btn .btn-orange {
    background: var(--primary-color);
    color: white;
}

.cart-btn .btn-orange:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.large-image {
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
}

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

.flexslider-thumb {
    margin-top: 15px;
}

.flexslider-thumb .previews-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flexslider-thumb .previews-list li {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.flexslider-thumb .previews-list li:hover {
    border-color: var(--primary-color);
}

.flexslider-thumb .previews-list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-overview-tab {
    margin-top: 50px;
    padding: 30px 0;
    background: #f8f9fa;
}

.body-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.single-review {
    background: white;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.single-review .product-rating {
    margin: 10px 0;
}

.related-product-area {
    margin-top: 60px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .product-view-area {
        flex-direction: column;
    }

    .product-big-image,
    .product-details-area {
        width: 100%;
    }

    .large-image {
        max-width: 100%;
        height: 300px;
    }

    .price-box .product-price {
        font-size: 1.5rem;
    }

    .cart-btn {
        flex-direction: column;
    }

    .cart-btn .btn {
        width: 100%;
    }
}

/* Track Order Page */

.page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.account-login {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.box-authentication {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.box-authentication h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: center;
}

.before-login-text {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 14px;
}

.box-authentication label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.box-authentication .required {
    color: var(--primary-color);
    margin-left: 2px;
}

.box-authentication .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.box-authentication .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.box-authentication .button {
    width: 100%;
    padding: 14px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    margin-top: 10px;
}

.box-authentication .button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

@media (max-width: 768px) {
    .account-login {
        flex-direction: column;
        gap: 30px;
    }

    .box-authentication {
        max-width: 100%;
        padding: 30px 20px;
    }
}

/* Cart Page */
.cart-wrapper {
    padding: 60px 0;
}

.cart {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.order-detail-content {
    margin-bottom: 0;
}

.page-order {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
}

.cart_summary {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.cart_summary thead {
    background: var(--dark-color);
}

.cart_summary thead th {
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
}

.cart_summary thead th:first-child {
    border-radius: 8px 0 0 0;
}

.cart_summary thead th:last-child {
    border-radius: 0 8px 0 0;
}

.cart_summary tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.cart_summary tbody tr:hover {
    background: #f9f9f9;
}

.cart_summary tbody td {
    padding: 20px;
    vertical-align: middle;
    color: var(--dark-color);
}

.cart_summary .cart_product {
    width: 120px;
}

.cart_summary .cart_product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.cart_summary .action {
    text-align: center;
    width: 60px;
}

.cart_summary .action button,
.cart_summary .action a {
    background: #ff4444;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart_summary .action button:hover,
.cart_summary .action a:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.cart_summary .text-right {
    text-align: right;
}

.cart_summary tfoot tr {
    border-top: 2px solid var(--dark-color);
}

.cart_summary tfoot td {
    padding: 15px 20px;
    font-size: 1rem;
}

.cart_summary tfoot .pt-20 {
    padding-top: 20px;
}

.cart_summary tfoot strong {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.cart_navigation {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: -50px !important;
    padding-top: 20px;
    border-top: 0 none;
}

.checkout-btn {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 15px 40px;
    border: 0 none !important;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.checkout-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Quantity Controls in Cart */
.cart_summary .qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.cart_summary .qty-control button {
    background: #f8f9fa;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.cart_summary .qty-control button:hover {
    background: #e9ecef;
}

.cart_summary .qty-control input {
    border: none;
    width: 50px;
    text-align: center;
    font-weight: 600;
    padding: 8px 5px;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

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

.empty-cart h3 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 10px;
}

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

.empty-cart .btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.empty-cart .btn:hover {
    background: var(--secondary-color);
    color: white;
}

@media (max-width: 768px) {
    .cart {
        padding: 20px 15px;
    }

    .cart_summary {
        font-size: 0.85rem;
    }

    .cart_summary thead th,
    .cart_summary tbody td,
    .cart_summary tfoot td {
        padding: 10px 8px;
    }

    .cart_summary .cart_product {
        width: 80px;
    }

    .cart_summary .cart_product img {
        width: 60px;
        height: 60px;
    }

    .cart_navigation {
        flex-direction: column;
    }

    .checkout-btn {
        width: 100%;
        text-align: center;
    }
}

/* Checkout Page */
.checkout-page {}

.checkout-page .box-border .col-sm-6,
.checkout-page .box-border .col-xs-12 {
    margin-bottom: 5px;
}

.checkout-page .page-title {
    margin-bottom: 30px;
    text-align: left;
}

.checkout-page .page-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.checkout-page h4.checkout-sep {
    border: 0 none !important
}

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

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

.box-border li {
    margin-bottom: 0;
}

.box-border .mt-15 {
    margin-top: 15px;
}

.box-border .mt-25 {
    margin-top: 25px;
}

.box-border .col-sm-6 {
    position: relative;
    margin-bottom: 25px;
}

.box-border .col-xs-12 {
    position: relative;
    margin-bottom: 25px;
}

.box-border .form-control {
    width: 100%;
    padding: 8px 15px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.box-border .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.box-border label {
    position: absolute;
    left: 15px;
    top: 12px;
    padding: 0 5px;
    background: white;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.3s;
    pointer-events: none;
}

.box-border .form-control:focus+label,
.box-border .form-control:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.box-border label.required::after {
    content: ' *';
    color: var(--primary-color);
}

.box-border select.form-control {
    padding: 12px 40px 12px 15px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.box-border .select-col label {
    position: static;
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.checkout-sep {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.select-opt {
    margin: 20px 0;
}

.select-opt div label {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.select-opt input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.select-opt label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-color);
    flex: 1;
}

.select-opt div:has(input:checked) label {
    background: rgba(255, 107, 53, 0.08) !important;
    border-color: var(--primary-color) !important;
}

.alert h5 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.x-btn {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 12px 35px;
    border: none !important;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    margin-bottom: 30px;
}

.x-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Checkout Sidebar */
.sidebar-checkout {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.sidebar-bar-title {
    background: var(--dark-color);
    padding: 20px;
}

.sidebar-bar-title h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.sidebar-checkout .block-content {
    padding: 25px;
}

.sidebar-checkout dl {
    margin: 0;
}

.sidebar-checkout dt {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.sidebar-checkout dd {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.95rem;
}

#shipping {
    margin-top: 50px;
}


#state-dd,
#state-ib {
    position: relative;
}

@media (max-width: 768px) {
    .col2-right-layout .row {
        flex-direction: column-reverse;
    }

    .right.sidebar {
        margin-bottom: 30px;
    }

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

    .x-btn {
        width: 100%;
    }
}