/* === MAGIK MASTERCLASS STYLES === */
:root {
    --magik-pink: #bf0678;
    --magik-pink-light: #e8389e;
    --magik-green: #13a506;
    --magik-green-light: #2bc41e;
    --magik-orange: #ffb400;
    --magik-blue: #4cb2e6;
    --magik-dark: #333;
    --magik-gray: #6d6d6d;
    --magik-light: #f8f6ff;
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--magik-dark);
    background: #fff;
    margin: 0;
}

/* === STORE TOP BAR === */
.store-bar {
    background: var(--magik-dark);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}
.store-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    gap: 12px;
}
.store-bar-label {
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255,255,255,0.6);
}
.store-bar-label .fa {
    color: var(--magik-pink);
    margin-right: 4px;
}
.store-selector {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2px;
}
.store-option {
    padding: 4px 16px;
    border-radius: 18px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s;
    white-space: nowrap;
}
.store-option:hover {
    color: #fff;
    text-decoration: none;
}
.store-option.active {
    background: var(--magik-pink);
    color: #fff;
    box-shadow: 0 2px 6px rgba(191,6,120,0.3);
}
.store-bar-right {
    margin-left: auto;
}
.store-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}
.store-link:hover {
    color: var(--magik-pink);
    text-decoration: none;
}
.store-link .fa { margin-right: 3px; }
.store-bar-address {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    white-space: nowrap;
}
.store-bar-address .fa { margin-right: 3px; color: var(--magik-orange); }

/* === HEADER === */
.magik-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.logo img { height: 50px; }
.header-nav { display: flex; gap: 5px; }
.header-nav a {
    color: var(--magik-dark);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}
.header-nav a:hover { color: var(--magik-pink); background: rgba(191,6,120,0.06); }
.header-nav a.active { background: var(--magik-pink); color: #fff; }
.header-phone a {
    color: var(--magik-pink);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}
.header-phone .fa { margin-right: 5px; }

/* === HERO === */
.hero-section {
    background: linear-gradient(135deg, #f8f0ff 0%, #fff0f6 50%, #f0f8ff 100%);
    padding: 45px 0 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}
.hero-section::before {
    width: 300px; height: 300px;
    background: var(--magik-pink);
    top: -100px; right: -50px;
}
.hero-section::after {
    width: 200px; height: 200px;
    background: var(--magik-green);
    bottom: -60px; left: -30px;
}
.hero-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--magik-dark);
    margin-bottom: 8px;
}
.hero-title span { color: var(--magik-pink); }
.hero-subtitle {
    font-size: 17px;
    color: var(--magik-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* === FILTERS === */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px 0 10px;
}
.store-tabs {
    display: flex;
    gap: 6px;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 4px;
}
.store-tab {
    padding: 9px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--magik-gray);
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.store-tab:hover {
    color: var(--magik-dark);
    text-decoration: none;
}
.store-tab.active {
    background: var(--magik-dark);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.store-tab .fa { margin-right: 3px; font-size: 12px; }
.store-single {
    background: #f5f5f5;
    border-radius: 25px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--magik-dark);
}
.store-single .fa { color: var(--magik-pink); margin-right: 5px; }
.store-single-addr { color: var(--magik-gray); font-weight: 400; font-size: 13px; }

.city-tabs, .cat-tabs {
    display: flex;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 4px;
}
.city-tab, .cat-tab {
    padding: 9px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--magik-gray);
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.city-tab:hover, .cat-tab:hover {
    color: var(--magik-pink);
    text-decoration: none;
}
.city-tab.active {
    background: var(--magik-pink);
    color: #fff;
    box-shadow: 0 3px 10px rgba(191,6,120,0.25);
}
.cat-tab.active {
    background: #fff;
    color: var(--magik-pink);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.city-tab .fa { margin-right: 4px; }

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    margin-bottom: 35px;
    padding-top: 30px;
}
.section-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--magik-dark);
    margin-bottom: 5px;
}
.section-title h2 span { color: var(--magik-pink); }
.section-title p {
    color: var(--magik-gray);
    font-size: 15px;
}
.section-title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--magik-pink), var(--magik-green));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* === MASTERCLASS CARDS WITH IMAGES === */
.mc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding-bottom: 50px;
}
.mc-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.mc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(191,6,120,0.12);
}

/* Card image */
.mc-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}
.mc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.mc-card:hover .mc-card-image img {
    transform: scale(1.05);
}
.mc-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.mc-card-cat.adults { background: var(--magik-pink); }
.mc-card-cat.kids { background: var(--magik-green); }

