@font-face{
  font-family:"Mouthfeel Display";
  src:url("assets/mouthfeel.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

:root{
  --ink:#11100e;
  --deep:#082b38;
  --cream:#f7f0e3;
  --cream2:#efe7d7;
  --red:#ef2d23;
  --orange:#f36b21;
  --yellow:#ffd31e;
  --blue:#2caeea;
  --white:#fff;
  --shadow:0 18px 40px rgba(17,16,14,.16);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"DM Sans",sans-serif;
}

body.modal-open,
body.cart-open{
  overflow:hidden;
}

button,
input{
  font:inherit;
}

button{
  color:inherit;
}

a{
  color:inherit;
  text-decoration:none;
}

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


/* HEADER */

.order-header{
  min-height:78px;
  padding:10px 4vw;
  display:grid;
  grid-template-columns:120px 1fr 120px;
  align-items:center;
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(247,240,227,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(17,16,14,.12);
}

.order-brand img{
  width:92px;
}

.order-header-center{
  display:flex;
  justify-content:center;
}

.header-location{
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.08em;
}

.status-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 0 4px rgba(243,107,33,.12);
}

.chev{
  font-size:1.1rem;
  line-height:1;
}

.cart-button{
  justify-self:end;
  border:2px solid var(--ink);
  border-radius:999px;
  background:var(--yellow);
  padding:9px 14px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  cursor:pointer;
  box-shadow:3px 3px 0 var(--ink);
}

.cart-button span{
  display:inline-grid;
  place-items:center;
  min-width:22px;
  height:22px;
  margin-left:5px;
  border-radius:999px;
  background:var(--ink);
  color:var(--white);
  font-family:"DM Sans",sans-serif;
  font-size:.7rem;
  font-weight:900;
}


/* PHOTO BANNER */

.order-photo-banner{
  height:235px;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(8,43,56,.08),rgba(8,43,56,.08)),
    url("assets/og-thicc.webp") center 30% / cover no-repeat;
}

.order-photo-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(44,174,234,.78) 0 20%,
      transparent 20% 72%,
      rgba(243,107,33,.78) 72% 100%
    );
  mix-blend-mode:multiply;
}

.order-photo-copy{
  position:absolute;
  inset:auto 4vw 20px;
  z-index:2;
  display:flex;
  justify-content:space-between;
  color:white;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:clamp(1.2rem,2.2vw,2.2rem);
  text-shadow:2px 2px 0 var(--ink);
}


/* MAIN */

.order-main{
  padding:48px 4vw 100px;
}

.order-intro{
  max-width:1180px;
  margin:0 auto 25px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:30px;
}

.order-kicker,
.category-eyebrow,
.item-eyebrow{
  margin:0 0 7px;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.14em;
}

.order-intro h1,
.category-heading h2,
.item-body h2,
.cart-head h2{
  margin:0;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  text-transform:uppercase;
}

.order-intro h1{
  font-size:clamp(4rem,7vw,7.4rem);
  line-height:.78;
}

.service-summary{
  max-width:370px;
  padding:14px 18px;
  border:2px solid var(--ink);
  border-radius:14px;
  display:grid;
  gap:3px;
  background:var(--white);
  box-shadow:4px 4px 0 var(--ink);
}

.service-summary strong{
  font-size:.85rem;
}

.service-summary span{
  font-size:.72rem;
  opacity:.7;
}


/* CATEGORY NAV */

.category-nav{
  max-width:1180px;
  margin:0 auto 55px;
  display:flex;
  gap:10px;
  position:sticky;
  top:94px;
  z-index:20;
  padding:9px 0;
  background:linear-gradient(var(--cream) 72%,rgba(247,240,227,0));
}

.category-button{
  border:2px solid var(--ink);
  border-radius:999px;
  background:var(--cream);
  padding:10px 18px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  cursor:pointer;
}

.category-button.active,
.category-button:hover{
  background:var(--yellow);
  box-shadow:3px 3px 0 var(--ink);
}


