/* ตัวหนังสือ */
.calc-home .ta-center{ text-align:center; }
.calc-home .focus-headings{ padding: 18px 0 8px; }
.calc-home .focus-subtitle{ font-size:20px; 
    line-height:1.25; 
    color:#64748b;
     margin-top:4px;
     font-weight:400; }

/* เดสก์ท็อปไม่ขึ้นบรรทัด */
.br-mobile { display: none; }

/* GRID 1320 → 2 คอลัมน์ */
.calc-home .focus-choices{ padding: 20px 0 72px; }
.calc-home .choices-grid{ display:grid; grid-template-columns:1fr; gap:28px; }
@media (min-width:900px){ .calc-home .choices-grid{ grid-template-columns:1fr 1fr; } }

/* CARD หมาแมว */
.calc-home .choice-card{
  position:relative; aspect-ratio:585/488;
  border-radius:32px; overflow:hidden; display:block; text-decoration:none;
}
.calc-home .card-dog{ background:var(--brand-blue); }   /* fallback สีฟ้า */
.calc-home .card-cat{ background:var(--brand-orange); }   /* fallback สีส้ม */

.calc-home .choice-card .frame-img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; display:block;
}

/* overlay */
.calc-home .choice-card .overlay{ position:absolute; inset:0; pointer-events:none; }

/* ปุ่มแคปซูลเหลือง + เด้ง */
.calc-home .pill-btn{
  position:absolute; left: var(--pill-left,34%); top: var(--pill-top,58%);
  transform: translate(-50%,-50%); pointer-events:auto;
  font-weight:800; font-size:24px; color:#fff;
  background: var(--brand-yellow);
  padding:14px 32px; border-radius:999px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 6px 18px rgba(0,0,0,.15);
  transition: transform .08s, box-shadow .08s;
}
.calc-home .choice-card:active .pill-btn{
  transform: translate(-50%, calc(-50% - 3px)) scale(1.02);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 10px 22px rgba(0,0,0,.18);
}

/* คำบรรยาย 16px */
.calc-home .choice-desc{
  position:absolute; left: var(--pill-left,34%); top: calc(var(--pill-top,58%) + 12%);
  transform: translate(-50%,0); font-size:16px; color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}

/* ตั้งต้นตำแหน่งปุ่มให้ใกล้เคียง — จูนเพิ่มได้ */
.calc-home .card-dog{ --pill-left:25%; --pill-top:50%; }
.calc-home .card-cat{ --pill-left:25%; --pill-top:50%; }

/* มือถือ: ย่อการ์ด + จัดกลาง + ยังรักษาสัดส่วน */
@media (max-width: 640px) {
  .calc-home .choices-grid{
    grid-template-columns: 1fr;     /* มือถือ 1 คอลัมน์ */
    gap: 20px;
    justify-items: center;          /* จัดการ์ดให้อยู่กลางคอลัมน์ */
  }

  .calc-home .choice-card{
    width: 100%;
    max-width: 280px;               /* ปรับเลขตามชอบ */
  }

  .calc-home .choice-card .frame-img{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain; display: block;
  }

  /* ปุ่มแคปซูลเหลือง */
  .calc-home .pill-btn{ 
    font-size: 16px; 
    padding: 10px 18px; 
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 5px 14px rgba(0,0,0,.12);
  }

  /* ขยับคำอธิบายไปทางขวาอีกหน่อย */
  .calc-home .choice-desc{ 
    transform: translate(-40%, 0);  font-size: 11px;
  }

  /* ย่อขนาด subtitle เฉพาะมือถือ */
  .calc-home .focus-subtitle { 
    font-size: 16px;
  }
}  

/* คำ h2 มือถือค่อยขึ้นบรรทัดใหม่ */
@media (max-width: 640px){
  .br-mobile { display: inline; }
}

/* มือถือ */
@media (max-width: 640px) {
  .calc-home .choice-card {
    max-width: 280px;   /* ลดขนาดการ์ด */
    margin: 0 auto;     /* จัดให้อยู่กลาง */
  }
}

/* ดันเนื้อหาให้ห่างจากแถบเมนู */
.calc-dog{
  padding-top: calc(var(--nav-h,72px) + 12px);
}

/* มือถือ (เมนูเตี้ยกว่าอยู่แล้ว แต่เผื่อเพิ่มนิดได้) */
@media (max-width: 767.98px){
  .calc-dog{
    padding-top: calc(var(--nav-h,64px) + 8px);
  }
}