.mc-card-desc {
    font-size: 13px;
    color: var(--magik-gray);
    line-height: 1.5;
    margin-bottom: 12px;
}
.booking-desc {
    background: #f9f7ff;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-left: 3px solid var(--magik-pink);
}
.booking-desc p {
    margin: 0;
    font-size: 14px;
    color: var(--magik-gray);
    line-height: 1.6;
}

/* Card body */
.mc-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mc-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--magik-dark);
    line-height: 1.3;
}
.mc-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--magik-gray);
}
.mc-card-meta .fa {
    color: var(--magik-pink);
    margin-right: 4px;
    width: 14px;
    text-align: center;
}
a.mc-meta-link {
    color: var(--magik-pink);
    text-decoration: none;
    transition: color 0.2s;
}
a.mc-meta-link:hover {
    color: #a00565;
    text-decoration: underline;
}
a.store-single {
    text-decoration: none;
    color: var(--magik-dark);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
a.store-single:hover {
    color: var(--magik-pink);
    text-decoration: none;
}
.mc-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.mc-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--magik-pink);
}
.mc-price.free { color: var(--magik-green); }

/* === BUTTONS === */
.btn-magik {
    background: var(--magik-pink);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-magik:hover, .btn-magik:focus {
    background: #a00565;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}
.btn-magik-outline {
    background: transparent;
    color: var(--magik-pink);
    border: 2px solid var(--magik-pink);
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-magik-outline:hover { background: var(--magik-pink); color: #fff; text-decoration: none; }
.btn-magik.disabled, .btn-magik:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* === CALENDAR === */
.calendar-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0 5px;
}
.calendar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 20px;
    width: 100%;
    max-width: 520px;
}
.calendar-header {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--magik-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.calendar-header .fa {
    color: var(--magik-pink);
    font-size: 20px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-dow {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--magik-gray);
    padding: 6px 0;
    text-transform: uppercase;
}
.cal-dow.sat, .cal-dow.sun { color: var(--magik-pink); opacity: 0.6; }
.cal-day {
    position: relative;
    text-align: center;
    padding: 8px 2px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--magik-dark);
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 42px;
    justify-content: center;
}
.cal-day.empty { pointer-events: none; }
.cal-day.past {
    color: #ccc;
}
.cal-day.weekend .cal-num { color: inherit; }
.cal-day.today .cal-num {
    background: var(--magik-dark);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cal-day.has-mk {
    cursor: pointer;
    font-weight: 600;
}
.cal-day.has-mk:hover {
    background: rgba(191,6,120,0.06);
    text-decoration: none;
    color: var(--magik-pink);
}
.cal-day.has-mk.today .cal-num {
    background: var(--magik-pink);
}
.cal-day.selected {
    background: var(--magik-pink);
    color: #fff;
    box-shadow: 0 3px 10px rgba(191,6,120,0.3);
}
.cal-day.selected .cal-num {
    background: none;
    color: #fff;
}
.cal-day.selected .cal-badge {
    background: #fff;
    color: var(--magik-pink);
}
.cal-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--magik-pink);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.cal-day.past .cal-badge {
    background: #ccc;
}
.calendar-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.cal-reset {
    color: var(--magik-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}
.cal-reset:hover {
    color: var(--magik-pink);
    text-decoration: none;
}
.cal-reset .fa { margin-right: 4px; }

/* === BOOKING === */
.booking-page { padding: 40px 0 60px; }
.booking-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}
.booking-image {
    height: 250px;
    overflow: hidden;
}
.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.booking-header {
    background: linear-gradient(135deg, var(--magik-pink), #e84aaf);
    color: #fff;
    padding: 25px 30px;
}
.booking-header h2 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.booking-header .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    opacity: 0.9;
    font-size: 13px;
}
.booking-header .meta .fa { margin-right: 4px; }
.booking-body { padding: 30px; }
.booking-body .form-group label {
    font-weight: 600;
    color: var(--magik-dark);
    margin-bottom: 5px;
}
.booking-body .form-control {
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.booking-body .form-control:focus {
    border-color: var(--magik-pink);
    box-shadow: 0 0 0 3px rgba(191,6,120,0.1);
}

/* === MESSENGER SELECT === */
.messenger-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.messenger-option {
    flex: 1;
    min-width: 100px;
    margin: 0;
    cursor: pointer;
}
.messenger-option input[type="radio"] {
    display: none;
}
.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    font-size: 14px;
    font-weight: 600;
    color: var(--magik-gray);
    transition: all 0.3s;
    text-align: center;
}
.messenger-btn:hover {
    border-color: #ccc;
}
.messenger-option input:checked + .messenger-btn.viber {
    border-color: #7360f2;
    background: rgba(115,96,242,0.06);
    color: #7360f2;
}
.messenger-option input:checked + .messenger-btn.telegram {
    border-color: #0088cc;
    background: rgba(0,136,204,0.06);
    color: #0088cc;
}
.messenger-option input:checked + .messenger-btn.phone-call {
    border-color: var(--magik-green);
    background: rgba(19,165,6,0.06);
    color: var(--magik-green);
}

/* === SUCCESS === */
.success-block {
    text-align: center;
    padding: 40px 30px;
}
.success-block .fa-check-circle {
    font-size: 60px;
    color: var(--magik-green);
    margin-bottom: 15px;
}
.success-block h3 { color: var(--magik-dark); font-weight: 700; }
.success-block p { color: var(--magik-gray); }

/* === SCHEDULE === */
.schedule-table { margin-bottom: 50px; }
.schedule-table .table > thead > tr > th {
    background: var(--magik-pink);
    color: #fff;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    padding: 12px 15px;
}
.schedule-table .table > tbody > tr > td {
    padding: 12px 15px;
    vertical-align: middle;
}
.schedule-table .table > tbody > tr:hover { background: rgba(191,6,120,0.03); }
.status-badge {
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
}
.status-badge.active { background: var(--magik-pink); }
.status-badge.kids { background: var(--magik-green); }

/* Schedule: desktop table, mobile cards */
.schedule-mobile { display: none; }
.schedule-desktop table { table-layout: auto; }
.schedule-desktop td,
.schedule-desktop th { white-space: nowrap; }
.schedule-desktop td:nth-child(3) { white-space: normal; word-break: break-word; }

/* Mobile schedule cards */
.sch-date-group {
    margin-bottom: 20px;
}
.sch-date-header {
    background: linear-gradient(135deg, var(--magik-pink), #e84aaf);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sch-date-header .fa { font-size: 14px; opacity: 0.8; }
.sch-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-top: none;
    padding: 14px 16px;
}
.sch-item:last-child {
    border-radius: 0 0 12px 12px;
}
.sch-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.sch-cat {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.sch-cat.adults { background: var(--magik-pink); }
.sch-cat.kids { background: var(--magik-green); }
.sch-time {
    font-size: 13px;
    color: var(--magik-gray);
    font-weight: 600;
}
.sch-time .fa { margin-right: 3px; color: var(--magik-pink); }
.sch-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--magik-dark);
    margin-bottom: 8px;
    word-break: break-word;
}
.sch-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--magik-gray);
    margin-bottom: 12px;
}
.sch-item-details .fa {
    color: var(--magik-pink);
    margin-right: 4px;
    width: 14px;
    text-align: center;
}
.sch-item-action {
    text-align: right;
}
.btn-sm {
    padding: 7px 20px;
    font-size: 13px;
}

