/* 
  Märchen.Gravur Design System - Refined & Animated
  Fonts: Playfair Display (Headers), Open Sans (Body)
  Theme: Fairy Tale / Magical / Premium / Soft
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Brand Colors - Soft & Magical - Refined */
    --color-primary-green: #2F4538;
    /* Deep Moosgrün */
    --color-primary-light: #4A6354;
    /* Softer Green */
    --color-secondary-pink: #E8B7B7;
    /* Puderrosa */
    --color-pink-hover: #F2D4D4;
    /* Lighter Pink Hover */
    --color-gold-accent: #D4AF37;
    /* Antique Gold for accents */

    --color-text-dark: #2C2C2C;
    /* Rich Dark */
    --color-text-light: #F9F9F9;

    --color-bg-light: #FFFCF9;
    /* Warm White */
    --color-bg-surface: #FFFFFF;
    --color-bg-pink-light: #FFF0F5;
    /* Slightly deeper pink tint */

    --color-border: #EAEAEA;

    /* Shadows & Glows - Enhanced */
    --shadow-soft: 0 10px 30px rgba(47, 69, 56, 0.05);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Deeper card shadow */
    --shadow-hover: 0 20px 40px rgba(232, 183, 183, 0.3);
    /* Pinkish glow on lift */

    --glow-text: 0 0 15px rgba(232, 183, 183, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);

    /* Spacing & Layout */
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;

    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.7;
    /* Animated Gradient Background */
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-pink-light) 100%);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary-green);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

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

button {
    font-family: inherit;
}

/* --- Header & Nav --- */
header {
    background-color: var(--color-primary-green);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.header-top {
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    animation: slideDownFade 0.8s ease-out;
    padding: 0 10px;
    overflow: hidden;
}

@keyframes slideDownFade {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-container {
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-bounce);
}

.logo-container:hover {
    transform: scale(1.05) rotate(1deg);
}

.logo-img {
    max-width: 140px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
    transition: box-shadow 0.4s ease;
}

.logo-container:hover .logo-img {
    box-shadow: 0 12px 30px rgba(232, 183, 183, 0.4);
}

.logo-subtext {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 8px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Nav */
.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Soft dividers instead of harsh lines */
    background: linear-gradient(90deg, transparent, rgba(47, 69, 56, 0.1), transparent);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top center;
    padding: var(--spacing-md) 0 0 0;
    position: relative;
    animation: fadeIn 1s ease-out 0.4s backwards;
    box-sizing: border-box;
    overflow: visible;
}

/* Decorative bottom line for nav */
.main-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 69, 56, 0.1), transparent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--color-text-light);
    position: relative;
    padding: 8px 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-gold-accent);
    text-shadow: 0 0 20px rgba(47, 69, 56, 0.2);
}

/* Animated underline */
.nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-secondary-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Icons */
.nav-icons {
    position: absolute;
    right: 15px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.icon-link {
    color: var(--color-text-light);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.icon-link:hover {
    background-color: var(--color-bg-pink-light);
    color: var(--color-primary-green);
    transform: translateY(-2px) rotate(10deg);
}

/* Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger-btn span {
    width: 28px;
    height: 2px;
    background-color: var(--color-text-light);
    border-radius: 2px;
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* --- Layout --- */
.main-container {
    max-width: 1300px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 260px 1fr;
    /* Fixed Sidebar + Fluid Grid */
    gap: 50px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Sidebar --- */
.sidebar {
    position: sticky;
    top: 150px;
    /* Stick when scrolling */
    height: fit-content;
    animation: slideRight 0.8s ease-out 0.2s backwards;
}

@keyframes slideRight {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar h3 {
    margin-bottom: var(--spacing-lg);
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.sidebar h3::after {
    content: '✦';
    position: absolute;
    right: -25px;
    top: -5px;
    color: var(--color-gold-accent);
    font-size: 1.2rem;
    animation: starPulse 2s infinite alternate;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.4) rotate(45deg);
        opacity: 1;
    }
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Button hover fill effect */
.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-secondary-pink);
    opacity: 0.15;
    z-index: -1;
    transition: width 0.4s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-primary-green);
    transform: translateX(10px);
    font-weight: 600;
}

.filter-btn.active {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--color-bg-pink-light);
}

/* --- Product Grid --- */
.product-section {
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.section-title {
    margin-bottom: 50px;
    font-size: 2.8rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Fancy title underline */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-secondary-pink), var(--color-gold-accent), var(--color-secondary-pink), transparent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* Card Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    background: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out backwards;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-bg-pink-light);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 320px;
    background-color: var(--color-bg-pink-light);
}

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

.product-card:hover .product-image {
    transform: scale(1.1) rotate(0.5deg);
}

/* Overlay on hover */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s;
    opacity: 0;
}

.product-card:hover::after {
    opacity: 1;
}

.product-info {
    padding: 25px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s;
}

.product-card:hover .product-info {
    background-color: #fffcfe;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-primary-light);
    letter-spacing: 2.5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.product-price {
    font-weight: 600;
    color: var(--color-primary-green);
    font-size: 1.25rem;
    margin-top: auto;
    /* Push to bottom */
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: rgba(30, 45, 35, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    animation: fadeInModal 0.4s ease forwards;
    padding: 20px;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--color-bg-surface);
    margin: auto;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideUpZoom 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: center center;
}

@keyframes slideUpZoom {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--color-text-dark);
    opacity: 0.6;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-body {
    display: flex;
    flex-direction: row;
    min-height: 500px;
    max-height: 80vh;
    max-height: 80dvh;
}

.modal-image {
    width: 50%;
    object-fit: cover;
    /* Fancy shape or just clean? Clean is better for premium */
}

.modal-details {
    padding: 60px 50px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.modal-details h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--color-primary-green);
}

