/* ===== DIGITAL GRANDPA MOBILE-OPTIMIZED VERSION ===== */

/* CSS Variables */
:root {
    /* Digital Grandpa Color Palette */
    --navy-blue: #1B365D;
    --flannel-grey: #6B7280;
    --deep-gold: #B8860B;
    --parchment: #F5F1E8;
    --soft-grey: #F8F9FA;
    --warm-white: #FEFEFE;
    --cabin-brown: #8B4513;
    --firelight: #FF6B35;
    --ember-glow: #FF8C42;
    --warm-cream: #F9F6F0;
    --soft-beige: #F4F1E8;
    --toned-background: #F2EFE6;
    --gentle-cream: #F7F4ED;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-family-primary: 'Georgia', 'Times New Roman', serif;
    --font-family-secondary: 'Arial', 'Helvetica', sans-serif;
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.18);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--navy-blue);
    background-color: var(--parchment);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2C4A6B 100%);
    padding: var(--space-md) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--deep-gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--parchment);
}

.brand-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--parchment);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(184, 134, 11, 0.2);
    color: var(--deep-gold);
    transform: translateY(-2px);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--parchment);
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--deep-gold);
    color: var(--navy-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--parchment);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy-blue);
    padding: var(--space-lg);
    gap: var(--space-md);
    border-top: 1px solid rgba(184, 134, 11, 0.3);
}

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

.nav-link-mobile {
    color: var(--parchment);
    text-decoration: none;
    padding: var(--space-md);
    border-radius: var(--border-radius);
    transition: background 0.3s ease;
    font-size: 1.1rem;
    text-align: center;
}

.nav-link-mobile:hover {
    background: rgba(184, 134, 11, 0.2);
    color: var(--deep-gold);
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

.section {
    display: none;
    min-height: calc(100vh - 80px);
}

.section.active {
    display: block;
}

/* Hero Section with Bright Cabin Background */
.hero-cabin {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabin-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cabin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.4) contrast(1.1); /* Much brighter */
}

.cabin-overlay-very-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(245, 241, 232, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(184, 134, 11, 0.05) 100%
    );
    z-index: 2;
}

/* Simple Circular Video Profile */
.circular-video-profile-simple {
    position: absolute;
    top: 120px;
    left: 40px;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.circular-video-profile-simple:hover {
    transform: scale(1.05);
}

.profile-circle-simple {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--deep-gold);
    box-shadow: var(--shadow-xl);
    background: var(--warm-white);
}

.profile-photo-simple {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Better framing for face */
}

.play-overlay-simple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 54, 93, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circular-video-profile-simple:hover .play-overlay-simple {
    opacity: 1;
}

.play-button-simple {
    width: 50px;
    height: 50px;
    background: var(--deep-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.play-icon {
    margin-left: 3px; /* Optical centering for play triangle */
}

.video-label-simple {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 241, 232, 0.95);
    color: var(--navy-blue);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--deep-gold);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.circular-video-profile-simple:hover .video-label-simple {
    background: var(--deep-gold);
    color: var(--warm-white);
}

/* Floating Lantern */
.floating-lantern {
    position: absolute;
    bottom: 100px;
    right: 60px;
    z-index: 3;
    font-size: 3rem;
    animation: gentle-sway 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* Fireplace Section with Welcome Mat */
.fireplace-section-welcome {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2C4A6B 100%);
    padding: var(--space-3xl) 0;
    color: var(--parchment);
}

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

.fireplace-card-welcome {
    background: rgba(245, 241, 232, 0.1);
    border-radius: var(--border-radius-xl);
    padding: var(--space-3xl);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 134, 11, 0.3);
}

.fire-welcome-header {
    margin-bottom: var(--space-xl);
}

