* {
    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.order {
    background-color: #1a0f07;
    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);
}

#order-main {
    margin-left: 52px;
    margin-right: 52px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#order-hero {
    position: relative;
    width: 100%;
    height: 52vh;
    background-image: url('Pictures/Picture05.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#order-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%);
}

#order-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;
}

#order-body {
    background-color: rgba(12, 6, 2, 0.92);
    padding: 4rem 5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

#order-steps-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.steps-intro {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.steps-label {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.45);
}

.steps-heading {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.8rem;
    color: #FAF0DC;
    letter-spacing: 0.05em;
}

#steps-track {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: grid;
    grid-template-columns: 48px 24px 1fr;
    align-items: start;
    gap: 0 1.2rem;
    padding-bottom: 2rem;
}

.step-number {
    font-family: "Recoleta", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 210, 140, 0.5);
    letter-spacing: 0.18em;
    padding-top: 0.2rem;
    text-align: right;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.35rem;
}

.step-connector::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(220, 170, 90, 0.7);
    flex-shrink: 0;
}

.step-connector::after {
    content: '';
    width: 1px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, rgba(220, 170, 90, 0.4), transparent);
    margin-top: 6px;
}

.step-connector.last::after { display: none; }

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.05rem;
}

.step-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1rem;
    color: #FAF0DC;
    letter-spacing: 0.06em;
}

.step-desc {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.85rem;
    color: rgba(240, 215, 180, 0.6);
    line-height: 1.7;
    letter-spacing: 0.02em;
}

#email-gate {
    background-color: rgba(255, 240, 210, 0.03);
    border: 1px solid rgba(220, 170, 90, 0.18);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    max-width: 560px;
}

.gate-step {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.gate-step.active {
    display: flex;
    animation: fadeSlideIn 0.35s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gate-label {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.4);
}

.gate-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.4rem;
    color: #FAF0DC;
    letter-spacing: 0.05em;
}

.gate-desc {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.85rem;
    color: rgba(240, 215, 180, 0.6);
    line-height: 1.7;
}

.gate-desc span {
    color: rgba(255, 210, 140, 0.85);
    font-style: italic;
}

.gate-error {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.78rem;
    color: rgba(220, 100, 80, 0.85);
    letter-spacing: 0.03em;
    min-height: 1em;
}

.gate-input-row {
    display: flex;
    gap: 0.7rem;
    align-items: stretch;
}

.gate-input-row input {
    flex: 1;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.88rem;
    color: #f0e6d3;
    background: rgba(255, 240, 210, 0.04);
    border: 1px solid rgba(220, 170, 90, 0.22);
    border-radius: 6px;
    padding: 0.75em 1em;
    outline: none;
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease;
}

.gate-input-row input:focus { border-color: rgba(220, 170, 90, 0.5); }

.gate-input-row input::placeholder { color: rgba(240, 215, 180, 0.3); }

#gate-send-btn,
#otp-verify-btn {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a0f07;
    background-color: rgba(220, 170, 90, 0.88);
    border: none;
    border-radius: 6px;
    padding: 0.75em 1.6em;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

#gate-send-btn:hover:not(:disabled),
#otp-verify-btn:hover { background-color: rgba(240, 195, 110, 1); }

#gate-send-btn:disabled { opacity: 0.4; cursor: default; }

#otp-verify-btn { align-self: flex-start; }

.otp-inputs {
    display: flex;
    gap: 0.6rem;
}

.otp-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-family: "Recoleta", sans-serif;
    font-size: 1.4rem;
    color: #FAF0DC;
    background: rgba(255, 240, 210, 0.04);
    border: 1px solid rgba(220, 170, 90, 0.22);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    caret-color: rgba(220, 170, 90, 0.7);
}

.otp-digit:focus {
    border-color: rgba(220, 170, 90, 0.6);
    background-color: rgba(255, 240, 210, 0.07);
}

#otp-resend-row {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.78rem;
    color: rgba(240, 215, 180, 0.45);
    letter-spacing: 0.03em;
}

.text-btn {
    background: none;
    border: none;
    color: rgba(255, 210, 140, 0.65);
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    padding: 0;
}

.text-btn:hover { color: #FAF0DC; }
.text-btn:disabled { opacity: 0.35; cursor: default; }

.locked-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(200, 80, 60, 0.12);
    border: 1px solid rgba(200, 80, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(220, 100, 80, 0.8);
}

.success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(80, 180, 100, 0.12);
    border: 1px solid rgba(80, 180, 100, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(120, 210, 130, 0.85);
    animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.order-section-divider {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(220, 170, 90, 0.3), transparent);
}

.divider-text {
    font-family: "Recoleta", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: rgba(255, 210, 140, 0.45);
    white-space: nowrap;
    text-transform: uppercase;
}

#catalog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.locked-catalog {
    opacity: 0.35;
    pointer-events: none;
    filter: blur(1px);
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.catalog-unlocked {
    opacity: 1;
    pointer-events: all;
    filter: none;
    animation: catalogReveal 0.5s ease;
}

@keyframes catalogReveal {
    from { opacity: 0.35; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#order-catalog {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.catalog-section {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.catalog-section-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.catalog-number {
    font-family: "Recoleta", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 210, 140, 0.45);
    letter-spacing: 0.2em;
    flex-shrink: 0;
}

.catalog-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.5rem;
    color: #FAF0DC;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
}

