/* ========== RESET AND BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    --bg: #1e2a4a;
    --text: #fff;
    --text2: #cbd5e1;
    --nav-bg: #2d3748;
    --nav-shadow: rgba(255, 255, 255, 0.1);
    --btn-bg: #ff944d;
    --btn-text: #111;
    --card: #2d3748;
    --input-bg: #2d3748;
    --input-text: #fff;
    --accent: #ff944d;
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --fab-color: #f59e0b;
    --fab-hover: #d97706;
}

body {
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
}

/* ========== TOP STRIPE ========== */
.top-stripe {
    background: #FF9800;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* ========== HERO SECTION ========== */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
    position: relative;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-bottom: 30px;
    border: 4px solid white;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1rem;
    color: var(--text2);
    margin-bottom: 10px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.rating {
    color: #FF9800;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    font-weight: 600;
    margin: 6px 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    gap: 8px;
    min-height: 44px;
}

.btn.secondary {
    background: var(--nav-bg);
    color: var(--text);
    border: 1px solid var(--text);
}

.btn:hover:not(:disabled) {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== SECTION NAVIGATION ========== */
.section-nav {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 999;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.section-nav-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.section-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    gap: 0;
}

.section-nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.section-nav-link {
    color: var(--text2);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.section-nav-link:hover {
    color: var(--text);
    background: rgba(255, 152, 0, 0.15);
}

.section-nav-link.active {
    color: var(--text);
    font-weight: 600;
    background: rgba(255, 152, 0, 0.1);
}

.section-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--btn-bg);
}

/* ========== SECTIONS ========== */
.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    scroll-margin-top: 120px;
}

h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #FF9800;
    border-radius: 2px;
}

/* ========== CONTACT INFO ========== */
.hotline {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hotline a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    background: var(--card);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hotline a:hover {
    text-decoration: none;
    background: var(--btn-bg);
    color: var(--btn-text);
}

/* ========== BRANCHES ========== */
.branches {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.branch-card {
    flex: 1 1 45%;
    border: 1px solid var(--nav-shadow);
    border-radius: 12px;
    padding: 20px;
    background: var(--card);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.branch-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.branch-card p {
    font-size: 0.95rem;
    color: var(--text2);
    margin-bottom: 15px;
    line-height: 1.5;
}

.branch-card a {
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.branch-card a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.branch-directions {
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.branch-directions.disabled {
    color: var(--text2);
    opacity: 0.7;
}

.branch-card.is-hidden {
    display: none;
}

.branches-toggle-btn {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--nav-shadow);
    background: var(--card);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.branches-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ========== TALABAT SECTION ========== */
.talabat-section {
    margin: 40px auto;
    max-width: 900px;
    padding: 0 20px;
}

.talabat-card {
    display: flex;
    align-items: center;
    background: var(--card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--nav-shadow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.talabat-icon-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.talabat-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.talabat-info {
    flex: 1;
    min-width: 200px;
}

.talabat-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 600;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    min-height: 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.available {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.not-available {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge .checkmark {
    font-size: 1rem;
}

.status-loading {
    color: var(--text2);
    font-style: italic;
    font-size: 0.95rem;
}

.availability-warning {
    font-size: 0.85rem;
    color: #f59e0b;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
    display: none;
}

.availability-warning::before {
    content: "⚠️ ";
    margin-right: 6px;
}

.other-platforms {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--nav-shadow);
}

.other-platforms h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text2);
    font-weight: 600;
}

.website-card {
    display: flex;
    align-items: center;
    background: var(--card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--nav-shadow);
    gap: 20px;
    flex-wrap: wrap;
}

.website-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.website-info {
    flex: 1;
    min-width: 200px;
}

.website-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text);
}

.website-desc {
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--nav-bg);
    color: var(--text);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid var(--nav-shadow);
    transition: all 0.3s ease;
}

.website-btn:hover {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}

/* ========== MENU ITEM EXPAND/COLLAPSE ========== */
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    padding: 8px 0;
}

.menu-item-name {
    flex: 1;
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
    text-align: left;
}

.menu-expand-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 1rem;
    padding: 0 5px;
    transition: transform 0.3s ease;
    outline: none;
    flex-shrink: 0;
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-description {
    display: none;
    margin-top: 10px;
    padding: 12px;
    background: rgba(255, 152, 0, 0.05);
    border-radius: 8px;
    color: var(--text2);
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
    border-left: 3px solid var(--accent);
}

.menu-item.expanded .menu-item-description {
    display: block;
}

.menu-item.expanded .menu-expand-btn {
    transform: rotate(180deg);
}

.menu-item:hover .menu-item-header {
    color: var(--accent);
}

.menu-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--nav-shadow);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.menu-item:hover {
    background: var(--card);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-item.expanded {
    background: var(--card);
    border: 1px solid var(--accent);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== MENU ========== */
.menu-category {
    margin-top: 30px;
}

.menu-category h3 {
    margin-bottom: 15px;
    color: #FF9800;
    font-size: 1.3rem;
}

/* ========== GALLERY STYLES ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
    background: var(--card);
    border: 1px solid var(--nav-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(45deg, #2d3748, #374151);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ========== LIGHTBOX MODAL ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 152, 0, 0.8);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 152, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* ========== GALLERY TABS ========== */
.gallery-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 20px;
    background: var(--card);
    border: 1px solid var(--nav-shadow);
    color: var(--text2);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.gallery-tab:hover {
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: var(--accent);
    color: var(--btn-text);
    border-color: var(--accent);
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--nav-shadow);
    font-size: 0.9rem;
    color: var(--text2);
    margin-top: 20px;
}

/* ========== LOADING STATES ========== */
.loading {
    text-align: center;
    padding: 60px 20px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--nav-shadow);
    border-top: 4px solid #FF9800;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text2);
    margin-top: 100px;
}

.no-data {
    text-align: center;
    padding: 30px;
    color: var(--text2);
    font-style: italic;
    background: var(--card);
    border-radius: 12px;
    margin: 20px 0;
}

/* ========== LAZY LOADING ========== */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

.lazy-img {
    background: linear-gradient(90deg, #2d3748 25%, #374151 50%, #2d3748 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== NOTIFICATION SYSTEM ========== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    z-index: 10000;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 300px;
    word-wrap: break-word;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--success);
    color: white;
}

.notification.error {
    background: var(--error);
    color: white;
}

.notification.warning {
    background: var(--warning);
    color: white;
}

.notification.info {
    background: var(--info);
    color: white;
}

/* ========== REVIEW SYSTEM STYLES ========== */
.reviews-stats {
    background: var(--card);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--nav-shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text2);
    margin-top: 5px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    color: #FF9800;
    font-size: 0.9rem;
    width: 60px;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--nav-shadow);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #FF9800;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text2);
    width: 30px;
    text-align: right;
}

