* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8c52ff;
    --primary-dark: #6d3fd9;
    --primary-light: #a875ff;
    --secondary-color: #0f172a;
    --accent-color: #8c52ff;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-color: #ffffff;
    --bg-light: #ffffff;
    --bg-section: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
}

/* Top Bar */
.top-bar {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.625rem 2rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 400;
}

.top-bar p {
    margin: 0;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Currency Selector */
.currency-selector {
    position: relative;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fafc;
}

.currency-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.currency-selector:hover .currency-arrow {
    transform: rotate(180deg);
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.currency-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.currency-option:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.currency-option:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.currency-option:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.logo {
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fafc;
}

.back-btn span {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.back-btn:hover span {
    transform: translateX(-2px);
}

/* Cart Button */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fafc;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Views */
.view {
    display: none;
    min-height: calc(100vh - 200px);
    animation: fadeIn 0.4s ease-in-out;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Best Selling Carousel */
.best-selling-section {
    padding: 4rem 2rem;
    background: var(--bg-section);
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--bg-color);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    min-height: 300px;
}

.carousel-track {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.carousel-item {
    width: 100%;
    min-width: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
}

.carousel-item.active {
    opacity: 1;
    display: block;
    position: relative;
}

.carousel-product {
    display: flex;
    align-items: center;
    padding: 3rem;
    gap: 3rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-product:hover {
    transform: translateY(-2px);
}

.carousel-product-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: #ffffff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: visible;
}

.carousel-discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #dc2626;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.carousel-product-image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.carousel-product-info {
    flex: 1;
}

.carousel-product-brand {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.carousel-product-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.carousel-product-specs {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.carousel-product-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.carousel-price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 500;
}

.carousel-price-discounted {
    color: var(--primary-color);
    font-size: 2.25rem;
    font-weight: 700;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    z-index: 10;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 300;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Categories */
.categories-container {
    padding: 5rem 2rem;
    background: var(--bg-section);
}

.categories-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--bg-color);
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: grayscale(0);
}

.category-icon-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

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

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-arrow {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
}

/* View Header */
.view-header {
    background: linear-gradient(135deg, #6d3fd9 0%, #8c52ff 100%);
    padding: 4rem 2rem 3rem;
    color: white;
    position: relative;
}

.view-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.view-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
}

/* Products Container */
.products-container {
    padding: 3.5rem 2rem;
    background: var(--bg-section);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.filter-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background: var(--bg-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-image {
    width: 100%;
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 3.5rem;
    font-weight: 400;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.product-image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.product-card:hover .product-image::after {
    left: 100%;
}

.product-info {
    padding: 1.75rem;
}

.product-brand {
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--text-color);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.product-specs {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.product-price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

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

.product-discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #dc2626;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.product-image {
    position: relative;
}

/* Product Detail Page */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-image {
    width: 100%;
    height: 500px;
    background: #ffffff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    border: 1px solid var(--border-light);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-brand {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.product-detail-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-detail-specs {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

.product-variants {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.variant-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.variant-option {
    padding: 0.75rem 1.5rem;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-option:hover {
    border-color: var(--primary-light);
    background-color: #f8fafc;
}

.variant-option.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Color options styling */
.color-option {
    min-width: 100px;
    padding: 0.5rem 1rem;
}

.color-option-label {
    font-size: 0.9rem;
}

.color-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Product detail image */
.product-detail-image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
}

.product-detail-image-emoji {
    font-size: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.product-detail-price-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-detail-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-detail-price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 500;
}

.product-detail-discount-badge {
    background-color: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.product-detail-price-label {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
}

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

.add-to-cart-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.add-to-cart-btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Recommended Products Section */
.recommended-products-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.recommended-products-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.recommended-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cart-items-container {
    min-width: 0;
}

.cart-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.cart-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.cart-item-image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-brand {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cart-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cart-item-variants {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-item-variants span {
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: auto;
    white-space: nowrap;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.cart-empty h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.cart-empty p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.continue-shopping-btn,
.continue-shopping-btn-secondary {
    padding: 0.75rem 2rem;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.continue-shopping-btn:hover,
.continue-shopping-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.cart-summary {
    max-width: 400px;
    margin-left: auto;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.cart-summary-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-color);
}

.cart-summary-row span:last-child {
    font-weight: 600;
}

.cart-summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    padding-top: 0.5rem;
}

.cart-total span:last-child {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.continue-shopping-btn-secondary {
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
}

/* Checkout Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.checkout-modal-content {
    background: #1a1a1a;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #ff6b35;
    animation: slideUp 0.3s ease;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.checkout-modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid #333;
}

.checkout-header h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.checkout-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.checkout-close:hover {
    background: #ff6b35;
    color: #000000;
}

.checkout-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.checkout-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Checkout Form */
.checkout-form {
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
    background: #333;
}

.form-group input::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #2a2a2a;
    color: #ffffff;
}

.continue-to-payment-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: #ff6b35;
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.continue-to-payment-btn:hover {
    background: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Checkout Loading Animation */
.checkout-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 300px;
}

.checkout-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #333;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.checkout-loading-text {
    color: #999;
    font-size: 1rem;
    margin: 0;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.checkout-summary {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.checkout-summary-item span:first-child {
    color: #999;
    font-size: 1rem;
}

.checkout-total-amount {
    color: #ff6b35;
    font-size: 1.75rem;
    font-weight: 700;
}

.checkout-summary-note {
    margin-top: 1rem;
}

.checkout-summary-note p {
    color: #999;
    font-size: 0.9375rem;
    margin: 0;
}

.payment-methods h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.payment-option:hover {
    border-color: #ff6b35;
    background: #333;
    transform: translateX(5px);
}

.payment-option-icon {
    font-size: 2.5rem;
    color: #ff6b35;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
}

.payment-option-info {
    flex: 1;
}

.payment-option-name {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-option-amount {
    color: #ff6b35;
    font-size: 0.9375rem;
    font-weight: 500;
}

.payment-option-arrow {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.payment-option:hover .payment-option-arrow {
    transform: translateX(5px);
}

.checkout-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
}

.checkout-security {
    color: #999;
    font-size: 0.875rem;
    margin: 0;
}

/* Payment Processing */
.payment-processing {
    text-align: center;
    padding: 2rem;
}

.payment-processing-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.payment-processing h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.payment-processing p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.payment-details {
    background: #2a2a2a;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.payment-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: #ffffff;
    border-bottom: 1px solid #333;
}

.payment-detail-row:last-child {
    border-bottom: none;
}

.payment-detail-row span:last-child {
    color: #ff6b35;
    font-weight: 600;
}

.payment-amount-highlight {
    color: #ff6b35 !important;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Wallet Address Section */
.wallet-address-section {
    background: #2a2a2a;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.wallet-address-label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.wallet-address-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.wallet-address-input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    cursor: text;
}

.wallet-address-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.wallet-copy-btn {
    padding: 0.875rem 1.5rem;
    background: #ff6b35;
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wallet-copy-btn:hover {
    background: #ff8c5a;
    transform: translateY(-1px);
}

.wallet-address-note {
    color: #ff6b35;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

/* Confirm Payment Button */
.confirm-payment-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: #ff6b35;
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.confirm-payment-btn:hover:not(:disabled) {
    background: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.confirm-payment-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Payment Error */
.payment-error {
    background: #2a1a1a;
    border: 2px solid #dc2626;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.payment-error p {
    color: #ff6b6b;
    margin: 0;
    font-size: 0.9375rem;
}

/* Payment Success */
.payment-success {
    text-align: center;
    padding: 3rem 2rem;
}

.payment-success-icon {
    width: 80px;
    height: 80px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #000000;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.payment-success h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.payment-success p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.payment-success-details {
    background: #2a2a2a;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-success-btn {
    padding: 1rem 2.5rem;
    background: #ff6b35;
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-success-btn:hover {
    background: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 400;
    margin: 0;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-content p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 1.5rem;
        font-size: 0.8125rem;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-right {
        gap: 0.75rem;
    }

    .currency-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .currency-dropdown {
        right: 0;
        min-width: 140px;
    }

    .logo-img {
        height: 80px;
    }

    .best-selling-section {
        padding: 3rem 1.5rem;
    }

    .section-heading {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .carousel-product {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }

    .carousel-product-image {
        width: 150px;
        height: 150px;
        font-size: 4rem;
        margin: 0 auto;
    }

    .carousel-product-name {
        font-size: 1.5rem;
    }

    .carousel-product-price {
        font-size: 1.75rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .carousel-btn-prev {
        left: 0.5rem;
    }

    .carousel-btn-next {
        right: 0.5rem;
    }

    .categories-container {
        padding: 4rem 1.5rem;
    }

    .categories-title {
        font-size: 1.875rem;
        margin-bottom: 3rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

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

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

    .view-header {
        padding: 3rem 1.5rem 2.5rem;
    }

    .products-container {
        padding: 3rem 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image {
        height: 300px;
        font-size: 5rem;
    }

    .product-detail-name {
        font-size: 2rem;
    }

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

    .recommended-products-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .recommended-products-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .recommended-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-items-container {
        max-width: 100%;
    }

    .cart-summary {
        max-width: 100%;
        margin-left: 0;
        margin-top: 0;
        position: static;
    }

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

    .cart-item-price {
        margin-left: auto;
    }

    .checkout-modal {
        padding: 1rem;
    }

    .checkout-modal-content {
        max-height: 95vh;
    }

    .checkout-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .checkout-header h2 {
        font-size: 1.5rem;
    }

    .checkout-body {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-option {
        padding: 1.25rem;
        gap: 1rem;
    }

    .payment-option-icon {
        font-size: 2rem;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 1.5rem;
    }

    .carousel-product {
        padding: 1.5rem 1rem;
    }

    .carousel-product-image {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .carousel-product-name {
        font-size: 1.25rem;
    }

    .carousel-product-specs {
        font-size: 0.875rem;
    }

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

    .categories-title {
        font-size: 1.625rem;
    }

    .view-title {
        font-size: 1.75rem;
    }

    .category-card {
        padding: 1.75rem 1.25rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }
}
