.recipe-page {
  width: 100%;
  min-height: 100vh;
  background: white;
  position: relative;
  padding-bottom: 80px;
  z-index: 0;
}

.recipe-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
}

.recipe-back {
  display: none;
}

.recipe-back img {
  width: 28px; height: 28px;
}

.recipe-header-ingredients {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 22px;
  will-change: transform;
}

.recipe-header-ing-thumb {
  display: none;
  width: 20px; height: 20px;
  border-radius: 4px;
  overflow: hidden;
  background: white;
  align-items: center;
  justify-content: center;
}

.recipe-header-ing-thumb.visible {
  display: flex;
}

.recipe-header-ing-thumb img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: cover;
}

.recipe-header-save {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-image-wrap {
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  margin-top: -70px;
  z-index: 0;
}

.recipe-save-sticky {
  position: fixed;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.recipe-image {
  width: 317px; height: 317px;
  border-radius: 0;
  object-fit: cover;
}

.recipe-heat {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 20px;
}

.recipe-meta {
  text-align: center;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 22px;
  padding: 20px 20px 0;
}

.recipe-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 0 0;
  position: relative;
  z-index: 1;
  margin-top: -40px;
}

.recipe-meta {
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.recipe-rating-stars {
  display: flex;
  gap: 2px;
}

.recipe-rating-star-wrap {
  cursor: pointer;
  position: relative;
  width: 20px;
  height: 20px;
  color: #000;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
}

.recipe-rating-star-wrap svg {
  pointer-events: none;
  display: block;
}

.recipe-rating-star-half {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.recipe-rating-count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #7E7E7E;
}

.recipe-rating-popover {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 100;
}

.recipe-rating-popover-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: black;
  white-space: nowrap;
}

.recipe-rating-popover-stars {
  display: flex;
  gap: 12px;
}

.recipe-rating-popover-star {
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-title {
  text-align: center;
  color: black;
  font-size: 26px;
  font-family: 'Druk Wide', sans-serif;
  font-weight: 500;
  line-height: 30px;
  padding: 20px 20px 0;
}

.recipe-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 0;
}

.recipe-action-btn {
  width: 68px; height: 48px;
  background: #ECECE5;
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.recipe-action-btn img {
  width: 20px; height: 20px;
}

.recipe-like-btn {
  gap: 6px;
}

.recipe-like-btn svg {
  flex-shrink: 0;
}

.recipe-like-count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: black;
  line-height: 1;
}

.recipe-like-btn.liked svg {
  fill: #FF4B4B;
  stroke: #FF4B4B;
}

.recipe-like-btn.liked .recipe-like-count {
  color: #FF4B4B;
}

.recipe-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 40px 0 0;
}

.recipe-author[hidden] {
  display: none;
}

.recipe-author-avatar + .recipe-author-name {
  margin-top: 6px;
}

.recipe-author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #D9D9D9;
}

