/* ===================================
   QR Menu – Components
   Refined Warmth Theme
   =================================== */

/* ── Product Card ── */
.product-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    background: var(--color-card);
    cursor: pointer;
    transition: background var(--transition-fast);
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.product-card:last-child {
    border-bottom: none;
}

.product-card:active {
    background: var(--color-surface-alt);
}

.product-card--sold-out {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-card--sold-out:active {
    background: var(--color-card);
}

.product-card__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-cream);
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__image--placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    opacity: 0.3;
}

.product-card__image--placeholder svg {
    width: 28px;
    height: 28px;
}

.product-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 0;
}

.product-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: 2px;
}

.product-card__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    line-height: 1.3;
}

.product-card__price {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
    white-space: nowrap;
    letter-spacing: 0;
}

.product-card__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.product-card__allergens {
    display: flex;
    gap: 3px;
}

.product-card__sold-out-badge {
    font-family: var(--font-body);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-error);
    background: rgba(184, 50, 50, 0.06);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

/* ── Badge ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.badge--popular {
    background: var(--color-accent-bg-subtle);
    color: var(--color-accent);
}
.badge--new {
    background: rgba(58, 125, 92, 0.08);
    color: var(--color-success);
}
.badge--spicy {
    background: rgba(184, 50, 50, 0.07);
    color: var(--color-error);
}
.badge--vegetarian {
    background: rgba(58, 125, 92, 0.08);
    color: var(--color-success);
}
.badge--chef {
    background: var(--color-primary);
    color: var(--color-text-light);
}
.badge--limited {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text-secondary);
}

/* ── Temperature Badge ── */
.temp-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}
.temp-badge--hot {
    background: rgba(184, 50, 50, 0.07);
    color: #B83232;
}
.temp-badge--cold {
    background: rgba(30, 80, 150, 0.07);
    color: #2E5E9E;
}

/* ── Allergen Icon ── */
.allergen-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}
.allergen-icon:hover {
    border-color: var(--color-border-hover);
    background: var(--color-accent-soft);
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: var(--max-width);
    max-height: 92vh;
    background: var(--color-card);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 201;
    overflow: hidden;
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal {
    transform: translateX(-50%) translateY(0);
}

.modal__handle {
    width: 36px;
    height: 4px;
    background: var(--color-cream);
    border-radius: var(--radius-full);
    margin: 10px auto 6px;
}

.modal__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    color: var(--color-text-secondary);
    z-index: 20;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
}
.modal__close svg {
    width: 18px;
    height: 18px;
}
.modal__close:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}

.modal__content {
    overflow-y: auto;
    max-height: calc(92vh - 32px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
}

/* ── Product Detail ── */
.product-detail {
    padding: var(--spacing-lg);
    padding-bottom: var(--spacing-2xl);
}

.product-detail__image {
    width: calc(100% + var(--spacing-lg) * 2);
    margin-left: calc(var(--spacing-lg) * -1);
    margin-top: calc(var(--spacing-lg) * -1);
    margin-bottom: var(--spacing-lg);
    aspect-ratio: 4/3;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}
.product-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__image--placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    opacity: 0.2;
}
.product-detail__image--placeholder svg {
    width: 48px;
    height: 48px;
}

.product-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.product-detail__name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: 1.2;
}

.product-detail__price {
    font-family: var(--font-body);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    white-space: nowrap;
    padding-top: 4px;
}

.product-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--spacing-md);
}

.product-detail__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.product-detail__info {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-detail__info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}
.product-detail__info-row:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.product-detail__info-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-normal);
}
.product-detail__info-value {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.product-detail__section {
    margin-bottom: var(--spacing-lg);
}
.product-detail__section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0;
}
.product-detail__section-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.product-detail__allergens {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.product-detail__allergen {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 12px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}
.product-detail__allergen-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}
.product-detail__allergen-name {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

/* ── Product Detail Warnings ── */
.product-detail__warnings {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.product-detail__warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-accent-bg-subtle);
    border: 1px solid var(--color-accent-border-subtle);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: #7a5a10;
}

