/* TimesPack Food — premium marketplace template matching the approved purple reference. */
.tp-food-public-main{
  padding:0!important;
  background:
    radial-gradient(circle at 6% 0%,rgba(117,68,220,.12),transparent 24%),
    radial-gradient(circle at 94% 12%,rgba(91,43,191,.10),transparent 26%),
    #f0eaff!important;
  color:#20162f;
}
.tp-food-marketplace{max-width:1240px!important;margin:0 auto;padding:0 24px 80px!important;box-sizing:border-box}

/* Food secondary navigation */
.tp-food-subnav{
  height:72px;display:flex;align-items:center;gap:30px;
  border-bottom:1px solid #ece7f7;background:rgba(255,255,255,.97);
  margin:0 -24px;padding:0 24px;position:relative;z-index:4;
  box-shadow:0 2px 12px rgba(50,21,111,.04)
}
.tp-food-brand{display:flex;align-items:center;gap:11px;color:#20162f;text-decoration:none;font-size:17px;white-space:nowrap}
.tp-food-brand-mark{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#5b2bbf,#7544dc);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 6px 15px rgba(91,43,191,.2)}
.tp-food-subnav-links{display:flex;gap:27px;flex:1;align-items:stretch;height:100%}
.tp-food-subnav-links a{display:flex;align-items:center;position:relative;color:#40394c;text-decoration:none;font-size:13px;font-weight:750}
.tp-food-subnav-links a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:#6941c6;transform:scaleX(0);transition:.16s}
.tp-food-subnav-links a:hover,.tp-food-subnav-links a.active{color:#5b2bbf}
.tp-food-subnav-links a.active:after{transform:scaleX(1)}
.tp-food-location-top{display:flex;align-items:center;gap:7px;color:#5b2bbf;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}
.tp-food-location-top span{font-size:20px}

/* Hero */
.tp-food-hero{
  min-height:440px;margin:0 -24px;padding:52px max(26px,calc((100% - 1192px)/2));
  box-sizing:border-box;
  background:
    radial-gradient(circle at 82% 18%,rgba(154,115,239,.42),transparent 24%),
    radial-gradient(circle at 100% 100%,rgba(117,68,220,.48),transparent 35%),
    linear-gradient(116deg,#29105e 0%,#4b1fa5 46%,#7544dc 100%);
  color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 480px;align-items:center;gap:24px;
  overflow:hidden;position:relative;border-radius:18px
}
.tp-food-hero:before{content:"";position:absolute;width:720px;height:720px;border-radius:50%;right:-210px;top:-230px;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018)}
.tp-food-hero-content{position:relative;z-index:2;max-width:650px}
.tp-food-eyebrow{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);font-size:11px;letter-spacing:.15em;font-weight:900}
.tp-food-hero h1{font-size:clamp(46px,5.4vw,70px);line-height:.98;letter-spacing:-.058em;margin:17px 0 18px;color:#fff;max-width:680px}
.tp-food-hero p{font-size:17px;line-height:1.52;margin:0;max-width:620px;color:rgba(255,255,255,.91)}
.tp-food-search{height:62px;display:flex;align-items:center;background:#fff;border-radius:9px;margin-top:27px;padding:6px;box-shadow:0 16px 38px rgba(20,5,55,.26)}
.tp-food-search-icon{width:42px;text-align:center;color:#667085;font-size:25px}
.tp-food-search input{border:0;outline:0;flex:1;min-width:0;height:48px;font-size:15px;color:#20162f;background:#fff}
.tp-food-search button{height:50px;border:0;border-radius:7px;padding:0 25px;background:linear-gradient(135deg,#5b2bbf,#7544dc);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 6px 14px rgba(91,43,191,.2)}
.tp-food-location-row{display:flex;align-items:center;gap:14px;margin-top:15px}
.tp-food-location{border:0;background:transparent;color:#fff;padding:0;display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer}
.tp-food-location span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#5b2bbf;font-size:16px}
.tp-food-location strong{font-weight:750}.tp-food-clear{color:#fff;font-size:12px;font-weight:700}

/* Hero food visual */
.tp-food-hero-art{height:365px;position:relative;display:grid;place-items:center;z-index:2}
.tp-food-art-glow{position:absolute;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 68%);filter:blur(1px)}
.tp-food-art-circle{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.25)}
.circle-one{width:350px;height:350px}.circle-two{width:255px;height:255px;border-style:dashed;transform:rotate(20deg)}
.tp-food-hero-food-image,.tp-food-hero-food-fallback{width:310px;height:220px;border-radius:50%;overflow:hidden;display:grid;place-items:center;position:relative;z-index:2;transform:rotate(-4deg);box-shadow:0 28px 60px rgba(22,4,58,.35);border:8px solid rgba(255,255,255,.12)}
.tp-food-hero-food-image img{width:100%;height:100%;object-fit:cover}
.tp-food-hero-food-fallback{background:linear-gradient(135deg,#f8f4ff,#cdbbff);font-size:105px}
.tp-food-food-card{position:absolute;background:#fff;color:#20162f;border-radius:12px;box-shadow:0 20px 45px rgba(25,5,65,.27);display:flex;align-items:center;gap:10px;padding:12px 14px;z-index:3}
.tp-food-food-card span{width:42px;height:42px;border-radius:10px;background:#eee7ff;color:#5b2bbf;display:grid;place-items:center;font-size:20px}
.tp-food-food-card b,.tp-food-food-card small{display:block}.tp-food-food-card b{font-size:11px}.tp-food-food-card small{font-size:9px;color:#667085;margin-top:3px}.tp-food-food-card strong{font-size:11px;margin-left:12px;white-space:nowrap}
.card-main{width:275px;top:57px;right:0;transform:rotate(-3deg)}.card-small{width:245px;bottom:36px;right:-4px;transform:rotate(4deg)}

/* Category strip */
.tp-food-categorybar{
  display:flex;align-items:stretch;gap:5px;margin:20px 0 0;padding:9px 10px;
  background:rgba(255,255,255,.98);border:1px solid #e5ddf5;border-radius:12px;
  box-shadow:0 8px 24px rgba(50,21,111,.06);overflow-x:auto
}
.category-item{min-width:82px;padding:9px 12px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#4b4557;text-decoration:none;border-radius:9px}
.category-item span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f0eaff;color:#6941c6;font-size:17px}
.category-item strong{font-size:10px;white-space:nowrap}
.category-item.active{color:#5b2bbf}
.category-item.active span{background:#e8ddff}
.category-item.active:after{content:"";position:absolute}
.category-view-all{margin-left:auto;align-self:center;min-width:94px;height:42px;border:1px solid #e3d8fa;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;color:#5b2bbf;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}

/* Delivery filter */
.tp-food-filterbar{margin:18px 0 0;background:#fff;border:1px solid #e4e0eb;border-radius:10px;min-height:70px;padding:12px 18px;display:flex;align-items:center;gap:20px;box-sizing:border-box;box-shadow:0 4px 14px rgba(50,21,111,.04)}
.tp-food-delivery-label{display:flex;align-items:center;gap:10px;min-width:210px}.tp-food-delivery-label>span{color:#5b2bbf;font-size:23px}.tp-food-delivery-label small,.tp-food-delivery-label strong{display:block}.tp-food-delivery-label small{font-size:9px;color:#888;font-weight:850;letter-spacing:.08em}.tp-food-delivery-label strong{font-size:13px;margin-top:3px}
.tp-food-filter-form{margin-left:auto}.tp-food-filter-form select{height:40px;min-width:190px;border:1px solid #ddd7e8;border-radius:7px;padding:0 12px;background:#fff;color:#20162f;font-weight:650}

/* Sections */
.tp-food-section{margin-top:34px}.tp-food-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.tp-food-section-head>div>span{font-size:9px;color:#5b2bbf;letter-spacing:.13em;font-weight:900}.tp-food-section-head h2{font-size:25px;line-height:1.1;letter-spacing:-.035em;margin:5px 0 0}.tp-food-section-head p{margin:0;color:#667085;font-size:12px}.tp-food-section-head>strong{font-size:11px;color:#4c3b62;font-weight:700}
.tp-food-view-link{color:#5b2bbf;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}.tp-food-view-link b{font-size:20px;vertical-align:-2px}

/* Restaurant cards */
.tp-food-restaurant-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.tp-food-restaurant-card{display:block;background:#fff;border:1px solid #e2dceb;border-radius:12px;overflow:hidden;text-decoration:none;color:#20162f;transition:transform .18s,box-shadow .18s,border-color .18s;box-shadow:0 7px 22px rgba(50,21,111,.055)}
.tp-food-restaurant-card:hover{transform:translateY(-4px);border-color:#cbb9ef;box-shadow:0 16px 32px rgba(50,21,111,.13)}
.tp-food-restaurant-image{height:148px;background:#eee7ff;position:relative;overflow:hidden}.tp-food-restaurant-image img{width:100%;height:100%;object-fit:cover}.tp-food-logo-placeholder{height:100%;display:grid;place-items:center;font-size:52px;background:linear-gradient(135deg,#eee7ff,#f9f7ff)}
.tp-food-offer-badge,.tp-food-status{position:absolute;top:10px;border-radius:5px;background:#fff;padding:5px 8px;font-size:9px;font-weight:850;box-shadow:0 2px 8px rgba(0,0,0,.10)}
.tp-food-offer-badge{left:10px;background:#6941c6;color:#fff}.tp-food-status{left:10px;top:auto;bottom:9px}.tp-food-status.open{color:#087f5b}.tp-food-status.busy{color:#9a6700}
.tp-food-heart{position:absolute;right:10px;top:9px;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:rgba(25,12,40,.42);color:#fff;font-size:19px}
.tp-food-restaurant-copy{padding:12px 13px 14px}.tp-food-restaurant-copy h3{font-size:14px;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-food-rating-row{display:flex;gap:5px;align-items:center;font-size:10px;color:#51495c}.tp-food-rating-row span:first-child{color:#f59e0b}.tp-food-rating-row em{font-style:normal;color:#7a7285}.tp-food-meta{display:flex;gap:5px;flex-wrap:wrap;color:#6f6878;font-size:9px;margin-top:5px}.tp-food-meta span:first-child{color:#5b2bbf;font-weight:850}

/* Meals */
.tp-food-dish-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tp-food-dish-card{display:block;background:#fff;border:1px solid #e4e0eb;border-radius:10px;overflow:hidden;text-decoration:none;color:#20162f;transition:.18s}.tp-food-dish-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(50,21,111,.10)}
.tp-food-dish-image{height:155px;background:#eee7ff;position:relative;display:grid;place-items:center;overflow:hidden}.tp-food-dish-image img{width:100%;height:100%;object-fit:cover}.tp-food-dish-image>span{font-size:48px}.tp-food-dish-image>b{position:absolute;top:9px;right:9px;background:#fff;border-radius:4px;padding:5px 7px;font-size:9px;color:#4c3b62}
.tp-food-dish-copy{padding:13px}.tp-food-dish-copy small{color:#667085;font-size:9px}.tp-food-dish-copy h3{font-size:14px;margin:5px 0}.tp-food-dish-copy p{font-size:10.5px;line-height:1.45;color:#667085;height:30px;overflow:hidden;margin:0 0 10px}.tp-food-dish-copy>div{display:flex;justify-content:space-between;align-items:center}.tp-food-dish-copy strong{font-size:13px}.tp-food-dish-copy span{font-size:9.5px;color:#5b2bbf;font-weight:800}

/* Benefits */
.tp-food-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e4dcf3;border:1px solid #e4dcf3;margin:34px 0 0;border-radius:11px;overflow:hidden}
.tp-food-benefits>div{background:#fff;padding:17px 20px;display:flex;gap:12px;align-items:center}.tp-food-benefits span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eee7ff;color:#5b2bbf;font-weight:900}.tp-food-benefits b,.tp-food-benefits small{display:block}.tp-food-benefits b{font-size:12px}.tp-food-benefits small{font-size:10px;color:#667085;margin-top:3px}
.tp-food-empty{grid-column:1/-1;display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e4e0eb;border-radius:10px;padding:30px}.tp-food-empty>span{width:52px;height:52px;border-radius:50%;background:#eee7ff;display:grid;place-items:center;font-size:25px}.tp-food-empty h3{margin:0 0 5px;font-size:16px}.tp-food-empty p{margin:0;color:#667085;font-size:12px}

@media(max-width:1100px){
  .tp-food-hero{grid-template-columns:minmax(0,1fr) 380px}
  .tp-food-restaurant-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tp-food-location-top{display:none}
}
@media(max-width:900px){
  .tp-food-hero{grid-template-columns:1fr;padding:44px 32px}
  .tp-food-hero-art{display:none}
  .tp-food-restaurant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tp-food-dish-grid{grid-template-columns:repeat(2,1fr)}
  .tp-food-subnav-links{gap:18px}
}
@media(max-width:720px){
  .tp-food-marketplace{padding:0 14px 55px!important}
  .tp-food-subnav{margin:0 -14px;padding:0 14px;height:62px}
  .tp-food-subnav-links{display:none}
  .tp-food-subnav{justify-content:flex-start}
  .tp-food-hero{margin:0 -14px;padding:38px 20px;border-radius:12px}
  .tp-food-hero h1{font-size:40px}
  .tp-food-search{height:56px}.tp-food-search button{height:44px;padding:0 15px}
  .tp-food-categorybar{margin-left:0;margin-right:0}
  .tp-food-filterbar{align-items:stretch;flex-direction:column}
  .tp-food-filter-form{margin:0}.tp-food-filter-form select{width:100%}
  .tp-food-benefits{grid-template-columns:1fr}
  .tp-food-dish-grid,.tp-food-restaurant-grid{grid-template-columns:1fr}
  .tp-food-section-head{align-items:flex-start}
}


/* TimesPack Food interactive benefit shortcuts */
.tp-food-benefits .tp-food-benefit-link{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding:24px 28px;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:
    background .15s ease,
    transform .15s ease,
    color .15s ease;
}

.tp-food-benefits .tp-food-benefit-link:hover{
  background:#f7f2ff;
  color:#5b2bbf;
}

.tp-food-benefits .tp-food-benefit-link:focus-visible{
  outline:3px solid rgba(100,37,199,.18);
  outline-offset:-3px;
}

.tp-food-benefits .tp-food-benefit-link > span{
  flex:0 0 auto;
}

.tp-food-benefits .tp-food-benefit-link > div{
  flex:1 1 auto;
  min-width:0;
}

.tp-food-benefits .tp-food-benefit-link > em{
  flex:0 0 auto;
  color:#8e81a1;
  font-size:22px;
  font-style:normal;
  transition:transform .15s ease,color .15s ease;
}

.tp-food-benefits .tp-food-benefit-link:hover > em{
  color:#6425c7;
  transform:translateX(3px);
}

html{
  scroll-behavior:smooth;
}

#restaurants,
#food-location{
  scroll-margin-top:90px;
}

#first-restaurant-card{
  scroll-margin-top:90px;
}

/* FOOD HERO TRUST / HALAL */
.tp-food-hero-trust{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:15px 0 0;
}

.tp-food-hero-trust>span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 11px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:850;
  letter-spacing:.055em;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.tp-food-hero-trust>span:not(.tp-food-hero-halal){
  color:rgba(255,255,255,.94);
}

.tp-food-hero-trust .tp-food-hero-halal{
  border-color:rgba(166,255,190,.65);
  background:#168a46;
  color:#fff;
  box-shadow:0 8px 20px rgba(6,74,34,.20);
  font-size:11px;
  font-weight:900;
}

.tp-food-hero .tp-food-hero-trust-copy{
  max-width:650px;
}

@media (max-width:600px){
  .tp-food-hero-trust{
    gap:6px;
    margin-top:13px;
  }

  .tp-food-hero-trust>span{
    min-height:28px;
    padding:6px 9px;
    font-size:9px;
  }

  .tp-food-hero-trust .tp-food-hero-halal{
    font-size:10px;
  }
}