.fire-welcome-header h2 {
    font-size: 3rem;
    color: var(--deep-gold);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cabin-invitation {
    font-size: 1.5rem;
    color: var(--parchment);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.fire-animation {
    font-size: 3rem;
    margin: var(--space-lg) 0;
    animation: flicker 2s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.9; transform: scale(0.98); }
}

.fireplace-log {
    width: 200px;
    height: 20px;
    background: var(--cabin-brown);
    border-radius: 10px;
    margin: var(--space-lg) auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.fireplace-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--parchment);
    margin: var(--space-lg) 0;
}

.chair-waiting-fire {
    font-size: 1.2rem;
    color: var(--deep-gold);
    font-weight: 600;
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(184, 134, 11, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(184, 134, 11, 0.3);
}

/* Story Section - Warmer Background */
.story-section-warm {
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--soft-beige) 100%);
    padding: var(--space-3xl) 0;
}

.story-section-warm h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--deep-gold);
    margin-bottom: var(--space-lg);
}

.story-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.story-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--flannel-grey);
    margin-bottom: var(--space-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.story-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.story-card {
    background: var(--gentle-cream);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--deep-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.story-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.story-card p {
    color: var(--flannel-grey);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.story-card blockquote {
    font-style: italic;
    color: var(--deep-gold);
    border-left: 3px solid var(--deep-gold);
    padding-left: var(--space-md);
    margin-top: var(--space-md);
    font-weight: 500;
}

/* Wisdom Shelf Section - Toned Down Background */
.wisdom-shelf-section-toned {
    background: linear-gradient(135deg, var(--toned-background) 0%, var(--gentle-cream) 100%);
    padding: var(--space-3xl) 0;
}

.wisdom-shelf-section-toned h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: var(--space-3xl);
}

.wisdom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.wisdom-card-toned {
    background: var(--soft-beige);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--deep-gold);
}

.wisdom-card-toned:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--warm-cream);
}

.wisdom-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.wisdom-card-toned h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.wisdom-card-toned p {
    color: var(--flannel-grey);
    line-height: 1.6;
}

/* Ready for More Section */
.ready-more-section {
    background: linear-gradient(135deg, var(--flannel-grey) 0%, #5A6470 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    color: var(--parchment);
}

.ready-more-section h2 {
    font-size: 2.5rem;
    color: var(--deep-gold);
    margin-bottom: var(--space-lg);
}

.ready-more-section p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.fire-icon {
    font-size: 3rem;
    margin: var(--space-xl) 0;
    animation: flicker 3s ease-in-out infinite alternate;
}

.fire-quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--deep-gold);
    margin-bottom: var(--space-xl) !important;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--deep-gold) 0%, #D4A017 100%);
    color: var(--navy-blue);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: var(--parchment);
}

/* Store Section */
.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--flannel-grey);
    margin-bottom: var(--space-2xl);
}

.store-controls {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--soft-grey);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--warm-white);
}

.search-box input:focus {
    outline: none;
    border-color: var(--deep-gold);
}

.search-icon {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--flannel-grey);
}

#categoryFilter {
    padding: var(--space-md);
    border: 2px solid var(--soft-grey);
    border-radius: var(--border-radius);
    background: var(--warm-white);
    font-size: 1rem;
    min-width: 150px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* Media Library */
.media-categories {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--deep-gold);
    background: transparent;
    color: var(--deep-gold);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--deep-gold);
    color: var(--navy-blue);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

/* Blog Section */
.featured-content {
    margin-bottom: var(--space-3xl);
}

.featured-post {
    background: var(--warm-cream);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--deep-gold);
    box-shadow: var(--shadow-md);
}

.featured-post h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.featured-post p {
    color: var(--flannel-grey);
    margin-bottom: var(--space-md);
}

.post-meta {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.post-meta span {
    color: var(--deep-gold);
    font-size: 0.9rem;
}

.btn {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--deep-gold);
    color: var(--navy-blue);
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    align-items: start;
}

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

.profile-image {
    width: 100%;
    max-width: 300px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-text h3 {
    color: var(--deep-gold);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.about-text p {
    color: var(--flannel-grey);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.credentials {
    background: var(--warm-cream);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--deep-gold);
}

.credentials h4 {
    color: var(--navy-blue);
    margin-bottom: var(--space-md);
}

.credentials ul {
    list-style: none;
    padding: 0;
}

.credentials li {
    color: var(--flannel-grey);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--deep-gold);
    font-weight: bold;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--warm-cream);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--deep-gold);
}

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

