:root {
    --tt-orange: #e8561d;
    --tt-orange-dark: #c94312;
    --tt-amber: #f59e0b;
    --tt-green: #28a745;
    --tt-red: #e53935;
    --tt-ink: #171717;
    --tt-text: #39342f;
    --tt-muted: #7a7169;
    --tt-border: #ece2d8;
    --tt-card: #ffffff;
    --tt-cream: #fffaf3;
    --tt-cream-2: #fff6e9;
    --tt-shadow: 0 12px 32px rgba(96, 62, 36, .10);
    --tt-radius-xl: 20px;
    --tt-radius-lg: 15px;
    --tt-radius-md: 11px;
    --tt-container: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tastytable {
    margin: 0;
    color: var(--tt-text);
    background: linear-gradient(180deg, #fffdf9 0%, #fff8ee 55%, #fff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
body.tastytable::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(232, 86, 29, .08), transparent 22%),
        radial-gradient(circle at 92% 42%, rgba(245, 158, 11, .08), transparent 26%);
    z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.visually-hidden,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    background: var(--tt-orange);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}
.tt-container {
    width: min(calc(100% - 64px), var(--tt-container));
    margin-inline: auto;
}
.tt-header {
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid var(--tt-border);
    backdrop-filter: blur(14px);
    z-index: 20;
}
.has-sticky-header .tt-header { position: sticky; top: 0; }
.tt-header__inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}
.tt-logo { display: inline-flex; align-items: center; gap: 10px; }
.tt-logo__mark { width: 53px; height: 44px; display: grid; place-items: center; }
.tt-logo__text strong {
    display: block;
    color: var(--tt-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.03em;
}
.tt-logo__text small { color: var(--tt-muted); font-size: 12px; }
.tt-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-weight: 700;
}
.tt-menu a { color: #2a2927; transition: color .2s ease; }
.tt-menu a:hover,
.tt-menu .is-active > a,
.tt-menu .active > a { color: var(--tt-orange); }
.tt-header__actions { display: flex; align-items: center; gap: 18px; }
.tt-search {
    width: 320px;
    height: 42px;
    border: 1px solid #dfd9d3;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.tt-search input { flex: 1; border: 0; outline: 0; padding: 0 16px; color: var(--tt-text); }
.tt-search button { width: 48px; border: 0; border-left: 1px solid #eee1d6; background: #fff; cursor: pointer; font-size: 26px; line-height: 1; }
.tt-icon-link { font-size: 31px; line-height: 1; color: #111; }
.tt-user-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.tt-user-link span { width: 36px; height: 36px; border-radius: 999px; border: 1px solid #ddd; display: grid; place-items: center; font-size: 20px; }
.tt-main { padding: 18px 0 0; }
.tt-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.tt-sidebar {
    position: sticky;
    top: 92px;
    background: rgba(255,255,255,.95);
    border: 1px solid #f2e8dc;
    border-radius: var(--tt-radius-lg);
    box-shadow: var(--tt-shadow);
    min-height: 650px;
    overflow: hidden;
}
.tt-filter { padding: 20px 18px 0; position: relative; }
.tt-filter h2 {
    margin: 0 0 14px;
    color: var(--tt-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}
.tt-filter__group { border-top: 1px solid var(--tt-border); padding: 16px 0; }
.tt-filter__group:first-of-type { border-top: 0; padding-top: 0; }
.tt-filter__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; color: #2c2723; }
.tt-filter__search { width: 100%; height: 35px; border: 1px solid #d8d2cc; border-radius: 7px; padding: 0 10px; margin-bottom: 10px; }
.tt-check, .tt-radio { display: flex; align-items: center; gap: 10px; margin: 9px 0; color: #322f2d; font-size: 13px; }
.tt-check input, .tt-radio input { width: 14px; height: 14px; accent-color: var(--tt-orange); }
.tt-check svg, .tt-radio svg { flex: 0 0 auto; color: var(--tt-orange); }
.tt-show-more { color: var(--tt-orange); font-weight: 800; background: transparent; border: 0; padding: 0; margin-top: 6px; cursor: pointer; font-size: 12px; }
.tt-filter__actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.tt-button, .tt-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}
.tt-button { background: var(--tt-orange); color: #fff; box-shadow: 0 8px 20px rgba(232,86,29,.25); }
.tt-button:hover { background: var(--tt-orange-dark); color: #fff; }
.tt-clear { color: var(--tt-orange); font-weight: 700; font-size: 12px; }
.tt-filter__herbs { margin: 16px -10px 0; }
.tt-hero {
    min-height: 328px;
    border-radius: var(--tt-radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid #f2e8dc;
    box-shadow: var(--tt-shadow);
    display: grid;
    grid-template-columns: minmax(360px, 48%) 1fr;
    position: relative;
}
.tt-hero__content { padding: 42px 48px; align-self: center; position: relative; z-index: 2; }
.tt-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--tt-orange); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.tt-hero h1 {
    margin: 0 0 12px;
    color: #0f1011;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4.6vw, 54px);
    line-height: .95;
    letter-spacing: -.035em;
}
.tt-hero p { max-width: 420px; margin: 0 0 24px; font-size: 17px; color: #272320; }
.tt-hero__actions { display: flex; gap: 28px; align-items: center; }
.tt-video-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #403b37; }
.tt-play { width: 38px; height: 38px; border: 1px solid #ddd0c4; border-radius: 999px; display: grid; place-items: center; background: #fff; }
.tt-hero__image { min-height: 328px; position: relative; }
.tt-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.tt-hero__dots { display: flex; gap: 13px; margin-top: 30px; }
.tt-hero__dots span { width: 8px; height: 8px; border-radius: 50%; background: #c7c0b8; }
.tt-hero__dots span:first-child { background: var(--tt-orange); }
.tt-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.tt-category-card {
    background: #fff;
    border: 1px solid #f2e8dc;
    box-shadow: var(--tt-shadow);
    border-radius: 12px;
    min-height: 86px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.tt-category-card img { width: 62px; height: 62px; border-radius: 999px; object-fit: cover; }
.tt-category-card strong { display: block; color: #24211f; font-size: 15px; }
.tt-category-card small { color: var(--tt-muted); }
.tt-section { margin-top: 20px; }
.tt-section--compact { margin-top: 16px; }
.tt-section__heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tt-section__heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--tt-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    letter-spacing: -.015em;
}
.tt-section__link { color: var(--tt-orange); font-weight: 800; font-size: 13px; }
.tt-recipe-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.tt-recipe-card {
    background: #fff;
    border: 1px solid #f2e8dc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(96,62,36,.08);
    position: relative;
}
.tt-recipe-card__image { height: 126px; overflow: hidden; }
.tt-recipe-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tt-recipe-card:hover .tt-recipe-card__image img { transform: scale(1.04); }
.tt-recipe-card__favorite { position: absolute; top: 9px; right: 9px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.28); color: #fff; font-size: 24px; line-height: 1; }
.tt-recipe-card__body { padding: 9px 12px 12px; }
.tt-recipe-card h3 { margin: 0 0 3px; color: #2b2520; font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.tt-rating { color: var(--tt-muted); font-size: 12px; }
.tt-rating b { color: var(--tt-amber); }
.tt-recipe-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 12px; color: #5d5651; }
.tt-difficulty { font-weight: 800; }
.tt-difficulty--easy { color: #30a74b; }
.tt-difficulty--medium { color: #f59e0b; }
.tt-difficulty--hard { color: #e53935; }
.tt-trending { margin-top: 5px; }
.tt-trending-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; }
.tt-trend-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffaf3, #fff2e5);
    border: 1px solid #f2e6d8;
    padding: 9px 15px;
    min-height: 72px;
}
.tt-trend-card img { width: 60px; height: 60px; border-radius: 999px; object-fit: cover; }
.tt-trend-card strong { display: block; color: #2a2521; line-height: 1.25; }
.tt-trend-card span { color: var(--tt-orange); font-weight: 900; }
.tt-newsletter {
    min-height: 78px;
    display: grid;
    grid-template-columns: 190px 1fr 1.5fr 145px;
    align-items: center;
    gap: 28px;
    border-radius: 20px;
    background: linear-gradient(90deg, #fff9ef 0%, #fff3e6 100%);
    border: 1px solid #f1e1d0;
    box-shadow: var(--tt-shadow);
    padding: 16px 30px;
    overflow: hidden;
}
.tt-newsletter img { max-height: 82px; }
.tt-newsletter h2 { margin: 0; color: var(--tt-ink); font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1; }
.tt-newsletter p { margin: 0; }
.tt-newsletter-form { display: flex; position: relative; }
.tt-newsletter-form input { min-height: 42px; flex: 1; border: 1px solid #ddd0c4; border-right: 0; border-radius: 8px 0 0 8px; padding: 0 16px; }
.tt-newsletter-form button { min-width: 126px; border-radius: 0 8px 8px 0; }
.tt-newsletter-message { position: absolute; left: 0; top: calc(100% + 5px); font-size: 12px; color: var(--tt-green); }
.tt-footer { margin-top: 10px; background: rgba(255,255,255,.72); border-top: 1px solid var(--tt-border); padding: 24px 0 10px; }
.tt-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .9fr 1.2fr; gap: 32px; align-items: start; }
.tt-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tt-footer-logo img { width: 42px; }
.tt-footer-logo strong { display: block; font-family: Georgia, "Times New Roman", serif; color: var(--tt-ink); font-size: 25px; line-height: 1; }
.tt-footer-logo small { color: var(--tt-muted); }
.tt-footer p { color: #504942; margin: 0 0 14px; }
.tt-socials { display: flex; gap: 18px; }
.tt-socials a { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: #3a3a3a; color: #fff; font-size: 12px; }
.tt-footer h3 { margin: 0 0 10px; color: #1e1c1a; font-size: 13px; }
.tt-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: #4c4640; font-size: 13px; }
.tt-footer__art img { max-height: 120px; margin-left: auto; }
.tt-copyright { text-align: center; border-top: 1px solid var(--tt-border); padding-top: 8px; margin-top: 10px; color: #685f56; font-size: 13px; }
.tt-error { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; padding: 24px; }
.tt-error img { width: 80px; margin-inline: auto; }
.tt-error h1 { font-size: 64px; margin: 0; font-family: Georgia, "Times New Roman", serif; }
.com-tastyrecipes { background: #fff; border: 1px solid #f2e8dc; border-radius: 16px; box-shadow: var(--tt-shadow); padding: 28px; }
.com-tastyrecipes h1 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.com-tastyrecipes__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
@media (max-width: 1280px) {
    .tt-layout { grid-template-columns: 1fr; }
    .tt-sidebar { position: static; min-height: auto; }
    .tt-recipe-grid, .tt-category-grid, .tt-trending-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .tt-newsletter { grid-template-columns: 120px 1fr; }
    .tt-newsletter form, .tt-newsletter p { grid-column: 2; }
}
@media (max-width: 900px) {
    .tt-container { width: min(calc(100% - 32px), var(--tt-container)); }
    .tt-header__inner { grid-template-columns: 1fr; padding: 15px 0; gap: 14px; }
    .tt-menu { justify-content: flex-start; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
    .tt-header__actions { flex-wrap: wrap; }
    .tt-search { width: min(100%, 420px); }
    .tt-hero { grid-template-columns: 1fr; }
    .tt-hero__content { padding: 30px 24px; }
    .tt-recipe-grid, .tt-category-grid, .tt-trending-grid, .com-tastyrecipes__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tt-newsletter { grid-template-columns: 1fr; text-align: left; }
    .tt-newsletter form, .tt-newsletter p { grid-column: auto; }
    .tt-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .tt-recipe-grid, .tt-category-grid, .tt-trending-grid, .tt-footer-grid, .com-tastyrecipes__grid { grid-template-columns: 1fr; }
    .tt-hero__actions, .tt-filter__actions { flex-wrap: wrap; }
    .tt-newsletter-form { display: grid; gap: 8px; }
    .tt-newsletter-form input, .tt-newsletter-form button { border-radius: 8px; border: 1px solid #ddd0c4; }
}
