/* Anti-mainstream but comfortable design */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&display=swap');
@import url('variables.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    transition: background var(--duration-slow) var(--ease-bounce), 
                color var(--duration-slow) var(--ease-bounce);
    min-height: 100vh;
}

#app {
    min-height: 100vh;
    position: relative;
}

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-max);
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    transition: opacity var(--duration-slow) var(--ease-bounce);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-fixed);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 2px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.logo-text:hover {
    filter: brightness(1.1);
}

.logo-text:focus-visible {
    outline: var(--focus-visible);
    outline-offset: var(--focus-ring-offset);
}

.nav-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.nav-icon-btn {
    width: 50px;
    height: 50px;
    min-width: var(--min-touch-target);
    min-height: var(--min-touch-target);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.nav-icon-btn:focus-visible {
    outline: var(--focus-visible);
    outline-offset: 2px;
}

.nav-icon-btn .iconify {
    font-size: 24px;
}

.cart-trigger {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.profile-btn {
    background: var(--gradient-warm);
    color: var(--bg-primary);
}

.orders-btn {
    background: var(--gradient-secondary);
    color: var(--bg-primary);
}

.nav-icon-btn:hover {
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-lg);
}

.nav-icon-btn:active {
    transform: translateY(var(--active-lift));
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    min-width: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--bg-card);
}

.main-container {
    max-width: 1400px;
    margin: var(--space-asym-top) var(--space-asym-right) var(--space-asym-bottom) var(--space-asym-left);
    padding: var(--space-xl);
    padding-top: 140px;
}

.search-section {
    margin-bottom: var(--space-2xl);
}

.search-container {
    position: relative;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: var(--space-asym-left);
    margin-right: var(--space-asym-right);
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-snappy);
}

.search-wrapper:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.search-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-snappy);
    z-index: -1;
}

.search-wrapper:hover::before,
.search-wrapper:focus-within::before {
    opacity: 1;
}

.search-icon {
    position: absolute;
    left: var(--space-xl);
    color: var(--text-muted);
    font-size: 24px;
    transition: all var(--duration-normal) var(--ease-snappy);
    pointer-events: none;
}

.search-wrapper:focus-within .search-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.search-input {
    flex: 1;
    padding: var(--space-xl) var(--space-3xl) var(--space-xl) calc(var(--space-xl) * 2.5);
    font-size: var(--font-size-lg);
    background: transparent;
    border: none;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-snappy);
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
}

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: var(--space-lg) var(--space-2xl);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--bg-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-snappy);
    margin-right: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.search-btn:active {
    transform: scale(0.98);
}

.category-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding: var(--space-sm) var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-tag {
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration-normal) var(--ease-snappy);
}

.category-tag:hover {
    transform: translateY(-3px);
    background: var(--bg-secondary);
    border-color: var(--border-medium);
}

.category-tag.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.marquee-banner {
    margin: var(--space-3xl) 0;
    padding: var(--space-lg) 0;
    background: var(--gradient-warm);
    background-size: 300% 100%;
    animation: gradientShift 10s ease infinite;
    overflow: hidden;
    position: relative;
}

.marquee-banner::before,
.marquee-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 1;
}

.marquee-banner::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee-banner::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.marquee-text {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    padding: 0 var(--space-2xl);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-black);
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.products-section {
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.product-card:nth-child(3n) .product-image-area {
    height: 260px;
}

.product-card:nth-child(4n) .product-image-area {
    height: 280px;
}

.product-card {
    background: var(--bg-card);
    border: 3px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-snappy);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-image-area {
    height: 260px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-icon {
    font-size: 110px;
    color: var(--primary);
    transition: all var(--duration-slow) var(--ease-bounce);
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(5deg);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    line-height: var(--line-height-tight);
    flex: 0 0 auto;
}

.product-desc {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(var(--line-height-relaxed) * var(--font-size-base) * 2);
    flex: 1;
    min-height: 0;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: var(--space-md);
    border-top: 2px solid var(--border-light);
    flex: 0 0 auto;
    min-height: 60px;
}

.product-price {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-stock {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-bold);
}

.add-cart-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--duration-normal) var(--ease-snappy);
    box-shadow: var(--shadow-sm);
}

.add-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.orders-page {
    padding: var(--space-lg);
}

.address-page {
    padding: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.address-form-container {
    background: var(--bg-card);
    border: 3px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-snappy);
}

.address-form-container:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: #1a1a1a;
}

.form-input {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-secondary);
    border: 3px solid var(--border-light);
    border-radius: var(--radius-md);
    color: #1a1a1a;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    transition: all var(--duration-normal) var(--ease-smooth);
    resize: vertical;
    cursor: pointer;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
}

.form-input:hover:not(:focus) {
    border-color: var(--border-medium);
    background: var(--bg-card);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: var(--shadow-md), var(--focus-ring);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: var(--cursor-not-allowed);
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.btn-primary {
    flex: 1;
    padding: var(--space-xl) var(--space-2xl);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--duration-normal) var(--ease-snappy);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.05);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: var(--cursor-not-allowed);
}

.btn-primary:focus-visible {
    outline: var(--focus-visible);
    outline-offset: 2px;
}