/* MENU */

.menu-category{
  max-width:1180px;
  margin:0 auto 78px;
  scroll-margin-top:155px;
}

.category-heading{
  margin-bottom:24px;
}

.category-heading h2{
  font-size:clamp(2.8rem,5vw,5rem);
  line-height:.85;
}

.order-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.order-grid--fries{
  grid-template-columns:minmax(0,380px);
}

.product-card{
  border:1.7px solid rgba(17,16,14,.48);
  border-radius:20px;
  padding:0;
  overflow:hidden;
  background:rgba(255,255,255,.24);
  text-align:left;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.product-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  background:var(--white);
}

.product-photo{
  height:285px;
  padding:18px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 55% 42%,rgba(255,211,30,.22),transparent 40%);
}

.product-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .22s ease;
}

.product-card:hover .product-photo img{
  transform:scale(1.045) rotate(-1deg);
}

.product-photo--fries{
  background:#fff7e6;
}

.product-info{
  min-height:140px;
  padding:19px 20px 22px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.product-info h3{
  margin:0 0 7px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:1.5rem;
  line-height:.95;
  text-transform:uppercase;
}

.product-info p{
  margin:0;
  max-width:290px;
  font-size:.78rem;
  line-height:1.42;
  opacity:.76;
}

.product-price{
  flex:0 0 auto;
  font-weight:900;
  font-size:.92rem;
}

.product-card--placeholder{
  max-width:380px;
}

.salad-art{
  height:285px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:2px;
  position:relative;
  overflow:hidden;
  background:var(--orange);
  color:var(--ink);
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:3rem;
  line-height:.75;
}

.salad-circle{
  width:106px;
  height:106px;
  display:grid;
  place-items:center;
  margin-bottom:8px;
  border-radius:50%;
  background:var(--yellow);
  border:3px solid var(--ink);
  font-size:1.25rem;
  transform:rotate(-8deg);
}


/* SHARED MODALS */

.location-modal,
.item-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:28px;
}

.location-modal[hidden],
.item-modal[hidden]{
  display:none;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(17,16,14,.58);
  backdrop-filter:blur(4px);
  cursor:pointer;
}

.modal-close{
  position:absolute;
  top:14px;
  right:15px;
  z-index:4;
  width:42px;
  height:42px;
  border:2px solid var(--ink);
  border-radius:50%;
  background:var(--yellow);
  font-size:1.7rem;
  cursor:pointer;
}


/* LOCATION MODAL */

.location-panel{
  position:relative;
  z-index:2;
  width:min(1040px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:18px;
  background:var(--cream);
  box-shadow:0 30px 90px rgba(0,0,0,.32);
}

.location-visual{
  min-height:255px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 30% 35%,rgba(255,255,255,.25),transparent 18%),
    linear-gradient(125deg,var(--blue) 0 39%,var(--orange) 39% 100%);
}

.location-visual::before,
.location-visual::after{
  content:"";
  position:absolute;
  width:380px;
  height:150px;
  border-radius:50%;
  background:#c87521;
  border:8px solid #8d4810;
  opacity:.92;
}

.location-visual::before{
  left:-70px;
  top:50px;
  transform:rotate(-10deg);
}

.location-visual::after{
  right:-65px;
  top:10px;
  transform:rotate(13deg);
}

.location-visual img{
  width:160px;
  position:relative;
  z-index:3;
  filter:drop-shadow(0 8px 0 rgba(17,16,14,.25));
}

.location-visual-type{
  position:absolute;
  right:5%;
  bottom:20px;
  z-index:3;
  color:white;
  text-align:right;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  text-shadow:2px 2px 0 var(--ink);
}

.location-visual-type span{
  display:block;
  font-size:1.3rem;
}

.location-visual-type strong{
  display:block;
  font-size:3rem;
  line-height:.8;
}

.location-body{
  padding:34px 40px 42px;
}

