/* ============================================================
   FlavorBridge App Stylesheet
   Main CSS for the recipe browser SPA
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --warm: #E8552E;
    --warm-hover: #D44A25;
    --gold: #D4942A;
    --gold-hover: #BF8524;
    --cream: #FDF6EC;
    --dark: #1A1210;
    --mid: #3D2E28;
    --sage: #7B8F6A;
    --terracotta: #C4704B;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 4px rgba(26, 18, 16, 0.04);
    --shadow-md: 0 2px 12px rgba(26, 18, 16, 0.06);
    --shadow-lg: 0 8px 32px rgba(26, 18, 16, 0.1);
    --shadow-xl: 0 16px 48px rgba(26, 18, 16, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
    --transition: 0.2s ease;
    --nav-height: 64px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay (matches landing page) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--warm);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    background: none;
    font-size: inherit;
}

input, textarea, select {
    font-family: 'Outfit', sans-serif;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}


/* ============================================================
   1. LAYOUT
   ============================================================ */

.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--white);
    border-bottom: 1px solid rgba(26, 18, 16, 0.06);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

.app-main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.app-footer {
    background: var(--dark);
    color: rgba(253, 246, 236, 0.5);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 300;
    margin-top: auto;
}

.app-footer a {
    color: var(--gold);
    transition: color var(--transition);
}

.app-footer a:hover {
    color: var(--cream);
}


/* ============================================================
   2. NAVIGATION
   ============================================================ */

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--dark);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition);
}

.nav-logo:hover {
    color: var(--warm);
}

.nav-search {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.nav-search input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.5rem;
    border: 1px solid rgba(26, 18, 16, 0.1);
    border-radius: var(--radius-full);
    background: var(--cream);
    font-size: 0.9rem;
    color: var(--dark);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.nav-search input::placeholder {
    color: rgba(61, 46, 40, 0.4);
}

.nav-search input:focus {
    border-color: var(--warm);
    box-shadow: 0 0 0 3px rgba(232, 85, 46, 0.1);
}

.nav-search::before {
    content: '';
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233D2E28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-link {
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--mid);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--warm);
    background: rgba(232, 85, 46, 0.06);
}

.nav-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition);
}

.nav-user:hover {
    background: rgba(26, 18, 16, 0.04);
}

.nav-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(26, 18, 16, 0.06);
    min-width: 180px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 950;
}

.nav-user-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-user-menu a,
.nav-user-menu button {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    color: var(--mid);
    border-radius: var(--radius-sm);
    text-align: left;
    transition: color var(--transition), background var(--transition);
}

.nav-user-menu a:hover,
.nav-user-menu button:hover {
    color: var(--dark);
    background: var(--cream);
}


/* ============================================================
   3. CULTURE FILTERS
   ============================================================ */

.culture-bar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26, 18, 16, 0.06);
    background: var(--white);
    position: sticky;
    top: var(--nav-height);
    z-index: 800;
}

.culture-pills {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.culture-pills::-webkit-scrollbar {
    display: none;
}

.culture-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(26, 18, 16, 0.04);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mid);
    transition: all var(--transition);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.culture-pill:hover {
    background: rgba(232, 85, 46, 0.08);
    color: var(--warm);
}

.culture-pill.active {
    background: var(--warm);
    color: var(--white);
    border-color: var(--warm);
}

.culture-pill .pill-emoji {
    font-size: 1.1rem;
    line-height: 1;
}

.culture-pill .pill-name {
    line-height: 1;
}


/* ============================================================
   4. RECIPE GRID
   ============================================================ */

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 85, 46, 0.08) 0%, rgba(212, 148, 42, 0.12) 50%, rgba(123, 143, 106, 0.08) 100%);
    font-size: 4.5rem;
    line-height: 1;
    position: relative;
}

.card-body {
    padding: 1.25rem;
}

.card-culture-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage);
    background: rgba(123, 143, 106, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.6rem;
}