.catalog-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(220, 170, 90, 0.35), transparent);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.extras-grid { grid-template-columns: repeat(5, 1fr); }

.catalog-card {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 240, 210, 0.04);
    border: 1px solid rgba(220, 170, 90, 0.13);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    border-color: rgba(220, 170, 90, 0.32);
}

.catalog-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.catalog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-img-wrap img { transform: scale(1.05); }

.catalog-price-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-family: "Recoleta", sans-serif;
    font-size: 0.82rem;
    color: #FAF0DC;
    background-color: rgba(12, 6, 2, 0.78);
    border: 1px solid rgba(220, 170, 90, 0.3);
    border-radius: 100px;
    padding: 0.2em 0.7em;
    backdrop-filter: blur(4px);
}

.catalog-info {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.catalog-name {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 0.88rem;
    color: #FAF0DC;
    letter-spacing: 0.04em;
}

.catalog-desc {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.75rem;
    color: rgba(240, 215, 180, 0.55);
    line-height: 1.55;
    letter-spacing: 0.02em;
    flex: 1;
}

.add-to-order-btn {
    margin-top: 0.5rem;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.75);
    background: rgba(255, 240, 210, 0.05);
    border: 1px solid rgba(220, 170, 90, 0.25);
    border-radius: 6px;
    padding: 0.55em 0.8em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    align-self: stretch;
}

.add-to-order-btn:hover {
    background-color: rgba(220, 170, 90, 0.15);
    color: #FAF0DC;
    border-color: rgba(220, 170, 90, 0.5);
}

.add-to-order-btn.added {
    background-color: rgba(100, 160, 80, 0.15);
    color: rgba(160, 220, 130, 0.9);
    border-color: rgba(120, 180, 90, 0.4);
}

.card-added { border-color: rgba(120, 180, 90, 0.35); }

.card-unavailable {
    opacity: 0.45;
    pointer-events: none;
}

.card-unavailable .add-to-order-btn {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(240, 180, 100, 0.45);
    border-color: rgba(220, 170, 90, 0.12);
    cursor: not-allowed;
}

@keyframes cardPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.card-pop { animation: cardPop 0.3s ease; }

#order-cart-bar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

#cart-tab-label {
    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: pointer;
    pointer-events: all;
    transition: color 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

#cart-tab-label:hover,
#order-cart-bar.is-open #cart-tab-label {
    color: #FAF0DC;
    background-color: rgba(200, 140, 60, 0.2);
}

#cart-panel {
    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.95);
    backdrop-filter: blur(12px);
    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,
        padding 0.3s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#order-cart-bar.is-open #cart-panel {
    width: 300px;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    padding: 1.8rem;
    pointer-events: all;
}

.cart-panel-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.1rem;
    color: #FAF0DC;
    letter-spacing: 0.08em;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(220, 170, 90, 0.2);
    flex-shrink: 0;
}

#cart-photo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-strip-photo {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(220, 170, 90, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-strip-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

.cart-strip-more {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(220, 170, 90, 0.1);
    border: 1px solid rgba(220, 170, 90, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 210, 140, 0.8);
    letter-spacing: 0.05em;
}

@keyframes stripPhotoIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cart-strip-photo-new { animation: stripPhotoIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }

.cart-panel-divider {
    height: 1px;
    background: rgba(220, 170, 90, 0.15);
    flex-shrink: 0;
}

#cart-text-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cart-count {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.8rem;
    color: rgba(240, 215, 180, 0.6);
    letter-spacing: 0.08em;
}

#cart-total {
    font-family: "Recoleta", sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 210, 140, 0.9);
    letter-spacing: 0.05em;
}

#cart-checkout-btn {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a0f07;
    background-color: rgba(220, 170, 90, 0.88);
    border: none;
    border-radius: 6px;
    padding: 0.85em;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

#cart-checkout-btn:hover:not(:disabled) { background-color: rgba(240, 195, 110, 1); }

#cart-checkout-btn:disabled { opacity: 0.35; cursor: default; }

.cart-empty-msg {
    font-family: "Recoleta", sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 210, 140, 0.35);
    font-style: italic;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0.5rem 0;
}

#order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 2, 1, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#order-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#order-modal {
    position: relative;
    background-color: rgba(18, 9, 3, 0.97);
    border: 1px solid rgba(220, 170, 90, 0.25);
    border-radius: 14px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(240, 215, 180, 0.4);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

#modal-close:hover { color: #FAF0DC; }

.modal-eyebrow {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.45);
}

.modal-title {
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 1.6rem;
    color: #FAF0DC;
    letter-spacing: 0.06em;
}

