
.food-store-shell{
max-width:1160px;
margin:0 auto;
padding:28px 20px 70px}
.food-store-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
margin-bottom:18px}
.food-back-link{
font-weight:800;
color:#6d28d9}
.food-store-hero{
display:grid;
grid-template-columns:120px 1fr;
gap:24px;
align-items:center;
padding:28px;
background:linear-gradient(135deg,#fff,#f5f3ff);
border:1px solid #e5e7eb;
border-radius:24px;
margin-bottom:30px}
.food-store-logo{
width:120px;
height:120px;
border-radius:24px;
background:#fff;
display:grid;
place-items:center;
overflow:hidden;
border:1px solid #e5e7eb;
font-size:48px}
.food-store-logo img{
width:100%;
height:100%;
object-fit:cover}
.food-store-hero h1{
font-size:36px;
letter-spacing:-.04em;
margin:4px 0 8px}
.food-store-hero p{
color:#667085;
margin:0 0 12px}
.food-store-meta{
display:flex;
gap:10px;
flex-wrap:wrap}
.food-store-meta span{
background:#fff;
border:1px solid #e5e7eb;
border-radius:999px;
padding:7px 10px;
font-size:12px;
font-weight:750}
.food-menu-section{
margin:34px 0}
.food-section-title span{
font-size:11px;
letter-spacing:.12em;
text-transform:uppercase;
color:#6d28d9;
font-weight:900}
.food-section-title h2{
margin:5px 0 16px}
.food-menu-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:16px}
.food-menu-tp-card{
background:#fff;
border:1px solid #e5e7eb;
border-radius:20px;
overflow:hidden;
display:grid;
grid-template-columns:150px 1fr;
min-height:150px}
.food-menu-image{
background:#f8fafc;
display:grid;
place-items:center;
font-size:38px}
.food-menu-image img{
width:100%;
height:100%;
object-fit:cover}
.food-menu-copy{
padding:18px}
.food-menu-copy h3{
margin:0 0 6px}
.food-menu-copy p{
color:#667085;
font-size:13px;
min-height:38px}
.food-menu-bottom{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px}
.food-menu-bottom strong{
color:#111827;
font-size:16px}
.food-menu-bottom label{
font-size:12px;
color:#667085;
display:flex;
align-items:center;
gap:8px}
.food-menu-bottom input{
width:64px;
padding:8px;
border:1px solid #d0d5dd;
border-radius:10px}
.food-location-tp-card{
max-width:760px;
margin:36px auto 0;
background:#fff;
border:1px solid #e5e7eb;
border-radius:24px;
padding:24px}
.food-login-note{
padding:12px 14px;
background:#fffbeb;
border:1px solid #fde68a;
border-radius:12px;
margin:14px 0;
color:#92400e;
font-size:13px}
.food-location-tp-card select,.food-location-tp-card textarea,.food-location-tp-card input[type=search],.food-location-tp-card input[type=text]{
width:100%;
padding:12px;
border:1px solid #d0d5dd;
border-radius:12px;
background:#fff}
.food-field-label{
display:block;
font-size:12px;
font-weight:800;
margin:14px 0 6px}
.food-address-search{
display:grid;
grid-template-columns:auto 1fr auto;
align-items:center;
border:1px solid #d0d5dd;
border-radius:12px;
padding:0 10px}
.food-address-search input{
border:0!important}
.food-address-search button{
border:0;
background:transparent;
font-size:20px}
.food-address-results{
position:relative;
z-index:5}
.food-delivery-map{
height:300px;
border-radius:16px;
margin-top:12px;
background:#eef2ff}
.delivery-location-status{
font-size:12px;
color:#667085}
.save-address-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
align-items:center;
margin-top:12px}
.location-tp-card-heading{
display:flex;
gap:12px;
align-items:flex-start}
.location-tp-card-icon{
width:44px;
height:44px;
border-radius:14px;
background:#f5f3ff;
display:grid;
place-items:center}
.location-tp-card-heading h2{
margin:0}
.location-tp-card-heading p{
margin:4px 0;
color:#667085}
.food-location-tp-card .btn{
margin-top:18px;
width:100%;
min-height:46px;
background:#6d28d9;
color:#fff;
border:0;
border-radius:12px;
font-weight:850}

@media(max-width:760px){
.food-store-hero{
grid-template-columns:1fr}
.food-store-logo{
width:88px;
height:88px}
.food-store-hero h1{
font-size:30px}
.food-menu-grid{
grid-template-columns:1fr}
.food-menu-tp-card{
grid-template-columns:105px 1fr}
.save-address-row{
grid-template-columns:1fr}
}


/* TimesPack Premium Purple marketplace finish */
.tp-food-public-main{
  background:
    radial-gradient(circle at 8% 0%, rgba(117,68,220,.13), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(91,43,191,.10), transparent 24%),
    #eee7ff!important;
}
.tp-food-subnav{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(91,43,191,.12);
  box-shadow:0 3px 18px rgba(50,21,111,.07);
}
.tp-food-hero{
  background:
    radial-gradient(circle at 85% 20%, rgba(154,115,239,.30), transparent 30%),
    linear-gradient(118deg,#32156f 0%,#4b1fa5 48%,#7544dc 100%);
  box-shadow:0 12px 32px rgba(50,21,111,.18);
}
.tp-food-search{
  box-shadow:0 8px 28px rgba(50,21,111,.14);
}
.tp-food-search button{
  background:linear-gradient(135deg,#5b2bbf,#7544dc);
  box-shadow:0 6px 16px rgba(91,43,191,.25);
}
.tp-food-filterbar,
.tp-food-benefits{
  border:1px solid rgba(91,43,191,.10);
  box-shadow:0 8px 24px rgba(50,21,111,.07);
}
.tp-food-dish-card,
.tp-food-restaurant-card,
.tp-food-empty{
  border:1px solid rgba(91,43,191,.08);
  box-shadow:0 8px 24px rgba(50,21,111,.07);
}
.tp-food-dish-card:hover,
.tp-food-restaurant-card:hover{
  border-color:rgba(91,43,191,.20);
  box-shadow:0 12px 30px rgba(50,21,111,.12);
  transform:translateY(-2px);
}
.tp-food-location span,
.tp-food-section-head>div>span,
.tp-food-dish-copy span,
.tp-food-meta span:first-child{
  color:#5b2bbf;
}
.tp-food-logo-placeholder{
  background:linear-gradient(135deg,#e5d9ff,#f7f4ff);
  border:1px solid rgba(91,43,191,.10);
}

/* Food customer saved-address control */
.save-address-toggle{
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  border:1px solid #d9deea;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  font-weight:700;
}

.save-address-toggle input{
  width:18px;
  height:18px;
  margin:0;
  cursor:pointer;
}

#delivery-address-label:disabled{
  opacity:.55;
  cursor:not-allowed;
  background:#f5f6f8;
}

#delivery-address-label:enabled{
  opacity:1;
  background:#fff;
}


/* =========================================================
   TimesPack Food Customer
   Purple Clean + Compact Marketplace UX
   ========================================================= */

.food-page{
  max-width:1120px;
  margin:0 auto;
  padding:22px 18px 64px;
}

/* Merchant header */
.store-head{
  position:relative;
  padding:22px 24px;
  margin-bottom:28px;
  background:#fff;
  border:1px solid #e7e2f3;
  border-radius:20px;
  box-shadow:0 8px 24px rgba(50,21,111,.06);
}

.store-head > a{
  display:inline-flex;
  align-items:center;
  margin-bottom:14px;
  color:#5b2bbf;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.store-head > a:hover{
  text-decoration:underline;
}

.store-head h1{
  margin:0 90px 7px 0;
  color:#171321;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.025em;
}

.store-head p{
  max-width:760px;
  margin:0 0 12px;
  color:#667085;
  font-size:13px;
  line-height:1.55;
}

.store-head > b{
  display:inline-flex;
  padding:7px 11px;
  background:#f6f1ff;
  border-radius:999px;
  color:#5b2bbf;
  font-size:12px;
  font-weight:800;
}

.store-head .status{
  position:absolute;
  top:20px;
  right:22px;
  padding:7px 11px;
  border-radius:999px;
  background:#ecfdf3;
  color:#027a48;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* Menu */
.menu-section{
  margin:26px 0 30px;
}

.menu-section > h2{
  margin:0 0 14px;
  color:#201a2c;
  font-size:20px;
  letter-spacing:-.015em;
}

.menu-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.menu-tp-card{
  min-height:140px;
  display:grid;
  grid-template-columns:135px minmax(0,1fr);
  overflow:hidden;
  background:#fff;
  border:1px solid #e7e2f3;
  border-radius:18px;
  box-shadow:0 5px 18px rgba(50,21,111,.045);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.menu-tp-card:hover{
  border-color:#d4c5f4;
  box-shadow:0 9px 24px rgba(50,21,111,.08);
  transform:translateY(-1px);
}

.menu-tp-card > img{
  width:135px;
  height:100%;
  min-height:140px;
  object-fit:cover;
  background:#f7f4fc;
}

.menu-tp-card > div{
  min-width:0;
  padding:16px;
}

.menu-tp-card h3{
  margin:0 0 5px;
  color:#171321;
  font-size:16px;
  line-height:1.3;
}

.menu-tp-card p{
  min-height:36px;
  margin:0 0 10px;
  overflow:hidden;
  color:#667085;
  font-size:12.5px;
  line-height:1.45;
}

.menu-tp-card b{
  display:block;
  margin-bottom:12px;
  color:#241c32;
  font-size:16px;
}

.menu-tp-card label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#667085;
  font-size:12px;
  font-weight:700;
}

.menu-tp-card input[type=number]{
  width:68px;
  min-height:38px;
  padding:7px 8px;
  border:1px solid #d7d0e4;
  border-radius:10px;
  background:#fff;
  color:#171321;
  text-align:center;
  font-weight:800;
}

.menu-tp-card input[type=number]:focus{
  border-color:#7544dc;
  outline:3px solid rgba(117,68,220,.12);
}

/* Delivery / checkout */
.checkout-tp-card.food-location-tp-card{
  max-width:760px;
  margin:34px auto 0;
  padding:24px;
  background:#fff;
  border:1px solid #e2daef;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(50,21,111,.07);
}

.location-tp-card-heading{
  padding-bottom:15px;
  margin-bottom:4px;
  border-bottom:1px solid #eee9f5;
}

.location-tp-card-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:13px;
  background:#f2ebff;
  color:#5b2bbf;
}

.location-tp-card-heading h2{
  color:#1d1726;
  font-size:20px;
}

.location-tp-card-heading p{
  font-size:12.5px;
  line-height:1.45;
}

.food-field-label{
  margin:16px 0 6px;
  color:#3e3749;
  font-size:12px;
  font-weight:800;
}

.food-location-tp-card select,
.food-location-tp-card textarea,
.food-location-tp-card input[type=search],
.food-location-tp-card input[type=text]{
  width:100%;
  box-sizing:border-box;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #d8d1e3;
  border-radius:12px;
  background:#fff;
  color:#201a2c;
  font:inherit;
}

.food-location-tp-card select:focus,
.food-location-tp-card textarea:focus,
.food-location-tp-card input[type=search]:focus,
.food-location-tp-card input[type=text]:focus{
  border-color:#7544dc;
  outline:3px solid rgba(117,68,220,.11);
}

.food-address-search{
  min-height:48px;
  border-color:#d8d1e3;
  background:#fff;
}

.food-address-search:focus-within{
  border-color:#7544dc;
  box-shadow:0 0 0 3px rgba(117,68,220,.11);
}

.food-address-search input:focus{
  outline:0!important;
}

.food-address-search button{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#5b2bbf;
  cursor:pointer;
}

.food-address-search button:hover{
  background:#f4effc;
}

.food-address-results{
  overflow:hidden;
  border-radius:12px;
}

.food-delivery-map{
  height:270px;
  margin-top:14px;
  border:1px solid #e2daef;
  border-radius:15px;
  background:#f2eef9;
}

.delivery-location-status{
  margin:8px 2px 0;
  color:#667085;
  font-size:12px;
  line-height:1.4;
}

/* Saved address */
.save-address-row{
  grid-template-columns:minmax(0,1fr) minmax(180px,1fr);
  gap:10px;
  margin-top:14px;
}

.save-address-toggle{
  min-height:48px;
  padding:0 13px;
  border:1px solid #ddd5e8;
  border-radius:12px;
  background:#faf8fd;
  color:#3d3448;
  font-size:13px;
}

.save-address-toggle:hover{
  border-color:#cbbcec;
  background:#f7f2ff;
}

.save-address-toggle input{
  accent-color:#6d28d9;
}

#delivery-address-label:disabled{
  opacity:.58;
  background:#f5f3f7;
  color:#8a8391;
}

#customer-note{
  min-height:88px;
  resize:vertical;
}

/* Primary CTA */
#food-order-submit{
  min-height:50px;
  margin-top:20px;
  border:0;
  border-radius:13px;
  background:#6425c7;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.005em;
  box-shadow:0 7px 18px rgba(91,43,191,.20);
  cursor:pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease,
    opacity .15s ease;
}

#food-order-submit:not(:disabled):hover{
  background:#5520ae;
  box-shadow:0 10px 22px rgba(91,43,191,.25);
  transform:translateY(-1px);
}

#food-order-submit:disabled{
  opacity:1;
  background:#e5deef;
  color:#91879d;
  box-shadow:none;
  cursor:not-allowed;
}