.fulfillment-toggle{
  margin:-8px 0 30px;
  padding:7px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  border-radius:999px;
  background:#e8e0d3;
}

.fulfillment-tab{
  height:52px;
  border:0;
  border-radius:999px;
  background:transparent;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:1.15rem;
  cursor:pointer;
}

.fulfillment-tab.active{
  background:white;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}

.location-label{
  margin:0 0 12px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:2rem;
}

.nearest-button{
  border:0;
  background:transparent;
  padding:0;
  display:flex;
  gap:9px;
  align-items:center;
  font-weight:800;
  cursor:pointer;
}

.nearest-button span{
  font-size:1.3rem;
}

.location-search{
  margin:18px 0 26px;
  display:grid;
  grid-template-columns:1fr 60px;
  border:1.7px solid rgba(17,16,14,.5);
  border-radius:12px;
  overflow:hidden;
  background:white;
}

.location-search input{
  min-width:0;
  height:64px;
  border:0;
  outline:0;
  padding:0 18px;
  font-size:1rem;
}

.location-search button{
  border:0;
  background:var(--yellow);
  font-size:1.3rem;
  cursor:pointer;
}

.location-results{
  display:grid;
  gap:10px;
}

.location-option{
  width:100%;
  padding:18px 20px;
  border:1.5px solid rgba(17,16,14,.35);
  border-radius:14px;
  background:transparent;
  text-align:left;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  cursor:pointer;
  transition:transform .16s ease,background .16s ease;
}

.location-option:hover{
  transform:translateX(3px);
  background:white;
}

.option-status{
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.13em;
  color:var(--red);
}

.location-option h3{
  margin:3px 0 4px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:1.45rem;
}

.location-option p{
  margin:0 0 4px;
  font-size:.8rem;
}

.location-option small{
  opacity:.68;
}

.option-arrow{
  font-size:1.6rem;
}

.location-message{
  min-height:18px;
  margin:14px 0 0;
  font-size:.75rem;
  font-weight:700;
  color:var(--red);
}


/* ITEM MODAL */

.item-panel{
  position:relative;
  z-index:2;
  width:min(930px,94vw);
  max-height:92vh;
  overflow:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  border-radius:18px;
  background:var(--cream);
  box-shadow:0 30px 90px rgba(0,0,0,.32);
}

.item-image-wrap{
  min-height:510px;
  display:grid;
  place-items:center;
  padding:35px;
  background:
    radial-gradient(circle at center,rgba(255,211,30,.34),transparent 42%),
    #fff8e8;
}

.item-image-wrap img{
  width:100%;
  max-height:420px;
  object-fit:contain;
}

.item-image-wrap.placeholder{
  background:var(--orange);
}

.item-image-wrap.placeholder img{
  display:none;
}

.item-image-wrap.placeholder::before{
  content:"CHICKEN\\A SALAD";
  white-space:pre;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:4.2rem;
  line-height:.78;
  text-align:center;
}

.item-body{
  padding:48px 38px 36px;
}

.item-body h2{
  font-size:clamp(2.5rem,4vw,4.5rem);
  line-height:.8;
}

.item-body>p:not(.item-eyebrow):not(.item-note){
  font-size:.94rem;
  line-height:1.5;
}

.modifier-group{
  margin:28px 0;
}

.modifier-group h3{
  margin:0 0 10px;
  font-size:.75rem;
  letter-spacing:.12em;
}

.modifier-group label{
  padding:12px 0;
  display:grid;
  grid-template-columns:24px 1fr auto;
  gap:10px;
  align-items:center;
  border-bottom:1px solid rgba(17,16,14,.15);
  cursor:pointer;
}

.modifier-group input{
  accent-color:var(--orange);
}

.item-bottom{
  margin-top:32px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
}

.quantity-control{
  min-width:122px;
  height:56px;
  display:grid;
  grid-template-columns:38px 1fr 38px;
  align-items:center;
  border:2px solid var(--ink);
  border-radius:999px;
  overflow:hidden;
  background:white;
}

