/* GAMEBOX Mobile layout hotfix v1 — additive / safe to remove */
html { max-width:100%; overflow-x:clip; }
body { width:100%; max-width:100%; overflow-x:clip; }
*, *::before, *::after { box-sizing:border-box; }
img, video, iframe, svg { max-width:100%; }
.wrap, main, section, header, footer, .hero-grid, .cards, .packages, .menu-grid, .feature-grid { min-width:0; max-width:100%; }
.hero-grid > *, .heading > *, .cards > *, .packages > *, .menu-grid > *, .feature-grid > *, .game, .game .content, .package, .menu-row, .menu-text, .footer-grid > * { min-width:0; }
.hero-art { max-width:100%; transform:none; }
.hero-art .art { transform:none; }
.game .photo { width:100%; aspect-ratio:16/10; height:auto; max-height:none; background-size:cover; background-position:center; background-repeat:no-repeat; }
.package-image { display:block; width:100%; height:190px; max-height:none; aspect-ratio:auto; object-fit:cover; object-position:center; background:#171428; border-radius:14px; }
#details-content .detail-image { display:block; width:100%; height:auto; max-height:240px; object-fit:contain; object-position:center; }
.menu-grid { min-width:0; }
.menu-row { min-width:0; max-width:100%; overflow:hidden; }
.menu-text { flex:1 1 0; min-width:0; overflow-wrap:anywhere; word-break:normal; }
.menu-text strong, .menu-text p { overflow-wrap:anywhere; }
.menu-price { flex:0 0 auto; font-size:clamp(13px, 1.9vw, 18px); white-space:nowrap; }
.menu-row .emoji { flex:0 0 50px; width:50px; height:50px; font-size:27px; }
.menu-row .plus { flex:0 0 34px; }
.heading, .band, .footer-grid, .game .bottom { min-width:0; }
.game .bottom { flex-wrap:wrap; }
.game .card-actions { min-width:0; }
.overlay { width:100%; max-width:100%; overflow-x:hidden; }
.modal { width:min(100%, 565px); min-width:0; }
.field, .fields { min-width:0; }
.field input, .field select, .field textarea { max-width:100%; min-width:0; }
#details-content, #booking-content, #cart-lines { min-width:0; max-width:100%; overflow-wrap:anywhere; }
@media (max-width:900px) {
  .hero-grid { grid-template-columns:minmax(0,1fr); }
  .cards, .packages { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .menu-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:600px) {
  html, body { width:100%; overflow-x:clip; }
  .wrap { width:100%; max-width:100%; padding-inline:16px; }
  .nav { min-width:0; gap:8px; }
  .logo { font-size:22px; }
  .navright { min-width:0; }
  .navright .btn { padding:10px 9px; font-size:11px; max-width:100%; }
  .hero h1 { font-size:clamp(32px, 9.6vw, 42px); overflow-wrap:break-word; }
  .hero-mini { flex-wrap:wrap; gap:12px; }
  .hero-art { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .art { min-width:0; min-height:125px; }
  .cards, .packages, .menu-grid { grid-template-columns:minmax(0,1fr); }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .heading { flex-direction:column; align-items:stretch; }
  .filters { max-width:100%; }
  .game .photo { aspect-ratio:16/10; }
  .package-image { height:185px; }
  .menu-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto; grid-template-areas:'icon title price' 'icon title plus'; gap:7px 10px; align-items:center; padding:11px; }
  .menu-row .emoji { grid-area:icon; width:44px; height:44px; font-size:24px; }
  .menu-row .menu-text { grid-area:title; }
  .menu-row .menu-price { grid-area:price; text-align:right; font-size:15px; }
  .menu-row .plus { grid-area:plus; justify-self:end; width:32px; height:32px; }
  .menu-text strong { display:block; font-size:12px; line-height:1.4; }
  .menu-text p { font-size:10px; line-height:1.4; }
  .band { padding:21px; }
  .band h2 { font-size:23px; overflow-wrap:anywhere; }
  .modal { padding:17px; max-height:92dvh; }
  .modal-actions { flex-wrap:wrap; }
  .floating-cart { right:12px; bottom:12px; max-width:calc(100vw - 24px); }
}
@media (max-width:360px) {
  .wrap { padding-inline:12px; }
  .navright .btn { font-size:10px; padding:9px 7px; }
  .hero-art .art { min-height:110px; }
  .art b { font-size:12px; }
  .menu-row { grid-template-columns:38px minmax(0,1fr) auto; gap:6px; }
  .menu-row .emoji { width:38px; height:38px; font-size:21px; }
  .menu-row .menu-price { font-size:13px; }
}

/* GAMEBOX v2 – full-bleed preview images; original full image in details */
#game-cards .game .photo,
.cards .game .photo {
  width:100% !important;
  height:clamp(170px, 22vw, 215px) !important;
  aspect-ratio:16/10;
  max-height:none !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-color:#151326;
}
#package-cards .package-image,
.packages .package-image {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:200px !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:#171428;
  border-radius:14px;
}
/* Keep full image visible when customer chooses “სრულად ნახვა”. */
#details-content .detail-image {
  max-width:100% !important;
  width:100% !important;
  height:auto !important;
  max-height:260px !important;
  object-fit:contain !important;
}
@media(max-width:600px){
  #game-cards .game .photo { height:200px !important; }
  #package-cards .package-image { height:190px !important; }
  #details-content .detail-image { max-height:230px !important; }
}
