*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img, video, canvas, svg, picture {
    display: block;
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #2b2b2b;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > .site-header {
    flex-shrink: 0;
}

body > .site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

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

/* Header */

.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

/* On desktop header-right only shows the lang toggle (burger is hidden) */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* On desktop the lang-toggle lives inside main-nav — hide the header-right one */
@media (min-width: 701px) {
    .header-right .lang-toggle {
        display: none;
    }
}

.logo {
    margin: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 144px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    color: #2b2b2b;
    text-decoration: none;
    margin-left: 32px;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #c41e2a;
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: #c41e2a;
}

.main-nav a:hover::after {
    width: 100%;
}

.dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 28px;
    padding: 6px 14px;
    background: #1b1b1b;
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dashboard-btn::after {
    display: none;
}

.dashboard-btn:hover {
    background: #c41e2a;
    color: #fff !important;
}

.nav-logout-form {
    display: inline-flex;
    margin-left: 32px;
}

.nav-logout-btn {
    background: none;
    border: none;
    padding: 0 0 4px;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-logout-btn:hover {
    color: #c41e2a;
}

.nav-search {
    margin-left: 28px;
    display: flex;
    align-items: center;
}

.nav-search-input {
    width: 180px;
    padding: 7px 12px;
    border: 1px solid #2b2b2b;
    border-radius: 16px;
    font-size: 0.85rem;
    font-family: inherit;
    color: #2b2b2b;
    transition: border-color 0.2s ease, width 0.2s ease;
}

.nav-search-input::placeholder {
    color: #2b2b2b;
    opacity: 0.65;
}

.nav-search-input:focus {
    outline: none;
    border-color: #c41e2a;
    width: 220px;
}

.lang-toggle {
    border: 1px solid #c41e2a;
    color: #c41e2a !important;
    border-radius: 4px;
    padding: 4px 10px !important;
    margin-left: 28px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.lang-toggle::after {
    display: none;
}

.lang-toggle:hover {
    background: #c41e2a;
    color: #fff !important;
}

.nav-toggle {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 110;
}

.nav-burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2b2b2b;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */

.hero {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("../images/hero-bg.e26d8a8b78e4.webp");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 110px 0 100px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero h2 {
    margin: 0 0 12px;
    font-size: 2.4rem;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero p {
    margin: 0 0 28px;
    font-size: 1.1rem;
    color: #eee;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.btn-primary {
    display: inline-block;
    background: #c41e2a;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #a3151f;
    transform: translateY(-2px);
}

/* Products */

.products-section, .events-section, .contact-section {
    padding: 60px 0;
}

.products-section h2, .events-section h2, .contact-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
    color: #1b1b1b;
}

.products-section h2::after, .events-section h2::after, .contact-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #c41e2a;
    margin: 14px auto 0;
}

.products-subtitle {
    text-align: center;
    color: #666;
    margin: 8px 0 0;
    font-size: 0.95rem;
}

.products-subtitle a {
    color: #c41e2a;
    text-decoration: none;
    font-weight: 600;
}

.products-subtitle a:hover {
    text-decoration: underline;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #c41e2a;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f8f8f8;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card-placeholder {
    width: 100%;
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    color: #c41e2a;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    margin: 0 0 8px;
    color: #1b1b1b;
    font-size: 1rem;
}

.product-card p {
    margin: 0 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.price {
    font-weight: bold;
    color: #c41e2a;
    margin: 0;
    margin-top: auto;
}

/* Events / Calendar */

.events-section {
    background: #fff;
}

.event-list {
    max-width: 700px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
    border-color: #c41e2a;
}

.event-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    background: #c41e2a;
    color: #fff;
    border-radius: 8px;
    padding: 10px 0;
}

.event-day {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-body h3 {
    margin: 0 0 6px;
    color: #1b1b1b;
}

.event-meta {
    margin: 0 0 4px;
    color: #666;
    font-size: 0.9rem;
}

.event-body p:last-child {
    margin: 8px 0 0;
    color: #444;
}

/* Calendar grid */

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 24px;
}

.calendar-label {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1b1b1b;
    min-width: 180px;
    text-align: center;
}

.calendar-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #1b1b1b;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: background 0.2s ease, color 0.2s ease;
}

.calendar-nav-btn:hover {
    background: #c41e2a;
    color: #fff;
}

.calendar-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(44px, 1fr));
    gap: 6px;
    max-width: 900px;
    margin: 0 auto;
}

.calendar-weekday {
    text-align: center;
    font-weight: 700;
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding-bottom: 6px;
    letter-spacing: 0.5px;
}

.calendar-day {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    min-height: 90px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2b2b2b;
}