.quantity-control button{
  height:100%;
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:1.25rem;
}

.quantity-control span{
  text-align:center;
  font-weight:900;
}

.add-cart-button{
  min-height:56px;
  border:2px solid var(--ink);
  border-radius:999px;
  background:var(--yellow);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 22px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  box-shadow:3px 3px 0 var(--ink);
  cursor:pointer;
}

.item-note{
  min-height:18px;
  margin:12px 0 0;
  font-size:.74rem;
  font-weight:700;
  color:var(--red);
}


/* CART */

.cart-drawer{
  position:fixed;
  z-index:130;
  top:0;
  right:0;
  width:min(440px,94vw);
  height:100vh;
  padding:26px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  background:var(--cream);
  box-shadow:-20px 0 60px rgba(0,0,0,.24);
  transform:translateX(110%);
  transition:transform .24s ease;
}

.cart-drawer.open{
  transform:translateX(0);
}

.cart-scrim{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(17,16,14,.48);
}

.cart-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding-bottom:18px;
  border-bottom:2px solid var(--ink);
}

.cart-head p{
  margin:0 0 5px;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.14em;
}

.cart-head h2{
  font-size:2.7rem;
}

.cart-close{
  width:38px;
  height:38px;
  border:2px solid var(--ink);
  border-radius:50%;
  background:var(--yellow);
  cursor:pointer;
  font-size:1.5rem;
}

.cart-items{
  overflow:auto;
  padding:8px 0;
}

.cart-empty{
  padding:50px 10px;
  text-align:center;
  opacity:.65;
}

.cart-line{
  padding:15px 0;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  border-bottom:1px solid rgba(17,16,14,.15);
}

.cart-line h3{
  margin:0 0 4px;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:1.1rem;
}

.cart-line p{
  margin:0;
  font-size:.7rem;
  opacity:.7;
}

.cart-line-right{
  text-align:right;
}

.remove-line{
  margin-top:5px;
  border:0;
  background:transparent;
  padding:0;
  font-size:.65rem;
  text-decoration:underline;
  cursor:pointer;
}

.cart-footer{
  padding-top:18px;
  border-top:2px solid var(--ink);
}

.cart-subtotal{
  margin-bottom:14px;
  display:flex;
  justify-content:space-between;
  font-weight:900;
}

.checkout-button{
  width:100%;
  min-height:58px;
  padding:0 20px;
  border:2px solid var(--ink);
  border-radius:999px;
  background:var(--deep);
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-family:"Mouthfeel Display","Arial Black",sans-serif;
  font-size:1.05rem;
  cursor:pointer;
}

.cart-footer small{
  display:block;
  margin-top:9px;
  line-height:1.35;
  opacity:.58;
}


/* FOOTER */

.order-footer{
  padding:30px 4vw;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  border-top:1px solid rgba(17,16,14,.15);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
}

.order-footer img{
  width:90px;
}

.order-footer>div{
  display:flex;
  gap:20px;
}

.order-footer>span{
  justify-self:end;
}


/* RESPONSIVE */

@media(max-width:900px){
  .order-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .order-intro{
    grid-template-columns:1fr;
  }

  .service-summary{
    max-width:none;
  }

  .item-panel{
    grid-template-columns:1fr;
  }

  .item-image-wrap{
    min-height:320px;
  }
}

