/* ===================================
   Part: Sticky Bottom Reservation Menu
   ================================== */
.sticky-reserve {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    font-family: var(--font-body);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.sticky-trigger {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 1rem 1rem calc(1.2rem + env(safe-area-inset-bottom));
    font-size: 1rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    z-index: 10001;
}

.trigger-icon {
    display: inline-block;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.2);
    }

    10% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    20% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.sticky-trigger:hover {
    background: var(--color-primary-dark);
}

.sticky-options {
    background: var(--color-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    /* Slide effect */
    border-top: 1px solid var(--color-gray-light);
}

.sticky-reserve.open .sticky-options {
    max-height: 300px;
    /* Enough to show items */
    transition: max-height 0.4s ease-out;
}

.sticky-trigger .trigger-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.sticky-reserve.open .trigger-arrow {
    transform: rotate(180deg);
}

.sticky-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-bottom: 1px solid var(--color-gray-light);
    transition: background 0.2s;
}

.sticky-btn:last-child {
    border-bottom: none;
}

.sticky-btn:hover {
    background: var(--color-gray-light);
}

.sticky-btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--color-dark);
    flex-shrink: 0;
}

.sticky-btn.toreta .sticky-btn-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.sticky-btn.tabelog .sticky-btn-icon {
    background: rgba(255, 178, 0, 0.1);
    color: #FFB200;
}

.sticky-btn.phone .sticky-btn-icon {
    background: var(--color-primary);
    color: var(--color-light);
}

.sticky-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sticky-btn-text .main {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    font-size: 1.25rem;
}

.sticky-btn-text .sub {
    font-size: 0.8rem;
    color: var(--color-gray);
    letter-spacing: 0.05em;
}

.sticky-btn .arrow {
    color: var(--color-gray);
    font-size: 1.5rem;
}