* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream-white: #F9F5EB;
    --warm-peach: #FFE8C2;
    --sky-blue: #D1E8FF;
    --candy-pink: #FFDDE2;
    --mint-green: #A9D8B8;
    --charcoal: #2E2E2E;
    --creative-orange: #FF9A3D;
    --artistic-violet: #7A4DE8;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(46, 46, 46, 0.08);
    --shadow-medium: 0 8px 30px rgba(46, 46, 46, 0.12);
    --shadow-floating: 0 12px 40px rgba(46, 46, 46, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

header {
    background: rgba(249, 245, 235, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 3px solid var(--warm-peach);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
}

.header-container > button {
    flex-shrink: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--artistic-violet);
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--warm-peach);
    border-radius: 12px;
    transform: rotate(-2deg);
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed var(--creative-orange);
    border-radius: 12px;
    opacity: 0.5;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
}

nav a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

nav a:hover {
    background: var(--sky-blue);
    transform: translateY(-2px);
}

nav a.active {
    background: var(--creative-orange);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--charcoal);
    flex-shrink: 0;
    white-space: nowrap;
}

.hero {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--warm-peach) 0%, var(--sky-blue) 100%);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 154, 61, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(122, 77, 232, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    text-shadow: 2px 2px 0 var(--warm-peach);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: var(--creative-orange);
    border-radius: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: var(--charcoal);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--creative-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--artistic-violet);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--sky-blue);
    color: var(--charcoal);
}

.btn-secondary:hover {
    background: var(--mint-green);
    transform: translateY(-3px);
}

.sticky-note-btn {
    background: var(--candy-pink);
    color: var(--charcoal);
    transform: rotate(-2deg);
    box-shadow: 4px 4px 0 rgba(46, 46, 46, 0.1);
}

.sticky-note-btn:hover {
    transform: rotate(0deg) translateY(-3px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--warm-peach);
    border-radius: 50%;
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-floating);
}

.product-card:hover::before {
    transform: scale(1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 3px solid var(--sky-blue);
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--artistic-violet);
    margin-top: 0.5rem;
}

.polaroid-card {
    background: white;
    padding: 1rem 1rem 3rem;
    box-shadow: var(--shadow-medium);
    transform: rotate(-1deg);
    transition: all 0.4s ease;
    border-radius: 5px;
}

.polaroid-card:hover {
    transform: rotate(2deg) translateY(-5px);
    box-shadow: var(--shadow-floating);
}

.polaroid-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::before {
    content: '✨';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.section-title::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.doodle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.doodle-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 3px dashed var(--sky-blue);
    transition: all 0.3s ease;
}

.doodle-item:hover {
    border-color: var(--creative-orange);
    transform: scale(1.05);
}

.doodle-item::before {
    content: '📝';
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--warm-peach);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
}

.notebook-page {
    background: white;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-medium);
    position: relative;
    border-left: 4px solid var(--sky-blue);
}

.notebook-page::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 20px,
        var(--warm-peach) 20px,
        var(--warm-peach) 22px
    );
}

.form-container {
    max-width: 700px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    position: relative;
    border: 3px dashed var(--mint-green);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--sky-blue);
    border-radius: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--cream-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--creative-orange);
    box-shadow: 0 0 0 3px rgba(255, 154, 61, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--creative-orange);
}

