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

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e5e7eb;
    --border-dark: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    font-size: 16px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Wrapper - İçerik ve Sidebar */
.main-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 24px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.main-content.product-detail {
    padding: 0;
}

.main-content .page-header {
    margin-bottom: 2rem;
}

.currency-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Header */
header {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-dark);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Kur Seçici */
.currency-selector {
    display: flex;
    align-items: center;
}

.currency-selector select {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.currency-selector select:hover {
    background: rgba(255, 255, 255, 0.25);
}

.currency-selector select option {
    background: var(--primary-color);
    color: white;
}

.currency-rate-display {
    margin-left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    min-width: 60px;
    text-align: center;
    display: inline-block;
}

/* Kur Tablosu Widget */
.currency-table-widget {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin: 2rem 0;
}

.currency-table-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.currency-table-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.currency-update-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.currency-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0;
}

.currency-table thead {
    background: var(--primary-color);
    color: white;
}

.currency-table th {
    padding: 0.5rem 0.625rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.currency-table td {
    padding: 0.5rem 0.625rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
}

.currency-table tbody tr:hover {
    background: var(--bg-secondary);
}

.currency-table tbody tr:last-child td {
    border-bottom: none;
}

.currency-symbol {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.375rem;
}

.currency-code {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

.currency-rate,
.currency-buying,
.currency-selling {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    font-size: 0.8125rem;
}

.currency-table-footer {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.currency-table-footer small {
    color: var(--text-secondary);
    font-size: 0.6875rem;
}

.currency-source-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.currency-source-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Kur Tablosu Widget - Sidebar için optimize */
.currency-sidebar .currency-table-widget {
    margin: 0;
    position: sticky;
    top: 100px;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    .currency-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .currency-sidebar .currency-table-widget {
        position: relative;
        top: 0;
    }
}

@media (max-width: 1024px) {
    .main-wrapper {
        padding: 1.5rem 16px;
    }
    
    .currency-table-widget {
        margin: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .currency-rate-display {
        display: none;
    }
    
    .currency-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }
    
    .currency-table {
        font-size: 0.8125rem;
    }
    
    .currency-table th,
    .currency-table td {
        padding: 0.5rem 0.5rem;
    }
}

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

header h1 a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-icon span:first-child {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

#cart-count {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* Filters */
.filters {
    display: flex;
    gap: 0.75rem;
    margin: 2.5rem 0 2rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--border-dark);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-secondary);
}

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

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

.product-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.product-card h3 {
    padding: 1.25rem 1.25rem 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-card .price {
    padding: 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-card .category {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: capitalize;
    font-weight: 500;
    margin-top: auto;
}

/* Product Detail */
.product-detail {
    margin: 0;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.product-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.product-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-section {
    margin: 1rem 0;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.current-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
    letter-spacing: -1px;
}

.price-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.price-tiers {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 3px solid var(--warning-color);
    border: 1px solid #fde68a;
}

.price-tiers h4 {
    margin-bottom: 0.75rem;
    color: #92400e;
    font-weight: 600;
    font-size: 0.9375rem;
}

.price-tiers ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.price-tiers li {
    padding: 0.5rem 0.75rem;
    color: #78350f;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid #fde68a;
    line-height: 1.4;
}

/* Varyant Seçimi */
.variant-section {
    margin: 1.25rem 0;
}

.color-section,
.size-section,
.material-section {
    margin-bottom: 1rem;
}

.color-section label,
.size-section label,
.material-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.color-swatches {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-swatch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.color-swatch.selected {
    border-color: var(--primary-color);
    border-width: 4px;
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.color-swatch.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.size-buttons,
.material-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-button-wrapper,
.material-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.size-button,
.material-button {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--border-dark);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 45px;
    text-align: center;
}

.size-button:hover,
.material-button:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.size-button.selected,
.material-button.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.color-swatch-wrapper.selected .variant-price-modifier,
.size-button-wrapper.selected .variant-price-modifier,
.material-button-wrapper.selected .variant-price-modifier {
    color: var(--primary-color);
    font-weight: 700;
}

.variant-price-modifier {
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.variant-error {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.quantity-section {
    margin: 1.25rem 0;
}

.quantity-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls button {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-dark);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.quantity-controls button:active {
    transform: scale(0.95);
}

.quantity-controls input {
    width: 80px;
    padding: 0.5rem;
    text-align: center;
    border: 2px solid var(--border-dark);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.quantity-controls input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.add-to-cart-btn:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

/* Page Header */
.page-header {
    margin: 2rem 0 1.5rem;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Cart */
.cart-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.cart-empty p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

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

.cart-table {
    width: 100%;
    background: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.cart-table thead {
    background: var(--primary-color);
    color: white;
}

.cart-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cart-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-top: 1px solid var(--border-color);
}

.cart-table tbody tr {
    transition: background 0.2s ease;
}

.cart-table tbody tr:hover {
    background: var(--bg-secondary);
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.cart-item-info h4 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.cart-item-category {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: capitalize;
    font-weight: 500;
}

.cart-variant-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.cart-color-swatch {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.cart-variant-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
}

.cart-variant-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.cart-size-badge {
    display: inline-block;
    padding: 0.375rem 0.625rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-primary);
    min-width: 40px;
    text-align: center;
}

.cart-material-badge {
    display: inline-block;
    padding: 0.375rem 0.625rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text-primary);
    text-align: center;
}

.cart-variant-modifier {
    display: inline-block;
    font-size: 0.6875rem;
    color: var(--success-color);
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 3px;
    white-space: nowrap;
}

.cart-item-details {
    background: var(--bg-secondary);
}

.cart-item-details td {
    padding: 0 !important;
}

.price-details {
    padding: 1rem;
    background: var(--bg-primary);
    border-top: 2px solid var(--border-color);
}

.price-details h5 {
    margin: 0 0 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
}

.price-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.625rem;
    background: var(--bg-secondary);
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.price-detail-item.total {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-color: var(--primary-dark);
}

.price-detail-item.total .detail-label,
.price-detail-item.total .detail-value {
    color: white;
}

.detail-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.detail-value.positive {
    color: var(--success-color);
}

.details-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.3rem 0.4rem;
    cursor: pointer;
    margin-left: 0.375rem;
    transition: all 0.2s ease;
}

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

.details-icon {
    font-size: 0.6875rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.remove-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}


.cart-table .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-table .quantity-controls button {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
}

.cart-table .quantity-controls span {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.cart-table .quantity-controls input {
    width: 60px;
    min-width: 60px;
    padding: 0.375rem 0.5rem;
    text-align: center;
    border: 2px solid var(--border-dark);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.cart-table .quantity-controls input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.unit-price,
.item-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.remove-btn {
    padding: 0.625rem 1.25rem;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.cart-summary {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: right;
    border: 1px solid var(--border-color);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .product-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .product-info h2 {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 1.75rem;
    }
    
    .price-section {
        padding: 1rem;
        margin: 0.75rem 0;
    }
    
    .variant-section {
        margin: 1rem 0;
    }
    
    .color-section,
    .size-section,
    .material-section {
        margin-bottom: 0.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
    }

    .filters {
        padding: 1rem;
        gap: 0.5rem;
    }

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

    .cart-table {
        font-size: 0.875rem;
        border-radius: 8px;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.75rem;
    }

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

    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1.25rem;
        background: var(--bg-primary);
        box-shadow: var(--shadow-sm);
    }

    .cart-table tbody td {
        display: block;
        text-align: right;
        padding: 0.75rem 0;
        border-top: 1px solid var(--border-color);
    }

    .cart-table tbody td:first-child {
        border-top: none;
    }

    .cart-table tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: var(--text-secondary);
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .cart-summary {
        padding: 1.5rem;
    }

    .cart-total {
        font-size: 1.5rem;
    }

    .cart-total strong {
        font-size: 1.75rem;
    }

    .header-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .currency-selector select {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

    .color-swatch {
        width: 40px;
        height: 40px;
    }

    .size-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .main-wrapper {
        padding: 1rem 16px;
        gap: 1.5rem;
    }
    
    .currency-sidebar {
        width: 100%;
    }
}

/* Notify (Toast Notification) Styles */
.notify-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.notify {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.notify.show {
    opacity: 1;
    transform: translateX(0);
}

.notify.hide {
    opacity: 0;
    transform: translateX(400px);
}

.notify-success {
    border-left-color: var(--success-color, #10B981);
    background: #F0FDF4;
    color: #065F46;
}

.notify-error {
    border-left-color: var(--danger-color, #EF4444);
    background: #FEF2F2;
    color: #991B1B;
}

.notify-warning {
    border-left-color: var(--warning-color, #F59E0B);
    background: #FFFBEB;
    color: #92400E;
}

.notify-info {
    border-left-color: var(--info-color, #3B82F6);
    background: #EFF6FF;
    color: #1E40AF;
}

.notify-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.notify-success .notify-icon {
    background: #10B981;
    color: white;
}

.notify-error .notify-icon {
    background: #EF4444;
    color: white;
}

.notify-warning .notify-icon {
    background: #F59E0B;
    color: white;
}

.notify-info .notify-icon {
    background: #3B82F6;
    color: white;
}

.notify-message {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 500;
}

.notify-close {
    background: none;
    border: none;
    font-size: 24px;
    color: currentColor;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.notify-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .notify-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notify {
        min-width: auto;
        max-width: 100%;
    }
}