.reviews-container {
    margin-bottom: 40px;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--nav-shadow);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #FF6F00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text2);
}

.review-rating {
    color: #FF9800;
    font-size: 1.1rem;
    white-space: nowrap;
}

.review-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.review-edit, .review-delete {
    background: none;
    border: 1px solid var(--nav-shadow);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text2);
}

.review-edit:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-1px);
}

.review-delete:hover {
    background: var(--error);
    color: white;
    border-color: var(--error);
    transform: translateY(-1px);
}

.review-comment {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 0;
}

.review-form-section {
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--nav-shadow);
}

.rating-input {
    margin-bottom: 20px;
}

.rating-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.stars-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.star {
    font-size: 2rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    min-width: 40px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.star:hover,
.star.active {
    color: #FF9800;
    transform: scale(1.05);
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text2);
    font-style: italic;
}

.comment-input {
    margin-bottom: 20px;
}

.comment-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--nav-shadow);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--input-text);
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s ease;
    min-height: 100px;
    font-family: inherit;
}

.comment-input textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text2);
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.submit-review-btn {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-width: 120px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-review-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.cancel-edit-btn {
    background: var(--nav-bg);
    color: var(--text);
    border: 1px solid var(--nav-shadow);
    min-height: 44px;
}

.auth-prompt {
    text-align: center;
    padding: 30px 20px;
    color: var(--text2);
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.reviews-loading, .reviews-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text2);
    font-style: italic;
}

.reviews-empty {
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--nav-shadow);
}

/* ========== REVIEW SORT CONTROLS ========== */
.reviews-sort-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
    gap: 12px;
}

.sort-label {
    font-size: 0.9rem;
    color: var(--text2);
}