/* ================= เริ่ม calculator-dog.html ================= */


/* Banner แบบขนาดตามไฟล์จริง ไม่บังคับสูงเหมือน page-hero */
.banner-custom {
  width: 100%;          /* กว้างเต็ม */
  text-align: center;   /* จัดกลางรูปในแนวนอน (กรณีรูปเล็กกว่า container) */
  margin: 20px auto;    /* เผื่อระยะห่างด้านบนล่าง */
}

.banner-custom img{
  width: min(1300px, 100%); 
  height: auto;             /* รักษาสัดส่วนภาพ */
  display: block;
  margin: 0 auto;           /* จัดกลาง */
}
/* กลุ่มตัวหนังสือด้านบน */
.calc-dog .page-head{ padding: 10px 0 18px; }
.calc-dog .breadcrumb{ font-size: 13px; color: var(--muted); display:flex; align-items:center; gap:8px; }
.calc-dog .breadcrumb a{ color: var(--brand-blue); }
.calc-dog .page-title{ font-weight: 400;
  color: #342216;
  line-height: 1.45;
  font-size: 24px;
  margin: 6px 0 4px;
  transform: skewX(-6deg);}
.calc-dog .page-sub{ color: #605E5E; margin: 0; font-size: 14px;
  line-height: 1.7;}

.tone-blue{ color: var(--brand-blue); }
.tone-orange{ color: var(--brand-orange); }

  /* มือถือ: ย่อขนาดตัวอักษรส่วนหัวหน้า calc-dog */
@media (max-width: 640px) {
  .calc-dog .page-head { padding: 8px 0 14px; }

  .calc-dog .breadcrumb { 
    font-size: 12px;             /* เดิม 13px */
  }

  .calc-dog .page-title {
    font-size: 20px;              /* เดิม 24px */
    line-height: 1.3;
  }

  .calc-dog .page-sub {
    font-size: 13px;              /* เดิมสืบทอด—กำหนดให้เล็กลง */
  }
}

/* มือถือ: ขยับหัวข้อ calc-dog ไปทางขวานิดนึง */
@media (max-width: 640px) {
  .calc-dog .page-head,
  .calc-dog .breadcrumb,
  .calc-dog .page-title,
  .calc-dog .page-sub {
    padding-inline-start: 8px;  /* หรือ 12px ถ้าอยากห่างกว่านี้ */
  }
}

/* มือถือ: ย่อ banner และขยับขึ้น */
@media (max-width: 640px){

  /* ถ้าเคยเผื่อช่องว่างใต้เฮดเดอร์ไว้เยอะ ลดลงหน่อย */
  .calc-dog{ padding-top: 8px; }

  /* breadcrumb ให้ชิดขึ้นเล็กน้อย */
  .breadcrumb{ margin: 8px 0 6px; }

  /* แบนเนอร์: ลดขนาด และขยับขึ้น */
  .banner-custom{
    margin: 6px auto 14px;      /* top เล็กลง (จะชิดขึ้น) */
  }
  .banner-custom img{
    /* กว้างตามจอแต่จำกัดไม่ให้ใหญ่เกินไป */
    width: clamp(260px, 88vw, 420px);
    height: auto;
    display: block;
    margin: 0 auto;             /* จัดกลาง */
  }

  /* หัวข้อใต้แบนเนอร์ เผื่อช่องว่างเล็กน้อย */
  .page-head.container{ padding-top: 6px; }
  .page-title{ font-size: 20px; line-height: 1.35; }
  .page-sub{ font-size: 14px; }
}

/* STEP */
.step-header{
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 0 8px;
}

.progress{
  height:6px;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
}