.product-detail__warning-icon {
    font-size: 14px;
}

.product-detail__warning-text {
    font-weight: var(--font-weight-medium);
}

/* ── Search ── */
.search-page {
    padding: var(--spacing-lg);
}

.search-input-wrapper {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.search-input {
    width: 100%;
    padding: 14px 18px 14px 46px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-primary);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}
.search-input::placeholder {
    color: var(--color-text-muted);
}
.search-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.search-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    width: 18px;
    height: 18px;
}

.search-results__count {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-normal);
    margin-bottom: var(--spacing-md);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

/* ── Info Page ── */
.info-page {
    padding: var(--spacing-lg);
}

.info-section {
    margin-bottom: var(--spacing-xl);
}

.info-section__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-section__title-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}
.info-section__title-icon svg {
    width: 100%;
    height: 100%;
}

.info-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-border);
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}
.info-row:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.info-row__icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.info-row__icon svg {
    width: 100%;
    height: 100%;
}

.info-row__content {
    flex: 1;
}
.info-row__label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}
.info-row__value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}
.info-row__value a {
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
}

/* ── WiFi Card ── */
.wifi-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-border);
}

.wifi-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}
.wifi-card__row:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.wifi-card__label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.wifi-card__value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    font-family: monospace;
}

.wifi-card__copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: 12px;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-text-light);
    background: var(--color-primary);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    transition: all var(--transition-fast);
}
.wifi-card__copy-btn:hover {
    background: var(--color-primary-light);
}
.wifi-card__copy-btn:active {
    transform: scale(0.98);
}

/* ── Social Media ── */
.info-social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}
.social-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}
.social-btn:hover {
    border-color: var(--color-border-hover);
    background: var(--color-accent-soft);
    color: var(--color-accent);
}