.card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(61, 46, 40, 0.55);
    font-weight: 400;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid rgba(26, 18, 16, 0.05);
    font-size: 0.82rem;
    color: var(--mid);
}

.card-footer span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-premium-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(212, 148, 42, 0.3);
    z-index: 2;
}


/* ============================================================
   5. RECIPE DETAIL PAGE
   ============================================================ */

.recipe-detail {
    max-width: 880px;
    margin: 0 auto;
}

.recipe-hero {
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(232, 85, 46, 0.08) 0%, rgba(212, 148, 42, 0.12) 40%, rgba(123, 143, 106, 0.06) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    font-size: 6rem;
    line-height: 1;
    min-height: 240px;
}

.recipe-header {
    margin-bottom: 2rem;
}

.recipe-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.recipe-culture-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    background: rgba(123, 143, 106, 0.1);
    border-radius: var(--radius-full);
    transition: background var(--transition), color var(--transition);
    margin-bottom: 1rem;
}

.recipe-culture-link:hover {
    background: rgba(123, 143, 106, 0.18);
    color: var(--sage);
}

.recipe-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(26, 18, 16, 0.06);
    border-bottom: 1px solid rgba(26, 18, 16, 0.06);
    margin-bottom: 2rem;
}

.recipe-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.recipe-meta-item .meta-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(61, 46, 40, 0.45);
}

.recipe-meta-item .meta-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
}

.recipe-story {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--gold);
}

.recipe-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Ingredients */
.ingredients-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    align-self: start;
    position: sticky;
    top: calc(var(--nav-height) + 80px);
}

.ingredients-list h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(26, 18, 16, 0.06);
}

.ingredient-item {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: var(--mid);
    border-bottom: 1px solid rgba(26, 18, 16, 0.03);
    transition: color var(--transition);
}

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

.ingredient-item:hover {
    color: var(--dark);
}

.ingredient-item::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    flex-shrink: 0;
    margin-top: 0.35rem;
}

/* Instructions */
.instructions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.instructions-list h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.instruction-step {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(26, 18, 16, 0.05);
}

.instruction-step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 0.9rem;
    color: var(--warm);
    background: rgba(232, 85, 46, 0.08);
    border-radius: 50%;
    margin-top: 0.1rem;
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--mid);
    font-weight: 300;
}


/* ============================================================
   6. COMMENTS SECTION
   ============================================================ */

.comments-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(26, 18, 16, 0.08);
}

.comments-header {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.comment-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(26, 18, 16, 0.1);
    border-radius: var(--radius-md);
    background: var(--cream);
    color: var(--dark);
    font-size: 0.92rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.comment-form textarea::placeholder {
    color: rgba(61, 46, 40, 0.4);
}

.comment-form textarea:focus {
    border-color: var(--warm);
    box-shadow: 0 0 0 3px rgba(232, 85, 46, 0.1);
}

.comment-form input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(26, 18, 16, 0.1);
    border-radius: var(--radius-md);
    background: var(--cream);
    color: var(--dark);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.comment-form input::placeholder {
    color: rgba(61, 46, 40, 0.4);
}

.comment-form input:focus {
    border-color: var(--warm);
    box-shadow: 0 0 0 3px rgba(232, 85, 46, 0.1);
}

.comment-form select {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(26, 18, 16, 0.1);
    border-radius: var(--radius-md);
    background: var(--cream);
    color: var(--mid);
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233D2E28' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.comment-form select:focus {
    border-color: var(--warm);
    box-shadow: 0 0 0 3px rgba(232, 85, 46, 0.1);
}

.comment-form button {
    align-self: flex-end;
    padding: 0.65rem 1.5rem;
    background: var(--warm);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.comment-form button:hover {
    background: var(--warm-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 85, 46, 0.25);
}

.comment-form button:active {
    transform: translateY(0);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comment-item {
    display: flex;
    gap: 0.85rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(26, 18, 16, 0.05);
}

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

.comment-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--warm);
}

.comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.comment-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

.comment-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(123, 143, 106, 0.12);
    color: var(--sage);
}

