/* Lily's Pad Studio - Modern Stylesheet */

/* Color Variables */
:root {
    --primary-pink: #FF68C5;
    --secondary-pink: #FF94C8;
    --light-pink: #FFE4F3;
    --light-gray: #C6C6C6;
    --dark-gray: #424242;
    --darker-gray: #2d2d2d;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #E5E5E5;
    --success: #4CAF50;
    --error: #E53935;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-pink: 0 10px 30px rgba(255, 104, 197, 0.2);
    --transition: all 0.2s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Animated Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 999;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: var(--primary-pink);
    opacity: 0.08;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 250px;
    height: 250px;
    top: 40%;
    right: -80px;
    animation-delay: -7s;
    background: var(--secondary-pink);
}

.shape:nth-child(3) {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: 25%;
    animation-delay: -14s;
}

.shape:nth-child(4) {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 60%;
    animation-delay: -20s;
    background: var(--secondary-pink);
    opacity: 0.08;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, 40px) rotate(5deg) scale(1.02); }
    50% { transform: translate(0, 60px) rotate(0deg) scale(1); }
    75% { transform: translate(-30px, 40px) rotate(-5deg) scale(0.98); }
}

/* Fade-in animations for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--white) 30%, var(--off-white) 70%, var(--light-pink) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 229, 229, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 104, 197, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 72px;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
}

.navbar-brand .logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand .logo:hover img {
    opacity: 0.8;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-pink);
    transition: width 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--dark-gray);
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* Main Content */
.main-content {
    min-height: 60vh;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    z-index: 1;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid var(--success);
}

.alert-error {
    background-color: #FFEBEE;
    color: #C62828;
    border-left: 4px solid var(--error);
}

/* Hero Section - Dark Gray Theme */
.hero {
    background-color: #333333;
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,104,197,0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Shop Layout - Sidebar + Main */
.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.25rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--off-white);
    color: var(--primary-pink);
}

.category-list a.active {
    background: var(--primary-pink);
    color: var(--white);
    font-weight: 500;
}

.category-list a .count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.category-list a.active .count {
    color: rgba(255, 255, 255, 0.8);
}

/* Subcategory List */
.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
    margin-left: 0.75rem;
}

.subcategory-list li {
    margin-bottom: 0;
}

.subcategory-list a {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.subcategory-list a:hover {
    background: var(--off-white);
    color: var(--primary-pink);
}

.subcategory-list a.active {
    background: var(--secondary-pink);
    color: var(--white);
}

.shop-main {
    min-width: 0;
}

/* Section Header with Sort */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.header-left .product-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.header-left .category-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-right label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--white);
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-pink);
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .category-list li {
        margin-bottom: 0;
    }

    .category-list a {
        padding: 0.5rem 1rem;
        background: var(--off-white);
        border-radius: 50px;
        font-size: 0.85rem;
    }

    .category-list a .count {
        display: none;
    }

    .subcategory-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-left: 0;
        border-left: none;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .subcategory-list a {
        padding: 0.4rem 0.8rem;
        background: var(--light-pink);
        border-radius: 50px;
        font-size: 0.8rem;
    }
}

/* Homepage Category Links */
.shop-categories {
    padding: 2.5rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-align: center;
}

.shop-categories h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.category-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.category-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

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

.category-link:hover {
    color: var(--primary-pink);
}

.category-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 104, 197, 0.3);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-pink);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 104, 197, 0.4);
    border: 2px solid var(--primary-pink);
}

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

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

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

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

.btn-add-cart {
    width: 100%;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: var(--primary-pink);
    color: var(--dark-gray);
    transform: translateY(-1px);
}

.btn-add-cart:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
    transform: none;
}

/* Products Section */
.featured-products,
.products-section {
    padding: 3rem 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.featured-products h2,
.products-section h2,
.section-header h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 104, 197, 0.15);
    border-color: rgba(255, 104, 197, 0.2);
}

.product-image {
    width: 100%;
    height: 260px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 1rem 1.25rem;
}

