/**
 * 7OH Theme - Premium Kratom E-commerce
 * Colors: Green (#2E7D32) & Gold (#FFD700)
 * Mobile-first, high-performance design
 */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

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

:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary: #FFD700;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;

    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-logo: 'Pacifico', cursive;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

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

.logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
}

.nav {
    display: none;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-dropdown-toggle:hover {
    color: var(--primary);
}

.nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 0.5rem 0;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    z-index: 1000;
    transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out 0.5s;
    pointer-events: none;
}

/* Create invisible bridge between toggle and menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.15s ease-in-out, visibility 0s;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

@media (max-width: 767px) {
    .nav-dropdown-menu {
        display: none;
    }
}

.header-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-center;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1.25rem;
}

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

.cart-count {
    position: relative;
}

.cart-count::after {
    content: attr(data-count);
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 780px;
    display: flex;
    align-items: center;
    background: url('/assets/images/big-leaf-hero.webp') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
    padding: var(--space-3xl) 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Product Grid */
.section {
    padding: var(--space-3xl) 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.product-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-gray);
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-gray) 0%, #e5e7eb 100%);
    color: var(--text-light);
    font-size: 0.875rem;
}

.product-info {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.product-name a {
    color: var(--text);
}

.product-name a:hover {
    color: var(--primary);
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    flex: 1;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.5;
}

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

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

.btn-secondary {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

.btn-secondary:hover {
    background: #1B5E20;
    color: white;
}

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

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

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Why Choose Section */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3xl);
        align-items: center;
    }
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    color: white;
}

.newsletter-title {
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    border: none;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.social-link {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
    font-size: 1.25rem;
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #9ca3af;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.footer-description {
    color: #9ca3af;
    margin-bottom: var(--space-lg);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: var(--space-sm);
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Alert Banner */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius);
    margin-bottom: var(--space-md);
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid var(--success);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid var(--error);
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #2563eb;
}

/* Loading States */
.img-blur {
    filter: blur(20px);
    transform: scale(1.1);
    transition: filter 0.3s, transform 0.3s;
}

.img-loaded {
    filter: blur(0);
    transform: scale(1);
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.product-detail-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.product-form {
    margin: 2rem 0;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.form-select,
.form-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.product-features {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-gray);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-light);
}

.feature-badge i {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Alert Messages */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    margin: var(--space-md) 0;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 968px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--space-md);
    }

    .cart-item-quantity,
    .cart-item-total {
        grid-column: 2;
    }

    .cart-item-remove {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
    }
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.cart-item-details h3 a {
    color: var(--text);
    text-decoration: none;
}

.cart-item-details h3 a:hover {
    color: var(--primary);
}

.cart-item-variant {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0.25rem 0;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.cart-item-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.cart-item-remove:hover {
    background: #fee;
    color: var(--error);
}

.cart-summary {
    position: sticky;
    top: 100px;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: none;
    padding-top: var(--space-lg);
}

/* Stat Cards */
.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alert-error {
    background: #fee;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Product Variant Selection */
.variant-section {
    margin-bottom: var(--space-xl);
}

.variant-label {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.variant-tabs {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.variant-tab {
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.variant-tab:hover:not(:disabled):not(.active) {
    border-color: var(--primary);
    background: #e8f5e9;
}

.variant-tab.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.variant-tab:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.fire-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
}

.variant-price {
    font-size: 0.875rem;
    font-weight: 500;
}

.variant-tab.active .variant-price {
    color: white;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 200px;
}

.qty-btn-large {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}

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

.qty-input-large {
    width: 70px;
    height: 48px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

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

/* Print Styles */
@media print {
    .header, .footer, .btn, .newsletter {
        display: none;
    }
}

/* Auth & Account Pages */
.auth-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-input.error {
    border-color: var(--error);
}

.form-error {
    display: block;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-help {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Account Navigation Cards */
.account-nav-card {
    display: block;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.account-nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.account-nav-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.account-nav-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.account-nav-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
}

.data-table thead {
    background: var(--bg-gray);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
    background: var(--bg-gray);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-processing {
    background: #dbeafe;
    color: #1e40af;
}

.badge-completed, .badge-paid {
    background: #d1fae5;
    color: #065f46;
}

.badge-cancelled, .badge-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Address Cards */
.address-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.address-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.address-card-actions button,
.address-card-actions a {
    font-size: 0.875rem;
}
