/* Combined styles for the rolls page: includes base styles and additional header/navigation/cookie styles */

/* Base styles (copied from original rolls.css) */

:root{
  --bg:#F9F4E8;
  --panel:#FFFDF8;
  --ink:#2A2E2F;
  --muted:#6F7A84;
  --brand:#D84C3F;
  --line:#EEE6D6;
  --shadow:0 10px 28px rgba(30,35,40,.08);
}
*{box-sizing:border-box}

/* Fix horizontal scroll */
html{
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:hidden;
}
body{
  margin:0;
  color:var(--ink);
  background:var(--bg);
  font:400 16px/1.65 'Manrope',system-ui,-apple-system,'Segoe UI',Inter,Roboto,Arial;
  -webkit-text-size-adjust:100%;
  max-width:100%;
  overflow-x:hidden;
}

.wrap{
  width:min(1120px,94vw);
  margin:18px auto 26px;
  overflow-x:hidden;
}
main{
  background:linear-gradient(180deg,#FFFDF8,#FFFBF3);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:18px 14px 22px;
}
.hero{
  text-align:center;
  padding:6px 4px 12px;
}
.badge{
  display:inline-flex;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,215,122,.42), rgba(255,247,224,.7));
  border:1px solid #F2E5C9;
  color:#6E4C0F;
  font-weight:800;
  font-size:.88rem;
}
h1{
  margin:10px 0 6px;
  font-size:clamp(1.28rem,4.4vw,2rem);
  font-weight:800;
}
.sub{
  color:#6F7A84;
  max-width:58ch;
  margin:0 auto;
}

.grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(3,1fr);
  margin-top:14px;
  max-width:100%;
}
@media (max-width:960px){
  .grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .grid{grid-template-columns:1fr}
}

.card{
  background:#fff;
  border:1px solid #EADDC5;
  border-radius:16px;
  padding:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.035);
  /* content-visibility оставляем, а проблемную contain-intrinsic-size убираем */
  content-visibility:auto;
}
.img{
  height:200px;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  max-width:100%;
}
.img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.card h3{
  margin:10px 0 6px;
  font-size:1.02rem;
  font-weight:800;
}
.desc{
  margin:6px 0 10px;
  font-size:.92rem;
  color:var(--muted);
}
.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.price{
  font-weight:800;
  color:#4b4f52;
  font-size:.95rem;
  white-space:nowrap;
}
.btn{
  display:inline-block;
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(180deg,#DE584B,#C2463B);
  box-shadow:0 10px 22px rgba(216,76,63,.18);
}
.crumbs{
  margin:0 0 8px;
  color:#6F7A84;
  font-size:.92rem;
}
.crumbs a{
  color:#9E4B3F;
  text-decoration:none;
  font-weight:700;
}

/* Additional styles for header/navigation/cookie banner */

/* Top bar with location, phone and working hours */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.top-bar .location {
  font-weight: 700;
  color: var(--brand);
}
.top-bar .contact {
  color: var(--ink);
}
.top-bar .contact span {
  margin-right: 12px;
  font-weight: 600;
}

/* Navigation bar */
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
}
nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 4px 8px;
  transition: color 0.2s;
}
nav.main-nav a:hover {
  color: var(--brand);
}

/* Cookie notice */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.cookie-banner button {
  background: var(--brand);
  border: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-banner button:hover {
  background: #c2463b;
}