/* =========================================================
   GOCO WEEKLY MENU — FINAL PREMIUM
   Scoped hoàn toàn bằng prefix .gcwmp-
   ========================================================= */
.gcwmp-section{
  --gcwmp-green:#0b8f45;
  --gcwmp-green-dark:#086734;
  --gcwmp-pink:#ed0872;
  --gcwmp-ink:#1b2d24;
  --gcwmp-muted:#66736b;
  --gcwmp-ease:cubic-bezier(.22,1,.36,1);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 3% 10%,rgba(237,8,114,.085),transparent 29%),
    radial-gradient(circle at 94% 79%,rgba(11,143,69,.12),transparent 33%),
    linear-gradient(180deg,#ffffff 0%,#fbfefc 58%,#eff9f3 100%);
}
.gcwmp-section *,
.gcwmp-section *::before,
.gcwmp-section *::after{box-sizing:border-box}

.gcwmp-bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.gcwmp-bg::before,.gcwmp-bg::after{content:"";position:absolute;left:-8%;right:-8%;border-radius:50%;pointer-events:none}
.gcwmp-bg::before{bottom:-16%;height:36%;border-top:5px solid rgba(237,8,114,.24);transform:rotate(-2deg)}
.gcwmp-bg::after{bottom:-19%;height:38%;border-top:6px solid rgba(111,195,76,.34);transform:rotate(2deg)}
.gcwmp-orb{position:absolute;width:34vw;height:34vw;max-width:540px;max-height:540px;border-radius:50%;filter:blur(74px);opacity:.25;animation:gcwmpOrb 13s ease-in-out infinite}
.gcwmp-orb--pink{top:-24%;left:-16%;background:radial-gradient(circle,rgba(237,8,114,.34),transparent 67%)}
.gcwmp-orb--green{right:-16%;bottom:-31%;background:radial-gradient(circle,rgba(11,143,69,.34),transparent 67%);animation-delay:-6.5s}
.gcwmp-leaf{--size:22px;position:absolute;width:var(--size);height:calc(var(--size) * .58);border-radius:100% 0 100% 0;background:linear-gradient(135deg,#b5e76b,#1b9850);opacity:.28;animation:gcwmpLeaf 10s ease-in-out infinite}
.gcwmp-leaf::after{content:"";position:absolute;left:13%;top:51%;width:73%;height:1px;background:rgba(255,255,255,.66);transform:rotate(-17deg)}
.gcwmp-leaf--1{left:1%;top:23%;--size:30px}
.gcwmp-leaf--2{left:47%;top:12%;--size:18px;animation-delay:-2.5s}
.gcwmp-leaf--3{right:4%;top:7%;--size:31px;animation-delay:-4.6s}
.gcwmp-leaf--4{right:7%;bottom:10%;--size:22px;animation-delay:-7.2s}

.gcwmp-shell{
  position:relative;
  z-index:2;
  width:min(1580px,calc(100% - 34px));
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:clamp(8px,1.2vh,14px);
  padding:clamp(10px,1.7vh,18px) 0 clamp(9px,1.3vh,14px);
}
.gcwmp-main{min-height:0;display:grid;grid-template-columns:minmax(0,52.5%) minmax(0,47.5%);gap:clamp(14px,1.45vw,24px)}
.gcwmp-left{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(9px,1.15vh,14px)}

.gcwmp-heading{min-width:0;padding:0 clamp(4px,.4vw,8px)}
.gcwmp-kicker{display:flex;align-items:center;gap:9px;color:var(--gcwmp-green);font-size:clamp(11px,.95vw,16px);font-weight:800;line-height:1.25;letter-spacing:.01em}
.gcwmp-kicker svg{width:29px;height:29px;flex:0 0 29px;fill:currentColor}
.gcwmp-heading h2{
  margin:6px 0 0!important;
  color:var(--gcwmp-green-dark)!important;

  /* Co chữ theo màn hình để luôn nằm một hàng */
  font-size:clamp(24px,2vw,40px)!important;

  font-weight:860!important;
  line-height:1.03!important;
  letter-spacing:-.048em!important;
  text-transform:none!important;

  white-space:nowrap!important;
  text-wrap:nowrap!important;
  overflow:visible!important;
}

.gcwmp-heading h2 em{
  display:inline!important;
  white-space:nowrap!important;
}
.gcwmp-heading h2 em{color:var(--gcwmp-pink);font-style:italic}
.gcwmp-subtitle{margin-top:8px;color:#4f5d55;font-size:clamp(12px,1.1vw,19px);line-height:1.42}
.gcwmp-heading-line{display:block;width:74px;height:4px;margin-top:10px;border-radius:999px;background:linear-gradient(90deg,#ff86bc,var(--gcwmp-pink));box-shadow:0 0 14px rgba(237,8,114,.19)}

.gcwmp-menu{position:relative;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(8px,1vh,12px);padding:clamp(13px,1.4vw,20px);border:1px solid rgba(255,255,255,.96);border-radius:clamp(22px,1.65vw,28px);background:rgba(255,255,255,.92);box-shadow:0 18px 46px rgba(9,71,39,.10),0 0 0 1px rgba(10,143,69,.035);backdrop-filter:blur(10px)}
.gcwmp-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-height:42px;padding:3px;border:1px solid #e5ebe7;border-radius:999px;background:linear-gradient(180deg,#fff,#f3f6f4);box-shadow:inset 0 1px 0 rgba(255,255,255,.92)}
.gcwmp-tab{min-width:0;margin-bottom: 0em;border:0!important;border-radius:999px!important;padding:0 7px!important;color:#5a615d!important;background:transparent!important;box-shadow:none!important;font:inherit!important;font-size:clamp(10px,.84vw,14px)!important;font-weight:760!important;line-height:1!important;white-space:nowrap;cursor:pointer;transition:color .28s ease,background .28s ease,box-shadow .28s ease,transform .28s ease}
.gcwmp-tab:hover{color:var(--gcwmp-green)!important}
.gcwmp-tab.is-active{color:#fff!important;background:linear-gradient(135deg,#1aa35a,#087d3e)!important;box-shadow:0 8px 18px rgba(10,143,69,.22)!important;transform:translateY(-1px)}

.gcwmp-panels{min-height:0;position:relative}
.gcwmp-panel{height:100%;min-height:0;position:relative}
.gcwmp-panel[hidden]{display:none!important}
.gcwmp-viewport{position:relative;width:100%;height:100%;min-height:0;overflow:hidden}
.gcwmp-track{display:flex;width:100%;height:100%;min-height:0;transition:transform .62s var(--gcwmp-ease);will-change:transform}
.gcwmp-page{flex:0 0 100%;width:100%;height:100%;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(8px,.78vw,12px)}
.gcwmp-dish{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;border:1px solid #e4e9e6;border-radius:clamp(12px,1vw,16px);background:#fff;box-shadow:0 8px 18px rgba(30,54,41,.07);transition:transform .32s var(--gcwmp-ease),box-shadow .32s ease}
.gcwmp-dish:hover{transform:translateY(-3px);box-shadow:0 13px 26px rgba(30,54,41,.12)}
.gcwmp-dish__media{min-height:0;overflow:hidden;background:linear-gradient(145deg,#f7faf8,#eaf2ed)}
.gcwmp-dish__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .7s var(--gcwmp-ease)}
.gcwmp-dish:hover .gcwmp-dish__media img{transform:scale(1.04)}
.gcwmp-placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:90px;color:var(--gcwmp-green);font-weight:850;background:linear-gradient(135deg,#edf8f1,#fff0f6)}
.gcwmp-dish__name{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:6px 10px;color:#26362e;font-size:clamp(10px,.83vw,14px);font-weight:690;line-height:1.15}
.gcwmp-dish__name span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gcwmp-dish__name i{flex:0 0 auto;color:var(--gcwmp-pink);font-size:15px;font-style:normal}

/* =========================================================
   NÚT CHUYỂN TRANG MÓN ĂN
   - Vòng tròn nhỏ
   - Chevron lớn, căn chính giữa bằng SVG mask
   - Không phụ thuộc hình dáng ký tự ‹ › của font
   ========================================================= */
.gcwmp-nav{
  position:absolute;
  z-index:8;
  inset:0;
  pointer-events:none;
}

.gcwmp-nav button{
  position:absolute;
  top:50%;

  display:grid!important;
  place-items:center!important;

  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;

  margin-top:-16px!important;
  padding:0!important;

  border:1px solid rgba(10,143,69,.14)!important;
  border-radius:50%!important;

  color:var(--gcwmp-green)!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 9px 22px rgba(8,86,42,.14)!important;

  font-size:0!important;
  line-height:0!important;

  cursor:pointer;
  pointer-events:auto;

  transition:
    transform .25s ease,
    opacity .25s ease,
    box-shadow .25s ease,
    background-color .25s ease;
}

/*
 * Dùng mask SVG thay cho ký tự ‹ ›.
 * Vì vậy mũi tên luôn đúng tâm trên mọi font và trình duyệt.
 */
.gcwmp-nav button::before{
  content:"";
  display:block;

  width:15px;
  height:15px;

  /* Căn quang học: nét chevron hiển thị hơi cao hơn tâm hình học */
  position:relative;
  top:3px;

  background:currentColor;

  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 2.5 10.5 8 5 13.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 2.5 10.5 8 5 13.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.gcwmp-nav__prev{
  left:-10px;
}

.gcwmp-nav__prev::before{
  transform:rotate(180deg);
}

.gcwmp-nav__next{
  right:-10px;
}

.gcwmp-nav button:hover{
  transform:scale(1.07);
  background:#fff!important;
  box-shadow:0 13px 27px rgba(8,86,42,.20)!important;
}

.gcwmp-nav button:focus-visible{
  outline:2px solid rgba(10,143,69,.38)!important;
  outline-offset:2px;
}

.gcwmp-nav button:disabled{
  opacity:.25;
  cursor:default;
  transform:none;
}

.gcwmp-nav:not(.is-visible){
  display:none;
}

.gcwmp-note{display:flex;align-items:center;gap:12px;min-height:48px;padding:7px 13px;border-radius:15px;background:linear-gradient(90deg,#eff8f2,#f8fbf9);color:#106f38}
.gcwmp-note b{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;color:var(--gcwmp-green)}
.gcwmp-note b svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gcwmp-note span,.gcwmp-note strong,.gcwmp-note small{display:block;min-width:0}
.gcwmp-note strong{font-size:clamp(10px,.82vw,13px);line-height:1.2}
.gcwmp-note small{margin-top:3px;color:#536158;font-size:clamp(9px,.71vw,11px);line-height:1.25}

.gcwmp-nutrition{position:relative;min-width:0;min-height:0;margin:0;display:grid;place-items:center;overflow:visible}
.gcwmp-nutrition::before{content:"";position:absolute;inset:9% 3% 4%;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.98),rgba(255,255,255,.55) 52%,transparent 73%);filter:blur(4px) drop-shadow(0 22px 38px rgba(9,86,43,.11))}
.gcwmp-nutrition__media{position:relative;z-index:2;width:min(100%,min(100cqw,100cqh));height:min(100%,min(100cqw,100cqh));display:grid;place-items:center;overflow:hidden}
.gcwmp-nutrition__media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 18px 27px rgba(8,73,37,.11));animation:gcwmpNutritionFloat 7s ease-in-out infinite}
.gcwmp-nutrition__shine{position:absolute;z-index:3;top:-28%;bottom:-28%;left:-45%;width:20%;opacity:0;pointer-events:none;transform:rotate(14deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:gcwmpNutritionShine 6.5s ease-in-out 1.4s infinite}

.gcwmp-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(9px,.92vw,15px)}
.gcwmp-benefits article{min-width:0;display:flex;align-items:center;gap:clamp(9px,.82vw,13px);padding:clamp(9px,1.25vh,14px) clamp(11px,1vw,16px);border:1px solid rgba(255,255,255,.96);border-radius:clamp(17px,1.4vw,22px);background:rgba(255,255,255,.94);box-shadow:0 13px 30px rgba(6,81,40,.09);backdrop-filter:blur(8px);transition:transform .34s var(--gcwmp-ease),box-shadow .34s ease}
.gcwmp-benefits article:hover{transform:translateY(-4px);box-shadow:0 19px 39px rgba(6,81,40,.14)}
.gcwmp-benefits b{display:grid;place-items:center;width:clamp(42px,3.4vw,54px);height:clamp(42px,3.4vw,54px);flex:0 0 auto;border-radius:50%;color:#fff;background:linear-gradient(135deg,#55bf68,#07833f);box-shadow:0 9px 20px rgba(10,143,69,.2)}
.gcwmp-benefits article:nth-child(even) b{background:linear-gradient(135deg,#ff5ca1,#df0063);box-shadow:0 9px 20px rgba(237,8,114,.2)}
.gcwmp-benefits b svg{width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gcwmp-benefits span,.gcwmp-benefits strong,.gcwmp-benefits small{display:block;min-width:0}
.gcwmp-benefits strong{color:#168443;font-size:clamp(10px,.83vw,14px);line-height:1.2}
.gcwmp-benefits article:nth-child(even) strong{color:var(--gcwmp-pink)}
.gcwmp-benefits small{margin-top:4px;color:#617067;font-size:clamp(9px,.72vw,11px);line-height:1.3}

.gcwmp-empty{display:grid;place-items:center;height:100%;min-height:150px;border:1px dashed #dce7df;border-radius:16px;color:#6c7971;background:rgba(248,252,249,.82);font-size:13px}

/* Entrance animation — fail-safe: nội dung vẫn hiện nếu JS lỗi */
.gcwmp-section.is-gcwmp-visible .gcwmp-reveal{animation:gcwmpReveal .82s var(--gcwmp-ease) both;animation-delay:var(--gcwmp-delay,0ms)}
.gcwmp-section.is-gcwmp-visible .gcwmp-heading-line{animation:gcwmpLine .75s var(--gcwmp-ease) .18s both}
.gcwmp-panel.is-menu-enter .gcwmp-dish{animation:gcwmpDish .5s var(--gcwmp-ease) both}
.gcwmp-panel.is-menu-enter .gcwmp-dish:nth-child(2){animation-delay:.045s}
.gcwmp-panel.is-menu-enter .gcwmp-dish:nth-child(3){animation-delay:.09s}
.gcwmp-panel.is-menu-enter .gcwmp-dish:nth-child(4){animation-delay:.135s}
.gcwmp-panel.is-menu-enter .gcwmp-dish:nth-child(5){animation-delay:.18s}
.gcwmp-panel.is-menu-enter .gcwmp-dish:nth-child(6){animation-delay:.225s}

@keyframes gcwmpReveal{from{opacity:0;transform:translate3d(0,24px,0) scale(.985)}to{opacity:1;transform:none}}
@keyframes gcwmpLine{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}
@keyframes gcwmpDish{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes gcwmpOrb{50%{transform:translate3d(22px,-17px,0) scale(1.08)}}
@keyframes gcwmpLeaf{0%,100%{transform:translate3d(0,0,0) rotate(22deg)}50%{transform:translate3d(19px,-17px,0) rotate(66deg)}}
@keyframes gcwmpNutritionFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-7px) scale(1.012)}}
@keyframes gcwmpNutritionShine{0%,18%{left:-45%;opacity:0}26%{opacity:.5}52%{left:122%;opacity:0}100%{left:122%;opacity:0}}

/* Desktop fullpage */
@media(min-width:850px){
  #goco-app .gcwmp-section{width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important}
  #goco-app .gcwmp-shell{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
  .gcwmp-nutrition{container-type:size}
}

/* Laptop 1280 / zoom */
@media(min-width:850px) and (max-width:1366px){
  .gcwmp-shell{width:calc(100% - 24px);gap:8px;padding:7px 0 8px}
  .gcwmp-main{grid-template-columns:minmax(0,51%) minmax(0,49%);gap:14px}
  .gcwmp-left{gap:7px}
  .gcwmp-heading h2{font-size:clamp(29px,min(3.05vw,5.8vh),44px)!important;margin-top:3px!important}
  .gcwmp-kicker{font-size:11px}.gcwmp-kicker svg{width:24px;height:24px;flex-basis:24px}
  .gcwmp-subtitle{margin-top:4px;font-size:12px}.gcwmp-heading-line{margin-top:5px;height:3px;width:58px}
  .gcwmp-menu{gap:6px;padding:10px 11px;border-radius:20px}
  .gcwmp-tabs{min-height:38px}.gcwmp-note{min-height:40px;padding:5px 10px}.gcwmp-note b{width:31px;height:31px;flex-basis:31px}.gcwmp-note b svg{width:25px;height:25px}
  .gcwmp-page{gap:7px}.gcwmp-dish__name{min-height:29px;padding:4px 8px}
  .gcwmp-benefits{gap:8px}.gcwmp-benefits article{padding:8px 9px;border-radius:16px}.gcwmp-benefits b{width:39px;height:39px}
}

@media(min-width:850px) and (max-height:720px){
  .gcwmp-shell{padding-top:5px;padding-bottom:5px;gap:6px}
  .gcwmp-heading h2{font-size:clamp(27px,min(2.8vw,5.1vh),40px)!important}
  .gcwmp-subtitle{font-size:11px}.gcwmp-menu{padding:8px 10px}.gcwmp-tabs{min-height:34px}.gcwmp-note{min-height:36px}.gcwmp-benefits article{padding-top:6px;padding-bottom:6px}.gcwmp-benefits small{display:none}
}

/* Tablet/mobile */
@media(max-width:849px){
  #goco-app .gcwmp-section{height:auto!important;min-height:0!important;overflow:visible!important;scroll-snap-align:none!important;scroll-snap-stop:normal!important}
  #goco-app .gcwmp-shell{width:100%!important;height:auto!important;min-height:0!important;display:block!important;padding:28px 12px 40px!important;overflow:visible!important}
  .gcwmp-main{display:flex;flex-direction:column;gap:18px}
  .gcwmp-left{display:contents}
  .gcwmp-heading{order:0;text-align:center}.gcwmp-kicker{justify-content:center}.gcwmp-heading-line{margin-left:auto;margin-right:auto}
  .gcwmp-menu{order:2;min-height:570px;padding:12px;border-radius:22px}
  .gcwmp-nutrition{order:1;width:100%;height:auto;aspect-ratio:1/1;max-width:650px;margin:0 auto}
  .gcwmp-benefits{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .gcwmp-page{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:9px}
  .gcwmp-tabs{overflow-x:auto;display:flex;scrollbar-width:none}.gcwmp-tabs::-webkit-scrollbar{display:none}.gcwmp-tab{flex:0 0 auto;min-width:96px;min-height:38px}
}
@media(max-width:520px){
  .gcwmp-heading h2{font-size:34px!important}.gcwmp-subtitle{font-size:13px}
  .gcwmp-menu{min-height:625px}.gcwmp-benefits{grid-template-columns:1fr}.gcwmp-benefits article{padding:11px 13px}
  .gcwmp-dish__name{font-size:11px}.gcwmp-note small{font-size:10px}
}


/* Mobile: giữ vòng tròn nhỏ nhưng vùng chạm vẫn rõ ràng */
@media(max-width:849px){
  .gcwmp-nav button{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    margin-top:-15px!important;
  }

  .gcwmp-nav button::before{
    width:14px;
    height:14px;
    top:2px;
  }

  .gcwmp-nav__prev{
    left:-7px;
  }

  .gcwmp-nav__next{
    right:-7px;
  }
}

@media(prefers-reduced-motion:reduce){
  .gcwmp-section *,
  .gcwmp-section *::before,
  .gcwmp-section *::after{animation:none!important;transition:none!important}
}

/* =========================================================
   MOBILE — NGÀY ACTIVE LUÔN CÓ THỂ CĂN GIỮA
   Hai spacer ảo tạo đủ khoảng cuộn cho cả Thứ 2 và Chủ nhật.
   ========================================================= */
@media(max-width:849px){
  .gcwmp-tabs::before,
  .gcwmp-tabs::after{
    content:"";
    flex:0 0 calc(50% - 48px);
    width:calc(50% - 48px);
    pointer-events:none;
  }
}