.contact-method h4 {
    color: var(--navy-blue);
    margin-bottom: var(--space-xs);
}

.contact-method p {
    color: var(--flannel-grey);
}

.newsletter-signup {
    background: var(--warm-cream);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border-top: 4px solid var(--deep-gold);
}

.newsletter-signup h3 {
    color: var(--navy-blue);
    margin-bottom: var(--space-md);
}

.newsletter-signup p {
    color: var(--flannel-grey);
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid var(--soft-grey);
    border-radius: var(--border-radius);
    background: var(--warm-white);
}

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

.newsletter-note {
    font-size: 0.9rem;
    color: var(--flannel-grey);
    font-style: italic;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2C4A6B 100%);
    color: var(--parchment);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 3px solid var(--deep-gold);
}

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

.footer-section h4 {
    color: var(--deep-gold);
    margin-bottom: var(--space-lg);
}

.footer-section p {
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--parchment);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--deep-gold);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-cta {
    display: inline-block;
    background: var(--deep-gold);
    color: var(--navy-blue);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: #D4A017;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--soft-grey);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    background-color: var(--warm-white);
    margin: 5% auto;
    padding: var(--space-xl);
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 800px;
    box-shadow: var(--shadow-xl);
}

.video-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    color: var(--flannel-grey);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-close:hover {
    color: var(--navy-blue);
}

.video-container {
    margin-bottom: var(--space-lg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.video-info h3 {
    color: var(--navy-blue);
    margin-bottom: var(--space-md);
}

.video-info p {
    color: var(--flannel-grey);
}

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

.cart-content {
    position: relative;
    background-color: var(--warm-white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
}

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

.cart-close {
    color: var(--flannel-grey);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--navy-blue);
}

.cart-items {
    padding: var(--space-lg);
    max-height: 400px;
    overflow-y: auto;
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--soft-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .brand-icon {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-cabin {
        height: 70vh;
    }
    
    .circular-video-profile-simple {
        top: 100px;
        left: 20px;
    }
    
    .profile-circle-simple {
        width: 120px;
        height: 120px;
    }
    
    .video-label-simple {
        bottom: -30px;
        font-size: 0.9rem;
    }
    
    .floating-lantern {
        bottom: 60px;
        right: 20px;
        font-size: 2rem;
    }
    
    /* Fire Section */
    .fire-welcome-header h2 {
        font-size: 2rem;
    }
    
    .cabin-invitation {
        font-size: 1.2rem;
    }
    
    .fireplace-card-welcome {
        padding: var(--space-xl);
    }
    
    /* Story Cards */
    .story-cards {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .story-card {
        padding: var(--space-lg);
    }
    
    /* Wisdom Grid */
    .wisdom-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .wisdom-card-toned {
        padding: var(--space-lg);
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    /* Store Controls */
    .store-controls {
        flex-direction: column;
    }
    
    .search-box {
        min-width: auto;
    }
    
    /* Media Categories */
    .media-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* Grids */
    .products-grid,
    .media-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Typography */
    .story-section-warm h2,
    .wisdom-shelf-section-toned h2,
    .ready-more-section h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    /* Spacing */
    .container {
        padding: 0 var(--space-md);
    }
    
    .story-section-warm,
    .wisdom-shelf-section-toned,
    .ready-more-section,
    .fireplace-section-welcome {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .circular-video-profile-simple {
        top: 80px;
        left: 15px;
    }
    
    .profile-circle-simple {
        width: 100px;
        height: 100px;
    }
    
    .fire-welcome-header h2 {
        font-size: 1.8rem;
    }
    
    .cabin-invitation {
        font-size: 1.1rem;
    }
    
    .story-card,
    .wisdom-card-toned {
        padding: var(--space-md);
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
}

