/* ShepherdsCircuit - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #4a3728;
    --primary-dark: #3d2314;
    --primary-light: #5d4a3a;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #c44536;
    --dark-color: #3d2314;
    --tan-bg: #f5f0e6;
    --tan-dark: #e8e0d0;
    --gray-900: #1f2937;
    --gray-800: #374151;
    --gray-700: #4b5563;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #d1d5db;
    --gray-300: #e5e7eb;
    --gray-200: #f3f4f6;
    --gray-100: #f9fafb;
    --white: #ffffff;
    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

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

.btn-white:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

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

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

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

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

/* Header & Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.logo strong {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background-color: var(--gray-100);
}

.nav-cta {
    margin-left: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    background: var(--tan-bg);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='%234a3728' fill-opacity='0.04'%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: 1;
}

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

.hero h1 {
    color: var(--dark-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: var(--gray-700);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

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

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

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

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #faf8f4 0%, var(--tan-bg) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(74, 55, 40, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--tan-bg) 0%, var(--tan-dark) 100%);
    border-color: rgba(74, 55, 40, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i,
.feature-icon .fa-solid,
.feature-icon .fa-regular,
.feature-icon .fa-brands {
    font-size: 1.5rem;
    color: var(--white) !important;
    display: inline-block;
}

/* Category icons */
.category-item i,
.category-item .fa-solid {
    font-size: 1.25rem;
    color: var(--primary-color) !important;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: var(--tan-dark);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--dark-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background-color: var(--tan-bg);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gray-700);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    background-color: var(--tan-dark);
    padding: 4rem 0 0;
    color: var(--dark-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--primary-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
}

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

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

.footer-about p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-700);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: var(--gray-700);
    transition: var(--transition);
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    background: var(--tan-bg);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--gray-700);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-card {
    background: linear-gradient(135deg, #faf8f4 0%, var(--tan-bg) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(74, 55, 40, 0.1);
}

/* Receipt Lookup */
.receipt-lookup {
    max-width: 600px;
    margin: 0 auto;
}

.lookup-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lookup-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.lookup-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 55, 40, 0.1);
}

.receipt-result {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: none;
}

.receipt-result.show {
    display: block;
}

.receipt-result h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-300);
}

.receipt-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.receipt-detail:last-child {
    border-bottom: none;
}

.receipt-detail .label {
    font-weight: 500;
    color: var(--gray-600);
}

.receipt-detail .value {
    color: var(--dark-color);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 55, 40, 0.1);
}

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

select.form-control {
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

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

.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Donation Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #faf8f4 0%, var(--tan-bg) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(74, 55, 40, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--tan-bg) 0%, var(--tan-dark) 100%);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Categories List */
.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #faf8f4 0%, var(--tan-bg) 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 55, 40, 0.1);
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--tan-bg) 0%, var(--tan-dark) 100%);
}

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

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: linear-gradient(135deg, #faf8f4 0%, var(--tan-bg) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(74, 55, 40, 0.1);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--tan-bg) 0%, var(--tan-dark) 100%);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Donation Tax Receipt Form */
.donation-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.tax-receipt-form {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tax-receipt-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem 2rem;
    text-align: center;
}

.tax-receipt-header h2 {
    color: var(--white);
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
}

.tax-receipt-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9375rem;
}

.tax-receipt-body {
    padding: 2rem;
}

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

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

.donation-items-section {
    margin-top: 1.5rem;
}

.donation-items-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.items-table th,
.items-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.items-table th {
    background: var(--gray-100);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.items-table td input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
}

.items-table td input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.items-table .value-input {
    max-width: 120px;
}

.items-table tfoot td {
    font-weight: 600;
    background: var(--gray-50);
}

.total-row {
    font-size: 1.125rem;
}

.total-row td {
    border-top: 2px solid var(--gray-300);
}

.irs-disclosure {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.irs-disclosure h4 {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.irs-disclosure p {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.irs-disclosure ul {
    margin: 0.5rem 0 0 1.25rem;
    color: #92400e;
}

.irs-disclosure li {
    margin-bottom: 0.25rem;
}

.tax-receipt-footer {
    background: var(--gray-100);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.tax-receipt-footer p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.tax-receipt-footer .org-info {
    font-weight: 600;
    color: var(--dark-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Back button in receipt result */
.back-to-lookup {
    margin-bottom: 1rem;
}

/* Print Styles for Tax Receipt */
@media print {
    body * {
        visibility: hidden;
    }

    .tax-receipt-form,
    .tax-receipt-form * {
        visibility: visible;
    }

    .tax-receipt-form {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .no-print,
    .form-actions,
    .back-to-lookup,
    .main-header,
    .main-footer,
    .page-header {
        display: none !important;
    }

    .tax-receipt-header {
        background: var(--dark-color) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .items-table th {
        background: var(--gray-200) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .items-table td input {
        border: none;
        padding: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .section {
        padding: 3rem 0;
    }

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }

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

    .nav-cta {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lookup-form {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Donation form responsive */
    .form-row {
        grid-template-columns: 1fr;
    }

    .tax-receipt-body {
        padding: 1rem;
    }

    .tax-receipt-header {
        padding: 1rem;
    }

    .tax-receipt-footer {
        padding: 1rem;
    }

    .items-table th,
    .items-table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }
}

/* ==================== Shop Page Styles ==================== */

.shop-section {
    padding: 3rem 0;
}

.shop-filters {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-form .btn {
    white-space: nowrap;
}

.shop-results-info {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.shop-item-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.shop-item-image {
    position: relative;
    height: 220px;
    background: var(--gray-100);
    overflow: hidden;
}

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

.shop-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 3rem;
}

.condition-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.condition-new { color: #16a34a; }
.condition-like_new { color: #0891b2; }
.condition-good { color: #2563eb; }
.condition-fair { color: #d97706; }
.condition-poor { color: #dc2626; }

.shop-item-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-item-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.shop-item-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.shop-item-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-item-sku {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.shop-item-sku span {
    font-weight: 600;
}

.shop-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: auto;
}

.shop-item-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-item-actions .btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    border: none;
}

.btn-facebook:hover {
    background: #166fe5;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

.shop-contact-info {
    margin-top: 3rem;
    background: var(--tan-bg);
    color: var(--dark-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--tan-dark);
}

.shop-contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.shop-contact-info h3 i {
    margin-right: 0.5rem;
}

.shop-contact-info p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    font-size: 1.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* Shop page responsive */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-form .btn {
        width: 100%;
    }

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

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
}
