/**
 * CloneSwiss - Common Components
 * Buttons, Cards, Grid, Flex, Price, Tags, Forms
 * Version: 1.0.0
 */

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-accent {
    background-color: var(--color-accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-outline-gold {
    background: transparent;
    color: #c9a227;
    border: 2px solid #c9a227;
}

.btn-outline-gold:hover {
    background: #c9a227;
    color: white;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

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

.btn-block {
    width: 100%;
}

.action-btn {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-text-light);
    cursor: pointer;
}

.action-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.wishlist-btn {
    border: 2px solid #bbb;
    border-radius: var(--radius-md);
    background-color: white;
    transition: all 0.3s ease;
    color: #bbb;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    border-color: #ca9f27;
    color: #ca9f27;
}

.wishlist-btn.active,
.wishlist-btn:active {
    color: #dc3545;
    border-color: #dc3545;
}

.wishlist-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.wishlist-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wishlist-toast svg {
    color: #22c55e;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-xl);
}

.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ============================================
   Grid System
   ============================================ */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ============================================
   Flex Utilities
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ============================================
   Price Styles
   ============================================ */
.price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-original {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.price-sale {
    color: var(--color-accent);
}

.price-save {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-success);
    background: rgba(34, 197, 94, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

/* ============================================
   Tags & Badges
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-new {
    background-color: var(--color-success);
    color: white;
}

.badge-sale {
    background-color: var(--color-error);
    color: white;
}

.badge-featured {
    background-color: var(--color-accent);
    color: white;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text);
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--color-accent);
    color: white;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-text);
    background: white;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--color-text);
    background: white;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--color-border);
}

.pagination-btn:hover {
    background: var(--color-bg-light);
    border-color: var(--color-text-light);
}

.pagination-btn.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--color-text-light);
}

/* ============================================
   Toast / Alert
   ============================================ */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success { background: var(--color-success); }
.toast-error { background: var(--color-error); }
.toast-warning { background: var(--color-warning); }

/* ============================================
   Loading States
   ============================================ */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, var(--color-bg-light) 25%, var(--color-border-light) 50%, var(--color-bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Lazy Load
   ============================================ */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazyload.loaded {
    opacity: 1;
}

/* ============================================
   Spacing Utilities
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

/* ============================================
   Border Utilities
   ============================================ */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* ============================================
   Shadow Utilities
   ============================================ */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ============================================
   Overflow
   ============================================ */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* ============================================
   Position
   ============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* ============================================
   Width & Height
   ============================================ */
.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    padding: 0.5rem 0;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.top-bar-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.top-bar-divider {
    color: rgba(201, 162, 39, 0.5);
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #c9a227 0%, #f4d03f 50%, #c9a227 100%);
    border-radius: 50%;
    color: #0a0a0a;
}

.logo-icon svg {
    stroke: #0a0a0a;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.logo-main {
    color: #ffffff;
}

.logo-accent {
    color: #c9a227;
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
}

.nav-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.nav-line {
    position: absolute;
    bottom: 0.5rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9a227, #f4d03f);
    transition: var(--transition);
}

.nav-link:hover .nav-text,
.nav-link.active .nav-text {
    color: #c9a227;
}

.nav-link:hover .nav-line,
.nav-link.active .nav-line {
    width: 60%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-arrow {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(201, 162, 39, 0.1);
    color: #c9a227;
}

/* Mega Menu Dropdown */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 2rem 0;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mega-menu-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
}

.mega-menu-list li a {
    display: block;
    padding: 0.5rem 0;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.mega-menu-list li a:hover {
    color: #c9a227;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Action Icon Buttons */
.action-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.action-icon-btn:hover {
    color: #c9a227;
    background: rgba(201, 162, 39, 0.1);
}

.action-icon-btn svg {
    stroke: currentColor;
    transition: var(--transition);
}

.action-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #0a0a0a;
    background: linear-gradient(135deg, #c9a227 0%, #f4d03f 100%);
    border-radius: 8px;
    display: none;
}

.action-count:empty,
.action-count[data-count="0"] {
    display: none;
}

.action-count:not(:empty) {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Dropdown */
.search-wrapper {
    position: relative;
    z-index: 1001;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 380px;
    background: #1a1a1a;
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.search-form {
    display: flex;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.search-input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: #ffffff !important;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 0.9375rem;
    color: #000000 !important;
    outline: none;
    transition: var(--transition);
}

.search-input::placeholder {
    color: #999999 !important;
}

.search-input:focus {
    border-color: #c9a227;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    background: #c9a227;
    color: #ffffff;
    border: 1px solid #c9a227;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #8b7019;
    border-color: #8b7019;
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    display: none;
    padding: 0.5rem;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.search-result-item:hover {
    background: rgba(201, 162, 39, 0.1);
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-result-name {
    font-weight: 500;
    color: #ffffff;
}

.search-result-price {
    font-weight: 600;
    color: #c9a227;
}

.search-view-all {
    display: block;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: #c9a227;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: background 0.2s;
}

.search-view-all:hover {
    background: rgba(201, 162, 39, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
    border-radius: 1px;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: #c9a227;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a1a 100%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    color: #c9a227;
}

.mobile-nav-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem;
    overflow-y: auto;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link {
    display: block;
    padding: 1.25rem 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #c9a227;
    padding-left: 0.5rem;
}

.mobile-nav-search {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-search-form {
    display: flex;
    gap: 0.5rem;
}

.mobile-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-icon {
    position: absolute;
    left: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.mobile-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ffffff;
    outline: none;
    transition: var(--transition);
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.mobile-search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #c9a227;
}

.mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    background: #c9a227;
    color: #ffffff;
    border: 1px solid #c9a227;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-search-btn:hover {
    background: #8b7019;
    border-color: #8b7019;
}

.mobile-nav-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-dropdown-toggle svg {
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: none;
    padding: 0 0 1rem 0;
    margin: 0;
    list-style: none;
}

.mobile-nav-dropdown.open .mobile-nav-submenu {
    display: block;
}

.mobile-nav-submenu li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-submenu li a:hover {
    color: #c9a227;
    padding-left: 1.5rem;
}

.mobile-nav-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.mobile-nav-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.mobile-nav-contact span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-nav-contact a {
    font-size: 1.125rem;
    font-weight: 600;
    color: #c9a227;
    text-decoration: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 0.875rem 1.25rem;
    background-color: var(--color-accent);
    color: white;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background-color: var(--color-accent-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-icon {
    height: 32px;
    opacity: 0.7;
}

/* ============================================
   Search Page
   ============================================ */
.search-page {
    min-height: 100vh;
}

.search-hero-section {
    position: relative;
    padding: 5rem 2rem 6rem;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
    text-align: center;
    overflow: hidden;
}

.search-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.search-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.2) 0%, transparent 2%),
        radial-gradient(circle at 40% 80%, rgba(201, 162, 39, 0.25) 0%, transparent 1.5%),
        radial-gradient(circle at 60% 20%, rgba(201, 162, 39, 0.2) 0%, transparent 1%);
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.search-hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-main-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: titleFadeIn 0.8s ease-out;
}

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

.search-query-text {
    color: #c9a227;
    font-style: italic;
}

.search-result-count {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.search-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.search-bar-container {
    margin-bottom: 3rem;
}

.search-form .search-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(201, 162, 39, 0.1);
    transition: all 0.3s ease;
}

.search-form .search-input-group:focus-within {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 0 0 2px #c9a227;
    transform: translateY(-2px);
}

.search-input-row {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon-wrapper {
    position: absolute;
    left: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.search-icon-wrapper svg {
    width: 20px;
    height: 20px;
    color: #999;
}

.search-form .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.875rem 0.5rem 0.875rem 3rem;
    font-size: 1.125rem;
    color: var(--color-text);
    outline: none;
    min-width: 0;
}

.search-form .search-input::placeholder {
    color: #999;
}

.search-form .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #c9a227;
    color: #ffffff;
    border: 1px solid #c9a227;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-form .search-btn:hover {
    background: #8b7019;
    border-color: #8b7019;
    transform: translateY(-1px);
}

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

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.results-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.results-count {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.results-page {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.sort-select {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: #c9a227;
}

.sort-select:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    animation: fadeInUp 0.6s ease-out;
}

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

.empty-state-icon {
    margin-bottom: 2rem;
    color: var(--color-text-light);
    opacity: 0.5;
}

.empty-state-icon svg {
    stroke-width: 1;
}

.empty-state-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.empty-state-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-tips {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.tips-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.tips-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.tips-list li {
    padding: 0.25rem 0;
    color: var(--color-text-light);
}

.popular-searches {
    margin-bottom: 3rem;
}

.popular-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.popular-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #c9a227 0%, #f4d03f 100%);
    border-radius: 2px;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.popular-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: linear-gradient(135deg, #c9a227 0%, #f4d03f 100%);
    color: #0a0a0a;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.popular-tag svg {
    opacity: 0.7;
}

.popular-tag:hover svg {
    opacity: 1;
}

.browse-categories {
    margin-bottom: 2rem;
}

.categories-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.categories-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #c9a227 0%, #f4d03f 100%);
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    border-color: #c9a227;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.category-name {
    font-weight: 500;
    color: var(--color-text);
}

/* ============================================
   Wishlist Page
   ============================================ */
.wishlist-container {
    max-width: 1400px;
    margin: 0 auto;
}

.wishlist-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.wishlist-empty {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(201, 162, 39, 0.1);
    color: #c9a227;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card .product-actions-grid {
    display: flex;
    gap: 0.5rem;
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification svg {
    color: #22c55e;
}

/* ============================================
   Cart Modal Styles (Global) - Enhanced
   ============================================ */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    pointer-events: none;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.5) 100%);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cart-modal.active .cart-modal-overlay {
    opacity: 1;
}

.cart-modal-content {
    position: relative;
    width: 95%;
    max-width: 400px;
    max-height: 90vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 28px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 10px 20px -2px rgba(0, 0, 0, 0.1),
        0 25px 50px -5px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto;
}

.cart-modal-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-star {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starFloat 3s ease-in-out infinite;
}

.star-1 { top: 15%; right: 10%; animation-delay: 0s; }
.star-2 { top: 25%; left: 8%; animation-delay: 0.5s; width: 6px; height: 6px; }
.star-3 { bottom: 30%; right: 15%; animation-delay: 1s; width: 10px; height: 10px; }

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
}

.circle-1 { top: 10%; right: 5%; width: 80px; height: 80px; animation: circlePulse 4s ease-in-out infinite; }
.circle-2 { bottom: 20%; left: 5%; width: 60px; height: 60px; animation: circlePulse 4s ease-in-out infinite 1s; }

@keyframes starFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-8px) rotate(180deg); opacity: 1; }
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.cart-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cart-modal-close:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.cart-modal-close svg {
    color: #64748b;
    transition: color 0.2s;
}

.cart-modal-close:hover svg {
    color: #334155;
}

.cart-modal-header {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.cart-modal-icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #86efac 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    box-shadow: 
        0 8px 24px rgba(34, 197, 94, 0.25),
        0 0 0 8px rgba(34, 197, 94, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.cart-modal-icon-wrapper .cart-modal-icon {
    color: #16a34a;
    animation: iconCheck 0.4s ease-out 0.5s both;
}

@keyframes iconBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes iconCheck {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.cart-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    animation: titleSlide 0.4s ease-out 0.3s both;
}

.cart-modal-subtitle {
    color: #64748b;
    font-size: 0.9375rem;
    animation: titleSlide 0.4s ease-out 0.35s both;
}

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

.cart-modal-product {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    animation: productSlide 0.4s ease-out 0.4s both;
}

@keyframes productSlide {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-modal-product .product-image-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.cart-modal-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.cart-modal-product .product-image-wrapper:hover .cart-modal-product-image {
    transform: scale(1.05);
}

.cart-modal-product-info {
    flex: 1;
    min-width: 0;
}

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

.cart-modal-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a227 0%, #d4af37 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.375rem;
    text-shadow: 0 1px 2px rgba(201, 162, 39, 0.1);
}

.cart-modal-product-options {
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.cart-modal-product-options span {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid #e2e8f0;
}

.cart-modal-actions {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    background: #fff;
    animation: actionsSlide 0.4s ease-out 0.5s both;
}

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

.cart-modal-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.9375rem 1rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-continue {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #334155;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.btn-continue:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

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

.btn-continue svg {
    transition: transform 0.2s;
}

.btn-continue:hover svg {
    transform: translateX(-3px);
}

.btn-view-cart {
    background: linear-gradient(135deg, #c9a227 0%, #d4af37 50%, #c9a227 100%);
    color: white;
    border: none;
    box-shadow: 
        0 4px 14px rgba(201, 162, 39, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-view-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-view-cart:hover::before {
    left: 100%;
}

.btn-view-cart:hover {
    background: linear-gradient(135deg, #b8941f 0%, #c9a227 50%, #b8941f 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(201, 162, 39, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.btn-view-cart svg {
    transition: transform 0.2s;
}

.btn-view-cart:hover svg {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .cart-modal {
        overflow: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cart-modal::-webkit-scrollbar {
        display: none;
    }

    .cart-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 24px 24px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cart-modal-content::-webkit-scrollbar {
        display: none;
    }

    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cart-modal.active {
        align-items: flex-end;
    }

    .cart-modal-overlay {
        overflow: hidden;
    }

    .cart-modal-decoration {
        overflow: hidden;
    }

    .decoration-circle {
        display: none;
    }

    .cart-modal-header {
        padding: 2rem 1.25rem 1.25rem;
    }

    .cart-modal-product {
        padding: 1.25rem;
    }

    .cart-modal-actions {
        padding: 1rem 1.25rem 1.5rem;
    }

    .cart-modal-actions .btn {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

.cart-modal-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.cart-modal-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.cart-count-icon {
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

/* ============================================
   Mobile Responsive (Cart Modal - handled in responsive.css)
   ============================================ */

