:root{
  --bg:#F4F4F4;
  --card:#ffffff;
  --brand:#b9752b; /* primary brand color */
  --text:#2b2b2b;   /* primary text color */
  --muted:#6b4a39;  /* secondary/muted color */
}

*{box-sizing:border-box}
body{margin:0;font-family: 'Inter', 'Segoe UI', Roboto, system-ui, -apple-system, 'Helvetica Neue', Arial; background:var(--bg); color:var(--text)}
.wrap{max-width:360px;margin:16px auto;padding:18px}
.brand{text-align:left;margin-bottom:16px;position:relative;overflow:visible}
.header-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-right:8px}
.brand-left{display:flex;align-items:flex-start}
.header-left-img{display:block;width:140px;height:auto;object-fit:contain}

/* right illustration pinned to the corner */
.brand-right{display:none !important}
.header-right-img{display:block;position:fixed !important;top:0 !important;right:0 !important;width:260px;height:auto;object-fit:contain;transform:none !important;margin:0 !important;z-index:9998 !important}
.brand-right-clone{position:fixed;top:0;right:0;z-index:99999;pointer-events:none;display:block;overflow:visible}
.header-right-img-clone{display:block;width:260px;height:auto;object-fit:contain;transform:none;margin:0;pointer-events:none;display:block}

@media (max-width:420px){
  .brand-right-clone .header-right-img-clone{width:160px}
}

@media (max-width:420px){
  .header-right-img{width:160px;opacity:0.98;transform:none !important;}
  .header-left-img{width:120px}
}

@media (max-width:320px){
  /* hide illustration on very small screens to save space */
  .brand-right{display:none}
}
.logo{display:flex;flex-direction:column;align-items:center;justify-content:center}
.logo-img{width:140px;height:auto;display:block;object-fit:contain}