@media(max-width:620px){
  .order-header{
    grid-template-columns:78px 1fr 82px;
    padding:8px 14px;
  }

  .order-brand img{
    width:68px;
  }

  .header-location{
    font-size:.62rem;
  }

  .cart-button{
    font-size:.8rem;
    padding:8px 10px;
  }

  .order-photo-banner{
    height:160px;
  }

  .order-photo-copy{
    font-size:1rem;
  }

  .order-main{
    padding:32px 16px 70px;
  }

  .order-intro h1{
    font-size:4.3rem;
  }

  .category-nav{
    top:72px;
    overflow-x:auto;
    margin-bottom:35px;
  }

  .category-button{
    white-space:nowrap;
  }

  .order-grid{
    grid-template-columns:1fr;
  }

  .order-grid--fries{
    grid-template-columns:1fr;
  }

  .product-photo{
    height:265px;
  }

  .location-modal,
  .item-modal{
    padding:10px;
    align-items:end;
  }

  .location-panel,
  .item-panel{
    width:100%;
    max-height:94vh;
    border-radius:22px 22px 0 0;
  }

  .location-visual{
    min-height:180px;
  }

  .location-visual img{
    width:110px;
  }

  .location-body{
    padding:26px 20px 30px;
  }

  .item-image-wrap{
    min-height:280px;
  }

  .item-body{
    padding:30px 20px 24px;
  }

  .item-bottom{
    grid-template-columns:1fr;
  }

  .quantity-control{
    width:130px;
  }

  .order-footer{
    grid-template-columns:1fr;
    padding:28px 18px;
  }

  .order-footer>span{
    justify-self:start;
  }
}

@media(prefers-reduced-motion:reduce){
  *{
    scroll-behavior:auto!important;
    transition:none!important;
  }
}


/* ==================================================
   V13 — ORDER CONTENT CONTROL
   Keep the V12 interface; only content behaviors added.
   ================================================== */

/* Service period toggle: same pill language as existing categories. */
.service-period-nav {
  max-width: 1180px;
  margin: 0 auto 14px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.service-period-nav::-webkit-scrollbar {
  display: none;
}

.service-period-button {
  min-width: 150px;
  padding: 11px 16px 10px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.service-period-button span {
  display: block;
  font-family: "Mouthfeel Display", "Arial Black", sans-serif;
  font-size: 1.05rem;
}

.service-period-button small {
  display: block;
  margin-top: 3px;
  font-size: .6rem;
  font-weight: 800;
  opacity: .68;
}

.service-period-button.active {
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

/* Pick-your-THICC artwork: yellow-on-yellow cheese board, no blue/orange clash. */
.location-visual {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.28), transparent 17%),
    linear-gradient(
      125deg,
      #ffe870 0 42%,
      var(--yellow) 42% 100%
    );
}

.location-visual::before,
.location-visual::after {
  background: #f2a52b;
  border-color: #d67e12;
  opacity: .78;
}

.location-visual::before {
  box-shadow:
    125px 75px 0 -58px #f2a52b,
    255px 25px 0 -72px #f2a52b;
}

.location-visual::after {
  box-shadow:
    -135px 82px 0 -62px #f2a52b,
    -245px 15px 0 -72px #f2a52b;
}

.location-visual-type {
  color: var(--ink);
  text-shadow: none;
}

/* Slightly reposition the order-page food hero to expose more top bun. */
.order-photo-banner {
  background-position: center 30%;
}

/* Keep "Order Now" white-label friendly. */
.checkout-button {
  background: var(--deep);
}

.menu-empty-card {
  min-height: 210px;
  padding: 28px;
  border: 1.7px dashed rgba(17,16,14,.35);
  border-radius: 20px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.menu-empty-card strong {
  font-family: "Mouthfeel Display", "Arial Black", sans-serif;
  font-size: 1.5rem;
}

.menu-empty-card span {
  font-size: .76rem;
  opacity: .65;
}

@media(max-width:620px) {
  .service-period-button {
    min-width: 132px;
  }

  .order-photo-banner {
    background-position: center 28%;
  }
}


/* ==================================================
   V14 — THICC CHECKOUT / SQUARE SANDBOX
   Extends V13 without changing the existing interface.
   ================================================== */

.checkout-modal[hidden] {
  display: none !important;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,16,14,.58);
  backdrop-filter: blur(5px);
}

.checkout-panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: auto;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 9px 9px 0 var(--ink);
}