.recipe-author-avatar.fallback {
  background: var(--Button-primary, #FFF066) url('/images/Icons/heat.svg') center / 24px 24px no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-author-name {
  text-align: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 16px;
}

.recipe-author-role,
  .recipe-author-description,
  .recipe-author-link {
  text-align: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.recipe-card {
  margin: 10px 8px 0;
  padding: 30px;
  background: #F4F5F0;
  border-radius: 20px;
}

.recipe-card-title {
  text-align: center;
  color: rgb(126, 126, 126);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.recipe-card-text {
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 20px;
}

.recipe-ing-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.recipe-ing-row:last-child {
  margin-bottom: 0;
}

.recipe-ing-img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 8px;
  margin-top: 1px;
  flex-shrink: 0;
}

.recipe-ing-amount {
  flex: 1;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 18px;
}

.recipe-ing-name {
  flex: 1;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 18px;
}

.recipe-ing-name.highlight {
  color: black;
}

.recipe-ing-or {
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  margin-bottom: 12px;
}

.recipe-portions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recipe-portion-btn {
  width: 90px; height: 48px;
  background: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-portion-btn {
  font-size: 24px; font-weight: 300; color: black;
}

.recipe-portion-btn.disabled {
  color: #CCCCCA; opacity: 0.5; pointer-events: none;
}

.recipe-portion-btn img {
  width: 40px; height: 40px;
}

.recipe-portion-count {
  color: black;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 28px;
}

.recipe-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.recipe-tool-chip {
  height: 36px;
  padding: 0 10px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 20px;
}

.recipe-health-row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.recipe-health-row:last-child {
  margin-bottom: 0;
}

.recipe-health-label {
  flex: 1;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.recipe-health-value {
  flex: 1;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.recipe-seeall-btn {
  width: 100%; height: 48px;
  background: white;
  border: none;
  border-radius: 16px;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 16px;
  margin-top: 30px;
  cursor: pointer;
}

.recipe-allergen-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.recipe-allergen-circle {
  width: 48px; height: 48px;
  background: white;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.recipe-allergen-name {
  text-align: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.recipe-cook-btn-wrap {
  position: fixed;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.recipe-cook-btn {
  flex: 2;
  width: auto;
  height: 48px;
  background: black;
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  cursor: pointer;
}

.recipe-cook-btn-secondary {
  flex: 0 0 auto;
  min-width: 64px;
  height: 48px;
  background: #ECECE5;
  color: black;
  border: none;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 12px;
}

.recipe-cook-btn-text {
  color: white;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.recipe-cook-btn-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.recipe-cook-btn-time span {
  color: #CCCCCA;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 16px;
}

.benefits-overlay {
  position: fixed;
  display: none;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100;
}

.benefits-overlay.open {
  display: block;
}

.benefits-sheet {
  position: fixed;
  display: none;
  left: 0; right: 0; bottom: 0;
  max-height: calc(100% - 40px);
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 101;
  overflow-y: auto;
  padding-bottom: 16px;
}

.benefits-sheet.open {
  display: block;
}

.benefits-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.benefits-handle-bar {
  width: 36px;
  height: 4px;
  background: #CCCCCA;
  border-radius: 2px;
}

.benefits-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 12px 20px 0;
}

.benefits-subtitle {
  color: #A1A09F;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 18px;
}

.benefits-title {
  color: black;
  font-size: 24px;
  font-family: 'Druk Wide', sans-serif;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.benefits-tabs {
  display: flex;
  gap: 6px;
  padding: 20px 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.benefits-tabs::-webkit-scrollbar {
  display: none;
}

.benefits-tab {
  height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.benefits-tab.active {
  background: #ECECE5;
}

.benefits-slider {
  overflow: hidden;
  position: relative;
}

.benefits-slider-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease;
  width: 300%;
}

.benefits-slide {
  width: calc(100% / 3);
  flex-shrink: 0;
  box-sizing: border-box;
}

.benefits-ing-image {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.benefits-ing-image img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
}

.benefits-ing-name {
  text-align: center;
  color: black;
  font-size: 20px;
  font-family: 'Druk Wide Cy App', sans-serif;
  font-weight: 500;
  line-height: 22px;
  padding: 0 20px;
}

.benefits-description {
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 20px;
  padding: 20px 20px 0;
}

.benefits-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 8px 0;
}

.benefits-card {
  background: #F4F5F0;
  border-radius: 20px;
  padding: 24px;
}

.benefits-card-title {
  text-align: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
}

.benefits-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.benefits-row:last-child {
  margin-bottom: 0;
}

.benefits-row-label {
  flex: 1;
  min-width: 0;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.benefits-row-value {
  flex: 1;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.cooking-overlay {
  position: fixed;
  display: none;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
}

.cooking-overlay.open {
  display: block;
}

.cooking-sheet {
  position: fixed;
  display: none;
  left: 0; right: 0; bottom: 0;
  height: calc(100% - 40px);
  z-index: 201;
  flex-direction: column;
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.cooking-sheet.open {
  display: flex;
}

.cooking-sticky-top {
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  touch-action: none;
  cursor: grab;
}

.cooking-scroll-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
  overscroll-behavior: contain;
}

.cooking-handle {
  display: flex;
  justify-content: center;
  padding: 8px 0 8px;
  touch-action: none;
  cursor: grab;
}

.cooking-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.cooking-header-back {
  display: none;
}

.cooking-header-back img {
  width: 28px; height: 28px;
}

.cooking-header-ings {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
}

.cooking-header-ing-thumb {
  display: none;
  width: 20px; height: 20px;
  border-radius: 4px;
  overflow: hidden;
  background: #F4F5F0;
  align-items: center;
  justify-content: center;
}

.cooking-header-ing-thumb.visible {
  display: flex;
}

.cooking-header-ing-thumb img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: cover;
}

.cooking-header-save {
  position: fixed;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.cooking-handle-bar {
  width: 36px;
  height: 4px;
  background: #CCCCCA;
  border-radius: 2px;
}

.cooking-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 20px 0 20px;
}

.cooking-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cooking-step-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cooking-step-timer img {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

.cooking-step-timer-text {
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.cooking-step-title {
  text-align: center;
  color: black;
  font-size: 20px;
  font-family: 'Druk Wide', sans-serif;
  font-weight: 500;
  line-height: 24px;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

.cooking-step-card {
  background: #F4F5F0;
  border-radius: 20px;
  padding: 24px;
  margin: 0 8px;
}

.cooking-step-ing-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
}

.cooking-step-ing-row:last-child {
  margin-bottom: 0;
}

.cooking-step-ing-amount {
  flex: 1;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.cooking-step-ing-name {
  flex: 1;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.cooking-step-tools {
  background: #F4F5F0;
  border-radius: 20px;
  padding: 16px;
  margin: 0 8px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cooking-step-tool-chip {
  height: 36px;
  padding: 0 10px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.cooking-step-text {
  color: black;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 20px;
  padding: 0 16px;
  position: relative;
}

.cooking-time-badge {
  display: inline;
  padding: 0.15em 0.3em;
  background: black;
  border-radius: 0.4em;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  /* font-size + line-height set in JS (syncCookingBadgeSizes) so iOS
     can't double-inflate the badge relative to its parent text. */
  cursor: pointer;
}

.timer-tooltip-overlay {
  position: fixed;
  display: none;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 300;
  background: rgba(0,0,0,0.4);
}

.timer-tooltip {
  position: fixed;
  display: none;
  z-index: 301;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-tooltip-inner {
  background: black;
  border-radius: 16px;
  padding: 26px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.timer-tooltip-hint {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-align: center;
}

.timer-tooltip-hint strong {
  color: white;
  font-weight: 600;
}

.timer-tooltip-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.timer-tooltip-opt {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.timer-tooltip-opt.selected {
  background: white;
  color: black;
}

.timer-tooltip-btn {
  width: 100%;
  height: 48px;
  background: white;
  border-radius: 16px;
  border: none;
  color: black;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.cooking-step-image {
  display: flex;
  justify-content: center;
  margin: -50px 0 -20px;
  position: relative;
  z-index: -1;
}

.cooking-step-image img {
  width: 317px;
  height: 317px;
  border-radius: 20px;
  object-fit: cover;
}

.cooking-complete-wrap {
  padding: 20px 20px 40px;
  z-index: 210;
}

.cooking-complete-btn {
  width: 100%;
  height: 48px;
  background: black;
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.cooking-timers-wrap {
  position: fixed;
  display: none;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 210;
  display: flex;
  flex-direction: row;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 8px;
}

.cooking-timers-wrap::-webkit-scrollbar {
  display: none;
}

.cooking-timer-bar {
  min-width: 137px;
  height: 48px;
  background: black;
  border-radius: 16px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cooking-timer-step {
  color: #7E7E7E;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 16px;
}

.cooking-timer-time {
  color: white;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}

.cooking-timer-close {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -3px;
}

.cooking-timer-close svg {
  width: 12px;
  height: 12px;
}

.cook-community {
  margin-top: 32px;
  padding: 24px 20px 0;
  border-top: 1px solid rgba(204,204,202,0.3);
}

.cook-community-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.cook-community-toggle-btn {
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: black;
}

.cook-community-toggle-btn.active {
  background: #F4F5F0;
}

.cook-tab-panels {
  display: grid;
}

.cook-tab-panel {
  grid-row: 1;
  grid-column: 1;
}

.cook-tab-active {
  visibility: visible;
  opacity: 1;
}

.cook-tab-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cook-comment-signin {
  text-align: center;
  padding: 16px;
  color: #7E7E7E;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.cook-comment-signin-link {
  color: black;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cook-comment {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(204,204,202,0.3);
}

.cook-comment:last-child {
  border-bottom: none;
}

.cook-comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F6E5B9;
  color: black;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cook-comment-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cook-comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cook-comment-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: black;
}

.cook-comment-date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #7E7E7E;
}

.cook-comment-country {
  font-size: 11px;
  color: #7E7E7E;
}

.cook-comment-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: black;
}

.cook-comment-toggle {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #7E7E7E;
  cursor: pointer;
}

.cook-comment-actions {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.cook-comment-like,
  .cook-comment-reply-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #7E7E7E;
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}

.cook-gallery-empty {
  text-align: center;
  padding: 32px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #7E7E7E;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cook-gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.recipe-ing-sheet-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 300;
}

.recipe-ing-sheet-overlay.open {
  display: block;
}

.recipe-ing-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(100% - 40px);
  background: white;
  border-radius: 20px 20px 0 0;
  z-index: 301;
  flex-direction: column;
  padding: 0 0 20px;
}

.recipe-ing-sheet.open {
  display: flex;
}

.recipe-ing-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 10px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.recipe-ing-sheet-handle::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 10px;
  background: linear-gradient(180deg, white 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.recipe-ing-sheet-handle-bar {
  width: 36px;
  height: 4px;
  background: #CCCCCA;
  border-radius: 2px;
}

.recipe-ing-sheet-title {
  text-align: center;
  font-family: 'Druk Wide', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: black;
  margin-top: 10px;
  margin-bottom: 16px;
}

.recipe-ing-sheet-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  padding-bottom: 68px;
}

.recipe-ing-sheet-list::-webkit-scrollbar {
  display: none;
}

.recipe-ing-sheet-row {
  display: flex;
  align-items: center;
  padding: 9px 20px;
  gap: 14px;
  transition: background 0.2s;
}

.recipe-ing-sheet-row.selected {
  background: #F4F5F0;
}

.recipe-ing-sheet-check {
  width: 22px;
  height: 22px;
  border: 1.5px solid #D9D9D3;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.recipe-ing-sheet-check.checked {
  background: black;
  border-color: black;
}

.recipe-ing-sheet-check.checked::after {
  content: '';
  width: 20px;
  height: 20px;
  background: url('/images/Icons/done.svg') no-repeat center;
  background-size: contain;
  filter: invert(1);
}

.recipe-ing-sheet-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #F4F5F0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-ing-sheet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-ing-sheet-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recipe-ing-sheet-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: black;
}

.recipe-ing-sheet-qty {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #999;
}

.recipe-ing-sheet .home-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  width: auto;
}

.recipe-ing-sheet .home-btn.disabled {
  background: #D9D9D3;
  pointer-events: none;
}


@media (min-width: 640px) {
  .benefits-title br {
    display: none;
  }
}
