/*
Theme Name: McDonaldsMenuK Theme
Theme URI: https://mcdonaldsmenuk.com
Author: Zakwan Khokhar
Description: A premium, modern menu-discovery theme for McDonald's Menu UK — an unofficial guide to UK menu prices, new items and deals. Poppins headings, Inter body, red and golden-yellow palette, product cards, category tiles and a deals banner.
Version: 2.0.0
License: GPL v2 or later
Text Domain: mcdonaldsmenuk-theme
*/

:root{
  --red:#C8102E;
  --red-dark:#9E0C24;
  --yellow:#FFC72C;
  --ink:#222222;
  --muted:#666666;
  --line:#E9E6E0;
  --bg:#FFFFFF;
  --bg-soft:#F7F7F7;
  --radius:16px;
  --shadow:0 4px 18px rgba(0,0,0,.07);
  --shadow-lg:0 14px 34px rgba(0,0,0,.13);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px}
h1,h2,h3,h4{font-family:'Poppins',-apple-system,"Segoe UI",sans-serif;line-height:1.2;margin:0}
img{max-width:100%;height:auto}
a{color:var(--red);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* Top bar */
.top-bar{background:var(--red);color:#fff;font-size:13.5px;font-weight:600}
.top-bar-in{display:flex;justify-content:space-between;gap:16px;padding:8px 0}
.top-bar .tb-right{opacity:.92;font-weight:500}

/* Header */
.site-header{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08);position:sticky;top:0;z-index:50}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;flex-wrap:wrap}
.site-title{font-family:'Poppins',sans-serif;font-size:23px;font-weight:800;color:var(--ink);letter-spacing:-.02em;display:flex;align-items:center;gap:10px}
.site-title:hover{text-decoration:none}
.site-title .badge{background:var(--yellow);color:var(--red);border-radius:9px;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;font-weight:800;flex:none}
.site-title .accent{color:var(--red)}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.main-nav a{display:block;padding:9px 14px;border-radius:999px;color:var(--ink);font-weight:600;font-size:15.5px;font-family:'Poppins',sans-serif}
.main-nav a:hover{background:var(--bg-soft);text-decoration:none;color:var(--red)}
.main-nav .current-menu-item a{background:var(--red);color:#fff}

/* Buttons */
.btn{display:inline-block;background:var(--red);color:#fff;font-weight:700;padding:13px 26px;border-radius:999px;font-size:16px;font-family:'Poppins',sans-serif;box-shadow:var(--shadow)}
.btn:hover{text-decoration:none;background:var(--red-dark);color:#fff}
.btn-outline{background:#fff;color:var(--ink);border:2px solid var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-yellow{background:var(--yellow);color:var(--ink)}
.btn-yellow:hover{background:#ffcf4d;color:var(--ink)}

/* Hero */
.hero{background:linear-gradient(180deg,#FFF9EC,#FFFFFF);padding:52px 0 46px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:center}
.hero h1{font-size:64px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.hero h1 .menu-word{color:var(--red);display:block}
.hero p{font-size:19px;color:var(--muted);margin:16px 0 26px;max-width:480px}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.hero-img{border-radius:22px;width:100%;height:auto;display:block;box-shadow:var(--shadow-lg)}

/* Sections */
.section{padding:52px 0 10px}
.section-head{text-align:center;margin-bottom:30px}
.section-head h2{font-size:32px;font-weight:800;letter-spacing:-.01em}
.section-head h2 .accent{color:var(--red)}
.section-head p{color:var(--muted);margin:8px 0 0}
.section h2.left{text-align:left;font-size:28px;font-weight:800}

/* Category cards row */
.cat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cat-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;color:var(--ink);box-shadow:var(--shadow);transition:transform .15s ease, box-shadow .15s ease}
.cat-card:hover{text-decoration:none;transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.cat-card img{width:64px;height:64px;object-fit:cover;border-radius:12px;flex:none}
.cat-card strong{font-family:'Poppins',sans-serif;font-size:16.5px;display:block;line-height:1.25}
.cat-card .arrow{margin-left:auto;background:var(--red);color:#fff;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}

/* Product cards */
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .15s ease, box-shadow .15s ease}
.product:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.product img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.product .p-body{padding:18px;text-align:center;display:flex;flex-direction:column;gap:4px;flex:1}
.product h3{font-size:18.5px;font-weight:700}
.product .p-price{font-family:'Poppins',sans-serif;font-weight:800;color:var(--red);font-size:21px}
.product .p-kcal{color:var(--muted);font-size:14.5px}
.product .p-desc{color:var(--muted);font-size:14.5px;margin:2px 0 12px}
.product .p-btn{margin-top:auto;align-self:center;background:var(--red);color:#fff;font-family:'Poppins',sans-serif;font-weight:700;font-size:14.5px;padding:9px 20px;border-radius:999px}
.product .p-btn:hover{background:var(--red-dark);text-decoration:none}
.prices-note{text-align:center;color:var(--muted);font-size:13.5px;margin-top:16px}

/* Deals banner */
.deals{background:var(--yellow);border-radius:24px;padding:40px;display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;margin:14px 0 6px;overflow:hidden}
.deals h2{font-size:36px;font-weight:800;color:var(--ink)}
.deals h2 .accent{color:var(--red)}
.deals p{font-size:19px;color:var(--ink);margin:8px 0 22px;font-weight:600}
.deals img{border-radius:18px;width:100%;height:auto;display:block;box-shadow:var(--shadow-lg)}

/* Category tiles (explore) */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.tile{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:var(--ink);box-shadow:var(--shadow);transition:transform .15s ease, box-shadow .15s ease}
.tile:hover{text-decoration:none;transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.tile img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.tile-text{display:block;padding:15px 17px 17px}
.tile strong{font-family:'Poppins',sans-serif;display:block;font-size:17.5px;margin-bottom:3px}
.tile span span{color:var(--muted);font-size:14px;line-height:1.45;display:block}

/* Article cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}
.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.card:hover{box-shadow:var(--shadow-lg)}
.card .thumb{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff;font-family:'Poppins',sans-serif;font-weight:800;font-size:30px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .body{padding:18px}
.card h3{margin:0 0 8px;font-size:19px;line-height:1.3}
.card h3 a{color:var(--ink)}
.card h3 a:hover{color:var(--red);text-decoration:none}
.card p{margin:0;color:var(--muted);font-size:15.5px}
.card .meta{font-size:12.5px;color:var(--muted);margin-bottom:8px;text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.read-more{font-weight:700;font-size:15px;margin-top:10px;display:inline-block}

/* Newsletter */
.newsletter{background:var(--bg-soft);border:1px solid var(--line);border-radius:24px;padding:38px;text-align:center;margin:20px 0 8px}
.newsletter h2{font-size:27px;font-weight:800}
.newsletter p{color:var(--muted);margin:8px auto 20px;max-width:520px}
.newsletter form{max-width:520px;margin:0 auto}
.newsletter input[type="email"],.newsletter input[type="text"]{width:100%;padding:13px 16px;border:1px solid var(--line);border-radius:999px;font-size:16px;margin-bottom:12px}
.newsletter input[type="submit"],.newsletter button{background:var(--red);color:#fff;border:0;border-radius:999px;padding:13px 30px;font-family:'Poppins',sans-serif;font-weight:700;font-size:16px;cursor:pointer;width:100%}

/* Article */
.breadcrumb{font-size:14px;color:var(--muted);padding:20px 0 0}
.breadcrumb a{color:var(--muted)}
.article{max-width:780px;margin:0 auto;padding:10px 0 50px}
.article h1{font-size:36px;font-weight:800;letter-spacing:-.02em;margin:10px 0 12px}
.article .meta{color:var(--muted);font-size:14.5px;margin-bottom:22px}
.article h2{font-size:26px;font-weight:700;margin:34px 0 10px}
.article h3{font-size:21px;font-weight:700;margin:26px 0 8px}
.article table{width:100%;border-collapse:collapse;margin:18px 0 26px;font-size:16px}
.article th{background:var(--red);color:#fff;text-align:left;padding:11px 13px;font-family:'Poppins',sans-serif}
.article td{padding:10px 13px;border-bottom:1px solid var(--line)}
.article tr:nth-child(even) td{background:var(--bg-soft)}
.article ul,.article ol{padding-left:22px}
.article li{margin-bottom:6px}
.featured-img{border-radius:var(--radius);margin-bottom:24px}
.related{border-top:2px solid var(--line);padding-top:8px}

/* Page */
.page-body{max-width:780px;margin:0 auto;padding:26px 0 50px}
.page-body h1{font-size:34px;font-weight:800;letter-spacing:-.02em}

/* Archive */
.archive-head{padding:34px 0 6px}
.archive-head h1{font-size:32px;font-weight:800;margin:0 0 6px}
.archive-head p{color:var(--muted);margin:0;max-width:680px}
.empty-note{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin:18px 0 30px}

/* Footer */
.site-footer{background:#222222;color:#CFCFCF;margin-top:60px;padding:48px 0 0}
.site-footer a{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px;padding-bottom:36px}
.footer-title{font-family:'Poppins',sans-serif;font-size:20px;font-weight:800;color:#fff;margin-bottom:10px}
.footer-title .accent{color:var(--yellow)}
.site-footer h4{color:#fff;font-size:16px;margin:0 0 12px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:8px}
.site-footer li a{color:#CFCFCF;font-size:15px}
.site-footer li a:hover{color:var(--yellow);text-decoration:none}
.disclaimer{font-size:13px;color:#9A9A9A;line-height:1.55;border-top:1px solid #3A3A3A;padding-top:18px}
.copyright{font-size:13px;color:#9A9A9A;padding:14px 0 22px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

@media (max-width:900px){
  .cat-row{grid-template-columns:repeat(2,1fr)}
  .products{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:46px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  body{font-size:16px}
  .hero{padding:36px 0 32px}
  .hero-grid{grid-template-columns:1fr}
  .hero h1{font-size:38px}
  .deals{grid-template-columns:1fr;padding:28px}
  .deals h2{font-size:29px}
  .products{grid-template-columns:1fr}
  .article h1{font-size:29px}
  .header-in{padding:10px 0}
  .site-title{font-size:19px}
  .main-nav a{padding:7px 10px;font-size:14.5px}
  .cards{grid-template-columns:1fr}
  .top-bar .tb-right{display:none}
  .footer-grid{grid-template-columns:1fr}
  .section-head h2{font-size:27px}
}