.checkout-panel-head {
  padding: 22px 24px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
}

.checkout-panel-head p,
.checkout-summary > p {
  margin: 0 0 5px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.checkout-panel-head h2,
.checkout-success h2 {
  margin: 0;
  font-family: "Mouthfeel Display","Arial Black",sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: .82;
}

.checkout-close {
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
}

.checkout-customer {
  padding: 24px;
}

.checkout-customer > label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .11em;
}

.checkout-customer input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1.8px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.checkout-customer input:focus {
  box-shadow: 0 0 0 3px rgba(255,211,30,.55);
}

.square-card-shell {
  margin-top: 18px;
  padding: 14px;
  border: 1.8px solid var(--ink);
  border-radius: 14px;
  background: #fff;
}

.square-card-label {
  display: block;
  margin-bottom: 8px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .11em;
}

#square-card-container {
  min-height: 90px;
}

.checkout-status {
  min-height: 22px;
  margin: 11px 0;
  font-size: .72rem;
  font-weight: 900;
}

.checkout-pay {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Mouthfeel Display","Arial Black",sans-serif;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.checkout-pay[disabled] {
  opacity: .62;
  cursor: wait;
}

.checkout-powered {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: .62rem;
  opacity: .58;
}

.checkout-summary {
  padding: 24px;
  background:
    radial-gradient(circle at 82% 15%, #f4a82f 0 22px, transparent 23px),
    radial-gradient(circle at 26% 78%, #f4a82f 0 30px, transparent 31px),
    var(--yellow);
  border-left: 2px solid var(--ink);
}

.checkout-summary-line {
  padding: 13px 0;
  border-bottom: 1px solid rgba(17,16,14,.22);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font-size: .76rem;
}

.checkout-summary-line strong,
.checkout-summary-line span {
  display: block;
}

.checkout-summary-line div > span {
  margin-top: 3px;
  font-size: .66rem;
  opacity: .65;
}

.checkout-summary-total {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .72rem;
  font-weight: 900;
}

.checkout-summary-total strong {
  font-family: "Mouthfeel Display","Arial Black",sans-serif;
  font-size: 1.8rem;
}

.checkout-pickup {
  margin-top: 14px;
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: rgba(247,240,227,.72);
}

.checkout-pickup strong,
.checkout-pickup span {
  display: block;
}

.checkout-pickup span {
  margin-top: 3px;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.checkout-success {
  padding: 50px 24px 54px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(243,107,33,.24), transparent 22%),
    var(--yellow);
}

.checkout-success > p {
  margin: 0 0 8px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.checkout-success > span {
  display: block;
  max-width: 580px;
  margin: 18px auto 22px;
  font-size: .76rem;
  overflow-wrap: anywhere;
}

.checkout-success button {
  min-width: 150px;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

@media (max-width: 720px) {
  .checkout-panel {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    margin: 9px auto;
    border-radius: 20px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .checkout-panel-head,
  .checkout-customer,
  .checkout-summary {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ==================================================
   V14.1 — GUEST PAYMENT CONFIRMATION
   ================================================== */

.confirmation-card {
  width: min(520px, 100%);
  margin: 24px auto 18px;
  padding: 6px 18px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: rgba(247,240,227,.82);
  text-align: left;
  box-shadow: 5px 5px 0 var(--ink);
}

.confirmation-row {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(17,16,14,.2);
}

.confirmation-row:last-child {
  border-bottom: 0;
}

.confirmation-row span {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: .72;
}

.confirmation-row strong {
  text-align: right;
  font-size: .78rem;
}

.confirmation-message {
  margin: 20px auto 16px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.confirmation-receipt {
  display: inline-flex;
  margin: 0 auto 18px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-size: .68rem;
  font-weight: 900;
  transition: transform .16s ease;
}

.confirmation-receipt:hover {
  transform: translateY(-2px);
}

.confirmation-receipt[hidden] {
  display: none !important;
}