.comment-body {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--mid);
    font-weight: 300;
}

.comment-rating {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.4rem;
}


/* ============================================================
   7. RATING STARS
   ============================================================ */

.stars {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

.star {
    color: rgba(26, 18, 16, 0.15);
    font-size: 1rem;
    transition: color var(--transition), transform var(--transition);
    cursor: pointer;
    line-height: 1;
}

.star::before {
    content: '\2605';
}

.star:hover {
    transform: scale(1.15);
}

.star.filled {
    color: var(--gold);
}


/* ============================================================
   8. SEARCH RESULTS
   ============================================================ */

.search-results {
    padding: 1rem 0;
}

.search-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 18, 16, 0.06);
}

.search-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.search-count {
    font-size: 0.88rem;
    color: rgba(61, 46, 40, 0.5);
    font-weight: 400;
}


/* ============================================================
   9. AUTH PAGES
   ============================================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(160deg, var(--cream) 0%, #F9EDD9 40%, #F5E4CC 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

.auth-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(26, 18, 16, 0.12);
    border-radius: var(--radius-md);
    background: var(--cream);
    color: var(--dark);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-form input::placeholder {
    color: rgba(61, 46, 40, 0.4);
}

.auth-form input:focus {
    border-color: var(--warm);
    box-shadow: 0 0 0 3px rgba(232, 85, 46, 0.1);
}

.auth-form button {
    width: 100%;
    padding: 0.85rem;
    background: var(--warm);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    margin-top: 0.5rem;
}

.auth-form button:hover {
    background: var(--warm-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 85, 46, 0.25);
}

.auth-form button:active {
    transform: translateY(0);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--mid);
}

.auth-switch a {
    color: var(--warm);
    font-weight: 500;
}

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


/* ============================================================
   10. PRICING PAGE
   ============================================================ */

.pricing-page {
    padding: 3rem 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.pricing-header p {
    font-size: 1.05rem;
    color: var(--mid);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.premium {
    border-color: var(--gold);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.pricing-card.premium::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pricing-price span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--mid);
}

.pricing-feature {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--mid);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(26, 18, 16, 0.04);
}

.pricing-feature:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.pricing-feature::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237B8F6A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    margin-top: auto;
    background: var(--cream);
    color: var(--dark);
}

.pricing-cta:hover {
    background: rgba(26, 18, 16, 0.08);
    transform: translateY(-1px);
}

.pricing-card.premium .pricing-cta {
    background: var(--warm);
    color: var(--white);
}

.pricing-card.premium .pricing-cta:hover {
    background: var(--warm-hover);
    box-shadow: 0 4px 16px rgba(232, 85, 46, 0.25);
}


/* ============================================================
   11. FREE TIER BANNER
   ============================================================ */

.free-tier-banner {
    background: linear-gradient(135deg, rgba(212, 148, 42, 0.08) 0%, rgba(232, 85, 46, 0.06) 100%);
    border: 1px solid rgba(212, 148, 42, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.views-counter {
    font-size: 0.9rem;
    color: var(--mid);
    font-weight: 400;
}

.views-counter strong {
    color: var(--dark);
    font-weight: 600;
}

.upgrade-prompt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.upgrade-prompt:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 148, 42, 0.25);
}


/* ============================================================
   12. PREMIUM LOCK OVERLAY
   ============================================================ */

.premium-lock {
    position: absolute;
    inset: 0;
    background: rgba(253, 246, 236, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: var(--radius-lg);
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.lock-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.lock-message {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--mid);
    line-height: 1.4;
    max-width: 260px;
}

.lock-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.lock-cta:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 148, 42, 0.3);
    color: var(--white);
}


/* ============================================================
   13. LOADING & EMPTY STATES
   ============================================================ */

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
    color: var(--mid);
    font-size: 0.95rem;
    font-weight: 400;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(232, 85, 46, 0.15);
    border-top-color: var(--warm);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    gap: 0.75rem;
}

.empty-state .empty-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.empty-state h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--dark);
}

