/**
 * MoneyMentor Digital - Professional Finance Theme
 * Design: Deep Navy + Gold Accents, Sharp Edges, Editorial Style
 */

/* CSS Variables */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f2744;
    --navy-700: #1a3a5c;
    --navy-600: #2a4d6e;
    --gold-500: #c9a227;
    --gold-400: #dbb42c;
    --gold-300: #e5c65c;
    --cream-100: #faf8f5;
    --cream-200: #f5f2ed;
    --cream-300: #ebe6dd;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --success: #28a745;
    --danger: #dc3545;
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 8px 24px rgba(10, 22, 40, 0.12);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--cream-100);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-500);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: var(--navy-900);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--navy-800);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--cream-300);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

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

.header-contact {
    display: flex;
    gap: 1.5rem;
}

.header-contact a {
    color: var(--cream-300);
}

.header-contact a:hover {
    color: var(--gold-400);
}

.header-main {
    padding: 1rem 0;
}

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--gold-400);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--cream-200);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--gold-400);
    border-bottom-color: var(--gold-400);
}

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

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--gold-500);
    transition: all 0.2s ease;
}

.cart-link:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}

.cart-count {
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    min-width: 20px;
    text-align: center;
}

.cart-link:hover .cart-count {
    background: var(--navy-900);
    color: var(--gold-400);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--gold-400);
}

.hero-subtitle {
    color: var(--cream-300);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.hero-stat-label {
    color: var(--cream-300);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.hero-image {
    position: relative;
}

.hero-card {
    background: #fff;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--gold-500);
    z-index: -1;
}

.hero-card-badge {
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.hero-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.hero-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-card-price .current {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
}

.hero-card-price .original {
    font-size: 1.125rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-400);
    color: var(--navy-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
    background: var(--navy-900);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--navy-800);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--navy-900);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-light {
    background: #fff;
}

.section-cream {
    background: var(--cream-100);
}

.section-dark {
    background: var(--navy-900);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-dark .section-header h2 {
    color: #fff;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.section-dark .section-header p {
    color: var(--cream-300);
}

.section-badge {
    display: inline-block;
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 0;
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.product-badge.bestseller {
    background: var(--navy-900);
    color: var(--gold-400);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-icon {
    font-size: 3.5rem;
    opacity: 0.9;
}

.product-content {
    padding: 1.5rem;
}

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

.product-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--gold-500);
}

.product-excerpt {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price .current {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
}

.product-price .original {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--gold-500);
    transform: translateY(-4px);
}

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

.category-card h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.feature-item h3 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-item p {
    color: var(--cream-300);
    font-size: 0.95rem;
    margin: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold-500);
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--navy-800);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.testimonial-info h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--cream-300);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--navy-900);
    color: var(--cream-300);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--cream-300);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--cream-300);
}

.footer-bottom a:hover {
    color: var(--gold-400);
}

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

.payment-methods span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

