/* ============================================
   The Everyday Mama - Stylesheet
   A soft, nurturing design in pink and white
   ============================================ */

:root {
    /* Pink & White Color Palette */
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --pink-700: #be185d;
    
    --white: #ffffff;
    --cream: #fefdfb;
    --warm-white: #faf8f6;
    --soft-gray: #f5f3f0;
    --text-primary: #4a4a4a;
    --text-secondary: #6b6b6b;
    --text-muted: #9a9a9a;
    
    /* Semantic Colors */
    --primary: var(--pink-400);
    --primary-dark: var(--pink-500);
    --primary-light: var(--pink-100);
    --background: var(--cream);
    --card-bg: var(--white);
    --border-color: var(--pink-100);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    --card-padding: 24px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(236, 72, 153, 0.06);
    --shadow-md: 0 4px 20px rgba(236, 72, 153, 0.08);
    --shadow-lg: 0 8px 40px rgba(236, 72, 153, 0.12);
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
    color: var(--pink-600);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--pink-200);
}

.btn-secondary:hover {
    background: var(--pink-50);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--pink-50);
    color: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 1.25rem;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* ============================================
   Mobile Menu
   ============================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-section {
    margin: 16px 0;
}

.mobile-nav-section .section-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.mobile-nav-section a {
    padding-left: 16px;
    font-weight: 400;
    font-size: 0.95rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--pink-50) 50%, var(--white) 100%);
    padding: 100px 24px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Featured Post
   ============================================ */

.featured-post {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.post-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--soft-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-content {
    padding: 48px;
    padding-left: 0;
}

.post-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.read-more {
    font-weight: 600;
    color: var(--primary-dark);
}

.read-more:hover {
    color: var(--pink-600);
}

/* ============================================
   Blog Section
   ============================================ */

.blog-section {
    padding: var(--section-padding) 0;
    background: var(--background);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin: 0;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 8px;
}

.view-all {
    font-weight: 600;
    color: var(--primary-dark);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.post-card .post-image img {
    height: 200px;
}

.post-card .post-content {
    padding: var(--card-padding);
}

.post-card .post-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* ============================================
   Shop Preview
   ============================================ */

.shop-preview {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.shop-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shop-category-card {
    text-align: center;
    padding: 24px;
    background: var(--soft-gray);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-decoration: none;
}

.shop-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--pink-50);
}

.category-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

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

.shop-category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.shop-category-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Newsletter
   ============================================ */

.newsletter {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--pink-200) 0%, var(--pink-100) 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 12px;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--white);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--white);
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   Cart Sidebar
   ============================================ */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 500;
    margin-bottom: 4px;
}

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

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Admin Modal
   ============================================ */

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
}

.admin-modal.open {
    display: flex;
}

.admin-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 400px;
    width: 90%;
    position: relative;
}

.admin-modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
}

.admin-modal-content input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    margin-bottom: 16px;
}

.admin-modal-content .btn {
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* ============================================
   Blog Page Styles
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--pink-50) 100%);
    padding: 60px 24px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.blog-main {
    padding: var(--section-padding) 0;
}

/* ============================================
   Single Post Styles
   ============================================ */

.post-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.post-single-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-single-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.post-single-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.post-single-image {
    margin-bottom: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-single-image img {
    width: 100%;
    height: auto;
}

.post-single-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-single-content p {
    margin-bottom: 24px;
}

.post-single-content h2 {
    margin-top: 48px;
    margin-bottom: 24px;
}

.post-single-content h3 {
    margin-top: 36px;
    margin-bottom: 18px;
}

.post-single-content ul,
.post-single-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-single-content li {
    margin-bottom: 8px;
}

.post-single-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================
   Comments Section
   ============================================ */

.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comments-section h3 {
    margin-bottom: 24px;
}

.comment-form {
    background: var(--soft-gray);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.comment-form h4 {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 16px;
}

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

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comment {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 600;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comment-body {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.product-price .original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 8px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   About Page Styles
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--pink-50) 100%);
    padding: 80px 24px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-style: italic;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.about-content h2 {
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.about-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.about-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.about-signature {
    text-align: center;
    padding: 40px 0;
    font-size: 2rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .shop-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 60px 24px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .post-card.featured {
        grid-template-columns: 1fr;
    }
    
    .post-content {
        padding: 32px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-categories {
        grid-template-columns: 1fr;
    }
    
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--text-primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   Admin Panel Styles
   ============================================ */

.admin-panel {
    background: var(--soft-gray);
    padding: 16px 24px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    display: none;
}

.admin-panel.visible {
    display: block;
}

.admin-panel h4 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

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

.admin-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

/* Post Editor */
.post-editor {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    display: none;
}

.post-editor.visible {
    display: block;
}

.post-editor h3 {
    margin-bottom: 20px;
}

.editor-field {
    margin-bottom: 16px;
}

.editor-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.editor-field input,
.editor-field select,
.editor-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
}

.editor-field textarea {
    min-height: 300px;
}

.editor-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* ============================================
   Authentication Styles
   ============================================ */

/* Account Button in Header */
.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 8px;
}

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

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

.account-icon {
    font-size: 1.1rem;
}

/* Auth Section */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--cream) 100%);
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.auth-card.hidden {
    display: none;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--pink-700);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--white);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.auth-switch p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* ============================================
   Account Page Styles
   ============================================ */

.account-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Account Sidebar */
.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.account-user {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

.account-user h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--pink-700);
    margin-bottom: 4px;
}

.account-user p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.user-role {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.user-role.admin {
    background: var(--pink-500);
    color: var(--white);
}

/* Account Navigation */
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.account-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.account-nav-link span:first-child {
    font-size: 1.2rem;
}

/* Account Content */
.account-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.account-content h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--pink-700);
    margin-bottom: 8px;
}

.account-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Account Tabs */
.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--pink-50);
    border-radius: var(--radius-md);
}

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

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pink-700);
}

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

/* Quick Actions */
.dashboard-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--pink-700);
    margin-bottom: 20px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--cream);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.quick-action-card:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.quick-action-card span:first-child {
    font-size: 2rem;
}

/* Empty States */
.orders-empty,
.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

.orders-empty h3,
.wishlist-empty h3 {
    font-family: var(--font-display);
    color: var(--pink-700);
    margin-bottom: 8px;
}

.orders-empty p,
.wishlist-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Settings Form */
.settings-form {
    max-width: 600px;
}

.settings-section {
    margin-bottom: 40px;
}

.settings-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--pink-700);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

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

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.settings-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
}

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

.form-actions {
    margin-top: 32px;
}

/* Admin Panel Cards */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.admin-card {
    padding: 24px;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.admin-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--pink-700);
    margin-bottom: 8px;
}

.admin-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.admin-card-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-card-stats .stat {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.admin-card-stats .stat strong {
    color: var(--pink-700);
}

/* Responsive Account Page */
@media (max-width: 900px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .dashboard-stats,
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .auth-card {
        padding: 24px;
    }
    
    .account-content {
        padding: 24px;
    }
}
