/* ===========================
   General Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* ===========================
   Header Styles
   =========================== */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header .navbar {
    padding: 1rem 0;
}

.site-header .logo-img {
    height: 60px;
    width: auto;
}

.site-header .nav-link {
    color: #000;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.site-header .nav-link:hover {
    color: #333;
}

.site-header .nav-link.active {
    color: #000;
    font-weight: 600;
}

.site-header .nav-icon {
    font-size: 1.5rem;
    padding: 0.5rem;
    position: relative;
}

.site-header .cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-badge-pulse {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.site-header .dropdown-menu {
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.site-header .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #000;
}

.site-header .dropdown-item:hover {
    background-color: #f5f5f5;
}

.site-header .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

/* ===========================
   Main Content
   =========================== */
main {
    min-height: calc(100vh - 400px);
}

/* ===========================
   Footer Styles
   =========================== */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.site-footer .footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.site-footer .footer-text {
    color: #ccc;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

.site-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.site-footer .footer-links a {
    color: #ccc;
    font-size: 0.95rem;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-contact li {
    color: #ccc;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.site-footer .footer-contact i {
    margin-right: 0.75rem;
    color: #fff;
}

.site-footer .social-links {
    display: flex;
    gap: 1rem;
}

.site-footer .social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.site-footer .social-links a:hover {
    background-color: #fff;
    color: #000;
}

.site-footer .footer-divider {
    border-color: #333;
    margin: 2rem 0 1.5rem;
}

.site-footer .footer-copyright {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* ===========================
   Mobile Responsive
   =========================== */
@media (max-width: 991px) {
    .site-header .navbar-nav {
        padding: 1rem 0;
    }

    .site-header .nav-item {
        margin-bottom: 0.5rem;
    }

    .site-header .nav-icon {
        display: inline-flex;
    }

    .site-header .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f5f5f5;
    }
}

@media (max-width: 768px) {
    .site-header .logo-img {
        height: 50px;
    }

    .site-footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }

    .site-footer .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* ===========================
   Section Styles
   =========================== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* ===========================
   Categories Section
   =========================== */
.categories-section {
    background-color: #fff;
}

.category-card {
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.category-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

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

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

/* ===========================
   Products Section
   =========================== */
.products-section {
    background-color: #f8f8f8;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
}

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

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f5f5f5;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

.product-price .sale-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc3545;
    margin-right: 0.5rem;
}

.product-price .original-price {
    font-size: 0.95rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}

/* Mobile Responsive for Products */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .category-name {
        font-size: 0.9rem;
    }
}

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb-section {
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #000;
}

.breadcrumb-item.active {
    color: #000;
    font-weight: 500;
}

/* ===========================
   Product Detail Page
   =========================== */
.product-detail-section {
    background-color: #fff;
}

/* Image Gallery */
.product-gallery {
    display: flex;
    gap: 1rem;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100px;
    flex-shrink: 0;
}

.thumbnail-item {
    width: 100px;
    height: 120px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    border-color: #000;
}

.thumbnail-item.active {
    border-color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #ccc;
    font-size: 2rem;
}

.gallery-main {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f5;
    aspect-ratio: 3/4;
}

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

.main-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 5rem;
}

/* Product Info */
.product-detail-info {
    padding: 0 1rem;
}

.product-detail-name {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-detail-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.product-detail-price {
    margin-bottom: 2rem;
}

.product-detail-price .current-price,
.product-detail-price .sale-price {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.product-detail-price .original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 1rem;
}

/* Variant Selectors */
.variant-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.variant-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.variant-status {
    min-height: 24px;
    margin-top: 0.5rem;
}

.status-available {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-unavailable {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.variant-selector {
    margin-bottom: 2rem;
}

.selector-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.75rem;
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-option {
    min-width: 50px;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: #000;
}

.size-option.selected {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

/* Color Options */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option:hover {
    border-color: #000;
}

.color-option.selected {
    border-color: #000;
    background-color: #f5f5f5;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.color-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 50px;
    background-color: #fff;
    border: none;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.qty-btn:hover {
    background-color: #f5f5f5;
}

.qty-input {
    width: 60px;
    height: 50px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

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

.btn-add-cart {
    flex: 1;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-cart:hover {
    background-color: #333;
}

/* Product Description */
.product-description {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.description-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    text-align: left;
}

.description-toggle:hover {
    color: #333;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.description-content {
    padding: 1rem 0;
    color: #666;
    line-height: 1.8;
}

/* Mobile Responsive for Product Detail */
@media (max-width: 991px) {
    .product-gallery {
        flex-direction: column-reverse;
    }

    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .thumbnail-item {
        flex-shrink: 0;
    }

    .product-detail-info {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .product-detail-name {
        font-size: 1.5rem;
    }

    .product-detail-price .current-price,
    .product-detail-price .sale-price {
        font-size: 1.5rem;
    }

    .product-detail-price .original-price {
        font-size: 1.2rem;
    }

    .thumbnail-item {
        width: 80px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .product-actions {
        flex-direction: column;
    }

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

/* ===========================
   Cart Page Styles
   =========================== */
.cart-section {
    min-height: 60vh;
}

.cart-title {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
}

/* Cart Items */
.cart-items-wrapper {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

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

.cart-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

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

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
    font-size: 2rem;
}

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

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

.cart-item-name a {
    color: #000;
}

.cart-item-name a:hover {
    text-decoration: underline;
}

.cart-item-variant {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.variant-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #666;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.cart-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.cart-qty-btn {
    background-color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.cart-qty-btn:hover {
    background-color: #f5f5f5;
}

.cart-qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background-color: #fff;
}

.cart-item-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    background-color: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.cart-summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.cart-summary-divider {
    margin: 1rem 0;
    border-color: #e0e0e0;
}

.cart-summary-total-row {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 1rem;
}

.btn-checkout {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background-color: #333;
    color: #fff;
    opacity: 1;
}

.btn-continue-shopping {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    margin-top: 1rem;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    color: #666;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 5rem 0;
}

.empty-cart-icon {
    font-size: 6rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.empty-cart-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.empty-cart-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn-shop-now {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background-color: #333;
    color: #fff;
    opacity: 1;
}

/* Responsive Cart */
@media (max-width: 992px) {
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        gap: 1rem;
    }

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

    .cart-item-details {
        flex: 1 1 100%;
        order: 2;
    }

    .cart-item-actions {
        flex: 1 1 100%;
        order: 3;
        justify-content: space-between;
    }

    .cart-item-subtotal {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .cart-title {
        font-size: 1.5rem;
    }

    .cart-items-wrapper {
        padding: 1rem;
    }

    .cart-item {
        padding: 1rem 0;
    }

    .cart-item-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cart-quantity-selector {
        justify-content: center;
    }

    .cart-item-subtotal {
        text-align: center;
    }

    .cart-item-remove {
        text-align: center;
    }
}

/* ===========================
   Checkout Page Styles
   =========================== */
.checkout-section {
    min-height: 70vh;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
}

/* Checkout Form Card */
.checkout-form-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
}

.checkout-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.checkout-form-card .form-label {
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.checkout-form-card .form-control,
.checkout-form-card .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
}

.checkout-form-card .form-control:focus,
.checkout-form-card .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.payment-method-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
}

.payment-method-display i {
    font-size: 1.5rem;
    color: #000;
}

/* Order Summary Card */
.order-summary-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.order-summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

/* Order Items List */
.order-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

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

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

.order-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
}

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

.order-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
}

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

.order-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 0.25rem;
}

.order-item-variant {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.order-item-variant span {
    margin-right: 0.5rem;
}

.order-item-quantity {
    font-size: 0.85rem;
    color: #666;
}

.order-item-price {
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

/* Order Totals */
.order-totals {
    padding-top: 1rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.order-total-divider {
    margin: 1rem 0;
    border-color: #000;
}

.order-total-final {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 1rem;
}

/* Place Order Button */
.btn-place-order {
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-place-order:hover {
    background-color: #333;
}

.btn-place-order:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.btn-back-to-cart {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    margin-top: 1rem;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back-to-cart:hover {
    color: #666;
}

/* Responsive Checkout */
@media (max-width: 992px) {
    .order-summary-card {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .checkout-title {
        font-size: 1.5rem;
    }

    .checkout-form-card,
    .order-summary-card {
        padding: 1.5rem;
    }

    .checkout-form-title,
    .order-summary-title {
        font-size: 1.25rem;
    }
}

/* ===========================
   Order Confirmation Page Styles
   =========================== */
.order-confirmation-section {
    min-height: 70vh;
    background-color: #f8f9fa;
}

/* Confirmation Header */
.confirmation-header {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirmation-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.confirmation-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.order-number-display {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #f8f9fa;
    border: 2px solid #000;
    border-radius: 8px;
}

.order-number-label {
    font-size: 1rem;
    color: #666;
    margin-right: 0.5rem;
}

.order-number-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

/* Order Details Card */
.order-details-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-details-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

/* Order Info Section */
.order-info-section {
    margin-bottom: 2rem;
}

.order-info-section:last-child {
    margin-bottom: 0;
}

.order-info-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.order-info-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.order-info-label {
    font-weight: 600;
    color: #666;
    min-width: 150px;
}

.order-info-value {
    flex: 1;
    color: #000;
}

/* Confirmation Items List */
.confirmation-items-list {
    margin-top: 1rem;
}

.confirmation-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.confirmation-item:last-child {
    margin-bottom: 0;
}

.confirmation-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
}

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

.confirmation-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
}

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

.confirmation-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.confirmation-item-variant {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.confirmation-item-variant span {
    margin-right: 0.75rem;
}

.confirmation-item-quantity {
    font-size: 0.9rem;
    color: #666;
}

.confirmation-item-price {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    align-self: center;
}

/* Confirmation Totals */
.confirmation-totals {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.confirmation-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.confirmation-total-divider {
    margin: 1rem 0;
    border-color: #000;
}

.confirmation-total-final {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 1rem;
}

/* Payment Method Badge */
.payment-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
}

.payment-method-badge i {
    font-size: 1.5rem;
    color: #000;
}

/* Confirmation Actions */
.confirmation-actions {
    margin-top: 2rem;
}

.btn-continue-shopping-large {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-continue-shopping-large:hover {
    background-color: #333;
    color: #fff;
    opacity: 1;
}

/* Responsive Order Confirmation */
@media (max-width: 768px) {
    .confirmation-header {
        padding: 2rem 1.5rem;
    }

    .confirmation-icon {
        font-size: 4rem;
    }

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

    .order-details-card {
        padding: 1.5rem;
    }

    .order-details-title {
        font-size: 1.5rem;
    }

    .order-info-label {
        min-width: 120px;
        font-size: 0.9rem;
    }

    .order-info-value {
        font-size: 0.9rem;
    }

    .confirmation-item {
        flex-wrap: wrap;
    }

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

/* ===========================
   Category Products Page Styles
   =========================== */
.category-products-section {
    min-height: 70vh;
}

.category-header {
    margin-bottom: 3rem;
}

.category-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.category-product-count {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* Empty Category State */
.empty-category {
    padding: 5rem 0;
}

.empty-category-icon {
    font-size: 6rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.empty-category-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.empty-category-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn-back-home {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background-color: #333;
    color: #fff;
    opacity: 1;
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-wrapper .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .page-item {
    display: inline-block;
}

.pagination-wrapper .page-link {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
    background-color: #f5f5f5;
    border-color: #000;
    color: #000;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.pagination-wrapper .page-item.disabled .page-link {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Category Page */
@media (max-width: 768px) {
    .category-page-title {
        font-size: 2rem;
    }

    .category-product-count {
        font-size: 1rem;
    }

    .empty-category {
        padding: 3rem 0;
    }

    .empty-category-icon {
        font-size: 4rem;
    }

    .empty-category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .category-page-title {
        font-size: 1.5rem;
    }

    .pagination-wrapper .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}