/* === EMPTY === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state .fa {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 20px;
}
.empty-state h3 { color: var(--magik-gray); font-weight: 400; }
.empty-state p { color: #aaa; }

/* === FOOTER === */
.magik-footer {
    background: var(--magik-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 0;
    margin-top: 60px;
}
.magik-footer h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.magik-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 3px;
    background: var(--magik-pink);
    border-radius: 2px;
}
.magik-footer ul { list-style: none; padding: 0; margin: 0; }
.magik-footer ul li { margin-bottom: 8px; }
.magik-footer ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.magik-footer ul li a:hover { color: var(--magik-pink); }
.social-links { margin-bottom: 15px; }
.social-links a {
    display: inline-flex;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}
.social-links a:hover { background: var(--magik-pink); transform: scale(1.1); }
.footer-email { font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* === ALERT === */
.alert-magik {
    border-radius: 10px;
    border: none;
    padding: 12px 20px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .store-bar-inner { flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px 0; }
    .store-bar-right { display: none; }
    .header-inner { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .header-nav { order: 3; width: 100%; justify-content: center; }
    .header-phone { font-size: 13px; }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 14px; padding: 0 15px; }
    .mc-grid { grid-template-columns: 1fr; gap: 20px; }
    .filters-bar { gap: 10px; }
    .city-tab, .cat-tab { padding: 8px 16px; font-size: 13px; }
    .booking-header, .booking-body { padding: 20px; }
    .booking-header .meta { gap: 10px; }
    .mc-card-image { height: 180px; }
    .booking-image { height: 180px; }
    .section-title h2 { font-size: 22px; }
    .calendar { padding: 15px; max-width: 100%; }
    .cal-day { min-height: 38px; padding: 6px 1px; font-size: 13px; }
    .cal-badge { width: 14px; height: 14px; font-size: 8px; }
    .schedule-desktop { display: none; }
    .schedule-mobile { display: block; }
}

@media (max-width: 480px) {
    .mc-card-meta { font-size: 12px; gap: 8px; }
    .mc-price { font-size: 18px; }
    .btn-magik { padding: 8px 18px; font-size: 13px; }
}
