* {
    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.aboutus {
    background-color: #1a0f07;
    background-image: url('Pictures/pexels-valeriya-27304305.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);
}

.right-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    pointer-events: none;
}

.right-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: all;
}

.tab-label {
    position: relative;
    z-index: 2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    background-color: rgba(15, 8, 3, 0.82);
    backdrop-filter: blur(6px);
    color: rgba(240, 210, 150, 0.75);
    font-family: "Recoleta", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    padding: 1.2rem 0.6rem;
    border-left: 1px solid rgba(220, 170, 90, 0.3);
    cursor: default;
    transition: color 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.right-tab:hover .tab-label,
.right-tab.is-open .tab-label {
    color: #FAF0DC;
    background-color: rgba(200, 140, 60, 0.2);
}

.right-panel-content {
    position: fixed;
    right: 52px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    width: 0;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    background-color: rgba(15, 8, 3, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 170, 90, 0.2);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 0;
    transition:
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.4s ease;
    pointer-events: none;
}

.right-tab.is-open .right-panel-content {
    width: 340px;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    padding: 1.8rem;
    pointer-events: all;
}

.panel-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.2rem;
    color: #FAF0DC;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(220, 170, 90, 0.25);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.photo-cell img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(220, 170, 90, 0.2);
    display: block;
}

.panel-text {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(240, 220, 190, 0.85);
    margin-bottom: 0.9rem;
    letter-spacing: 0.02em;
}

#tab-proprietors.is-open .right-panel-content.proprietors-panel {
    width: 560px;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    padding: 2rem 2.2rem;
    pointer-events: all;
}

.proprietors-intro {
    font-family: "Recoleta", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: rgba(255, 210, 140, 0.65);
    margin-bottom: 1.6rem;
    line-height: 1.6;
    font-style: italic;
}

.proprietors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.proprietor-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 240, 210, 0.03);
    border: 1px solid rgba(220, 170, 90, 0.18);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.proprietor-card:hover {
    border-color: rgba(220, 170, 90, 0.4);
    transform: translateY(-4px);
}

.proprietor-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.proprietor-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.proprietor-card:hover .proprietor-photo-wrap img {
    transform: scale(1.04);
}

.proprietor-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 45%,
        rgba(10, 5, 1, 0.7) 100%
    );
}

.proprietor-info {
    padding: 0 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.proprietor-name {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 0.92rem;
    color: #FAF0DC;
    letter-spacing: 0.06em;
}

.proprietor-role {
    font-family: "Recoleta", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.6);
    margin-bottom: 0.4rem;
}

.proprietor-bio {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.75rem;
    line-height: 1.65;
    color: rgba(240, 215, 180, 0.72);
    letter-spacing: 0.02em;
}

#about-main {
    margin-left: 52px;
    margin-right: 52px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#about-hero {
    position: relative;
    width: 100%;
    height: 52vh;
    background-image: url('Pictures/Picture02.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#about-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.85) 100%
    );
}

#about-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;
}

#history-section {
    background-color: rgba(12, 6, 2, 0.72);
    backdrop-filter: blur(8px);
    padding: 3.5rem 5rem;
    flex: 1;
}

.history-body {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.history-body p {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(240, 225, 200, 0.88);
    letter-spacing: 0.02em;
    text-align: justify;
    text-justify: inter-word;
}

.history-tags {
    max-width: 820px;
    margin: 2.8rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tag {
    font-family: "Recoleta", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: rgba(255, 210, 140, 0.7);
    border: 1px solid rgba(220, 170, 90, 0.3);
    border-radius: 100px;
    padding: 0.45em 1.1em;
    cursor: default;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease,
        background-color 0.25s ease;
    display: inline-block;
}

.tag:hover {
    color: #FAF0DC;
    border-color: rgba(255, 210, 140, 0.65);
    background-color: rgba(200, 140, 50, 0.12);
    transform: translateY(-3px);
}

#about-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: 768px) {
    #about-main {
        margin-left: 52px;
        margin-right: 0;
    }

    #history-section {
        padding: 2.5rem 2rem;
    }

    #about-footer {
        padding: 2rem 2rem 1.2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .right-tab.is-open .right-panel-content {
        width: 260px;
    }

    #tab-proprietors.is-open .right-panel-content.proprietors-panel {
        width: 300px;
    }

    .proprietors-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 {
    cursor: url('Cursors/Croissant.png'), 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;
}