.empty-state p {
    font-size: 0.95rem;
    color: var(--mid);
    font-weight: 300;
    max-width: 400px;
    line-height: 1.6;
}


/* ============================================================
   14. TOAST NOTIFICATIONS
   ============================================================ */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--dark);
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transform: translateY(12px);
    animation: toastIn 0.3s ease forwards;
    pointer-events: auto;
    max-width: 380px;
}

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

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

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   15. MODALS
   ============================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 18, 16, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.96) translateY(8px);
    animation: modalIn 0.25s ease forwards;
}

@keyframes modalIn {
    to {
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 18, 16, 0.05);
    color: var(--mid);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(26, 18, 16, 0.1);
    color: var(--dark);
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 2-column grid */
@media (max-width: 1024px) {
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recipe-content {
        grid-template-columns: 1fr 1.4fr;
        gap: 1.5rem;
    }
}

/* Mobile large: stack layout */
@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
    }

    .app-main {
        padding: 1.25rem 1rem;
    }

    .nav-inner {
        padding: 0 1rem;
    }

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

    .nav-link {
        display: none;
    }

    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .recipe-content {
        grid-template-columns: 1fr;
    }

    .ingredients-list {
        position: static;
    }

    .recipe-hero {
        padding: 3rem 1.5rem;
        font-size: 4.5rem;
        min-height: 180px;
    }

    .recipe-title {
        font-size: 1.75rem;
    }

    .recipe-meta-row {
        gap: 1rem;
    }

    .culture-pills {
        padding: 0 1rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .free-tier-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .comment-form button {
        align-self: stretch;
    }

    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .modal-content {
        max-width: 100%;
        border-radius: var(--radius-lg);
        padding: 1.5rem;
    }
}

/* Mobile small */
@media (max-width: 480px) {
    .nav-inner {
        gap: 0.75rem;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    .recipe-hero {
        font-size: 3.5rem;
        padding: 2.5rem 1rem;
        min-height: 150px;
    }

    .card-image {
        height: 160px;
        font-size: 3.5rem;
    }

    .pricing-header h1 {
        font-size: 1.75rem;
    }
}

/* ============================================================
   ADDITIONAL COMPONENT STYLES
   ============================================================ */

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--warm);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    box-shadow: 0 4px 16px rgba(232, 85, 46, 0.25);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 85, 46, 0.35);
    background: var(--warm-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--warm);
    border: 2px solid var(--warm);
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--warm);
    color: var(--white);
}

/* --- Card extras --- */
.card-emoji {
    font-size: 4.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.card-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-rating {
    color: var(--gold);
    font-weight: 600;
}

.card-comments {
    color: var(--mid);
    opacity: 0.65;
}

/* recipe card as link */
a.recipe-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* --- Browse header --- */
.browse-header {
    text-align: center;
    padding: 2.5rem 0 1rem;
}

.browse-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.browse-subtitle {
    font-size: 1.05rem;
    color: var(--mid);
    font-weight: 300;
}

/* --- Culture header --- */
.culture-header {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.culture-header-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.culture-header-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.culture-header-desc {
    font-size: 1.05rem;
    color: var(--mid);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

.culture-header-count {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    background: rgba(123, 143, 106, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

/* --- Recipe hero emoji --- */
.recipe-hero-emoji {
    font-size: 6rem;
    line-height: 1;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

/* --- Recipe desc --- */
.recipe-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 1rem;
}

/* --- Difficulty badge --- */
.difficulty-badge {
    font-size: 0.82rem;
    font-weight: 600;
}

/* --- Meta icon --- */
.meta-icon {
    margin-right: 0.25rem;
}

.recipe-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--mid);
    font-weight: 400;
}

/* --- Recipe story --- */
.recipe-story h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.recipe-story p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--mid);
    font-weight: 300;
}

/* --- Section heading --- */
.section-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

/* --- Ingredients/Instructions panels --- */
.ingredients-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    align-self: start;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.ingredients-panel .ingredients-list {
    background: none;
    box-shadow: none;
    padding: 0;
    position: static;
}

.instructions-panel .instructions-list {
    list-style: none;
    padding: 0;
}

.ingredient-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    flex-shrink: 0;
    margin-right: 0.5rem;
}