.modal-category {
    font-size: 0.9rem;
    color: #999;
}

.modal-details .product-price {
    font-size: 1.5rem;
    margin: 20px 0;
    color: var(--color-text-dark);
}

.modal-description {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.product-shipping-info {
    margin-top: 20px;
    padding: 20px;
    background: #fdfdfd;
    border-radius: var(--radius-md);
    border: 1px dashed #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 20px rgba(47, 69, 56, 0.25);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

/* Shine effect on button */
.add-to-cart-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s, opacity 0.5s;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(47, 69, 56, 0.35);
}

.add-to-cart-btn:hover::after {
    opacity: 1;
    transform: scale(1);
    transition: 0s;
    /* Flash instantly */
}

/* --- Footer --- */
footer {
    background-color: var(--color-primary-green);
    color: white;
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Top decorative wave (SVG-like in CSS) */
footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--color-bg-light);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-content h3 {
    color: var(--color-secondary-pink);
    margin-bottom: 25px;
    font-size: 2rem;
    letter-spacing: 1px;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.social-links {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--color-primary-green);
    background: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    transform: scale(1.1) rotate(2deg);
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.legal-links {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Mobile Responsiveness --- */

/* Tablet and smaller (below 900px) */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin: var(--spacing-lg) auto;
    }

    .sidebar {
        display: none;
    }

    .sidebar h3 {
        font-size: 1.4rem;
    }

    .sidebar h3::after {
        display: none;
    }

    .filter-list {
        display: flex;
        flex-wrap: wrap;
        /* Wrap buttons instead of scrolling off-screen */
        justify-content: center;
        /* Center them for a cleaner look */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .filter-list::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 10px 20px;
        font-size: 1rem;
    }

    .filter-btn.active {
        background: var(--color-primary-green);
        color: #fff;
        border-color: var(--color-primary-green);
    }

    .filter-btn:hover,
    .filter-btn.active {
        transform: translateX(0);
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .hamburger-btn {
        display: flex;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary-green);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        gap: 0;
        text-align: center;
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
        animation: slideDownNav 0.4s ease;
    }

    @keyframes slideDownNav {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.85rem;
    }

    .nav-link::before {
        display: none;
    }

    .nav-icons {
        right: 15px;
        gap: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .modal-body {
        flex-direction: column;
        min-height: auto;
        max-height: none;
    }

    .modal-image {
        width: 100%;
        height: 300px;
        max-height: 40vh;
    }

    .modal-details {
        width: 100%;
        padding: 30px;
    }

    .modal-details h2 {
        font-size: 2rem;
    }
}

/* Mobile phones (below 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .header-container {
        padding: var(--spacing-sm);
        max-width: 100%;
    }

    .logo-img {
        max-width: 120px;
    }

    .logo-subtext {
        font-size: 1rem;
    }

    .main-nav {
        padding: var(--spacing-sm) 0 0 0;
        max-width: 100%;
    }

    .nav-icons {
        right: 12px;
        gap: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .icon-link svg {
        width: 18px;
        height: 18px;
    }

    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -6px;
        right: -6px;
    }

    .main-container {
        padding: 0 var(--spacing-sm);
        margin: var(--spacing-md) auto;
        max-width: 100%;
    }

    .sidebar {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0 10px;
        margin: 0 auto;
    }

    .sidebar h3 {
        font-size: 1.3rem;
        margin-bottom: var(--spacing-sm);
        text-align: center;
        width: 100%;
    }

    .filter-list {
        flex-wrap: wrap;
        /* Ensure wrapping on even smaller screens */
        justify-content: center;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
        flex-shrink: 0;
        min-width: fit-content;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .product-category {
        font-size: 0.65rem;
        margin-bottom: 6px;
    }

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

    .product-price {
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: auto;
    }

    .modal-details {
        padding: 20px;
    }

    .modal-details h2 {
        font-size: 1.6rem;
    }

    .modal-description {
        font-size: 0.95rem;
    }

    .add-to-cart-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
    }

    .product-shipping-info {
        font-size: 0.8rem;
        padding: 15px;
    }

    footer {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
        margin-top: var(--spacing-xl);
    }

    .footer-content h3 {
        font-size: 1.6rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }

    .social-links {
        flex-direction: column;
        gap: 12px;
    }

    .social-links a {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .legal-links a {
        display: block;
        margin: 8px 0;
        font-size: 0.8rem;
    }
}

/* Small mobile phones (below 480px) */
@media (max-width: 480px) {
    .logo-img {
        max-width: 100px;
    }

    .logo-subtext {
        font-size: 0.9rem;
    }

    .hamburger-btn {
        left: 10px;
    }

    .nav-icons {
        right: 10px;
        gap: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image-wrapper {
        height: 250px;
    }

    .product-info {
        padding: 20px;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .modal-details h2 {
        font-size: 1.4rem;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .footer-content {
        padding: 0 var(--spacing-sm);
    }
}

/* Legal Pages Styling (if any) */
.legal-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 50px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    border-bottom: 2px solid var(--color-bg-pink-light);
    padding-bottom: 10px;
}

.legal-container p {
    margin-bottom: 15px;
    color: #555;
}