/* 7055 Store - Global Styles with Outfit Font */
/* Google Font - Outfit is loaded via HTML <link> tags for better performance */

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

/* Root Variables */
:root {
    --primary-font: 'Outfit', 'Arial', sans-serif;
    --text-color: #2F4F4F; /* Dark Slate Grey */
    --heading-color: #2F4F4F; /* Dark Slate Grey */
    --primary-blue: #2563eb;
    --success-green: #059669;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --text-muted: #6b7280;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
}

/* Base Typography */
body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-light);
    font-weight: 100; /* Thin */
}

/* Font is now loading successfully! */

/* Headings - All use Outfit Bold */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    font-weight: 700; /* Bold */
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

/* Text Elements */
p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 100; /* Thin */
}

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

a:hover {
    color: #1d4ed8;
}

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

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

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

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

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

.logo img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

/* Fallback logo text (if image not available) */
.logo-text {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Button Base Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--primary-font);
    font-weight: 300; /* Light */
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

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

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

.btn-secondary {
    background: var(--border-light);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--border-medium);
}

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

.btn-success:hover {
    background: #047857;
}

.btn-danger {
    background: #dc2626;
    color: var(--white);
}

.btn-danger:hover {
    background: #b91c1c;
}

/* Checkout Button - Black & White with Sharp Corners */
.btn-checkout {
    background: #000 !important;
    color: white !important;
    border-radius: 2px !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: #333 !important;
    transform: translateY(-1px);
}

/* Email Input - Sharp Corners to Match Logo */
.email-input {
    border-radius: 2px !important;
}

/* Global Section - Clean Black & White Styling */
.global-section {
    background: #fff;
    color: #333;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.global-content {
    max-width: 800px;
    margin: 0 auto;
}

.global-content h2 {
    color: #000;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.global-content p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Global Footer - Black & White 7055 Store Branding */
.global-footer {
    background: #000;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.global-footer .footer-section h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.global-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.global-footer .footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.global-footer .footer-links a:hover {
    color: #fff;
}

.global-footer .payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.global-footer .payment-icon {
    font-size: 2rem;
    color: #fff;
    transition: color 0.3s ease;
}

.global-footer .payment-icon:hover {
    color: #ccc;
}

.global-footer .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
}

.global-footer .footer-tagline {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.global-footer .footer-copyright {
    color: #888;
    font-size: 0.9rem;
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: #000;
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.close {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #ccc;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
}

.modal-body h3 {
    color: #000;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body a {
    color: #000;
    text-decoration: underline;
}

.modal-body a:hover {
    color: #333;
}



/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--primary-font);
    font-weight: 300; /* Light */
    color: var(--heading-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 100; /* Thin */
    color: var(--text-color);
    background: var(--white);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-body {
    padding: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-light);
}

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-muted);
    font-family: var(--primary-font);
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-top: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}
