/* ========================================
   PICKUP PAGE - PAPA GRILL
   ПОЛНЫЙ CSS ФАЙЛ (хедер + футер + основной контент)
   ======================================== */

/* ----- ОСНОВНЫЕ ПЕРЕМЕННЫЕ ----- */
:root {
    --yellow: #f7c600;
    --yellow-hover: #ffda44;
    --bg-dark: #0f0f0f;
    --card-bg: rgba(30, 30, 30, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===== ТОПБАР И МЕНЮ ===== */
.topbar__menu {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
    z-index: 201;
    transition: opacity 0.3s;
}

.topbar__menu.hidden {
    opacity: 0;
    pointer-events: none;
}

.topbar__dropdown {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    display: flex;
    gap: 8px;
    background: transparent;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 300;
    white-space: nowrap;
    pointer-events: none;
}

.topbar__dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.topbar__dropdown a {
    display: inline-block;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--yellow);
    border-radius: 20px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    color: var(--yellow);
    text-decoration: none;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: background 0.2s, color 0.2s;
}

.topbar__dropdown a:hover {
    background: var(--yellow);
    color: #000;
    box-shadow: 0 4px 12px rgba(247, 198, 0, 0.4);
}

.burger-wrapper {
    flex: 0 0 50px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 50px;
}

.topbar,
.burger-wrapper {
    overflow: visible !important;
}

.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0f0f0f 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 200;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.topbar-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.topbar__logo {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
}

.topbar__logo img {
    height: 70px;
    filter: drop-shadow(0 0 10px rgba(247, 198, 0, 0.3));
}

.topbar__address {
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 14px 80px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.topbar__address:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
}

.burger-wrapper {
    flex: 0 0 50px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 50px;
}

.topbar__menu {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
    z-index: 201;
    transition: opacity 0.3s;
}

@media (max-width: 900px) {
    .topbar__address {
        padding: 10px 40px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 10px 15px;
    }
    .topbar__address {
        padding: 8px 30px;
        font-size: 12px;
        order: 3;
    }
    .topbar__logo {
        order: 1;
    }
    .burger-wrapper {
        order: 2;
    }
}

/* ===== СТРАНИЦА САМОВЫВОЗА ===== */

.pickup-page {
    padding: 40px 20px 80px;
    min-height: 100vh;
}

.pickup-container {
    max-width: 1400px;
    margin: 0 auto;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pickup-topbar {
    padding: 32px 36px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    animation: fadeSlideUp 0.5s ease forwards;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.96), rgba(14, 14, 14, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.pickup-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(247, 198, 0, 0.5), rgba(247, 198, 0, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.pickup-topbar:hover::before {
    opacity: 1;
}

.pickup-topbar:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 198, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(247, 198, 0, 0.1);
}

.pickup-breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pickup-breadcrumbs a {
    color: var(--yellow);
    text-decoration: none;
}

.pickup-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, rgba(247, 198, 0, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.pickup-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--yellow);
    color: var(--yellow);
    gap: 12px;
    transform: translateX(-4px);
    box-shadow: 0 0 15px rgba(247, 198, 0, 0.2);
}

.pickup-grid-main {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 1000px) {
    .pickup-grid-main {
        grid-template-columns: 1fr;
    }
}

.pickup-sidebar {
    position: sticky;
    top: 30px;
}

@media (max-width: 1000px) {
    .pickup-sidebar {
        position: static;
        margin-top: 28px;
    }
}

.pickup-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.96), rgba(14, 14, 14, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 0.5s ease forwards;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(247, 198, 0, 0.5), rgba(247, 198, 0, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 198, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(247, 198, 0, 0.1);
}

.info-card:nth-child(1) { animation-delay: 0.05s; }
.info-card:nth-child(2) { animation-delay: 0.1s; }
.info-card:nth-child(3) { animation-delay: 0.15s; }
.info-card:nth-child(4) { animation-delay: 0.2s; }

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), transparent);
    border-radius: 3px;
}

.address-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(247, 198, 0, 0.1);
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: rgba(247, 198, 0, 0.3);
    transform: translateY(-2px);
}

.address-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 12px;
}

.address-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    border: 1px solid rgba(247, 198, 0, 0.15);
    transition: all 0.3s ease;
}

.map-container:hover {
    border-color: rgba(247, 198, 0, 0.4);
    box-shadow: 0 0 20px rgba(247, 198, 0, 0.1);
}

#pickupMap {
    width: 100%;
    height: 100%;
}

.hours-list {
    width: 100%;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    color: var(--text-muted);
    font-size: 14px;
}

.hours-row .time {
    color: #fff;
    font-weight: 500;
}

.hours-row.highlight .time {
    color: var(--yellow);
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.step-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(247, 198, 0, 0.1);
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: rgba(247, 198, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(247, 198, 0, 0.1);
}

.step-number {
    width: 36px;
    height: 36px;
    background: rgba(247, 198, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 700;
    font-size: 16px;
    color: var(--yellow);
}

.step-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    font-size: 14px;
}

.step-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .payments-grid {
        grid-template-columns: 1fr;
    }
}

.payment-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(247, 198, 0, 0.15);
    transition: all 0.3s ease;
}

.payment-item:hover {
    background: rgba(247, 198, 0, 0.08);
    border-color: rgba(247, 198, 0, 0.4);
    transform: translateY(-3px);
}

.payment-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.payment-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(247, 198, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(247, 198, 0, 0.3);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 32px;
}

.feature-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: rgba(247, 198, 0, 0.3);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.info-banner {
    background: rgba(247, 198, 0, 0.06);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(247, 198, 0, 0.15);
}

.info-banner:last-child {
    margin-bottom: 0;
}

.info-banner p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.info-banner strong {
    color: var(--yellow);
}

/* ===== ФУТЕР ===== */
.footer-block {
    position: relative;
    margin-top: 80px;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.95), rgba(8, 8, 8, 0.98));
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.footer-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), var(--yellow-hover), var(--yellow), transparent);
}

.footer-block::after {
    content: '🍔';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 80px;
    opacity: 0.03;
    pointer-events: none;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: var(--yellow);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 100%;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--yellow);
    transform: translateX(5px);
}

.footer-column ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--yellow);
    color: #000;
    border-color: var(--yellow);
    transform: translateY(-3px);
}

.footer-hours {
    margin-top: 20px;
}

.footer-hours p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.footer-hours p span:first-child {
    font-weight: 600;
}

.footer-hours p span:last-child {
    color: var(--yellow);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-copyright a {
    color: var(--yellow);
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-payment {
    display: flex;
    gap: 12px;
}

.footer-payment span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-hover);
}

@media (max-width: 768px) {
    .pickup-page {
        padding: 20px 16px 60px;
    }
    .pickup-topbar {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .pickup-title {
        font-size: 32px;
    }
    .info-card {
        padding: 20px;
    }
    .section-title {
        font-size: 20px;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .feature-item {
        padding: 12px;
    }
    .footer-block {
        padding: 40px 0 30px;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    .footer-column {
        text-align: center;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-hours p {
        justify-content: center;
        gap: 15px;
    }
}