.calendar-day-muted {
    background: #fafafa;
}

.calendar-day-muted .calendar-day-number {
    color: #ccc;
}

.calendar-day-today {
    border-color: #c41e2a;
    box-shadow: 0 0 0 1px #c41e2a inset;
}

.calendar-day-today .calendar-day-number {
    color: #c41e2a;
}

.calendar-day-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.calendar-event-pill {
    background: #c41e2a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
    transition: background 0.2s ease;
}

.calendar-event-pill:hover {
    background: #a3151f;
}

@media (max-width: 700px) {
    .calendar-grid {
        gap: 3px;
    }

    .calendar-day {
        min-height: 64px;
        padding: 4px;
    }

    .calendar-weekday {
        font-size: 0.7rem;
    }

    .calendar-event-pill {
        font-size: 0.6rem;
    }
}

/* Event detail page */

.event-detail-section {
    padding: 60px 0 80px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #c41e2a;
}

.event-detail-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.event-detail-card h1 {
    margin: 0 0 20px;
    color: #1b1b1b;
}

.event-detail-meta-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-detail-meta-list li {
    color: #444;
}

.event-detail-meta-list strong {
    color: #1b1b1b;
    margin-right: 6px;
}

.event-detail-description {
    color: #444;
    line-height: 1.6;
    margin: 0 0 28px;
}

/* Retailers */

.retailers-section {
    padding: 60px 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.retailers-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
    color: #1b1b1b;
}

.retailers-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #e63946;
    margin: 12px auto 0;
    border-radius: 2px;
}

.retailers-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 32px;
}

.retailers-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 36px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.retailers-list li {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 20px;
}

.retailer-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1b1b1b;
}

.retailer-address {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2px;
}

#retailers-map {
    width: 100%;
    height: 420px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 8px;
}

.locate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 4px;
    cursor: pointer;
    color: #333;
    padding: 0;
    margin-top: 4px;
}

.locate-btn:hover {
    background: #f4f4f4;
    color: #c41e2a;
}

.brand-marker {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35));
}

.brand-marker svg {
    display: block;
    width: 34px;
    height: 46px;
    max-width: none;
}

.retailer-popup {
    text-align: center;
    min-width: 180px;
}

.retailer-popup strong {
    color: #1b1b1b;
}

.retailer-popup-question {
    margin: 10px 0 8px;
    font-size: 0.85rem;
    color: #555;
}

.retailer-popup-btn {
    display: inline-block;
    background: #c41e2a;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 7px 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.retailer-popup-btn:hover {
    background: #a3151f;
}

/* Contact */

.contact-section {
    background: #f3f3f3;
    border-top: 1px solid #eee;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-field {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c41e2a;
}

.contact-form button {
    background: #c41e2a;
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: #a3151f;
}

.form-message {
    text-align: center;
    color: #2e7d32;
    font-weight: bold;
}

/* Leaderboard page */

.leaderboard-section {
    padding: 70px 0 80px;
}

.leaderboard-heading {
    text-align: center;
    font-size: 2rem;
    color: #1b1b1b;
    margin: 0 0 10px;
}

.leaderboard-heading::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #c41e2a;
    margin: 14px auto 0;
}

.leaderboard-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 40px;
    font-size: 1.05rem;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.leaderboard-tabs a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.leaderboard-tabs a:hover {
    border-color: #c41e2a;
    color: #c41e2a;
}

.leaderboard-tabs a.active {
    background: #c41e2a;
    border-color: #c41e2a;
    color: #fff;
}

.leaderboard-table tr.leaderboard-self {
    background: #fdeceb;
}

.leaderboard-table-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #888;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.leaderboard-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f3f3;
    font-size: 0.95rem;
    color: #2b2b2b;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tr.leaderboard-top {
    background: #fff8f0;
}

.leaderboard-rank-cell {
    font-weight: 700;
    width: 40px;
}

.leaderboard-ratio-cell {
    font-weight: 700;
    color: #c41e2a;
}

.leaderboard-empty {
    text-align: center;
    color: #888;
}

/* Auth pages (login / register / profile) */

