/* ROLL.co QR Menü
   Renk paleti: Kırmızı / Sarı (dikkat çekici)
*/

:root{
  --red: #E10600;
  --red2: #B20000;
  --yellow: #FFC400;
  --yellow2: #FFDD55;

  --bg: #FFF7E6;
  --card: rgba(255,255,255,0.95);
  --text: #121212;
  --muted: rgba(18,18,18,0.72);
  --border: rgba(18,18,18,0.12);

  --shadow: 0 14px 35px rgba(0,0,0,.12);
  --radius: 18px;

  --container: 1040px;
}

[data-theme="dark"]{
  --bg: #0F0F10;
  --card: rgba(18,18,18,0.86);
  --text: #F6F6F7;
  --muted: rgba(246,246,247,0.70);
  --border: rgba(246,246,247,0.16);
  --shadow: 0 16px 45px rgba(0,0,0,.45);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(255,196,0,.35), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(225,6,0,.30), transparent 60%),
    var(--bg);
  color: var(--text);
}

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

.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* Accessibility */
.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link{
  position: absolute;
  left: 16px; top: -60px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 9999;
  transition: top .2s ease;
}
.skip-link:focus{ top: 16px; }

/* Header */
.site-header{
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 10px;
}

.brand-logo{
  height: 44px;
  width: auto;
  border-radius: 12px;
}

.icon-btn{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.icon-btn:active{ transform: translateY(1px); }

/* Hero */
.hero{
  background:
    linear-gradient(135deg, rgba(225,6,0,.92), rgba(255,196,0,.92));
  color: #fff;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 20px 0 18px;
  align-items: center;
}
.hero-title{
  margin: 0 0 8px;
  letter-spacing: .2px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
}
.hero-subtitle{
  margin: 0 0 14px;
  max-width: 56ch;
  opacity: .95;
}

.search-wrap{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  padding: 10px;
  backdrop-filter: blur(10px);
}
.search-input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 8px 12px;
}
.search-input::placeholder{ color: rgba(255,255,255,.82); }
.search-clear{
  border: none;
  cursor: pointer;
  background: rgba(15,15,16,.28);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}
.search-clear:active{ transform: translateY(1px); }

.chips-row{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  letter-spacing: .2px;
}
.chip:hover{ background: rgba(255,255,255,.20); }
.chip:active{ transform: translateY(1px); }
.chip--ghost{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.hero-badge{ display: flex; justify-content: end; }
.badge-card{
  width: min(360px, 100%);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 22px;
  padding: 14px 14px 12px;
  backdrop-filter: blur(10px);
}
.badge-title{
  font-weight: 800;
  margin-bottom: 10px;
}
.badge-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge-note{
  margin-top: 10px;
  font-size: 13px;
  opacity: .92;
}

/* Main */
.site-main{
  padding: 20px 0 30px;
}

.menu-root{
  display: grid;
  gap: 18px;
}

/* Section */
.section{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: clip;
}

.section-head{
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(225,6,0,.10), rgba(255,196,0,.14));
}
.section-title{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}
.section-subtitle{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cards{
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 760px){
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1020px){
  .cards{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(225,6,0,.07), transparent 40%),
    var(--card);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.card-media{
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(700px 220px at 0% 0%, rgba(255,196,0,.20), transparent 50%),
    radial-gradient(700px 220px at 100% 0%, rgba(225,6,0,.18), transparent 55%),
    rgba(0,0,0,.04);
}
.card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-media .media-badge{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: rgba(0,0,0,.52);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.card-body{
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
}

.card--compact{
  grid-template-rows: 1fr;
}
.card--compact .card-media{ display: none; }
.card--compact .card-body{ gap: 10px; }


.card-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-title{
  margin: 0;
  font-size: 16px;
  letter-spacing: .2px;
}
.card-price{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(225,6,0,.10);
  border: 1px solid rgba(225,6,0,.22);
  font-weight: 900;
  white-space: nowrap;
}

.sizes{
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: clip;
}
.sizes-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 10px;
  font-size: 14px;
}
.sizes-row:nth-child(odd){
  background: rgba(0,0,0,.03);
}
[data-theme="dark"] .sizes-row:nth-child(odd){
  background: rgba(255,255,255,.04);
}
.sizes-size{ color: var(--muted); font-weight: 700; }
.sizes-price{ font-weight: 900; }

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.bullets li{ margin: 6px 0; }
.note{
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  margin-left: 6px;
}

.chili{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chili-label{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-right: 2px;
}
.chip-mini{
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.03);
}
[data-theme="dark"] .chip-mini{ background: rgba(255,255,255,.04); }
.chip-mini--hot{
  border-color: rgba(225,6,0,.25);
  background: rgba(225,6,0,.08);
}

.extras{
  border-left: 4px solid rgba(255,196,0,.70);
  padding-left: 10px;
}
.extras-title{
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}
.extras-list{
  margin: 0;
  padding-left: 18px;
}
.extras-list li{ margin: 6px 0; }

.divider{
  height: 1px;
  background: var(--border);
  margin: 2px 0;
}

/* Info */
.info{
  margin-top: 18px;
  border: 1px dashed var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 14px 14px 12px;
  background: rgba(255,196,0,.08);
}
[data-theme="dark"] .info{
  background: rgba(255,196,0,.10);
}
.info-title{
  margin: 0 0 10px;
  font-size: 16px;
}
.info-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Footer */
.site-footer{
  padding: 16px 0 28px;
  border-top: 1px solid var(--border);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-logo{
  height: 56px;
  width: auto;
  border-radius: 12px;
}
.footer-small{
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}

/* To Top */
.to-top{
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
}
.to-top:active{ transform: translateY(1px); }

/* Responsive hero */
@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-badge{ justify-content: start; }
  .brand-logo{ height: 40px; }
}

/* Print */
@media print{
  .site-header, .to-top, .search-wrap, #categoryChips{ display: none !important; }
  body{ background: #fff; }
  .section{ box-shadow: none; }
}