.btn-secondary {
    padding: var(--space-xl) var(--space-2xl);
    background: transparent;
    border: 3px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: #1a1a1a;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--duration-normal) var(--ease-snappy);
}

.btn-secondary:hover {
    background: rgba(255, 107, 74, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-secondary:focus-visible {
    outline: var(--focus-visible);
    outline-offset: 2px;
}

.confirm-page-detail {
    padding: 20px;
    padding-top: 120px;
}

.breadcrumb-detail {
    margin-bottom: 30px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.breadcrumb-item {
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.breadcrumb-item:hover {
    color: #ff6b4a;
}

.breadcrumb-separator {
    color: rgba(255, 107, 74, 0.5);
}

.order-confirm-detail {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

/* Left Section */
.confirm-left-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 3px solid #e8e8e8;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.detail-section-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #2d2d2d;
}

.address-display {
    background: #fff8f0;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e8e8e8;
}

.address-display p {
    margin-bottom: 12px;
    color: #2d2d2d;
    font-size: 16px;
    font-weight: 600;
}

.address-display p:last-child {
    margin-bottom: 0;
}

.items-grid-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-card-detail {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff8f0;
    border-radius: 15px;
    border: 2px solid #e8e8e8;
    align-items: center;
    transition: all 0.3s;
}

.item-card-detail:hover {
    border-color: #ff6b4a;
    transform: translateX(-5px);
}

.item-icon-display {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    color: #ff6b4a;
}

.item-info-display {
    flex: 1;
}

.item-name-detail {
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.item-meta-detail {
    font-size: 14px;
    color: #999;
    font-weight: 600;
}

.item-price-detail {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b4a, #ffb84d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Right Section */
.confirm-right-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 3px solid #e8e8e8;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.summary-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #2d2d2d;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(255, 107, 74, 0.3);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #4a4a4a;
}

.summary-row.grand {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e8e8e8;
    font-size: 32px;
    color: #2d2d2d;
}

.grand-price {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b4a, #ffb84d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirm-btn-main {
    width: 100%;
    padding: 25px 40px;
    background: linear-gradient(135deg, #ff6b4a, #ffb84d);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(255, 107, 74, 0.3);
    margin-bottom: 15px;
}

.confirm-btn-main:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 74, 0.4);
}

.confirm-btn-main:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.edit-btn-main {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: 3px solid rgba(255, 107, 74, 0.3);
    border-radius: 20px;
    color: #ff6b4a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.edit-btn-main:hover {
    background: rgba(255, 107, 74, 0.1);
    border-color: #ff6b4a;
    transform: translateY(-3px);
}

.order-card {
    background: var(--bg-card);
    border: 3px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-snappy);
}

.order-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 3px dashed var(--border-light);
}

.order-id {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

.order-status {
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.status-pending {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.status-completed {
    background: var(--gradient-secondary);
    color: var(--bg-primary);
}

.order-items {
    margin-bottom: var(--space-lg);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
    color: #1a1a1a;
    font-weight: var(--font-weight-bold);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-black);
    padding-top: var(--space-lg);
    border-top: 3px solid var(--border-medium);
}

.total-price {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-drawer {
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border-left: 4px solid var(--border-strong);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 3px solid var(--border-light);
}

.cart-header h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-content {
    padding: var(--space-xl);
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 2px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-snappy);
}

.cart-item:hover {
    border-color: var(--primary);
    transform: translateX(-4px);
}

.cart-item-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    color: var(--primary);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-black);
    color: #1a1a1a;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.cart-item-price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-black);
    color: #1a1a1a;
    margin-bottom: var(--space-md);
}

.cart-footer {
    padding: var(--space-xl);
    border-top: 3px solid var(--border-light);
}

.cart-total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--space-xl);
}

.checkout-btn {
    width: 100%;
    padding: var(--space-xl);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-black);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-snappy);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.view-orders-btn {
    width: 100%;
    padding: var(--space-lg);
    background: transparent;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-snappy);
}

.view-orders-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--text-muted);
}

.empty-icon {
    font-size: 100px;
    margin-bottom: var(--space-xl);
    opacity: 0.3;
}

.empty-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.theme-toggle {
    padding: var(--space-md);
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-snappy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .header {
        padding: var(--space-md) var(--space-lg);
    }
    
    .logo {
        font-size: var(--font-size-xl);
    }
    
    .main-container {
        padding: var(--space-md);
        padding-top: 120px;
        margin: var(--space-md);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .product-card:nth-child(odd),
    .product-card:nth-child(even) {
        height: auto;
    }
    
    .product-card:nth-child(3n) .product-image-area,
    .product-card:nth-child(4n) .product-image-area {
        height: 180px;
    }
    
    .search-container {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .marquee-item {
        font-size: var(--font-size-lg);
        padding: 0 var(--space-lg);
    }
    
    .product-image-area {
        height: 180px;
    }
    
    .product-icon {
        font-size: 70px;
    }
    
    .add-cart-btn {
        padding: var(--space-sm);
        font-size: var(--font-size-sm);
    }
    
    .nav-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .nav-icon-btn .iconify {
        font-size: 18px;
    }
    
    .cart-count {
        font-size: 10px;
        padding: 1px 6px;
        min-width: 16px;
        top: -4px;
        right: -4px;
    }
}