.sort-select {
    background: var(--card);
    border: 1px solid var(--nav-shadow);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.sort-select:hover {
    border-color: var(--accent);
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

/* ========== FAB BUTTON STYLES ========== */
.list-manager-fab {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 10000 !important;
    font-family: inherit !important;
    animation: fabEntry 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes fabEntry {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fab-main {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, var(--fab-color) 0%, var(--fab-hover) 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
    outline: none !important;
}

.fab-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50%;
}

.fab-main:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6) !important;
}

.fab-main:active {
    transform: scale(0.95) !important;
}

.fab-main .fab-icon {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.fab-main:hover .fab-icon {
    transform: rotate(90deg);
}

.fab-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--fab-color);
    animation: pulse 2s infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* ========== LIST DROPDOWN STYLES ========== */
.list-dropdown {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 20px;
    min-width: 320px;
    max-width: 400px;
    max-height: 70vh;
    display: none;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-direction: column;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.list-dropdown.show {
    display: flex !important;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #334155;
    flex-shrink: 0;
}

.dropdown-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fab-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-title::before {
    content: '📋';
}

.close-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 24px;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #1e293b;
    color: var(--fab-color);
}

/* Scrollable lists section */
.lists-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 20px;
    min-height: 150px;
    max-height: 300px;
}

.lists-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.lists-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.lists-scroll-container::-webkit-scrollbar-thumb {
    background: var(--fab-color);
    border-radius: 10px;
}

.list-section {
    margin-bottom: 20px;
}

.list-section-title {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.list-item:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateX(3px);
}

.list-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #475569;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.list-checkbox.checked {
    background: var(--fab-color);
    border-color: var(--fab-color);
    animation: checkPop 0.3s ease;
}

@keyframes checkPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.list-checkbox.checked::after {
    content: "✓";
    color: #0f172a;
    font-size: 12px;
    font-weight: bold;
}

.list-item-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-item-icon {
    font-size: 16px;
}

.list-edit-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.list-edit-btn:hover {
    border-color: var(--fab-color);
    color: var(--fab-color);
    background: rgba(245, 158, 11, 0.1);
}

.list-icon-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.list-icon-option {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.list-icon-option:hover {
    border-color: var(--fab-color);
}

.list-icon-option.selected {
    border-color: var(--fab-color);
    background: rgba(245, 158, 11, 0.15);
}

.cancel-edit-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 8px;
    display: none;
}

.cancel-edit-btn:hover {
    border-color: var(--fab-color);
    color: var(--fab-color);
}

.new-list-input {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 10px;
    color: white;
    margin-bottom: 12px;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.new-list-input:focus {
    outline: none;
    border-color: var(--fab-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.add-list-btn {
    background: linear-gradient(135deg, var(--fab-color) 0%, var(--fab-hover) 100%);
    color: #0f172a;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-list-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.empty-custom-lists {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    padding: 20px;
    font-style: italic;
    border: 1px dashed #475569;
    border-radius: 10px;
    margin: 10px 0;
}

/* ========== LOGIN/SIGNUP MODAL ========== */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.login-modal.show {
    display: flex;
}

.login-modal-content {
    background: var(--card);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent);
    animation: modalSlide 0.3s ease;
}

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

.login-modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.login-modal-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text);
}

.login-modal-text {
    color: var(--text2);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1rem;
}

.login-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.login-modal-btn.login {
    background: var(--accent);
    color: var(--btn-text);
}

.login-modal-btn.signup {
    background: var(--nav-bg);
    color: var(--text);
    border: 1px solid var(--nav-shadow);
}

.login-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.login-modal-close:hover {
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent);
}