.masonry-grid {
    columns: 3;
    column-gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

.filter-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

.filter-bubble {
    padding: 0.75rem 1.5rem;
    background: var(--sky-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.filter-bubble:hover,
.filter-bubble.active {
    background: var(--creative-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.kit-builder {
    background: linear-gradient(135deg, var(--candy-pink) 0%, var(--sky-blue) 100%);
    padding: 4rem 2rem;
    border-radius: 30px;
    margin: 3rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.kit-builder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 154, 61, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.kit-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.kit-option {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    border: 3px solid transparent;
}

.kit-option:hover,
.kit-option.active {
    border-color: var(--creative-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--warm-peach);
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--creative-orange);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.error-404 {
    text-align: center;
    padding: 6rem 2rem;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--creative-orange);
    text-shadow: 4px 4px 0 var(--warm-peach);
    margin-bottom: 1rem;
    transform: rotate(-5deg);
}

.error-404 p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-floating);
    z-index: 10000;
    border: 3px solid var(--mint-green);
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1rem;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo {
        font-size: clamp(1rem, 4vw, 1.5rem);
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1 1 auto;
        min-width: 0;
        flex-shrink: 1;
        max-width: calc(100% - 60px);
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        padding: 0.5rem;
        min-width: 40px;
        flex-shrink: 0;
        order: 2;
    }
    
    nav {
        display: none;
        width: 100%;
        margin-top: 0;
        order: 3;
        flex-basis: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .masonry-grid {
        columns: 1;
    }
    
    .hero {
        padding: 4rem 1.5rem;
        min-height: 60vh;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .notebook-page {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }
    
    .notebook-page::before {
        left: 30px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 0.75rem;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0;
    }
    
    .logo {
        font-size: clamp(0.875rem, 5vw, 1.25rem);
        padding: 0.3rem 0.6rem;
        flex: 1 1 auto;
        min-width: 0;
        flex-shrink: 1;
        max-width: calc(100% - 55px);
    }
    
    .mobile-menu-toggle {
        font-size: 1.25rem;
        padding: 0.4rem;
        min-width: 35px;
        order: 2;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .notebook-page {
        padding: 1.5rem 1rem;
        margin: 1rem auto;
    }
    
    .notebook-page::before {
        left: 20px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 320px) {
    /* Global adjustments */
    body {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Header */
    header {
        padding: 0.5rem 0.5rem;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: clamp(0.75rem, 6vw, 1rem);
        padding: 0.25rem 0.5rem;
        flex: 1 1 auto;
        min-width: 0;
        flex-shrink: 1;
        max-width: calc(100% - 50px);
    }
    
    .mobile-menu-toggle {
        font-size: 1.125rem;
        padding: 0.3rem;
        min-width: 32px;
        min-height: 32px;
        order: 2;
    }
    
    /* Navigation */
    nav.active {
        display: block;
        width: 100%;
        order: 3;
        margin-top: 0.5rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    nav a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        border-radius: 15px;
        display: flex;
        align-items: center;
        min-height: 44px;
        width: 100%;
    }
    
    /* Typography */
    h1 { 
        font-size: 1.75rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    h2 { 
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    h3 { 
        font-size: 1.25rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    h4 { 
        font-size: 1.125rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 0.5rem;
        min-height: 45vh;
    }
    
    .hero-content {
        padding: 0;
        max-width: 100%;
    }
    
    .hero h1 {
        padding: 0 0.5rem;
        word-break: break-word;
    }
    
    .hero p {
        font-size: 0.938rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    /* Sections */
    .section {
        padding: 1.5rem 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    /* Container */
    .container {
        padding: 0 0.5rem;
    }
    
    /* Notebook Page */
    .notebook-page {
        padding: 1rem 0.75rem;
        margin: 0.75rem 0.5rem;
        font-size: 0.875rem;
        border-left-width: 3px;
        max-width: calc(100% - 1rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .notebook-page::before {
        left: 12px;
    }
    
    .notebook-page ul,
    .notebook-page ol {
        margin-left: 1.25rem;
        font-size: 0.875rem;
        padding-right: 0.5rem;
        line-height: 1.6;
    }
    
    .notebook-page li {
        margin-bottom: 0.5rem;
        word-wrap: break-word;
    }
    
    .notebook-page p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
        word-wrap: break-word;
    }
    
    .notebook-page h2 {
        font-size: 1.375rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }
    
    .notebook-page h3 {
        font-size: 1.125rem;
        margin-top: 1.25rem;
        margin-bottom: 0.625rem;
        word-wrap: break-word;
    }
    
    /* Card Grid */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    
    /* Product Card */
    .product-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .product-card img {
        height: 200px;
        margin-bottom: 0.75rem;
    }
    
    .product-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card .price {
        font-size: 1.25rem;
    }
    
    .product-card p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    /* Polaroid Card */
    .polaroid-card {
        padding: 0.75rem 0.75rem 2.5rem;
        transform: rotate(0deg);
    }
    
    .polaroid-card:hover {
        transform: rotate(0deg) translateY(-3px);
    }
    
    .polaroid-card img {
        height: 180px;
        margin-bottom: 0.5rem;
    }
    
    .polaroid-card h3 {
        font-size: 1.125rem;
    }
    
    /* Doodle Grid */
    .doodle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    
    .doodle-item {
        padding: 1.5rem;
        border-radius: 15px;
        border-width: 2px;
    }
    
    .doodle-item::before {
        font-size: 1.25rem;
        padding: 0.4rem;
        top: -12px;
        left: 15px;
    }
    
    /* Kit Builder */
    .kit-builder {
        padding: 2rem 1rem;
        border-radius: 20px;
        margin: 2rem auto;
    }
    
    .kit-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .kit-option {
        padding: 1.5rem;
        border-radius: 15px;
        border-width: 2px;
    }
    
    /* Contact Page Grid */
    [style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    [style*="gap: 3rem"] {
        gap: 1.5rem !important;
    }
    
    [style*="max-width: 1200px"] {
        max-width: 100% !important;
    }
    
    /* Form Container */
    .form-container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
        margin: 1rem auto;
        border-width: 2px;
    }
    
    .form-container h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Contact Info Section */
    .notebook-page [style*="margin-bottom: 2rem"] {
        margin-bottom: 1.5rem !important;
    }
    
    .notebook-page [style*="margin-top: 3rem"] {
        margin-top: 2rem !important;
    }
    
    .notebook-page [style*="padding: 2rem"] {
        padding: 1.5rem 1rem !important;
    }
    
    .notebook-page h3 {
        font-size: 1rem;
    }
    
    /* Checkbox group on contact page */
    .checkbox-group {
        margin-bottom: 1.25rem;
        font-size: 0.875rem;
    }
    
    .checkbox-group label {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.875rem;
        border-radius: 12px;
    }
    
    .form-group label {
        font-size: 0.875rem;
        margin-bottom: 0.4rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        border-radius: 20px;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Button groups */
    [style*="display: flex"][style*="gap: 1rem"] {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
    
    [style*="margin-top: 2rem"] {
        margin-top: 1.5rem !important;
    }
    
    [style*="margin-top: 1rem"] {
        margin-top: 0.75rem !important;
    }
    
    /* Filter Bubbles */
    .filter-bubbles {
        padding: 1.5rem 0.5rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .filter-bubble {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        border-radius: 20px;
        border-width: 1px;
    }
    
    /* Masonry Grid */
    .masonry-grid {
        columns: 1;
        column-gap: 1rem;
        padding: 1.5rem 0.5rem;
    }
    
    .masonry-item {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    /* Footer */
    footer {
        padding: 3rem 1rem 1.5rem;
        margin-top: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-section h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.875rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.75rem;
    }
    
    /* Error 404 Section */
    .error-404 {
        padding: 3rem 1rem;
        min-height: 60vh;
    }
    
    .error-404 h1 {
        font-size: 5rem;
        text-shadow: 3px 3px 0 var(--warm-peach);
        margin-bottom: 0.75rem;
    }
    
    .error-404 p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Cookie Popup */
    .cookie-popup {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 1.25rem;
        border-radius: 15px;
        border-width: 2px;
        max-width: calc(100% - 1rem);
    }
    
    .cookie-popup h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .cookie-popup p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .cookie-popup .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.813rem;
    }
    
    .cookie-popup [style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .cookie-popup [style*="display: flex"] .btn {
        width: 100%;
    }
    
    /* Inline Style Adjustments */
    .notebook-page [style*="margin-bottom: 3rem"],
    .notebook-page [style*="margin-bottom: 2rem"] {
        margin-bottom: 1.5rem !important;
    }
    
    .notebook-page [style*="margin-top: 3rem"] {
        margin-top: 2rem !important;
    }
    
    .notebook-page [style*="margin-top: 2.5rem"] {
        margin-top: 1.5rem !important;
    }
    
    .notebook-page [style*="margin-bottom: 1.5rem"] {
        margin-bottom: 1.25rem !important;
    }
    
    .notebook-page [style*="margin-bottom: 1rem"] {
        margin-bottom: 0.75rem !important;
    }
    
    .notebook-page [style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
    
    .notebook-page [style*="line-height: 2"] {
        line-height: 1.75 !important;
    }
    
    .notebook-page [style*="line-height: 1.8"] {
        line-height: 1.6 !important;
    }
    
    .notebook-page [style*="margin-left: 2rem"] {
        margin-left: 1.25rem !important;
    }
    
    /* Special Sections */
    [style*="padding: 4rem 2rem"] {
        padding: 2rem 1rem !important;
    }
    
    [style*="padding: 3rem"] {
        padding: 2rem 1rem !important;
    }
    
    [style*="padding: 2rem"] {
        padding: 1.5rem 1rem !important;
    }
    
    [style*="border-radius: 30px"] {
        border-radius: 20px !important;
    }
    
    [style*="width: 200px"] {
        width: 150px !important;
        height: 150px !important;
    }
    
    [style*="font-size: 5rem"] {
        font-size: 3.5rem !important;
    }
    
    [style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
    
    [style*="min-height: 40vh"] {
        min-height: 35vh !important;
    }
    
    /* Hero content adjustments */
    .hero-content [style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    /* Image adjustments */
    img[style*="max-width: 100%"] {
        height: auto !important;
    }
    
    /* Kit preview */
    .kit-preview img {
        max-width: 100%;
        height: auto;
        border-radius: 15px !important;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.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; }

.torn-paper {
    position: relative;
    padding: 1rem;
    background: white;
    border-radius: 0;
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 95%,
        98% 97%, 95% 99%, 92% 100%,
        5% 100%, 2% 99%, 0% 97%
    );
}

.washi-tape {
    position: relative;
}

.washi-tape::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background: var(--warm-peach);
    opacity: 0.6;
    transform: rotate(-45deg);
    border-radius: 2px;
}