.product-info h3 {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.product-info h3 a {
    color: var(--text-primary);
}

.product-info h3 a:hover {
    color: var(--primary-pink);
}

.product-sku {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.sale-price {
    color: var(--primary-pink);
    font-weight: 700;
}

.inventory-status {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* Low stock urgency styling */
.low-stock {
    color: #d97706;
    font-weight: 600;
}

.in-stock {
    color: var(--success);
    font-weight: 500;
}

.out-of-stock {
    color: var(--error);
    font-weight: 500;
}

.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-pink);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.add-to-cart-form {
    width: 100%;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--off-white);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* No Products Message */
.no-products {
    text-align: center;
    color: var(--text-muted);
    grid-column: 1 / -1;
    padding: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar-menu {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .product-image {
        height: 240px;
    }

    .product-info {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .navbar-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.breadcrumb:hover {
    color: var(--primary-pink);
}

/* Product Detail Page */
.product-detail {
    padding: 3rem 0;
    background-color: var(--white);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 2rem 0;
}

/* New Product Images Layout - Thumbnails on Left */
.product-images {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.thumbnail-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 90px;
    flex-shrink: 0;
}

.thumb-nav {
    width: 80px;
    height: 30px;
    background: var(--off-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-nav:hover:not(:disabled) {
    background: var(--primary-pink);
    color: white;
    border-color: var(--primary-pink);
}

.thumb-nav:disabled {
    cursor: default;
}

.thumbnail-container {
    height: 450px; /* 5 thumbnails * 90px */
    overflow: hidden;
    position: relative;
}

.thumbnail-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
}

.main-image-container {
    flex: 1;
}

.main-image {
    width: 100%;
    height: 500px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.thumbnail-images {
    display: flex;
    gap: 0.75rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    overflow: hidden;
    object-fit: cover;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary-pink);
}

.thumbnail.active {
    border-color: var(--primary-pink);
}

/* Description Section - Full Width Below */
.description-section-full {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.description-section-full h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.description-section-full .description-text {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
}

.product-details h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.product-details .product-sku {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.price-section {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-section .original-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.price-section .sale-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.savings {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.price-range {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-price .price-range {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

.inventory-section {
    margin: 1.5rem 0;
}

.add-to-cart-section {
    margin: 2rem 0;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.qty-inputs {
    display: flex;
    width: 140px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.qty-btn {
    flex: 0 0 40px;
    background-color: var(--off-white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--border-color);
}

#quantity {
    flex: 1;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

#quantity:focus {
    outline: none;
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.view-details {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.view-details:hover {
    color: var(--primary-pink);
}

.description-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.description-section h2 {
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.25rem;
}

.description-section p {
    line-height: 1.8;
    color: var(--text-secondary);
}

.related-products {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-products h2 {
    text-align: left;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--dark-gray);
    color: var(--white);
    border-color: var(--dark-gray);
}

.page-current {
    padding: 0.6rem 1rem;
    background-color: var(--primary-pink);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Category Section */
.category-section {
    padding: 3rem 0;
    background-color: var(--white);
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h1 {
    margin-bottom: 0.5rem;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Shopping Cart */
.cart-section {
    padding: 3rem 0;
    min-height: 60vh;
    background-color: var(--white);
}

.cart-section h1 {
    margin-bottom: 2rem;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    margin-bottom: 2rem;
}

.cart-items {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-header {
    display: none;
}

.cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    background: var(--white);
    transition: background 0.2s ease;
}

.cart-item:hover {
    background: #fafafa;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item .col-name {
    flex: 1 1 300px;
    min-width: 250px;
}

.col-name a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
}

.col-name a:hover {
    color: var(--primary-pink);
}

.cart-item .col-price,
.cart-item .col-qty,
.cart-item .col-total {
    flex: 0 0 auto;
    text-align: center;
    padding: 0.5rem 1rem;
}

.cart-item .col-price {
    min-width: 80px;
}

.cart-item .col-price::before {
    content: "Price: ";
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.col-price {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.cart-item .col-qty::before {
    content: "Qty";
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cart-item .col-total {
    min-width: 100px;
}

.cart-item .col-total::before {
    content: "Total";
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.col-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-pink);
}

.cart-item .col-action {
    flex: 0 0 auto;
    margin-left: auto;
}

.qty-inputs-small {
    display: flex;
    width: 120px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
    background: var(--white);
}

.qty-btn-small {
    flex: 0 0 36px;
    height: 40px;
    background-color: var(--off-white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.qty-btn-small:hover {
    background-color: var(--primary-pink);
    color: var(--white);
}

.qty-input-small {
    flex: 1;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    height: 40px;
}

.qty-input-small:focus {
    outline: none;
}

.btn-remove {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}

.btn-remove:hover {
    color: var(--white);
    background-color: var(--error);
    border-color: var(--error);
}

.cart-summary {
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-box {
    background-color: var(--off-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.summary-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.summary-row span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.summary-row.total span:last-child {
    color: var(--primary-pink);
}

.summary-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 0;
}

.empty-cart {
    background-color: var(--off-white);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.empty-cart p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Responsive Cart */
@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .cart-item .col-name {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .cart-item-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cart-item-image {
        width: 120px;
        height: 120px;
    }

    .cart-item .col-price,
    .cart-item .col-qty,
    .cart-item .col-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.75rem 0;
        border-top: 1px solid var(--border-color);
    }

    .cart-item .col-price::before,
    .cart-item .col-qty::before,
    .cart-item .col-total::before {
        display: inline;
        margin-bottom: 0;
    }

    .cart-item .col-action {
        width: 100%;
        margin-left: 0;
        padding-top: 0.75rem;
    }

    .cart-item .col-action .btn-remove {
        width: 100%;
        padding: 0.75rem;
    }

    .qty-inputs-small {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-image {
        height: 350px;
    }

    .product-details h1 {
        font-size: 1.5rem;
    }
}

/* Add Google Fonts link styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Product Options */
.product-options {
    margin: 1.5rem 0;
}

.option-group {
    margin-bottom: 1rem;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.option-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
}

.option-select:hover {
    border-color: var(--primary-color);
}

.option-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 104, 197, 0.1);
}

/* Thumbnail active state */
.thumbnail.active {
    border: 2px solid var(--primary-color);
}

/* Stock status styling */
.in-stock {
    color: #22c55e;
    font-weight: 600;
}

.out-of-stock {
    color: #ef4444;
    font-weight: 600;
}

/* Description formatting */
.description-text {
    line-height: 1.8;
    color: var(--text-light);
}

/* Cart item with image */
.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cart-item-details .variant-info {
    color: var(--primary-pink);
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-details .sku-info {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cart-item-details a {
    font-weight: 600;
    color: var(--text-color);
}

.cart-item-details a:hover {
    color: var(--primary-color);
}

.variant-info {
    color: var(--text-light);
    font-size: 0.875rem;
}

.sku-info {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Responsive cart on mobile */
@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .col-name {
        flex: 1 1 100%;
    }
}

/* =====================================================
   MOBILE IMPROVEMENTS
   ===================================================== */

/* Fix product card images - show full image, not cropped */
.product-image img {
    object-fit: contain;
    object-position: center;
    background-color: #f5f5f5;
}

/* More compact category menu on mobile */
@media (max-width: 768px) {
    .sidebar-section {
        padding: 1rem;
    }

    .sidebar-section h3 {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .category-list {
        gap: 0.35rem;
    }

    .category-list a {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .subcategory-list {
        gap: 0.35rem;
        margin-top: 0.35rem;
    }

    .subcategory-list a {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    /* Move thumbnails under main image on mobile */
    .product-images {
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .thumbnail-strip {
        order: 2;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.5rem 0;
        overflow: visible;
    }

    .thumbnail-container {
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .thumbnail-scroll {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .thumb-nav {
        display: none;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        flex-basis: calc(20% - 0.5rem);
        max-width: 50px;
    }

    .main-image-container {
        order: 1;
        width: 100%;
    }

    .main-image {
        height: auto;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }

    .main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* =====================================================
   IMAGE ZOOM FUNCTIONALITY
   ===================================================== */

/* Main image zoom container */
.main-image {
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}

.main-image.zoomed {
    cursor: zoom-out;
}

.main-image img {
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.main-image.zoomed img {
    transform: scale(3.5);
}

/* Zoom lens effect on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .main-image:not(.zoomed):hover img {
        transform: scale(1.1);
    }

    .main-image.zoomed img {
        transition: transform-origin 0.1s ease;
    }
}

/* Zoom hint icon */
.zoom-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.main-image:hover .zoom-hint,
.main-image.zoomed .zoom-hint {
    opacity: 0;
}

/* Mobile touch zoom */
@media (max-width: 768px) {
    .zoom-hint {
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Video badge for thumbnails */
.thumbnail-wrapper {
    position: relative;
    cursor: pointer;
}

.thumbnail-wrapper.active {
    outline: 2px solid var(--primary-pink);
    outline-offset: 2px;
}

.video-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main video styles */
#mainVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: var(--border-radius);
}

/* Video thumbnail in strip */
.thumbnail-wrapper video.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-badge {
        font-size: 0.5rem;
        padding: 1px 4px;
    }
}