/* ========== MOBILE RESPONSIVENESS ========== */
@media (max-width: 768px) {
    body {
        padding-top: 94px;
    }
    
    .section-nav {
        height: 44px;
        top: 44px;
    }
    
    .section-nav-container {
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .section-nav-container::-webkit-scrollbar {
        display: none;
    }
    
    .section-nav-list {
        flex-wrap: nowrap;
        min-width: max-content;
        gap: 0;
        padding: 0 10px;
    }
    
    .section-nav-link {
        padding: 0 18px;
        font-size: 0.9rem;
    }
    
    .top-stripe {
        height: 44px;
        padding: 0 12px;
    }
    
    .hero {
        padding: 40px 16px 30px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
        margin-bottom: 24px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .section {
        padding: 30px 16px;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h2::after {
        width: 40px;
    }
    
    .branch-card {
        flex: 1 1 100%;
    }
    
    .talabat-card,
    .website-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .talabat-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .website-btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .list-manager-fab {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .fab-main {
        width: 56px !important;
        height: 56px !important;
    }
    
    .list-dropdown {
        bottom: 80px;
        right: 20px;
        left: 20px;
        max-width: none;
        max-height: 60vh;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .notification {
        top: 94px;
    }
    
    .reviews-sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sort-select {
        width: 100%;
        min-width: 0;
    }
    
    .login-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .login-modal-title {
        font-size: 1.5rem;
    }
    
    .login-modal-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 86px;
    }
    
    .section-nav {
        height: 42px;
    }
    
    .section-nav-link {
        padding: 0 14px;
        font-size: 0.85rem;
    }
    
    .top-stripe {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .btn {
        flex: 1;
        min-width: calc(50% - 4px);
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .talabat-card,
    .website-card {
        padding: 16px;
    }
    
    .talabat-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .status-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .list-manager-fab {
        bottom: 16px !important;
        right: 16px !important;
    }
    
    .fab-main {
        width: 52px !important;
        height: 52px !important;
    }
    
    .list-dropdown {
        padding: 16px;
        max-height: 55vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .notification {
        top: 86px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* ========== TOUCH-FRIENDLY IMPROVEMENTS ========== */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .branch-card:hover,
    .menu-item:hover,
    .list-item:hover,
    .fab-main:hover,
    .review-card:hover,
    .talabat-card:hover,
    .website-btn:hover,
    .star:hover,
    .gallery-item:hover {
        transform: none !important;
    }
    
    .btn,
    .back-btn {
        min-height: 44px;
    }
    
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
    
    .gallery-caption {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
    }
}

/* ========== SAFE AREA INSETS FOR NOTCH PHONES ========== */
@supports (padding: max(0px)) {
    .top-stripe {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-top: env(safe-area-inset-top);
        height: calc(50px + env(safe-area-inset-top));
    }
    
    .section-nav {
        top: calc(50px + env(safe-area-inset-top));
    }
    
    @media (max-width: 768px) {
        .top-stripe {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
            height: calc(44px + env(safe-area-inset-top));
        }
        
        .section-nav {
            top: calc(44px + env(safe-area-inset-top));
        }
    }
}

/* ========== REDUCED MOTION PREFERENCES ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-item:hover .gallery-image {
        transform: none;
    }
}

/* ========== DARK MODE OPTIMIZATIONS ========== */
@media (prefers-color-scheme: dark) {
    .talabat-card,
    .website-card {
        background: #1a2332;
        border-color: #2d3748;
    }
    
    .website-btn {
        background: #2d3748;
        border-color: #4a5568;
    }
}

/* ========== PREVENT HORIZONTAL SCROLL ========== */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ========== SMOOTH SCROLLING ========== */
html {
    scroll-behavior: smooth;
}

/* ========== BETTER TOUCH TARGETS ========== */
button,
a.btn,
.star,
.list-item,
.branch-card,
.review-card,
.talabat-card,
.website-card,
.gallery-item {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* ========== ADDED GALLERY LOADING STYLES ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Design System Overrides (Safe) ===== */
:root {
  --ds-radius: 14px;
  --ds-radius-sm: 10px;
  --ds-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  --ds-shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.12);
  --ds-body-size: 14px;
  --ds-body-line: 1.6;
  --ds-title-lg: 28px;
  --ds-title-md: 22px;
  --ds-title-sm: 18px;
  --ds-btn-height: 44px;
  --ds-card-pad: 18px;
  --ds-card-gap: 14px;
}

body {
  font-size: var(--ds-body-size);
  line-height: var(--ds-body-line);
}

h1 { font-size: var(--ds-title-lg); line-height: 1.2; }
h2 { font-size: var(--ds-title-md); line-height: 1.25; }
h3 { font-size: var(--ds-title-sm); line-height: 1.3; }

.btn, .banner-btn, .action-btn-modal, .create-list-btn, .lists-save-btn, .top-btn, .add-list-btn {
  min-height: var(--ds-btn-height);
  border-radius: var(--ds-radius-sm);
}

.restaurant-card, .review-card, .list-card, .talabat-card, .website-card, .branch-card {
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-soft);
}

.restaurant-card:hover, .review-card:hover, .list-card:hover, .talabat-card:hover, .website-card:hover, .branch-card:hover {
  box-shadow: var(--ds-shadow);
}

.card-content, .list-card, .review-card {
  padding: var(--ds-card-pad);
}

.card-header, .card-footer {
  gap: var(--ds-card-gap);
}

.card-title, .list-card-title, .mobile-list-title {
  letter-spacing: 0.2px;
}

.card-description, .list-card-description, .section-subtitle {
  line-height: 1.65;
}

/* Normalize image aspect ratios where cards have images */
.card-image img, .list-preview-item img, .mobile-preview-item img {
  object-fit: cover;
}

/* Consistent badge positioning */
.list-badges-container {
  top: 12px;
  left: 12px;
}

/* Consistent header height where applicable */
header, .top-stripe, .section-nav {
  min-height: 50px;
}\n