/* --- Recipe views notice --- */
.recipe-views-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 148, 42, 0.08), rgba(232, 85, 46, 0.06));
    border: 1px solid rgba(212, 148, 42, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--mid);
}

.recipe-views-notice a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.recipe-views-notice a:hover {
    color: var(--warm);
}

/* --- Nav avatar & user menu --- */
.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.nav-login-link {
    font-weight: 500 !important;
}

.nav-cta-link {
    background: var(--warm) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 85, 46, 0.25);
}

.menu-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(26, 18, 16, 0.06);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

.menu-header small {
    font-weight: 300;
    color: var(--mid);
    font-size: 0.78rem;
}

.menu-item {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    color: var(--mid);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition);
}

.menu-item:hover {
    background: rgba(26, 18, 16, 0.03);
}

.premium-badge-item {
    color: var(--gold) !important;
    font-weight: 600;
}

/* --- Comment extras --- */
.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-time {
    font-size: 0.75rem;
    color: rgba(61, 46, 40, 0.4);
    margin-left: auto;
}

.comment-rating {
    margin-bottom: 0.25rem;
}

.comment-form h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.rating-input label {
    font-size: 0.88rem;
    color: var(--mid);
    font-weight: 400;
}

.stars.interactive .star {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.stars.interactive .star:hover,
.stars .star.hover {
    transform: scale(1.25);
}

.empty-comments {
    text-align: center;
    padding: 2rem;
    color: var(--mid);
    font-weight: 300;
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--cream);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-copy {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    opacity: 0.5;
}

/* --- Search header --- */
.search-header {
    padding: 2rem 0 1rem;
}

.search-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.search-count {
    font-size: 0.9rem;
    color: var(--mid);
    font-weight: 300;
}

/* --- Pricing extras --- */
.pricing-plan-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(212, 148, 42, 0.3);
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: var(--mid);
}

.pricing-feature.highlight {
    color: var(--dark);
    font-weight: 500;
}

.feature-check {
    color: var(--sage);
    font-weight: 700;
    font-size: 0.85rem;
}

.feature-x {
    color: rgba(61, 46, 40, 0.25);
    font-weight: 700;
    font-size: 0.85rem;
}

.feature-disabled {
    opacity: 0.5;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
}

.pricing-cta-free {
    background: transparent;
    color: var(--mid);
    border: 2px solid rgba(61, 46, 40, 0.15);
}

.pricing-cta-free:hover {
    border-color: var(--mid);
    color: var(--dark);
}

.pricing-cta-premium {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(212, 148, 42, 0.3);
}

.pricing-cta-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 148, 42, 0.4);
}

.pricing-card {
    position: relative;
}

.pricing-card.premium {
    border: 2px solid var(--gold);
}

/* --- Views icon in banner --- */
.views-icon {
    margin-right: 0.35rem;
}

/* --- Auth subtitle --- */
.auth-subtitle {
    font-size: 0.95rem;
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* --- Logo --- */
.logo-icon {
    font-size: 1.3rem;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--dark);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* --- Lock overlay refinements --- */
.premium-lock h2 {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 0.5rem;
}

.premium-lock p {
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.lock-cta {
    display: inline-flex;
    padding: 0.85rem 2rem;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(212, 148, 42, 0.3);
}

.lock-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 148, 42, 0.4);
}

/* --- Mobile extras --- */
@media (max-width: 768px) {
    .recipe-content {
        grid-template-columns: 1fr;
    }

    .ingredients-panel {
        position: static;
    }

    .recipe-views-notice {
        flex-direction: column;
        text-align: center;
    }

    .nav-cta-link {
        display: none !important;
    }

    .browse-header {
        padding: 1.5rem 0 0.5rem;
    }

    .culture-header {
        padding: 1.5rem 0 1rem;
    }
}
