:root {
    --bg-color: #ffffff;
    /* Clean White */
    --text-color: #2c3e50;
    /* Dark Blue/Grey */

    /* New Pastel Palette */
    --thistle: #cdb4db;
    --pastel-petal: #ffc8dd;
    --baby-pink: #ffafcc;
    --icy-blue: #bde0fe;
    --sky-blue: #a2d2ff;

    --primary-color: var(--baby-pink);
    /* Mapping to new palette */
    --accent-color: var(--sky-blue);
    /* Mapping to new palette */
    --secondary-accent: var(--thistle);
    /* Mapping to new palette */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --card-ratio: 1.5;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    background-image: none;
    /* Ensure no stars on body */
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}


/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
}

/* Scroll Lock Utility */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: var(--bg-color);
    background-image: url('../images/star-pattern.png');
    background-repeat: repeat;
    background-size: 300px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background 0.3s, box-shadow 0.3s;
}

@media (min-width: 769px) {
    body.home-page header {
        background-color: transparent;
        background-image: none;
        box-shadow: none;
    }
}

header.scrolled,
body.home-page header.scrolled {
    background-color: #fffaf0;
    /* Cream to match other sections */
    background-image: url('../images/star-pattern.png');
    background-repeat: repeat;
    background-size: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
    cursor: pointer;
    /* Make it look clickable */
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-self: center;
    /* Center the links in the middle grid cell */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.cart-icon {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s;
    justify-self: end;
    /* Push cart to the right edge */
    display: flex;
    /* Ensure inner svg and badge align well */
    align-items: center;
    position: relative;
}

.cart-icon:hover {
    color: var(--primary-color);
}



.hero {
    position: relative;
    min-height: 90vh;
    /* Almost full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 2rem 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Video specific hero style */
.hero:has(.hero-video) {
    height: 60vh;
    overflow: hidden;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0;
}

/* Removed large hero H1 styles as requested for shop page */
/* Specific override for video overlay text on Home */
.hero:has(.hero-video) .hero-content {
    background: rgba(255, 255, 255, 0.8);
    /* Light overlay */
    padding: 1.5rem 3rem;
    border-radius: 50px;
    /* Pill shape */
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero:has(.hero-video) p {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: none;
}

.categories-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-wrapper {
    display: flex;
    justify-content: center;
}

.category-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
    /* Smooth transition for blur */
}

.category-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 3rem;
    /* Large and creative */
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 1;
    /* Fully opaque */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    /* Strong shadow for readability */
    pointer-events: none;
    /* Let clicks pass through to card */
    transition: transform 0.5s, letter-spacing 0.5s;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 127, 80, 0.2);
}

.category-card:hover img {
    transform: scale(1.05);
    filter: blur(4px);
    /* Blur effect on hover */
}

.category-card:hover .category-text {
    transform: translate(-50%, -50%) scale(1.1);
    /* Text pops out */
    letter-spacing: 6px;
    /* Text expands */
}

/* Overlay removed as requested */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    /* Prevent cards from stretching to match height */
}

.product-card {
    background-color: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s;
    max-width: 280px;
    /* Limit card width */
    margin: 0 auto;
    /* Center in grid cell */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Standard portrait ratio */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Shadow on wrapper */
    transition: box-shadow 0.3s;
    background-color: #f9f9f9;
    /* Subtle background for transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* Padding for the contained image */
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full art is visible */
    border-radius: 0;
    /* Wrapper has radius */
    border: none;
    /* Wrapper has border */
    box-shadow: none;
    /* Wrapper has shadow */
    filter: none;
}

.product-card:hover .image-wrapper {
    /* Hover effect on wrapper */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card:hover .product-image {
    box-shadow: none;
    /* Ensure no shadow on img */
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-color);
}