/* Mobile */
@media(max-width:760px){
  .food-page{
    padding:14px 12px 48px;
  }

  .store-head{
    padding:18px;
    border-radius:17px;
  }

  .store-head h1{
    margin-right:0;
    padding-top:4px;
    font-size:24px;
  }

  .store-head .status{
    position:static;
    display:inline-flex;
    margin:0 0 10px;
  }

  .menu-grid{
    grid-template-columns:1fr;
    gap:11px;
  }

  .menu-tp-card{
    grid-template-columns:105px minmax(0,1fr);
    min-height:125px;
  }

  .menu-tp-card > img{
    width:105px;
    min-height:125px;
  }

  .menu-tp-card > div{
    padding:13px;
  }

  .checkout-tp-card.food-location-tp-card{
    padding:18px 15px;
    margin-top:24px;
    border-radius:18px;
  }

  .food-delivery-map{
    height:230px;
  }

  .save-address-row{
    grid-template-columns:1fr;
  }

  #food-order-submit{
    min-height:52px;
  }
}

@media(max-width:430px){
  .menu-tp-card{
    grid-template-columns:92px minmax(0,1fr);
  }

  .menu-tp-card > img{
    width:92px;
  }

  .menu-tp-card h3{
    font-size:15px;
  }

  .food-delivery-map{
    height:210px;
  }
}