/* thin rule under the logo for a subtle separator - hidden because we use a single unified divider */
.brand:after{display:none;content:''}
.logo-text{font-weight:700;color:var(--accent);font-size:28px;letter-spacing:1px}
.subtitle{margin:6px 0 0;font-size:12px;color:#a47b4b}

/* clickable logo + variants */
.logo.center{display:flex;justify-content:center}
.logo, .chev, .tag, .card{cursor:pointer}
.chev.back{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid rgba(0,0,0,0.08);padding:6px 8px;border-radius:999px}

.grid{display:flex;flex-direction:column;gap:4px}
.row{display:flex;gap:7px}

/* category page tags */
.tags{display:flex;align-items:center;gap:8px;padding:8px 0}
.chev{background:transparent;border:1px solid rgba(0,0,0,0.08);padding:6px 8px;border-radius:999px;color:#000;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.chev:visited{color:#000}
.chev:active{color:#000}
.chev:focus{outline:2px solid rgba(0,0,0,0.06);outline-offset:2px}
.tag-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:6px;flex:1;-webkit-overflow-scrolling:touch}
.tag-list::-webkit-scrollbar{height:6px}
.tag-list::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.06);border-radius:6px}
.tag{white-space:nowrap;border-radius:16px;border:1px solid rgba(0,0,0,0.08);background:var(--card);padding:6px 10px;flex:0 0 auto}
.tag.active{background:#fff;border-color:rgba(0,0,0,0.12);color:#000;font-weight:600}

/* iOS 26 transition styles for tags */
.tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.tag {
  padding: 8px 16px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(200, 200, 200, 0.2);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.chev {
  font-size: 20px;
  color: #333;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.chev:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* category layout tweaks */
.grid.category{gap:8px;padding-top:8px}
.row.two .card.small{height:180px}

/* Ensure category two-up rows keep a taller small-card height (overrides generic .card.small) */
.grid.category .row.two .card.small{height:180px}

/* Stronger override placed near the end to ensure it wins against generic rules */
.grid.category .row.two > .card.small{
  height: 180px !important;
}
.grid.category .row.two > .card.small img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Strong normalization: ensure both small cards in category rows render identically */
main.wrap .grid.category .row.two > .card.small{
  height: 180px !important; /* fixed viewport-consistent height */
  min-height: 180px !important;
  max-height: 180px !important;
  overflow: hidden !important; /* prevent image bleed */
  display: block !important;
}
main.wrap .grid.category .row.two > .card.small img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* Keep label offset identical */
main.wrap .grid.category .row.two > .card.small .label{
  left: 6px !important;
  bottom: 6px !important;
  padding: 8px 12px !important;
}

.card.wide{height:140px;background:rgba(255,255,255,0.12);box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.card.small .label, .card.wide .label{bottom:14px}

.list-view{
  display: grid;
  grid-template-columns: 36px 1fr; /* nudged narrower so title sits closer */
  gap: 6px; /* reduce space between columns */
  align-items: start;
  padding-top:18px;
}
.list-title{
  /* vertical label placed in the left grid column and centered next to its list-items */
  font-weight:800;
  color:#5a4030;
  font-size:18px;
  letter-spacing:0.4px;
  display:block;
  position:relative;
  transform: rotate(-90deg);
  transform-origin: center;
  white-space:nowrap;
  text-transform:capitalize;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 2px 6px rgba(0,0,0,0.06);
  padding:0;
  align-self:center;
  justify-self:center;
  /* nudge the rotated label slightly into the content so it feels closer */
  margin-right: -6px;
  z-index:3;
}

/* Vertical title wrapper for category pages (like the attached image) */
.vertical-title-wrap{display:flex}
.vertical-title{font-size:28px;color:var(--muted);font-weight:800;letter-spacing:2px;align-self:center}
.vertical-title-wrap{display:flex}
.vertical-title{
  font-size:20px;
  color:#5a4030;
  font-weight:800;
  letter-spacing:6px;
  align-self:center;
}

/* Narrow column treatment used in screenshots: center and add small horizontal padding */
.side-text, .list-title{padding-left:8px;padding-right:8px}

@media (max-width:420px){
  .list-title{font-size:16px;letter-spacing:3px}
  .vertical-title{font-size:18px;letter-spacing:4px}
}
.horizontal-title{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-size:20px;font-weight:800;color:#6b4a39}
.title-left{order:1}
.title-right{order:2;color:#5a4030;opacity:0.95}
.list-items{flex:1;display:flex;flex-direction:column;gap:14px;padding-top:6px}
.item{display:flex;gap:4px;align-items:flex-start}
.item-text{flex:1;display:flex;flex-direction:column;justify-content:flex-start}
.item-title{margin:0;font-size:18px;color:#2b2b2b;font-weight:600}
.item-title.small-title,
.item-title.small-title.editable-label {
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.05;
  letter-spacing: 0.2px;
}
.item-price{color:#6b4a39;margin-top:6px;font-weight:600}
.item-desc{margin:8px 0 0;color:#6b5a4f;font-size:13px}
.item-img{flex:0 0 70px;display:flex;align-items:flex-start}
.item-img img{width:70px;height:70px;object-fit:cover;border-radius:12px}
.badge.small{display:inline-block;padding:6px 8px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,0.06);font-size:12px;color:#5a4030;margin-top:8px}

/* item detail blocks (NASIL BIR SEY? / ICINDEKI SEYLER) */
.item-details{margin-top:10px;color:#6b4a39}
.detail{margin-bottom:12px}
.detail-title{margin:0 0 6px;font-size:14px;color:#6b4a39;letter-spacing:0.6px}
.detail-desc{margin:0;color:#6b4a39}
.detail-ingredients{margin:6px 0 0;color:#a46b4a;font-style:italic}

/* menu-listview tweaks */

.menu-group-header {
  background: #f7e7d3;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #6b4a39;
  padding: 8px 16px 4px 16px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  letter-spacing: 1px;
  border-left: 4px solid #b9752b;
}
.menu-listview .list-items {
  margin-top: 0;
}

.menu-listview .item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.menu-listview .item-title {
  margin: 0;
  color: #2b2b2b; /* keep original font and size */
  font-size: 14px; /* reduced from 16px */
  font-weight: 600; /* make menu titles bold */
}
.menu-listview .item-price {
  color: #6b4a39;
  margin: 0 0 0 12px;
  font-weight: 700;
  font-size: 14px; /* match title size */
}
.menu-listview {
  padding: 12px 0;
}
.menu-listview + .menu-listview {
  border-top: none; /* Çizgi kaldırıldı */
  margin-top: 0; /* Üst boşluk kaldırıldı */
  padding-top: 0; /* Üst dolgu kaldırıldı */
}

/* section separation */
.menu-listview{padding:16px 0}
.menu-listview + .menu-listview{border-top:1px solid rgba(0,0,0,0.04);margin-top:20px;padding-top:20px}
.menu-listview .list-title{padding-right:22px;font-size:16px; /* slightly smaller vertical label */}

@media (max-width:420px){
  .list-view, .menu-listview{gap:12px}
  .list-title{font-size:16px}
  .menu-listview .item-title, .menu-listview .item-price { font-size: 13px; }
  .menu-listview .list-title { font-size: 14px; }
}

/* menu columns (resimsiz) */
.menu-columns{display:flex;gap:20px;padding-top:10px}
.col{flex:1}
.col-title{margin:0 0 8px;color:#6b4a39;font-weight:700;font-size:18px}
.menu-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.menu-list li{display:flex;justify-content:space-between;align-items:flex-start;padding:6px 8px}
.menu-list .name{color:#2b2b2b}
.menu-list .price{color:#6b4a39}

@media (max-width:640px){
  .menu-columns{flex-direction:column}
}

.card{position:relative;display:block;overflow:hidden;border-radius:16px;background:var(--card);box-shadow:0 6px 18px rgba(0,0,0,0.12);text-decoration:none}
.card img{display:block;width:100%;height:100%;object-fit:cover}

.card.big{height:120px;border-radius:18px}
.card.wide{height:110px;border-radius:18px;background:rgba(255,255,255,0.12);box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.card.small{flex:1;height:110px;border-radius:14px}

.card .label{
  position:absolute;
  /* hug the image corner */
  left:6px !important;
  bottom:6px !important;
  display:inline-block;
  /* semi-transparent white so underlying image shows through (less opaque) */
  background: rgba(255,255,255,0.42);
  /* subtle frosted glass effect on supported browsers */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding:8px 12px;
  border-radius:16px;
  font-size:14px;
  color:#5a4030;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

/* Decorative underline for wide card (Salty Things) */
.card.wide .label{padding-bottom:12px}

/* enforce consistent bottom-left offsets per card size to avoid specificity issues */
.card.big .label,
.card.small .label,
.card.wide .label{
  left:6px !important;
  bottom:6px !important;
}

@media (max-width:420px){
  /* keep labels snug on small screens */
  .card .label, .card.big .label, .card.small .label, .card.wide .label{
    left:6px !important;
    bottom:6px !important;
    padding:6px 10px;
    font-size:13px;
    border-radius:14px;
  }
}
.card.wide:after{display:none}
.card .badge{position:absolute;right:12px;top:12px;background:#fff;padding:6px 8px;border-radius:12px;font-size:11px;color:#5a4030;box-shadow:0 2px 6px rgba(0,0,0,0.08)}

/* Modern transparent entrance + hover animations for label and badge */
@keyframes overlayIn{
  0%{opacity:0;transform:translateY(6px) scale(.995)}
  60%{opacity:1;transform:translateY(-2px) scale(1.01)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

.card .label, .card .badge{
  /* start hidden and animate in */
  opacity:0;
  transform-origin:left center;
  transition:transform .22s cubic-bezier(.2,.9,.2,1), box-shadow .22s ease, background .18s ease, color .18s ease;
  will-change:transform, opacity, backdrop-filter, box-shadow;
  animation: overlayIn .48s cubic-bezier(.2,.9,.2,1) both;
}

.card .badge{ animation-delay:.06s }
.card .label{ animation-delay:.12s; z-index:2 }

/* Hover/focus interactions */
.card:hover .label{
  transform:translateY(-4px) scale(1.02);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.card:hover .badge{
  transform:translateY(-2px) scale(1.03);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.card .label:focus, .card .badge:focus{ outline:2px solid rgba(0,0,0,0.06); outline-offset:3px }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  .card .label, .card .badge{
    animation:none !important;
    transition:none !important;
    transform:none !important;
    opacity:1 !important;
  }
}

/* slightly rounded large top image like screenshot */
.card.big img{border-radius:14px}

/* responsive tweak for very narrow phones */
@media (max-width:360px){
  .wrap{padding:12px}
  .card.big{height:130px}
}

/* Responsive tweaks for menu items: reduce image size on narrow screens so text has room */
@media (max-width:420px){
  .item-img{flex:0 0 90px}
  .item-img img{width:90px;height:90px}
  .item-desc{font-size:13px}
}

/* Splash overlay animation */
.splash{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#8F4E35;z-index:9999;transition:opacity .4s ease;width:100vw;height:100vh}
.splash-inner{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:24px;padding:0;width:100%;height:100%}
.splash-left{transform:translateX(0);opacity:0;animation:slideIn .9s ease forwards}
.splash-left img{max-width:56vw;max-height:56vh;width:auto;height:auto;object-fit:contain}
.splash-right{transform:translateX(0);opacity:0;animation:slideInText .9s .12s ease forwards}
.splash-text{font-size:36px;color:#fff;font-weight:800;letter-spacing:2px}

@keyframes pop{
  0%{transform:scale(.6);opacity:0}
  60%{transform:scale(1.06);opacity:1}
  100%{transform:scale(1);opacity:1}
}
@keyframes fadeUp{
  to{opacity:1;transform:translateY(0)}
}

@keyframes slideIn{
  0%{transform:translateX(-60px);opacity:0}
  70%{transform:translateX(8px);opacity:1}
  100%{transform:translateX(0);opacity:1}
}
@keyframes slideInText{
  0%{transform:translateX(-40px);opacity:0}
  100%{transform:translateX(0);opacity:1}
}

/* Mini gallery styles */
.mini-gallery{ padding:4px 4px; background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
.gallery-track{ display:flex; gap:6px; align-items:center; overflow:hidden; white-space:nowrap; scroll-behavior:smooth }
.gallery-track .gitem{ border:0; background:transparent; padding:0; flex:0 0 120px; height:80px; display:inline-flex; border-radius:8px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.12); transition:transform .25s ease; cursor:pointer }
.gallery-track .gitem img{ width:100%; height:100%; object-fit:cover; display:block }
.gallery-track .gitem:hover{ transform:scale(1.08); z-index:3 }

/* Modal */
.gallery-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,0.6); z-index:9999 }
.gallery-modal[aria-hidden="false"]{ display:flex }
.gallery-modal .modal-inner{ position:relative; max-width:90vw; max-height:90vh }
.gallery-modal img{ max-width:100%; max-height:100%; border-radius:8px; display:block }
.modal-close{ position:absolute; right:-10px; top:-10px; background:#fff; border-radius:999px; width:36px; height:36px; border:0; box-shadow:0 6px 18px rgba(0,0,0,0.2); cursor:pointer }

@media (max-width:600px){
  .gallery-track .gitem{ flex:0 0 110px; height:80px }
}

/* Make splash logo smaller on narrow screens */
@media (max-width:420px){
  .splash-left img{max-width:46vw;max-height:46vh}
}

/* Single unified decorative divider above gallery: thin subtle line (matches provided image) */
.mini-gallery::before{
  display: none; /* Çizgi kaldırıldı */
}

/* small cosmetic spacing to match screenshot */
/* Removed negative margin so rows sit below the hero with more breathing room */
.grid > a.card + .row{margin-top:6px}

/* make row cards' images have rounded corners individually */
.row .card.small img{border-radius:12px}

/* --- footer design similar to the attached image --- */
.footer-design{margin-top:20px;background:#fbf5ea;border-radius:8px;padding:18px 14px;color:#5b4438}
.footer-top-row{display:flex;align-items:flex-start;justify-content:center;gap:12px;flex-wrap:nowrap}
.footer-brand{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;margin-left:0}
.footer-logo{display:flex;align-items:center;gap:10px}
.footer-schedule.with-logo{display:flex;flex-direction:column;gap:4px;flex:0 0 340px;min-width:220px;max-width:420px;background:#fff;padding:10px 12px 8px 12px;border-radius:16px;box-shadow:0 2px 6px rgba(0,0,0,0.04);margin:0 auto}
.footer-schedule .schedule-content-row{display:flex;flex-direction:row;align-items:flex-start;gap:18px}
.footer-schedule .schedule-list{padding:0;margin:0;display:flex;flex-direction:column;gap:2px;font-size:12px;line-height:1.1;color:#6b4a39}
.footer-schedule .footer-logo-img{width:80px;height:auto;object-fit:contain;align-self:flex-start;margin-top:2px}
.schedule-square{width:18px;height:18px;border-radius:6px;background:#fff;border:1px solid rgba(0,0,0,0.04)}
.schedule-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:1.1;color:#6b4a39}
.schedule-list li{display:flex;align-items:center;justify-content:flex-start;gap:4px;white-space:nowrap}
.schedule-list .day{flex:0 0 80px;color:#6b4a39;font-size:12px;font-weight:400;}
.schedule-list .time{flex:0 0 auto;color:#383E42;font-weight:400;margin-left:2px;font-size:12px;white-space:nowrap}
.schedule-divider{height:1px;background:rgba(0,0,0,0.06);border-radius:2px;margin-top:8px}
.footer-phone-row{display:flex;align-items:center;gap:2px;margin-top:4px}
.footer-socials-inline.right {
  margin-left:auto;
  display:flex;
  gap:2px;
  align-items:center;
  justify-content:flex-end;
}
.footer-phone{display:inline-block;color:#383E42;font-weight:700;text-decoration:none;font-size:12px;letter-spacing:0.5px}
.footer-socials-inline{display:flex;gap:2px;align-items:center;margin-left:2px}
.footer-socials-inline .social-link{width:28px;height:28px;padding:0;border-radius:6px;background:transparent;color:#383E42;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.footer-brand{display:flex;align-items:center;justify-content:center}
.footer-schedule .footer-brand{margin-left:auto}
.footer-logo-img{width:88px;height:auto;object-fit:contain}
.footer-socials{display:flex;gap:14px;justify-content:center;margin-top:12px}
.social-link{display:inline-flex;align-items:center;justify-content:center;width:38px;height:28px;border-radius:6px;background:transparent;color:#383E42;text-decoration:none}
.footer-copyright{
  margin-top:8px;
  font-size:9px;
  color:#000000;
  text-align:center;
  letter-spacing:0.05px;
  font-weight:300;
}
.sun-dot{width:48px;height:48px;border-radius:50%;background:#f5dca8;box-shadow:inset 0 -4px 0 rgba(0,0,0,0.03)}
.sun-text{font-size:11px;color:#6b5043;letter-spacing:1px}

.footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.footer-hours{text-align:right}
.hours-title{font-size:13px;color:#9b8679}
.hours-time{font-size:15px;color:#6b4a3b}
.footer-social{display:flex;gap:10px}
.social{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:transparent;color:#5b4438;text-decoration:none;font-weight:700}

.footer-bottom-row{margin-top:12px;text-align:center;display:flex;justify-content:center}
.footer-divider{height:1px;background:rgba(0,0,0,0.06);margin-bottom:10px}
.footer-copy{font-size:12px;color:#6b4a3b}

.contact-row .contact-inline{font-size:12px;color:#8b6b64;letter-spacing:0.4px;display:flex;gap:12px;align-items:center;white-space:nowrap}
.contact-row .contact-hours{color:#8b6b64}
.contact-row .contact-phone{color:#8b6b64;text-decoration:none;font-weight:600}
.contact-row .contact-phone:active, .contact-row .contact-phone:focus{outline:2px solid rgba(139,107,100,0.12);border-radius:4px}
.contact-row .contact-insta{display:inline-flex;align-items:center;gap:6px;color:#8b6b64;text-decoration:none}
.insta-icon{display:inline-block;vertical-align:middle}
.contact-row .contact-insta:hover .insta-icon{filter:brightness(1.1);transform:translateY(-2px);transition:transform .15s ease, filter .15s ease}

.centered-insta{display:flex;justify-content:center;margin:8px 0}
.social-center{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:transparent}
.social-center svg{transition:transform .15s ease, filter .15s ease}
.social-center:hover svg{transform:translateY(-3px);filter:brightness(1.08)}

/* Rotating Logo Container Styles */
.logo-container {
  position: relative;
  width: 125px; /* slightly larger container */
  height: 125px;
  transform: translateX(-8px); /* nudge whole logo a bit left */
}

.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center inside container */
  width: 54%; /* slightly larger center image for visual emphasis */
}

.circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center ring in container */
  width: 100%; /* outer ring fills the container and is proportional */
  -webkit-animation: rotate 9s linear infinite; /* iOS/old WebKit */
  -webkit-animation-direction: reverse;
  animation: rotate 9s linear infinite; /* slower, smooth full rotation */
  animation-direction: reverse;
  will-change: transform; /* hint to browser for smoother animation */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* WebKit-prefixed keyframes for older iOS/Android webviews */
@-webkit-keyframes rotate {
  0% { -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); }
  100% { -webkit-transform: translate(-50%, -50%) rotate(360deg); transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile scaling for the logo container so ring and center are proportional on small screens */
@media (max-width:420px){
  .logo-container{ width:100px; height:100px }
  .circle-text{ width:100% }
  .center-logo{ width:54% }
}

/* Side-text vertical label (left side) */
.list-view{ position: relative; }

/* Small phones */
@media (max-width:420px){
  .side-text{ display:none; }
  /* smaller left column so rotated title fits on small screens */
  .list-view{ grid-template-columns: 32px 1fr; gap:6px }
  .list-view .list-items{ margin-left:0; }
  .list-view .list-title{ font-size:14px; letter-spacing:1px }
}

/* Narrow / medium screens */
@media (min-width:421px) and (max-width:800px){
  .side-text{ display:none; }
  .list-view{ grid-template-columns: 40px 1fr; gap:8px }
  .list-view .list-items{ margin-left:0; }
  .list-view .list-title{ font-size:16px; letter-spacing:1.5px }
}

/* Desktop */
@media (min-width:801px){
  /* desktop: left column is larger so the rotated title has room */
  .list-view{ grid-template-columns: 52px 1fr; gap:8px }
  .list-view .list-items{ margin-left:0; }
  .list-view .list-title{ font-size:18px; letter-spacing:2px }
}

/* Ensure very long rotated titles don't wrap or clip: allow overflow visible and prevent hyphenation */
.list-view .list-title{ overflow:visible; -webkit-hyphens:none; hyphens:none }

/* Make the right logo fixed like the left logo */
.brand-right {
  position: fixed;
  top: 20px; /* Add spacing from the top */
  right: 20px; /* Add spacing from the right */
  z-index: 1000;
  pointer-events: none;
  display: block;       /* görünür kalsın */
}
.header-right-img {
  width: 500px; /* büyütülmüş boy */
  height: auto;
  object-fit: contain;
  transform: translateX(30px); /* hafifçe sağa it */
  transition: width .18s ease, transform .18s ease;
}

/* Decorative side images in the left and right page gutters */
.side-image{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 92px;            /* default visual size */
  max-width: 16vw;        /* scale on larger screens */
  height: auto;
  opacity: 0.95;
  pointer-events: none;   /* don't block touches/clicks */
  z-index: 9997;          /* behind header-right (9998+) but above page background */
  user-select: none;
}
.side-image.left{ left: 10px; }
.side-image.right{ right: 10px; }

@media (min-width:801px){
  .side-image{ width:120px; max-width:140px }
}

@media (max-width:420px){
  /* hide decorative gutter artwork on small phones to save space */
  .side-image{ display:none }
}

/* simple centered container for left/right decorative images and an inline menu */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin: 12px 0; /* small breathing room */
}

.decor-left,
.decor-right {
  display: block !important; /* Force visibility to override other styles */
  width: 40px;  /* ihtiyaca göre ayarla */
  height: auto;
  opacity: 0.7; /* çok dikkat dağıtmasın */
  pointer-events: none;
}

@media (max-width:420px){
  .decor-left, .decor-right { display:none }
}

/* mobil uyumluluk */
@media (max-width:420px){
  .header-right-img{width:110px;transform:translateX(6px)}
  .header-left-img{width:120px}
}

/* second small corner logo (stacked near the existing one) */
.brand-right-2{
  /* anchor the small header image to the far right end of the header */
  position: absolute; /* positioned relative to the header */
  top: 50%; /* vertically center within header */
  right: 0; /* stick to the header's right edge */
  transform: translateY(-50%); /* perfect vertical centering */
  z-index: 6;
  pointer-events: auto;
  display: block;
  padding-right: 8px; /* small gap from page edge */
}
.header-right-img-2{
  width: 220px; /* bumped up default size */
  height: auto;
  object-fit:contain;
  opacity: 0.98;
  /* push further right so it appears noticeably to the right of the left logo */
  transform: translateX(90px);
  transition: width .18s ease, transform .18s ease;
}

/* clone container for the second logo so fixed positioning works when main element is removed/hidden */
.brand-right-clone .header-right-img-clone-2{
  /* hide the clone for the second logo so it doesn't reappear fixed while scrolling */
  display: none !important;
}

@media (max-width:420px){
  /* keep a safe inset on small phones so the image doesn't collide with system UI */
  .brand-right-2{ right: 10px; top: 8px }
  .header-right-img-2{ width:140px; transform: translateX(28px); }
}

/* On larger screens move the small in-header image visibly further to the right */
@media (min-width:801px){
  .brand-left { max-width: 60%; }
  /* larger desktop: keep the corner image significantly bigger */
  .brand-right-2 { right: 18px; top: 18px; }
  .header-right-img-2 { width:320px; transform: translateX(180px); }
}

/* Smooth fade and slide transitions */
.fade-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Spring/easing animations */
@keyframes spring {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.spring {
  animation: spring 0.6s cubic-bezier(0.25, 1.25, 0.5, 1.25);
}

/* Backdrop blur / frosted glass effects */
.frosted-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
}
.btn.tiny{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 6px;
  font-size:12px;
  border-radius:8px;
  border:0;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}
.btn.tiny.editPrice{ background: #ffe9d6; color: #b9752b }
.btn.tiny.editDesc{ background: #e8f6ff; color: #1a73b8 }
.btn.tiny:active{ transform:translateY(1px) }

/* Icon strip sliding animation */
.icon-strip-wrap {
  /* keep strip in normal document flow so it can sit under specific cards */
  position: relative;
  overflow: hidden; /* hide edges so we can mask them with gradients */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* allow clicks to pass through unless on children */
}

.icon-strip-wrap::before,
.icon-strip-wrap::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
}
.icon-strip-wrap::before{
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(0,0,0,0));
}
.icon-strip-wrap::after{
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(0,0,0,0));
}
.icon-strip {
  display: inline-flex;
  gap: 70px;
  align-items: center;
  animation: slide-left 12s linear infinite;
  /* make it slightly transparent/frosted */
  opacity: 0.95;
}
.icon-strip img {
  height: 100px;
  opacity: 0.95;
  filter: saturate(0.6);
}

/* When icon strip directly follows the wide card (Salty Things), tuck it into that gap */
.card.wide + .icon-strip-wrap{
  margin-top: 0px; /* minimal gap */
  margin-bottom: 6px;
  pointer-events: auto; /* enable interactions */
}

@media (max-width:420px){
  .card.wide + .icon-strip-wrap{margin-top:0px}
  .icon-strip img{height:34px}
}

@keyframes slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-30%); }
}

/* reduce motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .icon-strip { animation: none; }
}

/* Tiny edit buttons used by admin listing rows */
.btn.tiny{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 6px;
  font-size:12px;
  border-radius:8px;
  border:0;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}
.btn.tiny.editPrice{ background: #ffe9d6; color: #b9752b }
.btn.tiny.editDesc{ background: #e8f6ff; color: #1a73b8 }
.btn.tiny:active{ transform:translateY(1px) }

/* Admin modal utility helpers (subset of Tailwind-like classes used by admin.html) */
/* These are intentionally minimal so the admin modals (editModal / editTextModal)
  can be toggled using classList.add/remove('hidden'|'flex') from the admin JS. */
.hidden { display: none !important; }
.flex { display: flex !important; }
.fixed { position: fixed !important; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0 !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.bg-black { background-color: #000 !important; }
.bg-opacity-40 { background-color: rgba(0,0,0,0.4) !important; }
.bg-white { background-color: #fff !important; }
.rounded { border-radius: 8px !important; }
.w-96 { width: 384px !important; }
.p-4 { padding: 1rem !important; }
.shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important; }
.text-lg { font-size: 1.125rem !important; }
.font-semibold { font-weight: 600 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }

/* Ensure admin modals appear above other content */
#editModal, #editTextModal { z-index: 10000; }