.progress-bar{
  height:100%;
  width:33.33%;
  background:linear-gradient(90deg,var(--orange),#ffca08);
  transition:.35s;
}

.steps{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-top:8px;
}

.step{
  flex:1;
  text-align:center;
  color:#9ca3af;
}

.step.active{
  color:var(--blue);
  font-weight:600;
}

.step-title{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc{
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 28px;
}

@media (max-width: 768px){
  .step-title{
    font-size: 16px;          /* เดิม 28 */
    line-height: 1.25;
  }

  .step-desc{
    font-size: 13px;
    margin-bottom: 20px;
  }

  .step-header{
    max-width: 94vw;
    margin: 14px auto 6px;
  }

  .progress{
    height: 6px;              /* บางลง */
  }

  .steps{
    font-size: 11px;
    margin-top: 6px;
  }

  .step{
    letter-spacing: .2px;
  }
}

/* SLIDES */
.viewport{
  height: calc(100vh - 220px);   /* เหมือนเดิม */
  overflow-y: auto;              /* ⭐ scroll ที่นี่ */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.slides{
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slide{
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 16px 16px 30px; /* เดิม 120px */
}

.slide{
  height: auto;                  /* ❌ ไม่ fix 100% */
  overflow: visible;             /* ❌ ไม่ให้ scroll ซ้อน */
}

/* === DESKTOP OVERRIDE === */
@media (min-width: 1024px){
  .viewport{
    height: auto;
    overflow: visible;
  }

  .slide{
    height: auto;
    overflow: visible;
  }
}

.slide .card{
  width: 100%;
   max-width: 1200px;        /* สเกลเดียวกับ Step 1 */
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
}

@media (max-width: 768px){
  .slide .card{
    max-width: 94vw;          /* ไม่ชนขอบ */
    padding: 24px 22px;       /* ลดจาก desktop */
    border-radius: 22px;
    box-shadow: 0 8px 22px rgba(0,0,0,.10);
  }
}

/* ===== FOOTER (ปุ่ม Step) ===== */
.footer{
  max-width: 800px;
  position: static;
   margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ปุ่มพื้นฐาน */
.footer .btn{
  height: 52px;
  border-radius: 55px;
  font-size: 16px;
  font-weight: 700;
  flex: 1;
  border: none;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, opacity .12s;
}

/* ===== Primary: ถัดไป / สั่งซื้อ ===== */
.footer .btn.primary{
  color: #fff;
  background: #fc7803;
  box-shadow:
    inset 0 -4px 0 rgba(0,0,0,.15),
    0 6px 18px rgba(0,0,0,.18);
}

.footer .btn.primary:hover{
  opacity: .95;
}

.footer .btn.primary:active{
  transform: translateY(2px);
  box-shadow:
    inset 0 -2px 0 rgba(0,0,0,.12),
    0 4px 12px rgba(0,0,0,.15);
}

/* ===== Secondary: ย้อนกลับ ===== */
.footer .btn.secondary{
  background: #fff;
  color: #374151;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.footer .btn.secondary:hover{
  background: #f9fafb;
}

.footer .btn.secondary:active{
  transform: translateY(1px);
}

@media (max-width: 768px){
  .footer{
    max-width: 70%;
    gap: 12px;
  }

  .footer .btn{
    height: 48px;
    font-size: 15px;
  }
}


/* ================= STEP 1 FORM FIX ================= */

/* โครงหลักของการ์ด Step 1 */
.calc-dog .step-basic{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* field */
.calc-dog .step-basic .field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* label */
.calc-dog .step-basic .field-label{
  font-size: 14px;
  font-weight: 400;
  color: #374151;
}

/* input + select */
.calc-dog .step-basic .input,
.calc-dog .step-basic .select{
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  transition: border .15s ease, box-shadow .15s ease;
  font-weight: 400;
  color: #374151;
}

/* focus state */
.calc-dog .step-basic .input:focus,
.calc-dog .step-basic .select:focus{
  outline: none;
  border-color: #0970fa;
  box-shadow: 0 0 0 3px rgba(9,112,250,.15);
}

/* select wrapper */
.calc-dog .step-basic .select-wrap,
.calc-dog .step-basic .select{
  width: 100%;
}

/* mode selector */
.calc-dog .step-basic .mode-selector{
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 14px;
}

/* goal box */
.calc-dog .step-basic .goal-box{
  margin-top: 18px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 16px;
}

.calc-dog .goal-line{
  font-weight: 700;
  font-size: 15px;
}

.calc-dog .goal-sub{
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}


/* ================= MOBILE MODE SELECTOR FIX ================= */
@media (max-width: 768px){

  /* กล่องโหมดคำนวณ */
  .calc-dog .step-basic .mode-selector{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    width: 100%;
  }

  /* ซ่อน radio จริง */
  .calc-dog .step-basic .mode-selector input[type="radio"]{
    display: none;
  }

  /* label = ปุ่ม (กว้างเท่า input / select) */
  .calc-dog .step-basic .mode-selector label{
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    background: #fff;

    display: flex;
    align-items: center;

    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;

    cursor: pointer;
    transition: background .15s ease, border .15s ease, box-shadow .15s ease;
  }

  /* hover */
  .calc-dog .step-basic .mode-selector label:hover{
    background: #f9fafb;
  }

  /* ===== selected state (สีส้ม) ===== */
  .calc-dog .step-basic .mode-selector label:has(input:checked){
    background: #0970fa;
    color: #fff;
    box-shadow: #162a3e;
  }
}

/* ===== TOP SUMMARY ===== */
.top-summary{
  background: linear-gradient(135deg,#fc7801,#ffb703);
  color:#fff;
  border-radius:22px;
  padding:16px;
  margin-bottom:20px;
}

/* head */
.summary-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:12px;
}

.summary-label{
  font-size:12px;
  opacity:.9;
}

.summary-value{
  font-size:22px;
  font-weight:700;
  line-height:1.2;
}

.summary-sub{
  font-size:12px;
  opacity:.9;
}

.summary-prefix{
  font-size:12px;
  opacity:.9;
}

.summary-value{
  display:block;
  font-size:22px;
  font-weight:700;
  line-height:1.2;
}

.summary-sub{
  font-size:12px;
  opacity:.85;
  text-align:right;
}


/* progress */
.summary-progress{
  margin-bottom:14px;
}

.progress-track{
  background:rgba(255,255,255,.35);
  height:10px;
  border-radius:999px;
  overflow:hidden;
}

.progress-fill{
  height:100%;
  width:0%;
  background:#fff;
  transition:width .3s ease;
}

.progress-text{
  font-size:12px;
  margin-top:6px;
  text-align:right;
}

/* macros */
.summary-macros{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  text-align:center;
}

.macro-circle{
  width:42px;
  height:42px;
  margin:0 auto 4px;
  border-radius:50%;
  border:2px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:12px;
}

.macro span{
  font-size:11px;
  opacity:.95;
}

/* mobile scale */
@media (max-width:768px){
  .macro-circle{
    width:46px;
    height:46px;
    font-size:12px;
  }
}


/* ===== Ingredient Card : Clean App Style ===== */

.section-title{
  font-size:18px;
  font-weight:700;
  margin:16px 0 12px;
  padding:0 22px;
}

/* ===== GRID ===== */
.ingredient-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr); /* 📱 มือถือ = 2 คอลัมน์ */
  gap:12px;
  padding:0;
  margin-left:auto;
  margin-right:auto;
}
/* จอเล็กมาก (กันล้นจริง ๆ) */
@media (max-width: 640px){
  .ingredient-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* tablet */
@media (min-width:768px){
  .ingredient-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

/* desktop */
@media (min-width:1024px){
  .ingredient-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

/* ===== CARD ===== */
.ing-card{
  background:#fff;
  border-radius:20px;
  padding:14px 12px;
  border:1px solid #e5e7eb;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* ===== INNER ===== */
.ing-new{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:6px;
}

/* IMAGE */
.ing-image{
  width:64px;
  height:64px;
  border-radius:16px;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ing-image img{
  width:42px;
  height:42px;
  object-fit:contain;
}

/* TEXT */
.ing-title{
  font-size:14px;
  font-weight:600;
  line-height:1.2;
}
.ing-kcal{
  font-size:11px;
  color:#6b7280;
}

/* ===== BOTTOM ===== */
.ing-bottom{
  width:100%;
  margin-top:6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

/* PRICE */
.ing-price{
  font-size:16px;
  font-weight:700;
  color:#0970fa;
}

/* CONTROLS */
.ing-controls{
  display:flex;
  align-items:center;
  gap:6px;
}

/* BUTTON */
.ctrl{
  width:30px;
  height:30px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background:#fff;
  font-size:16px;
  line-height:1;
}

/* INPUT */
.ctrl-input{
  width:44px;
  height:30px;
  border-radius:10px;
  border:1px solid #d1d5db;
  text-align:center;
  font-size:13px;
  font-weight:600;
}





/* ================= STEP 3 SUMMARY ================= */
.step3-summary{
  background:#eef6dc;
}

/* header */
.s3-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}
.s3-header h2{ font-size:18px; font-weight:600; }
.s3-header p{ font-size:12px; color:#6b7280; }

.s3-actions button{
  width:36px;height:36px;
  border-radius:50%;
  border:none;
  background:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.1);
  cursor:pointer;
}

/* intake card */
.s3-intake{
  background: linear-gradient(135deg, #0970fa, #4da3ff);
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 16px;
  color: #ffffff; 
}
.s3-intake-label{ font-size:14px; margin-bottom:10px; }

.s3-intake-main{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.s3-percent{
  font-size:42px;
  font-weight:800;
}
.s3-sub{ font-size:12px; }

/* ring */
.s3-ring{
  position:relative;
  width:96px;height:96px;
}

/* พื้นหลัง */
.ring-bg{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#fde68a;
}

/* progress จริง */
.ring-progress{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:conic-gradient(#ffca08 0deg, #fde68a 0deg);

  /* ทำให้เป็นวงแหวน */
  -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
          mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
}



.ring-center{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-size:12px;
}
.ring-center strong{ font-size:16px; color: #342216;}

/* ตัวหนังสือรองทั้งหมด (/ 592 kcal) */
.ring-center > span{
  font-size:12px;
  color:#6b7280; /* เทาอ่อน */
}

/* white cards */
.s3-card{
  background:#fff;
  border-radius:24px;
  padding:16px;
  margin-bottom:16px;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.s3-card h3{
  font-size:14px;
  font-weight:600;
  margin-bottom:12px;
}

/* macros */
/* ================= ONLY calculator-dog: สีสถานะสรุปผล ================= */
:root{
  --ok:#10b981;
  --warn:#f59e0b;
  --bad:#ef4444;
}

/* แถบ progress */
.calc-dog .sum-row .progress{
  height:8px; background:#e9eef4; border-radius:999px; overflow:hidden;
}
.calc-dog .sum-row .progress .bar{
  height:100%; width:0; background:var(--brand-blue);
  transition:width .25s ease;
}
/* เปลี่ยนสีตามสถานะ */
.calc-dog .sum-row.is-ok   .progress .bar{ background:#10b981; }
.calc-dog .sum-row.is-warn .progress .bar{ background:#f59e0b; }
.calc-dog .sum-row.is-bad  .progress .bar{ background:#ef4444; }

/* ป้าย “ขาด/เกิน/พอดี” ให้เด่น */
.calc-dog .sum-row .row-diff,
.calc-dog .sum-row .sum-badge{           /* รองรับทั้งชื่อ class ที่คุณมีอยู่เดิม */
  display:inline-block; margin-top:6px; padding:4px 10px;
  border-radius:999px; font-size:12px; font-weight:700;
  border:1px solid transparent;
}
.calc-dog .sum-row.is-bad  .row-diff,
.calc-dog .sum-row.is-bad  .sum-badge{ background:#fee2e2; color:#b91c1c; border-color:#fecaca; }
.calc-dog .sum-row.is-warn .row-diff,
.calc-dog .sum-row.is-warn .sum-badge{ background:#fff1da; color:#b45309; border-color:#fde68a; }
.calc-dog .sum-row.is-ok   .row-diff,
.calc-dog .sum-row.is-ok   .sum-badge{ background:#e8f7ee; color:#065f46; border-color:#a7f3d0; }


/* === Progress bars (แก้ให้เส้นกลับมา + เปลี่ยนสีตามสถานะ) === */
:root{
  --ok:   #10b981; /* เขียว */
  --warn: #f59e0b; /* ส้ม */
  --bad:  #ef4444; /* แดง */
}

/* ===== FIX: progress bar not moving in STEP 3 ===== */
.calc-dog .sum-row .progress .bar{
  display: block;              /* ❗ สำคัญ */
  height: 100%;
  min-width: 2px;              /* กันกรณี % น้อยมาก */
  transition: width .25s ease;
}


/* ===== FIX: align macro name & value (STEP 3) ===== */
.calc-dog .sum-mini{
  display: flex;
  justify-content: space-between; /* ⭐ ซ้าย–ขวา */
  align-items: center;
  font-size: 14px;
  gap: 12px;
}

.calc-dog .sum-name{
  color:#111827;
  font-weight:600;
}

.calc-dog .sum-value{
  color:#111827;
  font-weight:600;
  white-space: nowrap;
}


/* ingredients */
.s3-ingredients{
  list-style:none;
  padding:0;margin:0;
}
.s3-ingredients li{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  padding:4px 0;
}

.s3-edit{
  margin-top:10px;
  width:100%;
  padding:12px;
  border-radius:14px;
  border:none;
  background:#f3f4f6;
  font-size:13px;
  cursor:pointer;
}

/* tips */
.s3-tips{
  font-size:13px;
  color:#4b5563;
  padding-left:16px;
}