/* Product Page */
.product-detail {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-gallery {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-gallery-icon {
    font-size: 6rem;
    opacity: 0.9;
}

.product-gallery-badge {
    position: absolute;
    top: 1.5rem;
    left: 0;
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info .product-category {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.product-info h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.product-info .product-excerpt {
    font-size: 1.125rem;
    -webkit-line-clamp: unset;
    margin-bottom: 1.5rem;
}

.product-price-large {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.product-price-large .current {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-900);
}

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

.product-price-large .discount {
    background: var(--success);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
}

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

.meta-item {
    background: var(--cream-100);
    padding: 1rem;
    text-align: center;
}

.meta-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.meta-item strong {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--navy-900);
}

.product-actions-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-actions-large .btn {
    flex: 1;
}

.product-guarantee {
    background: var(--cream-100);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-guarantee-icon {
    font-size: 2rem;
}

.product-guarantee-text h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
}

.product-guarantee-text p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.product-description {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.product-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-description-content {
    line-height: 1.8;
}

/* Cart Page */
.cart-page {
    padding: 3rem 0;
}

.page-title {
    margin-bottom: 2rem;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
}

.cart-items {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--navy-900);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.cart-item:last-child {
    border-bottom: none;
}

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

.cart-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-item-details h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.cart-item-details p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.cart-item-price,
.cart-item-subtotal {
    font-family: var(--font-serif);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: var(--danger);
}

.cart-summary {
    background: #fff;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary-header {
    background: var(--navy-900);
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.cart-summary-body {
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--navy-900);
    font-size: 1.25rem;
    font-weight: 700;
}

.summary-row.total .value {
    font-family: var(--font-serif);
    color: var(--navy-900);
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.coupon-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    font-size: 0.95rem;
}

.coupon-form input:focus {
    outline: none;
    border-color: var(--navy-700);
}

.cart-summary .btn {
    margin-top: 1rem;
}

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

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

.cart-empty h2 {
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Checkout Page */
.checkout-page {
    padding: 3rem 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
}

.checkout-form {
    background: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.form-group label .required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-700);
}

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

.order-summary {
    background: #fff;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary-header {
    background: var(--navy-900);
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.order-items {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.order-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.order-item-details h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.order-item-details p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.order-item-price {
    margin-left: auto;
    font-weight: 600;
}

.order-summary-body {
    padding: 1.5rem;
}

/* Download Page */
.download-page {
    padding: 4rem 0;
    min-height: 60vh;
}

.download-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.download-header {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
    padding: 3rem 2rem;
    color: #fff;
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.download-header h1 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.download-body {
    padding: 2rem;
}

.download-body h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.download-meta-item {
    text-align: center;
}

.download-meta-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-meta-item strong {
    font-size: 1rem;
    color: var(--navy-900);
}

.download-expired {
    background: #fff3cd;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #856404;
}

.download-error {
    background: #f8d7da;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
}

/* Products Page */
.products-page {
    padding: 3rem 0;
}

.products-header {
    margin-bottom: 2rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
}

.products-sidebar {
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold-500);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.75rem;
    color: var(--gray-700);
    transition: all 0.2s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--cream-100);
    color: var(--navy-900);
}

.category-list .count {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.products-main .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.about-hero p {
    color: var(--cream-300);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.about-image {
    background: var(--cream-200);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .header-top {
        display: none;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-800);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        height: 300px;
    }
    
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .products-main .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        height: 250px;
        order: -1;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-main .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-meta {
        grid-template-columns: 1fr;
    }
    
    .product-actions-large {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}
/* ================================================
   MOBILE OPTIMIZATION - Add this to the END of style.css
   ================================================ */

/* Mobile Header Improvements */
@media (max-width: 768px) {
    .header-inner {
        padding: 0.75rem 0;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .cart-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.25rem;
        padding: 0.5rem;
    }
}

/* Product Cards Mobile */
@media (max-width: 768px) {
    .product-card {
        border-radius: 0;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-icon {
        font-size: 2.5rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-category {
        font-size: 0.65rem;
        letter-spacing: 0.05em;
    }
    
    .product-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }
    
    .product-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-excerpt {
        font-size: 0.8rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.75rem;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .product-price .current {
        font-size: 1.1rem;
    }
    
    .product-price .original {
        font-size: 0.8rem;
    }
    
    .product-actions {
        width: 100%;
    }
    
    .product-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .product-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Products Page Layout Mobile */
@media (max-width: 768px) {
    .products-layout {
        gap: 1.5rem;
    }
    
    .products-sidebar {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .sidebar-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .category-list a {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    .products-main .products-grid {
        gap: 0.75rem;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* Product Detail Mobile */
@media (max-width: 768px) {
    .product-detail {
        padding: 1.5rem 0;
    }
    
    .product-gallery {
        height: 250px;
        margin-bottom: 0;
    }
    
    .product-gallery-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    .product-gallery-icon {
        font-size: 4rem;
    }
    
    .product-info {
        padding: 0;
    }
    
    .product-info .product-category {
        font-size: 0.7rem;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .product-excerpt {
        font-size: 0.95rem;
    }
    
    .product-price-large {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .product-price-large .current {
        font-size: 2rem;
    }
    
    .product-price-large .original {
        font-size: 1.1rem;
    }
    
    .product-price-large .discount {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .product-meta {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .meta-item span {
        font-size: 0.7rem;
    }
    
    .meta-item strong {
        font-size: 0.9rem;
    }
    
    .product-actions-large {
        gap: 0.75rem;
    }
    
    .product-actions-large .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .product-guarantee {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .product-guarantee-icon {
        font-size: 1.5rem;
    }
    
    .product-guarantee-text h4 {
        font-size: 0.95rem;
    }
    
    .product-guarantee-text p {
        font-size: 0.8rem;
    }
    
    .product-description {
        padding: 1.5rem 0;
    }
    
    .product-description h2 {
        font-size: 1.25rem;
    }
}

/* Related Products Mobile */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Force 2 column grid for related products */
    .products-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
}

/* Cart Page Mobile */
@media (max-width: 768px) {
    .cart-page {
        padding: 1.5rem 0;
    }
    
    .cart-item {
        padding: 1rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-title {
        font-size: 1rem;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    .cart-summary {
        padding: 1.25rem;
    }
    
    .cart-summary h3 {
        font-size: 1.1rem;
    }
}

/* Checkout Page Mobile */
@media (max-width: 768px) {
    .checkout-page {
        padding: 1.5rem 0;
    }
    
    .checkout-grid {
        gap: 1.5rem;
    }
    
    .checkout-form {
        order: 1;
    }
    
    .order-summary {
        order: 0;
        margin-bottom: 1rem;
    }
    
    .form-section {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .order-summary-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .order-item {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .order-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .order-item-details h4 {
        font-size: 0.9rem;
    }
    
    .order-item-details p {
        font-size: 0.75rem;
    }
    
    .order-item-price {
        font-size: 0.95rem;
    }
    
    .summary-row {
        font-size: 0.9rem;
    }
    
    .summary-row.total {
        font-size: 1rem;
    }
    
    .btn-block {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .payment-methods span {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* About Page Mobile */
@media (max-width: 768px) {
    .about-content h1 {
        font-size: 1.75rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .value-icon {
        font-size: 2rem;
    }
    
    .value-card h3 {
        font-size: 1.1rem;
    }
}

/* Contact Page Mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
}

/* FAQ Page Mobile */
@media (max-width: 768px) {
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Legal Pages Mobile */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 0.9rem;
    }
}

/* Categories Section Mobile */
@media (max-width: 768px) {
    .category-card {
        padding: 1.25rem;
    }
    
    .category-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
    
    .category-card p {
        font-size: 0.85rem;
    }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stat {
        text-align: center;
    }
    
    .hero-stat strong {
        font-size: 1.5rem;
    }
    
    .hero-stat span {
        font-size: 0.8rem;
    }
}

/* Testimonials Mobile */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-author strong {
        font-size: 0.95rem;
    }
    
    .testimonial-author span {
        font-size: 0.8rem;
    }
}

/* CTA Section Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: 2.5rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Features Grid Mobile */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

/* Alert Messages Mobile */
@media (max-width: 768px) {
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* Order Success Mobile */
@media (max-width: 768px) {
    .success-page {
        padding: 2rem 0;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-page h1 {
        font-size: 1.5rem;
    }
    
    .order-details {
        padding: 1.25rem;
    }
    
    .download-list {
        gap: 0.75rem;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .download-item .btn {
        width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .product-price-large .current {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.25rem;
    }
}
/* ================================================
   ADDITIONAL MOBILE FIXES - Add to END of style.css
   ================================================ */

/* Fix: "You May Also Like" Related Products Section */
@media (max-width: 768px) {
    /* Override inline styles on related products grid */
    .section .products-grid,
    .section-cream .products-grid,
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Better product card styling for single column */
    .section-cream .product-card {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 0;
    }
    
    .section-cream .product-card .product-image {
        height: 120px;
        border-radius: 0;
    }
    
    .section-cream .product-card .product-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .section-cream .product-card .product-badge {
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .section-cream .product-card .product-title {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .section-cream .product-card .product-excerpt {
        display: none;
    }
    
    .section-cream .product-card .product-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.5rem;
    }
    
    .section-cream .product-card .product-actions .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Alternative: Simple vertical stack for related products */
@media (max-width: 768px) {
    .product-detail + .section .products-grid,
    .section-cream .products-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .product-detail + .section .product-card,
    .section-cream .product-card {
        display: flex;
        flex-direction: row;
        background: white;
        border: 1px solid var(--gray-200);
        overflow: hidden;
    }
    
    .product-detail + .section .product-card .product-image,
    .section-cream .product-card .product-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .product-detail + .section .product-card .product-icon,
    .section-cream .product-card .product-icon {
        font-size: 2rem;
    }
    
    .product-detail + .section .product-card .product-content,
    .section-cream .product-card .product-content {
        flex: 1;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .product-detail + .section .product-card .product-category,
    .section-cream .product-card .product-category {
        font-size: 0.6rem;
        margin-bottom: 0.25rem;
    }
    
    .product-detail + .section .product-card .product-title,
    .section-cream .product-card .product-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }
    
    .product-detail + .section .product-card .product-title a,
    .section-cream .product-card .product-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-detail + .section .product-card .product-excerpt,
    .section-cream .product-card .product-excerpt {
        display: none;
    }
    
    .product-detail + .section .product-card .product-footer,
    .section-cream .product-card .product-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-top: auto;
    }
    
    .product-detail + .section .product-card .product-price,
    .section-cream .product-card .product-price {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .product-detail + .section .product-card .product-price .current,
    .section-cream .product-card .product-price .current {
        font-size: 1rem;
    }
    
    .product-detail + .section .product-card .product-price .original,
    .section-cream .product-card .product-price .original {
        font-size: 0.75rem;
    }
    
    .product-detail + .section .product-card .product-actions .btn,
    .section-cream .product-card .product-actions .btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .product-detail + .section .product-card .product-badge,
    .section-cream .product-card .product-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
        top: 0.4rem;
        left: 0.4rem;
    }
}

/* ================================================
   CONTACT PAGE MOBILE FIX
   ================================================ */

@media (max-width: 768px) {
    .contact-page {
        padding: 1.5rem 0;
    }
    
    .contact-page .page-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-page .page-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Force single column layout */
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    /* Contact form styling */
    .contact-form {
        order: 1;
        padding: 1.25rem;
        background: white;
        border: 1px solid var(--gray-200);
    }
    
    .contact-form h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem;
    }
    
    .contact-form .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        display: block;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        border: 1px solid var(--gray-300);
        border-radius: 0;
    }
    
    .contact-form .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    /* Contact info styling */
    .contact-info {
        order: 2;
        padding: 1.25rem;
        background: var(--navy-900);
        color: white;
    }
    
    .contact-info h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: white;
    }
    
    .contact-info-item {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .contact-info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .contact-info-item h4 {
        font-size: 0.9rem;
        color: var(--gold-400);
        margin-bottom: 0.25rem;
        font-family: var(--font-sans);
    }
    
    .contact-info-item p,
    .contact-info-item a {
        font-size: 0.95rem;
        color: rgba(255,255,255,0.9);
        word-break: break-word;
    }
    
    .contact-info-item a:hover {
        color: var(--gold-400);
    }
    
    /* Quick help section */
    .quick-help {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(255,255,255,0.05);
    }
    
    .quick-help h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        color: white;
    }
    
    .quick-help ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .quick-help li {
        margin-bottom: 0.5rem;
    }
    
    .quick-help a {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.8);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .quick-help a:hover {
        color: var(--gold-400);
    }
}

/* Extra small screens for contact */
@media (max-width: 380px) {
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        padding: 0.625rem;
        font-size: 0.95rem;
    }
}

/* ================================================
   PRODUCTS PAGE - MAIN GRID MOBILE FIX
   ================================================ */

@media (max-width: 480px) {
    /* Single column on very small screens */
    .products-main .products-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    /* Horizontal card layout for products list */
    .products-main .product-card {
        display: flex;
        flex-direction: row;
        background: white;
        border: 1px solid var(--gray-200);
    }
    
    .products-main .product-card .product-image {
        width: 110px;
        min-width: 110px;
        height: 110px;
    }
    
    .products-main .product-card .product-icon {
        font-size: 2.5rem;
    }
    
    .products-main .product-card .product-content {
        flex: 1;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
    }
    
    .products-main .product-card .product-category {
        font-size: 0.6rem;
    }
    
    .products-main .product-card .product-title {
        font-size: 0.9rem;
        line-height: 1.25;
    }
    
    .products-main .product-card .product-excerpt {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.5rem;
    }
    
    .products-main .product-card .product-footer {
        margin-top: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .products-main .product-card .product-price .current {
        font-size: 1rem;
    }
    
    .products-main .product-card .product-price .original {
        font-size: 0.7rem;
    }
    
    .products-main .product-card .product-actions .btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .products-main .product-card .product-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Keep 2-column grid on medium mobile screens */
@media (min-width: 481px) and (max-width: 768px) {
    .products-main .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    
    .products-main .product-card {
        display: flex;
        flex-direction: column;
    }
    
    .products-main .product-card .product-image {
        width: 100%;
        height: 140px;
    }
}