* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CreatoDisplay';
    src: url('Fonts/creato_display/CreatoDisplay-Light.otf') format('opentype');
}

@font-face {
    font-family: 'OptimusPrinceps';
    src: url('Fonts/optimusprinceps/OptimusPrinceps.ttf') format('truetype');
}

@font-face {
    font-family: 'Recoleta';
    src: url('Fonts/recoleta/Recoleta-RegularDEMO.otf') format('opentype');
}

body.baking {
    background-color: #1a0f07;
    background-image: url('Pictures/pexels-marta-dzedyshko-1042863-2067430.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 17px;
    color: #f0e6d3;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 52px;
    background-color: rgba(15, 8, 3, 0.82);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.side-nav:hover {
    width: 230px;
}

.side-nav-inner {
    width: 230px;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.side-nav li {
    width: 100%;
}

.side-nav a {
    display: block;
    color: rgba(240, 220, 180, 0.65);
    text-decoration: none;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    padding: 0.9rem 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 2px solid transparent;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.side-nav a.active {
    color: #FAF0DC;
    background-color: rgba(200, 150, 80, 0.15);
    border-left: 2px solid rgba(220, 170, 90, 0.7);
}

.side-nav a:hover {
    color: #FAF0DC;
    background-color: rgba(255, 230, 170, 0.08);
}

#baking-main {
    margin-left: 52px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#baking-hero {
    position: relative;
    width: 100%;
    height: 52vh;
    background-image: url('Pictures/Picture08.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#baking-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 8, 3, 0.3) 0%,
        rgba(15, 8, 3, 0.55) 60%,
        rgba(15, 8, 3, 0.88) 100%
    );
}

#baking-hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-eyebrow {
    font-family: "Recoleta", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    color: rgba(255, 210, 140, 0.75);
    text-transform: uppercase;
}

.hero-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: #FAF0DC;
    letter-spacing: 0.06em;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.6);
}

.hero-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 220, 160, 0.5);
    margin-top: 0.4rem;
}

#baking-body {
    background-color: rgba(12, 6, 2, 0.78);
    backdrop-filter: blur(8px);
    padding: 4rem 5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

.baking-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.section-number {
    font-family: "Recoleta", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 210, 140, 0.45);
    letter-spacing: 0.2em;
    flex-shrink: 0;
}

.section-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.6rem;
    color: #FAF0DC;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(220, 170, 90, 0.35), transparent);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 240, 210, 0.04);
    border: 1px solid rgba(220, 170, 90, 0.15);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(220, 170, 90, 0.35);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: rgba(30, 15, 5, 0.7);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover .card-preview {
    opacity: 1;
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(10, 5, 1, 0.65) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.play-btn {
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(220, 170, 90, 0.18);
    border: 1.5px solid rgba(220, 170, 90, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 230, 170, 0.9);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.play-btn svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

.video-card:hover .play-btn {
    background: rgba(220, 170, 90, 0.35);
    border-color: rgba(220, 170, 90, 0.9);
    transform: scale(1.1);
}

.video-overlay-text {
    position: absolute;
    bottom: 0.6rem;
    left: 0.8rem;
    z-index: 2;
}

.video-tag {
    font-family: "Recoleta", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.7);
}

.video-meta {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.video-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 0.95rem;
    color: #FAF0DC;
    letter-spacing: 0.05em;
}

.video-desc {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.78rem;
    color: rgba(240, 215, 180, 0.6);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

#video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-hidden {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.lightbox-open {
    pointer-events: all;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 4, 1, 0.92);
    backdrop-filter: blur(12px);
}

#lightbox-container {
    position: relative;
    z-index: 1;
    width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(220, 170, 90, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 8, 3, 0.75);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

#lightbox-video {
    width: 100%;
    display: block;
    background: #000;
    max-height: 85vh;
}

#lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 0.9rem;
    background: rgba(220, 170, 90, 0.15);
    border: 1px solid rgba(220, 170, 90, 0.4);
    color: rgba(255, 230, 170, 0.9);
    font-size: 1.4rem;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

#lightbox-close:hover {
    background: rgba(220, 170, 90, 0.3);
    border-color: rgba(220, 170, 90, 0.8);
}

#baking-footer {
    background-color: rgba(8, 4, 1, 0.88);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(220, 170, 90, 0.15);
    padding: 2.5rem 5rem 1.5rem;
    flex-shrink: 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.3rem;
    color: #FAF0DC;
    letter-spacing: 0.06em;
}

.footer-tagline {
    font-family: "Recoleta", sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 210, 140, 0.55);
    letter-spacing: 0.15em;
}

.footer-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-heading {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.5);
    margin-bottom: 0.3rem;
}

.footer-block p {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.85rem;
    color: rgba(240, 220, 190, 0.7);
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.footer-block a {
    color: rgba(240, 220, 190, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-block a:hover {
    color: #FAF0DC;
}

.footer-copy {
    text-align: center;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.72rem;
    color: rgba(200, 170, 120, 0.35);
    letter-spacing: 0.08em;
    border-top: 1px solid rgba(220, 170, 90, 0.1);
    padding-top: 1rem;
}

@media (max-width: 1100px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #baking-main {
        margin-left: 52px;
    }

    #baking-body {
        padding: 2.5rem 2rem;
    }

    #baking-footer {
        padding: 2rem 2rem 1.2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

body {
    cursor: url('Cursors/Eiffel.png'), auto;
}

a, button, .add-to-order-btn, .catalog-card, .tag, .filter-btn, .headernav a, .video-card, #lightbox-close {
    cursor: url('Cursors/Croissant.png') 16 16, pointer;
}

a, button, .add-to-order-btn, .catalog-card, .tag, .filter-btn,
.headernav a, #cart-tab-label, .tab-label, .cart-strip-photo,
.otp-digit, #gate-send-btn, #otp-verify-btn, #otp-resend-btn,
.text-btn, .qty-btn, .remove-item-btn, #modal-close,
.filter-btn, .special-card, .review-card {
    cursor: url('Cursors/Croissant.png'), pointer;
}

input, textarea, select {
    cursor: url('Cursors/Croissant.png'), text;
}