.modal-divider {
    width: 100%;
    height: 1px;
    background: rgba(220, 170, 90, 0.15);
}

.modal-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.modal-item-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.modal-item-photo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(220, 170, 90, 0.2);
    flex-shrink: 0;
}

.modal-item-name {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.82rem;
    color: rgba(240, 215, 180, 0.75);
    letter-spacing: 0.02em;
}

.modal-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-item-qty {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.82rem;
    color: rgba(240, 215, 180, 0.75);
    min-width: 28px;
    text-align: center;
}

.modal-item-price {
    font-family: "Recoleta", sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 210, 140, 0.8);
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 240, 210, 0.06);
    border: 1px solid rgba(220, 170, 90, 0.2);
    color: rgba(255, 210, 140, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}

.qty-btn:hover {
    background-color: rgba(220, 170, 90, 0.15);
    border-color: rgba(220, 170, 90, 0.45);
    color: #FAF0DC;
}

.remove-item-btn {
    background: none;
    border: none;
    color: rgba(220, 100, 80, 0.5);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0 0.2rem;
    transition: color 0.2s ease;
    line-height: 1;
}

.remove-item-btn:hover { color: rgba(230, 110, 90, 0.9); }

@keyframes rowRemove {
    to { opacity: 0; transform: translateX(12px); max-height: 0; padding: 0; margin: 0; }
}

.row-remove { animation: rowRemove 0.28s ease forwards; overflow: hidden; }

#modal-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-total-row span:first-child {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.45);
}

#modal-total-value {
    font-family: "Recoleta", sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 210, 140, 0.9);
}

#modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#modal-form input,
#modal-form textarea {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.85rem;
    color: #f0e6d3;
    background: rgba(255, 240, 210, 0.04);
    border: 1px solid rgba(220, 170, 90, 0.2);
    border-radius: 6px;
    padding: 0.75em 1em;
    outline: none;
    letter-spacing: 0.03em;
    resize: none;
    transition: border-color 0.2s ease;
}

#modal-form input::placeholder,
#modal-form textarea::placeholder { color: rgba(240, 215, 180, 0.3); }

#modal-form input:focus,
#modal-form textarea:focus { border-color: rgba(220, 170, 90, 0.5); }

#modal-submit-btn {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1a0f07;
    background-color: rgba(220, 170, 90, 0.88);
    border: none;
    border-radius: 6px;
    padding: 0.85em;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: background-color 0.2s ease;
}

#modal-submit-btn:hover { background-color: rgba(240, 195, 110, 1); }

#modal-success {
    font-family: "Recoleta", sans-serif;
    font-size: 1rem;
    color: rgba(160, 220, 130, 0.85);
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.03em;
    padding: 1rem 0;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.input-shake { animation: inputShake 0.4s ease; }

#order-footer {
    background-color: rgba(8, 4, 1, 0.95);
    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) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .extras-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    #order-main { margin-left: 52px; margin-right: 52px; }
    #order-body { padding: 2.5rem 2rem; }
    #order-footer { padding: 2rem 2rem 1.2rem; }
    .footer-inner { flex-direction: column; gap: 1.5rem; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

#order-top-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: 100%;
}

#order-steps-section {
    flex: 1;
    min-width: 0;
}

#email-gate {
    flex: 1;
    min-width: 0;
    align-self: center;
}

.cart-strip-photo-wrap {
    position: relative;
    display: inline-block;
}

.cart-strip-photo-wrap:hover .cart-photo-tooltip {
    opacity: 1;
    transform: translateY(-6px);
    pointer-events: none;
}

.cart-photo-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(0px);
    background-color: rgba(15, 8, 3, 0.92);
    border: 1px solid rgba(220, 170, 90, 0.3);
    border-radius: 6px;
    padding: 0.3em 0.7em;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 210, 140, 0.9);
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.otp-timer {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 210, 140, 0.6);
    letter-spacing: 0.06em;
}

.otp-timer.timer-warning {
    color: rgba(240, 160, 80, 0.9);
}

.otp-timer.timer-expired {
    color: rgba(220, 80, 60, 0.85);
}

#modal-form select {
    font-family: "CreatoDisplay", sans-serif;
    font-size: 0.85rem;
    color: #f0e6d3;
    background: rgba(255, 240, 210, 0.04);
    border: 1px solid rgba(220, 170, 90, 0.2);
    border-radius: 6px;
    padding: 0.75em 1em;
    outline: none;
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease;
    appearance: none;
    cursor: url('Cursors/Croissant.png'), pointer;
}

#modal-form select:focus {
    border-color: rgba(220, 170, 90, 0.5);
}

#modal-form select option {
    background-color: #1a0f07;
    color: #f0e6d3;
}

#modal-form select:disabled {
    opacity: 0.4;
    cursor: default;
}

.delivery-fee-note {
    font-family: "Recoleta", sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 210, 140, 0.6);
    letter-spacing: 0.05em;
    font-style: italic;
    padding: 0.2rem 0;
}

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;
}