.product-price {
    color: var(--accent-color);
    /* Teal price */
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.product-card button {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    opacity: 0;
    /* Hide button by default */
    transform: translateY(10px);
}

.product-card:hover button {
    opacity: 1;
    transform: translateY(0);
}

.product-card button:hover {
    background: var(--accent-color);
    /* Purple button hover */
    color: white;
    border-color: var(--accent-color);
}

/* Commissions Section */
.commissions-section {
    padding: 6rem 2rem;
    background-color: #faf9f6;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 4rem;
}

.commissions-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--primary-color);
    /* Gold section title */
}

.commissions-section p {
    font-size: 1rem;
    margin-bottom: 3rem;
    font-weight: 300;
    font-style: italic;
    color: #666;
}

.commissions-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--accent-color);
    /* Purple labels */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: transparent;
    border-bottom-color: var(--primary-color);
}

.commissions-form button {
    width: 100%;
    padding: 1rem;
    background: var(--text-color);
    color: white;
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.3s;
    padding: 1.2rem;
    background-color: var(--text-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.commissions-form button:hover {
    background-color: var(--primary-color);
}

@media (max-width: 900px) {
    .commissions-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .commission-showcase {
        position: static;
    }

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

footer {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    /* Changed from transparent */
    color: #999;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    /* Structure fix */
    z-index: 100;
    /* Ensure it stays on top */
}

/* Product Detail Page */
.product-detail-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    max-width: 450px;
    /* Limit image width */
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-info {
    padding-top: 2rem;
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 400;
}

.product-detail-info .price {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.product-detail-info .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
    white-space: pre-wrap;
    /* Respect line breaks from Firebase */
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--text-color);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

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

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

/* Cart Sidebar Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

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

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
}

.cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0;
    line-height: 1;
    transition: transform 0.3s;
}

.close-cart:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.empty-cart {
    text-align: center;
    color: #999;
    margin-top: 2rem;
    font-style: italic;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease;
}

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

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

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.cart-item-info h4 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-info p {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 0.8rem;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: red;
}

.cart-footer {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--text-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}



/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.checkout-modal.open {
    opacity: 1;
    pointer-events: all;
}

.checkout-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.checkout-modal.open .checkout-content {
    transform: translateY(0);
}

.close-checkout {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-checkout:hover {
    color: var(--text-color);
}

.checkout-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f9f9f9;
    transition: border-color 0.3s;
}

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

.checkout-submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.checkout-submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 175, 204, 0.4);
}

/* Out of Stock Button */
button.out-of-stock,
.add-to-cart-btn.out-of-stock {
    background-color: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none !important;
}

/* Quantity Selector (Product Page) */
/* Shared Selector Styles */
.size-selector,
.quantity-selector {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.size-selector label,
.quantity-selector label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
}

.size-selector select,
.quantity-selector input {
    height: 42px;
    /* Enforce same height */
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    background: white;
    transition: border-color 0.3s;
}

.size-selector select:focus,
.quantity-selector input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-selector input {
    width: 60px;
    text-align: center;
}

.size-selector select,
.quantity-selector input {
    box-sizing: border-box;
    /* Ensure padding doesn't affect width/height */
    height: 45px;
    /* Fixed height */
    line-height: normal;
    /* Reset line-height */
    margin: 0;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem;
    font-weight: 500;
    /* Slightly bolder for better legibility */
    color: var(--text-color);
    background-color: white;
    transition: border-color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.size-selector select:focus,
.quantity-selector input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-selector input {
    width: 70px;
    text-align: center;
    padding: 0.5rem;
    /* Reset padding for input */
}

.size-selector select {
    width: auto;
    min-width: 120px;
    padding-right: 2.5rem;
    /* Space for arrow */
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
}

/* Cart Quantity Controls */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-quantity-controls button {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.cart-quantity-controls button:hover {
    background: #e0e0e0;
}

.cart-quantity-controls span {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

/* Creative Commissions Page Styles */
body {
    overflow-x: hidden;
    /* Prevent horizontal scroll from floating elements */
}

.creative-commissions-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #fff0f5);
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-item {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.star-1 {
    top: 15%;
    left: 10%;
    width: 40px;
    animation-delay: 0s;
}

.moon-1 {
    top: 20%;
    right: 15%;
    width: 80px;
    animation-delay: 2s;
}

.star-2 {
    bottom: 20%;
    left: 20%;
    width: 30px;
    animation-delay: 1s;
}

.star-3 {
    bottom: 30%;
    right: 10%;
    width: 50px;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Hero */
.creative-hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.creative-hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px rgba(0, 0, 0, 0.1);
}

.creative-hero p {
    font-size: 1.5rem;
    color: #666;
    font-style: italic;
    font-family: var(--font-heading);
}

/* Content Layout */
.creative-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    position: relative;
    z-index: 2;
}

/* Scattered Gallery */
.scattered-gallery {
    position: relative;
    width: 500px;
    height: 500px;
}

.polaroid {
    position: absolute;
    background: white;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, z-index 0.3s;
    cursor: pointer;
    width: 300px;
}

.polaroid img {
    width: 100%;
    display: block;
    filter: sepia(20%);
}

.polaroid:hover {
    z-index: 10;
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.p1 {
    top: 50px;
    left: 0;
    transform: rotate(-10deg);
    z-index: 1;
}

.p2 {
    top: 100px;
    right: 0;
    transform: rotate(8deg);
    z-index: 2;
}

.p3 {
    width: 100px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    top: 0;
    right: 50px;
    transform: rotate(15deg);
    z-index: 3;
}

.p3 img {
    filter: none;
}

/* Conversational Form */
.conversational-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid white;
}

.conversational-form p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.conversational-form input {
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0 0.5rem;
    width: 200px;
    text-align: center;
    transition: border-color 0.3s;
}

.conversational-form input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.conversational-form input.short-input {
    width: 80px;
}

.conversational-form textarea {
    width: 100%;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    resize: vertical;
}

.conversational-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.magic-button {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: var(--text-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.magic-button:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .creative-content {
        flex-direction: column;
    }

    .scattered-gallery {
        width: 100%;
        height: 400px;
        margin-bottom: 2rem;
    }

    .polaroid {
        width: 250px;
    }

    .p1 {
        left: 50%;
        transform: translateX(-50%) rotate(-5deg);
    }

    .p2 {
        top: 150px;
        right: 50%;
        transform: translateX(50%) rotate(5deg);
    }

    .conversational-form p {
        font-size: 1.2rem;
    }

    .conversational-form input {
        font-size: 1.2rem;
        width: 150px;
    }
}

/* Footer Social Links */
.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Checkout Page Styles */
.checkout-page {
    display: flex;
    min-height: 100vh;
}

.checkout-left {
    flex: 1.2;
    padding: 4rem 6rem;
    background: white;
    border-right: 1px solid #eee;
}

.checkout-right {
    flex: 0.8;
    padding: 4rem;
    background: #fafafa;
    border-left: 1px solid #eee;
}

.checkout-header {
    margin-bottom: 3rem;
}

.checkout-header .logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.breadcrumb {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkout-section {
    margin-bottom: 3rem;
}

.checkout-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

.checkout-form-main input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.checkout-form-main input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* Stripe Element */
#card-element {
    padding: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background: white;
    margin-bottom: 1rem;
}

#card-errors {
    color: #fa755a;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.secure-notice {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pay-button {
    width: 100%;
    padding: 1.5rem;
    background: var(--text-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.pay-button:hover {
    background: var(--primary-color);
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper select {
    width: 100%;
    padding: 1rem;
    padding-right: 2.5rem;
    /* Space for arrow */
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.custom-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #666;
}

/* Shipping Method Styling */
.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.shipping-option {
    position: relative;
    cursor: pointer;
}

.shipping-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.shipping-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.shipping-option:hover .shipping-card {
    border-color: var(--primary-color);
    background-color: #fff9fa;
    /* Very light pink tint on hover */
}

.shipping-option input[type="radio"]:checked+.shipping-card {
    border-color: var(--primary-color);
    background-color: #fff5f7;
    /* Light pink background for selected */
    box-shadow: 0 0 0 1px var(--primary-color);
}

.shipping-info {
    display: flex;
    flex-direction: column;
}

.shipping-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--font-body);
}

.shipping-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.check-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #d9d9d9;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.shipping-option input[type="radio"]:checked+.shipping-card .check-circle {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.shipping-option input[type="radio"]:checked+.shipping-card .check-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Order Summary (Right Side) */
.order-items {
    margin-bottom: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-top: 15px;
    /* Prevent clipping of first item's badge */
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-image-wrapper {
    position: relative;
}

.summary-image-wrapper img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.item-quantity-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.summary-info {
    flex: 1;
}

.summary-info h4 {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.summary-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.summary-price {
    font-weight: 600;
    color: var(--text-color);
}

.order-totals {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #555;
}

.total-row.final {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

@media (max-width: 900px) {
    .checkout-page {
        flex-direction: column-reverse;
    }

    .checkout-right {
        background: #fafafa;
        border-bottom: 1px solid #eee;
        padding: 2rem;
        flex: auto;
        /* Allow auto scaling */
    }

    .checkout-left {
        padding: 2rem;
        flex: auto;
        border-right: none;
        /* Remove border on mobile */
    }
}


/* About Page Styles */
.about-section {
    padding: 6rem 2rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--baby-pink);
    border: 2px solid var(--text-color);
}

.about-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.about-text .subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 2rem;
    background-color: #faf9f6;
    text-align: center;
}

.portfolio-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.portfolio-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image img {
        box-shadow: 10px 10px 0px var(--baby-pink);
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text h1 {
        font-size: 2.5rem;

    }
}

/* FAQ Page Styles - Brand Cohesive */
.faq-section {
    padding: 6rem 2rem;
    min-height: 80vh;
    /* gradient background: white to very light pink near footer */
    background: linear-gradient(180deg, #ffffff 60%, #fff0f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1100px;
    width: 100%;
    align-items: center;
}

/* Sticker Title - Brand Style */
.faq-sticker {
    background-color: var(--baby-pink);
    width: 280px;
    height: 250px;
    /* Heart-ish shape or organic blob */
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform: rotate(-10deg);
    margin: 0 auto;
    box-shadow: 15px 15px 0px var(--primary-color);
    border: 3px solid black;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: rotate(-10deg) translateY(0px);
    }

    50% {
        transform: rotate(-8deg) translateY(-15px);
    }

    100% {
        transform: rotate(-10deg) translateY(0px);
    }
}

.faq-sticker h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: white;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    -webkit-text-stroke: 2px black;
    /* Comic feel */
    text-shadow: 3px 3px 0px black;
}

.faq-container {
    background: white;
    border: 3px solid black;
    border-radius: 20px;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
}

.faq-item {
    background: white;
    border: none;
    border-bottom: 2px solid #f0f0f0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    transition: background 0.3s;
}

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

.faq-item:hover {
    background: #fff0f5;
    /* Very light pink hover */
    transform: none;
    box-shadow: none;
    border-color: #f0f0f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: black;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s;
    color: black;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: transparent;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
}

@media (max-width: 900px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-sticker {
        width: 180px;
        height: 160px;
    }

    .faq-sticker h1 {
        font-size: 3rem;
    }
}

/* Footer Additional Links */
.footer-links {
    margin: 2rem 0;
    text-align: center;
}

.footer-links a {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
    border: 2px solid var(--text-color);
    border-radius: 50px;
    /* Pill shape */
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 1rem;
}

.footer-links a:hover {
    background: var(--baby-pink);
    color: white;
    border-color: var(--baby-pink);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 175, 204, 0.4);
}

/* Global Cart Icon Styles */
.cart-icon {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    /* Essential for badge positioning */
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    padding: 0 4px;
    box-sizing: border-box;
    display: none;
    /* Controlled by JS */
}

/* Full Site Mobile Optimization */
@media (max-width: 768px) {

    /* Global Section Padding */
    .categories-section,
    .products-grid,
    .commissions-section,
    .faq-section,
    .about-section,
    .portfolio-section {
        padding: 2rem 1rem;
    }

    /* Header Mobile Refinements */
    header {
        flex-direction: row;
        /* Keep row for logo and burger */
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        gap: 0;
        position: relative;
    }

    .logo {
        font-size: 1.5rem;
        z-index: 1001;
        /* Above menu */
        flex: 1;
        /* Allow logo to take space */
        text-align: center;
        /* Center the logo text */
    }

    .creative-hero h1 {
        font-size: 3rem;
    }

    /* Hamburger Menu Icon */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        /* Above menu */
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: var(--text-color);
    }

    /* ... hamburger animation styles ... */
    /* Animate Hamburger to X */
    .hamburger.toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav {
        display: flex;
        /* Ensure flex is active */
        flex-direction: row;
        justify-content: space-between;
        /* Distribute items */
        align-items: center;
        position: static;
        width: 100%;
        /* FORCE FULL WIDTH */
    }

    /* Full Screen Mobile Menu Overlay */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: #fffaf0;
        /* Cream background */
        background-image: url('../images/star-pattern.png');
        background-size: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        padding-top: 60px;
        /* Space for header */
        box-shadow: none;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        /* Fade in effect */
        width: auto;
    }

    .nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease 0.2s;
    }

    .nav-links a {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
    }

    /* Cart Icon - Now top right */
    /* Moved to global scope */

    /* Commissions Image Fix - Mobile: Staggered Pile Effect with Washi Tape */
    .scattered-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        height: auto;
        margin-bottom: 5rem;
        /* Extra space for float */
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .polaroid {
        position: relative;
        transform-origin: center;
        width: 75%;
        max-width: 260px;
        margin: 0 auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        background: white;
        padding: 15px 15px 40px 15px;
        /* Polaroid padding */
        animation: float 6s ease-in-out infinite;
        /* Magical float */
    }

    /* Washi Tape Effect */
    .polaroid::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%) rotate(-2deg);
        width: 100px;
        height: 30px;
        background-color: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 10;
        backdrop-filter: blur(2px);
        /* Frosty tape look */
    }

    /* First photo styling */
    .p1 {
        transform: rotate(-6deg);
        margin-left: -20px;
        z-index: 1;
        animation-delay: 0s;
    }

    /* Second photo styling */
    .p2 {
        transform: rotate(5deg);
        margin-top: -60px;
        /* Stronger overlap */
        margin-left: 20px;
        z-index: 2;
        animation-delay: 3s;
        /* desync animation */
    }

    /* Tape variation for p2 */
    .p2::before {
        transform: translateX(-50%) rotate(3deg);
        background-color: rgba(255, 192, 203, 0.4);
        /* Pinkish tape */
    }

    /* Hide floating background elements on mobile to clean up */
    .floating-elements {
        display: none;
    }

    .polaroid {
        position: static;
        /* Remove absolute positioning */
        transform: none !important;
        /* Reset rotation/transform */
        width: 100%;
        max-width: 300px;
        /* Limit width */
        margin: 0 auto;
    }

    .polaroid img {
        width: 100%;
        height: auto;
    }

    .commissions-form {
        position: relative;
        z-index: 2;
        background: transparent;
        margin-top: 0;
    }

    /* Home Page - Categories */
    .categories-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        grid-template-columns: 1fr;
    }

    .category-card {
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 15px;
    }

    .category-text {
        font-size: 2rem;
        letter-spacing: 2px;
        width: 100%;
        text-align: center;
    }

    /* Shop Page - Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

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

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

    /* Commissions/General Form Fixes */
    .commissions-section {
        margin-top: 2rem;
    }

    .commissions-form {
        width: 100%;
        padding: 0;
    }

    .commissions-form .form-group {
        margin-bottom: 1.5rem;
    }

    /* Ensure images don't overflow/overlap */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

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