/**
 * Narin İlmekler - Main Stylesheet
 * Modern, responsive design with yarn ball animations
 */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Vibrant and eye-catching */
    --primary-color: #FF6B9D;
    --primary-dark: #E85A8A;
    --primary-light: #FFB3D1;
    --secondary-color: #4ECDC4;
    --secondary-dark: #3DBDB4;
    --accent-color: #FFD93D;
    --accent-dark: #F5C518;
    --purple: #9B59B6;
    --blue: #3498DB;
    --green: #2ECC71;
    --orange: #FF6348;

    /* Neutrals */
    --dark: #2C3E50;
    --dark-light: #34495E;
    --gray: #7F8C8D;
    --gray-light: #BDC3C7;
    --light: #F8F9FA;
    --white: #FFFFFF;

    /* Gradients - Soft and readable */
    --gradient-primary: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --gradient-cool: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    --gradient-purple: linear-gradient(135deg, #A8EDEA 0%, #FED6E3 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Pacifico', cursive;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-width: 1200px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #FFFFFF;
    position: relative;
}

/* Subtle craft pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 107, 157, 0.01) 35px, rgba(255, 107, 157, 0.01) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(78, 205, 196, 0.01) 35px, rgba(78, 205, 196, 0.01) 70px);
    pointer-events: none;
    z-index: 0;
}

/* Decorative subtle accent */
body::after {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

/* ===== Yarn Balls Background ===== */
.yarn-balls-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.yarn-ball {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.yarn-ball:nth-child(1) {
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.yarn-ball:nth-child(2) {
    background: var(--secondary-color);
    top: 60%;
    left: 80%;
    animation-delay: 5s;
    width: 120px;
    height: 120px;
}

.yarn-ball:nth-child(3) {
    background: var(--accent-color);
    top: 80%;
    left: 20%;
    animation-delay: 10s;
    width: 100px;
    height: 100px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Floating craft icons animation */
@keyframes floatCraft {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.12;
    }

    25% {
        transform: translate(30px, -40px) scale(1.1) rotate(15deg);
        opacity: 0.18;
    }

    50% {
        transform: translate(-20px, -80px) scale(0.95) rotate(-10deg);
        opacity: 0.15;
    }

    75% {
        transform: translate(40px, -40px) scale(1.05) rotate(20deg);
        opacity: 0.16;
    }
}

/* Floating hearts animation */
@keyframes floatHeart {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.1;
    }

    25% {
        transform: translate(30px, -40px) scale(1.2) rotate(15deg);
        opacity: 0.2;
    }

    50% {
        transform: translate(-20px, -80px) scale(0.9) rotate(-10deg);
        opacity: 0.15;
    }

    75% {
        transform: translate(40px, -40px) scale(1.1) rotate(20deg);
        opacity: 0.18;
    }
}

/* Rotating float animation for needles/scissors */
@keyframes rotateFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, 30px) rotate(90deg);
    }

    50% {
        transform: translate(0, 60px) rotate(180deg);
    }

    75% {
        transform: translate(-50px, 30px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* ===== Header ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    margin-bottom: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo img {
    max-height: 50px;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.dropdown-menu li a:hover {
    background: var(--light);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transition: var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    padding: var(--spacing-lg);
}

.mobile-menu li {
    margin-bottom: var(--spacing-xs);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--light);
}

.mobile-submenu {
    padding-left: var(--spacing-md);
    margin-top: var(--spacing-xs);
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-toggle {
    display: block;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
}

/* ===== Main Content ===== */
.main-content {
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

/* ===== Product Cards ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light);
}

.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: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--accent-color);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Product detail page - badge on left */
.gallery-main .product-badge {
    left: var(--spacing-sm);
    right: auto;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.4;
}

.product-footer {
    margin-top: auto;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-old {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: flex-end;
}

.product-price-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.price-old-small {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.product-price-box .price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0 var(--spacing-xxl) 0;
    margin-top: 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: white;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}


.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

/* ===== Categories ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    background: linear-gradient(135deg, #FFE5F0 0%, #FFD4E5 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.category-card:nth-child(1) {
    background: linear-gradient(135deg, #FFE5F0 0%, #FFD4E5 100%);
}

.category-card:nth-child(2) {
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
}

.category-card:nth-child(3) {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
}

.category-card:nth-child(4) {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
}

.category-card:nth-child(5) {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.category-name {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===== Badges ===== */
.handmade-badge,
.women-support-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin: var(--spacing-xs) 0;
}

.handmade-badge {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
    color: var(--white);
}

.women-support-badge {
    background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    color: var(--white);
}

.badge-icon {
    font-size: 1.2rem;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-light);
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: var(--spacing-sm);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gray-light);
}

.footer-contact a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: var(--gray-light);
}

.payment-info {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Bottom Navigation - Hidden on desktop */
.mobile-bottom-nav {
    display: none;
}

/* Mobile line break - hidden on desktop */
.mobile-break {
    display: none;
}

/* ===== Product Detail Page ===== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail-price-section {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-price-section .price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail-price-section .price-old {
    font-size: 1.5rem;
    color: var(--gray);
    text-decoration: line-through;
}

.product-detail-price-section .product-badge {
    font-size: 1rem;
}

/* ===== Responsive Design ===== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }

    .hero {
        padding: var(--spacing-xl) 0 4rem 0 !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .mobile-break {
        display: inline;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Footer - 2x2 grid */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-col p,
    .footer-links a,
    .footer-contact a {
        font-size: 0.85rem;
    }

    /* Product Detail - Mobile Layout */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-detail-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .product-detail-price-section .price-current {
        font-size: 1.75rem;
    }

    .product-detail-price-section .price-old {
        font-size: 1.25rem;
    }

    .product-detail-price-section .product-badge {
        position: static;
        margin: 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    /* Hide footer on mobile, use bottom nav instead */
    .site-footer {
        display: none;
    }

    /* Hide hamburger menu on mobile */
    .mobile-menu-toggle {
        display: none !important;
    }

    /* Mobile Bottom Navigation */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding: 0.75rem 0;
        z-index: 1000;
        border-top: 1px solid var(--gray-light);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        color: var(--gray);
        font-size: 0.7rem;
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius-md);
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a.active {
        background: transparent;
    }

    .mobile-bottom-nav svg {
        width: 26px;
        height: 26px;
        transition: all 0.3s ease;
    }

    /* Colorful gradients for each icon */
    .mobile-bottom-nav a:nth-child(1) svg {
        stroke: url(#gradient-home);
    }

    .mobile-bottom-nav a:nth-child(2) svg {
        stroke: url(#gradient-products);
    }

    .mobile-bottom-nav a:nth-child(3) svg {
        stroke: url(#gradient-blog);
    }

    .mobile-bottom-nav a:nth-child(4) svg {
        stroke: url(#gradient-contact);
    }

    .mobile-bottom-nav a:nth-child(5) svg {
        stroke: url(#gradient-shopping);
    }

    .mobile-bottom-nav a:nth-child(1).active span,
    .mobile-bottom-nav a:nth-child(1):hover span {
        background: linear-gradient(135deg, #E8B4B8, #A8D8EA);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-bottom-nav a:nth-child(2).active span,
    .mobile-bottom-nav a:nth-child(2):hover span {
        background: linear-gradient(135deg, #4A90E2, #50C9C3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-bottom-nav a:nth-child(3).active span,
    .mobile-bottom-nav a:nth-child(3):hover span {
        background: linear-gradient(135deg, #FF6B6B, #FFD93D);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-bottom-nav a:nth-child(4).active span,
    .mobile-bottom-nav a:nth-child(4):hover span {
        background: linear-gradient(135deg, #4ECDC4, #44A08D);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-bottom-nav a:nth-child(5).active span,
    .mobile-bottom-nav a:nth-child(5):hover span {
        background: linear-gradient(135deg, #A8D8EA, #E8B4B8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Add bottom padding to body to prevent content being hidden behind nav */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

/* ===== Social Media Cards ===== */
.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.social-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.social-card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}


.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}