.auth-section {
    padding: 70px 0 80px;
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.auth-heading {
    text-align: center;
    font-size: 1.6rem;
    color: #1b1b1b;
    margin: 0 0 8px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 28px;
    font-size: 0.95rem;
}

.auth-form button {
    width: 100%;
    background: #c41e2a;
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.auth-form button:hover {
    background: #a3151f;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.auth-switch {
    text-align: center;
    margin: 22px 0 0;
    font-size: 0.9rem;
    color: #666;
}

.auth-switch a {
    color: #c41e2a;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.profile-ratio {
    text-align: center;
    color: #2b2b2b;
    margin: 0 0 24px;
    font-size: 1rem;
}

.profile-ratio strong {
    color: #c41e2a;
}

/* Friends page */

.friends-add-card {
    max-width: 600px;
    padding: 24px;
    margin: 0 auto 40px;
}

.friends-add-form {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.friends-add-field {
    flex: 1;
    margin-bottom: 0;
}

.friends-add-form button {
    width: auto;
    white-space: nowrap;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.table-card-light {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table-card-light h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1b1b1b;
}

.friends-list-card {
    max-width: 900px;
    margin: 24px auto 0;
}

.friend-request-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.friend-request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f3f3;
    font-size: 0.95rem;
}

.friend-request-item:last-child {
    border-bottom: none;
}

.friend-request-actions {
    display: flex;
    gap: 8px;
}

.friend-request-actions form {
    display: inline;
}

.btn-accept, .btn-decline {
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-accept {
    background: #2e7d32;
    color: #fff;
}

.btn-accept:hover {
    background: #256428;
}

.btn-decline {
    background: #f3f3f3;
    color: #666;
}

.btn-decline:hover {
    background: #e5e5e5;
}

.friend-pending-badge {
    color: #888;
    font-size: 0.82rem;
    font-style: italic;
}

.friend-ratio {
    font-weight: 700;
    color: #c41e2a;
}

/* About page */

.about-section {
    padding: 70px 0 80px;
}

.about-heading {
    text-align: center;
    font-size: 2rem;
    color: #1b1b1b;
    margin: 0 0 10px;
}

.about-heading::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #c41e2a;
    margin: 14px auto 0;
}

.about-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 50px;
    font-size: 1.05rem;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.founder-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.09);
}

.founder-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f3f3f3;
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-photo img {
    transform: scale(1.03);
}

.founder-info {
    padding: 24px;
}

.founder-info h2 {
    margin: 0 0 4px;
    color: #1b1b1b;
    font-size: 1.3rem;
}

.founder-title {
    display: inline-block;
    background: #c41e2a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.founder-info p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Footer */

.site-footer {
    background: #1b1b1b;
    color: #ccc;
    text-align: center;
    padding: 24px 0;
}

/* ── Mobile ── */

@media (max-width: 700px) {

    /* Header */
    .header-inner {
        padding: 8px 16px;
    }

    .logo img {
        height: 64px;
    }

    /* Show burger, hide desktop nav items not needed in header-right */
    .nav-burger {
        display: flex;
    }

    /* Hide lang-toggle from inside main-nav on desktop — it now lives in header-right */
    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }

    /* Lang toggle always visible in header bar */
    .header-right .lang-toggle {
        margin-left: 0 !important;
        padding: 5px 10px !important;
        font-size: 0.8rem;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 6px 12px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 99;
    }

    .main-nav a {
        margin: 0;
        padding: 14px 20px;
        width: 100%;
        border-bottom: 1px solid #f3f3f3;
    }

    .main-nav a::after {
        display: none;
    }

    .dashboard-btn {
        margin: 12px 20px;
        width: auto;
    }

    .nav-search {
        margin: 0;
        padding: 10px 16px;
        width: 100%;
    }

    .nav-search-input {
        width: 100%;
    }

    .nav-search-input:focus {
        width: 100%;
    }

    .nav-toggle:checked ~ .main-nav {
        max-height: 500px;
    }

    .nav-toggle:checked ~ .header-right .nav-burger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle:checked ~ .header-right .nav-burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .header-right .nav-burger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        padding: 60px 0 50px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Products */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Calendar — grid itself scrolls inside wrapper, just shrink cells */
    .calendar-grid {
        gap: 3px;
        min-width: 320px;
    }

    .calendar-day {
        min-height: 52px;
        padding: 3px 4px;
    }

    .calendar-day-number {
        font-size: 0.7rem;
    }

    .calendar-weekday {
        font-size: 0.6rem;
        padding-bottom: 4px;
    }

    .calendar-event-pill {
        font-size: 0.5rem;
        padding: 1px 3px;
    }

    .calendar-nav {
        gap: 10px;
    }

    .calendar-label {
        font-size: 0.95rem;
        min-width: 120px;
    }

    /* Event detail */
    .event-detail-section {
        padding: 30px 0 50px;
    }

    .event-detail-card {
        padding: 20px 16px;
    }

    /* Contact */
    .contact-form {
        padding: 20px 16px;
    }

    /* About */
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Footer */
    .site-footer {
        padding: 20px 16px;
        font-size: 0.9rem;
        box-sizing: border-box;
        width: 100%;
    }

    /* General — prevent any element breaking the layout */
    .container {
        padding: 0 14px;
    }

    h1, h2, h3 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}
