/* ===== CSS Variables ===== */
:root {
    --primary: #e07b53;
    --primary-dark: #c96842;
    --primary-light: #f4a88a;
    --secondary: #2d5a4a;
    --secondary-light: #3d7a64;
    --accent: #f5c77e;
    --text: #2c3e50;
    --text-light: #6b7c8a;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-warm: #fef9f5;
    --border: #e1e5e9;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(224, 123, 83, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 123, 83, 0.5);
}

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

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

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

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

.btn-small {
    padding: 10px 18px;
    font-size: 0.9rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    color: var(--primary);
}

.logo-au {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff5ef 0%, #e8f4f0 50%, #fef3e8 100%);
    padding-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(224, 123, 83, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 90, 74, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 60px 20px 120px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ===== Filters Section ===== */
.filters-section {
    padding: 60px 20px 20px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-light);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

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

.view-toggle {
    display: flex;
    gap: 8px;
    background: white;
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.view-btn {
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-light);
    transition: all var(--transition);
}

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

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

/* ===== Products Grid ===== */
.products-section {
    padding: 0 20px 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.product-image {
    position: relative;
    padding-top: 100%;
    background: var(--bg-alt);
    overflow: hidden;
}

.product-image.emoji-bg {
    background: linear-gradient(135deg, #fef5ef 0%, #e8f8f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    transition: transform var(--transition);
}

.product-card:hover .product-emoji {
    transform: translate(-50%, -50%) scale(1.15);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.product-badge.bestseller {
    background: var(--accent);
    color: var(--text);
}

.product-badge.premium {
    background: var(--secondary);
}

.product-actions-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
}

.product-card:hover .product-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.action-btn.view {
    background: white;
    color: var(--text);
}

.action-btn.compare {
    background: var(--secondary);
    color: white;
}

.action-btn.compare.added {
    background: var(--accent);
    color: var(--text);
}

.product-info {
    padding: 20px;
}

.product-style {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #ffc107;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

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

.price-note {
    font-size: 0.75rem;
    color: var(--text-light);
}

.buy-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.buy-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===== Products Table ===== */
.products-table-container {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.products-table th,
.products-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.products-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.products-table tbody tr:hover {
    background: var(--bg-warm);
}

.table-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-product-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.table-emoji {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef5ef 0%, #e8f8f4 100%);
    border-radius: var(--radius-sm);
}

.table-product-name {
    font-weight: 500;
}

.table-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.table-compare-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    transition: all var(--transition);
}

.table-compare-btn:hover,
.table-compare-btn.added {
    background: var(--secondary);
    color: white;
}

/* ===== Quiz Section ===== */
.quiz-section {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #e8f4f0 100%);
    padding: 80px 20px;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 40px var(--shadow);
}

.quiz-progress {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-alt);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 25%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.quiz-question h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quiz-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    background: white;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: var(--bg-warm);
    transform: translateY(-2px);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(224, 123, 83, 0.1);
}

.option-icon {
    font-size: 2rem;
}

.option-text {
    font-weight: 500;
    text-align: center;
}

.quiz-results {
    text-align: center;
}

.quiz-results h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.recommended-products {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.recommended-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: left;
}

.recommended-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.recommended-emoji {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef5ef 0%, #e8f8f4 100%);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.compare-list-emoji {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef5ef 0%, #e8f8f4 100%);
    border-radius: 6px;
}

.recommended-info {
    flex: 1;
}

.recommended-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.recommended-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.match-score {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--text);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== Compare Section ===== */
.compare-section {
    padding: 80px 20px;
    background: var(--bg-alt);
}

.compare-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.compare-slot {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
}

.compare-slot.empty {
    border: 2px dashed var(--border);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: all var(--transition);
}

.compare-slot.empty:hover {
    border-color: var(--primary);
    background: rgba(224, 123, 83, 0.05);
}

.slot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    gap: 12px;
}

.plus-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-light);
}

.compare-slot-content {
    text-align: center;
}

.compare-slot-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.compare-slot-emoji {
    font-size: 4rem;
    display: block;
    height: 150px;
    line-height: 150px;
    text-align: center;
    background: linear-gradient(135deg, #fef5ef 0%, #e8f8f4 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.compare-slot-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.compare-slot-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.remove-compare {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--text);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background var(--transition);
}

.remove-compare:hover {
    background: #e74c3c;
}

.compare-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: var(--bg-alt);
    font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    background: var(--bg-alt);
    font-weight: 500;
}

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

.compare-actions {
    text-align: center;
}

/* ===== Guide Section ===== */
.guide-section {
    padding: 80px 20px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.guide-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform var(--transition);
}

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

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.guide-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== SEO Section ===== */
.seo-section {
    padding: 80px 20px;
    background: var(--bg-warm);
}

.seo-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 30px;
    color: var(--text);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.8;
}

.seo-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.seo-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}

.seo-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===== Footer ===== */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo-text {
    color: var(--primary-light);
}

.footer-brand .logo-au {
    color: rgba(255,255,255,0.8);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.affiliate-disclosure {
    font-size: 0.8rem !important;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius);
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    animation: modalIn 0.3s ease;
}

.modal-content.modal-small {
    max-width: 500px;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--text);
    color: white;
}

.modal-body {
    padding: 40px;
}

.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-product-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-product-image.modal-emoji-bg {
    background: linear-gradient(135deg, #fef5ef 0%, #e8f8f4 100%);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-emoji {
    font-size: 8rem;
}

.modal-product-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.modal-product-info h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-product-info .product-style {
    margin-bottom: 15px;
}

.modal-product-info .product-rating {
    margin-bottom: 15px;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.modal-features {
    margin-bottom: 25px;
}

.modal-features h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.modal-features ul {
    padding-left: 20px;
}

.modal-features li {
    margin-bottom: 6px;
    color: var(--text-light);
    list-style: disc;
}

.modal-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

.modal-price .price {
    font-size: 1.8rem;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.compare-product-list {
    display: grid;
    gap: 12px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.compare-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.compare-product-item:hover {
    border-color: var(--primary);
    background: var(--bg-warm);
}

.compare-product-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.compare-product-item span {
    font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .compare-slots {
        grid-template-columns: 1fr;
    }

    .modal-product {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 30px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 24px;
    }

    .filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .modal-body {
        padding: 20px;
    }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }

/* ===== Loading State ===== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== No Results ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-results h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(224, 123, 83, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(224, 123, 83, 0.5);
}