.social-btn--instagram:hover { color: #c13584; border-color: rgba(193,53,132,0.2); background: rgba(193,53,132,0.05); }
.social-btn--facebook:hover  { color: #1877f2; border-color: rgba(24,119,242,0.2); background: rgba(24,119,242,0.05); }
.social-btn--twitter:hover   { color: #1B1B1B; border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.03); }
.social-btn--whatsapp:hover  { color: #25d366; border-color: rgba(37,211,102,0.2); background: rgba(37,211,102,0.05); }

/* ── Map Container ── */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.map-container iframe {
    display: block;
}

/* ── Error Page ── */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: var(--spacing-2xl);
    text-align: center;
}
.error-page__code {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: var(--font-weight-bold);
    color: var(--color-cream);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
    letter-spacing: -0.04em;
}
.error-page__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}
.error-page__text {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-text-light);
    background: var(--color-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.error-page__btn:hover {
    background: var(--color-primary-light);
    color: var(--color-text-light);
}

/* ===================================
   BOTTOM NAVIGATION
   =================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px var(--spacing-md);
    padding-bottom: calc(6px + var(--safe-area-bottom));
    z-index: 100;
    border-top: 1px solid var(--color-border);
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    border-radius: var(--radius-md);
    min-width: 56px;
}
.bottom-nav__item svg {
    width: 20px;
    height: 20px;
}
.bottom-nav__item span {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}
.bottom-nav__item:hover {
    color: var(--color-accent);
}
.bottom-nav__item.active {
    color: var(--color-accent);
}

.bottom-nav__item--center {
    position: relative;
    margin-top: -16px;
}

.bottom-nav__home-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    color: white;
    box-shadow: 0 2px 10px rgba(27,27,27,0.25);
    transition: all var(--transition-fast);
}
.bottom-nav__item--center:hover .bottom-nav__home-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(27,27,27,0.3);
}
.bottom-nav__item--center.active .bottom-nav__home-icon {
    background: var(--color-accent-gradient);
    box-shadow: 0 2px 10px var(--color-accent-shadow);
}

/* ===================================
   HERO SLIDER - Crossfade Transition
   =================================== */

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: var(--color-cream);
}

.hero-slider__track {
    position: relative;
    height: 100%;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--spacing-2xl) var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.hero-slider__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slider__slide.exiting {
    opacity: 0;
    visibility: visible;
    z-index: 2;
}

.hero-slider__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-slider__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.hero-slider__slide--has-image .hero-slider__title {
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-slider__slide--has-image .hero-slider__subtitle {
    color: rgba(255,255,255,0.9);
}

.hero-slider__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 380px;
}

.hero-slider__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-slider__subtitle {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-slider__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: white;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}
.hero-slider__btn:hover {
    background: var(--color-primary-light);
    color: white;
}

.hero-slider__decoration {
    position: absolute;
    right: -40px;
    bottom: 20%;
    z-index: 1;
    opacity: 0.06;
}
.hero-slider__circle {
    width: 160px;
    height: 160px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: -80px;
}
.hero-slider__circle--2 {
    width: 100px;
    height: 100px;
    right: 60px;
    top: 40px;
}

.hero-slider__dots {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.hero-slider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    padding: 0;
    border: none;
}
.hero-slider__dot.active {
    background: var(--color-accent);
    width: 20px;
    border-radius: var(--radius-full);
}

.hero-slider__slide--has-image ~ .hero-slider__dots .hero-slider__dot,
.hero-slider:has(.hero-slider__slide--has-image) .hero-slider__dot {
    background: rgba(255,255,255,0.35);
}
.hero-slider:has(.hero-slider__slide--has-image) .hero-slider__dot.active {
    background: white;
}

/* ===================================
   CATEGORY LIST
   =================================== */

.page-intro {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
    text-align: center;
}
.page-intro__title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.page-intro__text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.category-list {
    padding: var(--spacing-lg) var(--spacing-lg) 0;
}

.category-list-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: calc(var(--spacing-md) + 2px) var(--spacing-lg);
    margin-bottom: 1px;
    background: var(--color-card);
    text-decoration: none;
    transition: background var(--transition-fast);
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
}
.category-list-item:active {
    background: var(--color-surface-alt);
}

.category-list-item__image {
    width: clamp(60px, 16vw, 72px);
    height: clamp(60px, 16vw, 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}
.category-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-list-item__icon-placeholder {
    color: var(--color-text-muted);
    opacity: 0.4;
}
.category-list-item__icon-placeholder svg {
    width: 28px;
    height: 28px;
}

/* Legacy class kept for JS compatibility */
.category-list-item__icon-text {
    font-size: 24px;
    line-height: 1;
    display: none;
}

.category-list-item__content {
    flex: 1;
    min-width: 0;
}

.category-list-item__name {
    font-family: var(--font-heading);
    font-size: clamp(21px, 5vw, 24px);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-list-item__arrow {
    color: var(--color-text-muted);
    opacity: 0.3;
    transition: all var(--transition-fast);
}
.category-list-item__arrow svg {
    width: 20px;
    height: 20px;
}
.category-list-item:hover .category-list-item__arrow {
    opacity: 0.6;
    color: var(--color-accent);
    transform: translateX(2px);
}

/* Products List */
.products-list {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    margin: 0 var(--spacing-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

/* ===================================
   MENU SECTION / CATEGORY GRID
   =================================== */

.menu-section {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}
.menu-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}
.menu-section__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}
.menu-section__link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-accent);
    transition: all var(--transition-fast);
}
.menu-section__link:hover {
    color: var(--color-accent-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.category-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-card);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
}
.category-card:active {
    background: var(--color-surface-alt);
}

.category-card__image {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}
.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card__icon-text {
    font-size: 22px;
    line-height: 1;
    display: none;
}

.category-card__content {
    flex: 1;
    min-width: 0;
}
.category-card__name {
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-card__count {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}
.category-card__arrow {
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition-fast);
}
.category-card:hover .category-card__arrow {
    opacity: 0.5;
    transform: translateX(0);
}

/* ===================================
   FILTER BAR
   =================================== */

.filter-bar {
    display: flex;
    gap: 6px;
    padding: var(--spacing-sm) var(--spacing-lg);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    background: var(--color-surface);
    margin-bottom: var(--spacing-sm);
}
.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    background: transparent;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}
.filter-btn:hover {
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
}
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}
