/* ==========================================================================
   SHOIMO CULINARY THEME - SIGNATURE BRAND DESIGN SYSTEM (WITH MULISH FONT)
   ========================================================================== */

:root {
  --primary: #F35A00;        /* Vibrant Culinary Orange */
  --primary-hover: #D84F00;
  --primary-light: #FFF0E6;
  --secondary: #4A7C59;      /* Sage Green */
  --accent: #F4A261;
  --bg-main: #FFF9F5;        /* Warm Peach/Cream Soft Background */
  --bg-card: #FFFFFF;
  --text-dark: #1E2022;      /* Deep Charcoal Text */
  --text-muted: #70757A;
  --border-color: #F0E8E2;
  --shadow-sm: 0 4px 16px rgba(243, 90, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   CUSTOM BRAND FORM CONTROLS: SELECTS, INPUTS, CUSTOM FILE PICKER & BUTTONS
   ========================================================================== */

/* Select dropdowns in SHOIMO signature brand style */
select, 
select.input,
.shoimo-select-custom {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--bg-card);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23F35A00" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 42px 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

select:hover, select:focus,
select.input:hover, select.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(243, 90, 0, 0.12);
}

/* Text inputs, Textareas & Form fields */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(243, 90, 0, 0.12);
  background: #ffffff;
}

/* Custom Styled File Input Picker Component */
.shoimo-custom-file-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.shoimo-custom-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.shoimo-custom-file-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-main);
  border: 1.5px dashed var(--border-color);
  border-radius: 14px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.shoimo-custom-file-wrap:hover .shoimo-custom-file-btn {
  border-color: var(--primary);
  background: var(--primary-light);
}

.shoimo-file-badge {
  background: var(--primary);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.shoimo-file-name-text {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dashboard Tabs Clean Styling (No Unwanted Black Borders) */
.user-dashboard-tabs,
.account-auth-tabs {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid var(--border-color) !important;
  outline: none !important;
  box-shadow: none !important;
}

.dash-tab-btn,
.auth-tab-btn {
  outline: none !important;
  box-shadow: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* ==========================================================================
   CULINARY STYLED BREADCRUMBS
   ========================================================================== */

.shoimo-breadcrumbs-wrapper {
  margin-bottom: 25px;
}

.shoimo-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.shoimo-breadcrumbs .bc-link {
  color: #4A4D52;
  transition: color 0.2s ease;
}

.shoimo-breadcrumbs .bc-link:hover {
  color: var(--primary);
}

.shoimo-breadcrumbs .bc-sep {
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
}

.shoimo-breadcrumbs .bc-current {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.shoimo-notice-bar {
  background: #18191B;
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 15px;
  font-weight: 500;
  font-family: var(--font-body);
}

.shoimo-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.shoimo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.shoimo-logo a {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shoimo-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.shoimo-nav a {
  font-weight: 700;
  font-size: 15px;
  color: #4A4D52;
  padding: 8px 0;
  font-family: var(--font-body);
}

.shoimo-nav a:hover,
.shoimo-nav .current-menu-item a {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search-bar {
  display: flex;
  align-items: center;
  background: #F6F2EF;
  border-radius: 30px;
  padding: 8px 18px;
  gap: 10px;
  width: 220px;
}

.header-search-bar input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
  font-family: var(--font-body);
}

.btn-header-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font-body);
}

.btn-header-cta:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* DIALECT AUTO-TOOLTIPS */
mark.shoimo-dialect {
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline dotted var(--accent);
  text-underline-offset: 3px;
  position: relative;
  cursor: help;
  outline: none;
}

mark.shoimo-dialect::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--text-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 99;
  pointer-events: none;
  line-height: 1.4;
  font-family: var(--font-body);
}

mark.shoimo-dialect:hover::after,
mark.shoimo-dialect:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* HERO SECTION */
.hero-section {
  padding: 50px 0 30px;
}

.hero-card-forecipe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-subhead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 480px;
  font-family: var(--font-body);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(243, 90, 0, 0.25);
  transition: transform 0.2s, background 0.2s;
  font-family: var(--font-body);
}

.btn-hero-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: #fff;
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
  padding: 16px 28px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 15px;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-circle-img {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border: 8px solid #fff;
}

.hero-floating-bubble {
  position: absolute;
  top: 40px;
  right: -10px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* POPULAR CATEGORIES GRID */
.cat-card-forecipe {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  position: relative;
}

.cat-card-forecipe:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}

.cat-badge-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.cat-card-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.cat-card-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* ORANGE CTA INTERACTIVE BANNER */
.cta-banner-orange {
  background: linear-gradient(135deg, #F35A00 0%, #FF7A28 100%);
  border-radius: var(--radius-md);
  padding: 40px 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0;
  box-shadow: 0 12px 32px rgba(243, 90, 0, 0.2);
}

.cta-banner-content h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.cta-banner-content p {
  font-size: 15px;
  opacity: 0.9;
}

.btn-cta-white {
  background: #fff;
  color: var(--primary);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s;
  font-family: var(--font-body);
}

.btn-cta-white:hover {
  transform: scale(1.04);
}

/* RECIPE CARD GRID */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.recipe-card-forecipe {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.recipe-card-forecipe:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-tag-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.card-recipe-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.card-meta-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.pill-diff-easy {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
}

/* STAR RATING WIDGET */
.shoimo-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFF9F5;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #FCE4D6;
}

.shoimo-stars-wrapper {
  display: flex;
  gap: 4px;
}

.star-item {
  font-size: 18px;
  cursor: pointer;
  color: #DDD;
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.star-item.star-filled,
.star-item.star-hover {
  color: #F35A00;
}

.star-item:hover {
  transform: scale(1.25);
}

.rating-text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 700;
}

/* SINGLE RECIPE PAGE */
.recipe-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.recipe-main-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.recipe-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.gallery-thumb-item {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

.recipe-badges-top {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.top-pill {
  background: #F4ECE7;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.single-title-forecipe {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.single-excerpt-forecipe {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.stars-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-weight: 700;
}

.single-actions-row {
  display: flex;
  gap: 14px;
}

.btn-save-orange {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.btn-save-orange.saved {
  background: #E2D9D2 !important;
  color: #555555 !important;
}

.btn-save-orange.saved:hover {
  background: #D5CCC5 !important;
}

.btn-share-outline {
  background: #fff;
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-body);
}

/* RECIPE CONTENT 2-COLUMNS */
.recipe-main-2col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
}

.ingredients-card-white {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.ing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.ing-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: var(--text-dark);
}

.ing-card-servings {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.ing-group-header {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin: 15px 0 8px;
}

.ingredients-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ingredients-list li {
  list-style: none !important;
  list-style-type: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 12px 0 !important;
  border-bottom: 1px dashed var(--border-color) !important;
  font-size: 15px !important;
}

.ingredients-list li::marker {
  content: "" !important;
  display: none !important;
}

.ing-item-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  flex: 1;
  position: relative;
}

.ing-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #E2D9D2;
  border-radius: 6px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ing-item-label:hover .custom-checkbox {
  border-color: var(--primary);
}

.ing-checkbox:checked ~ .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.ing-checkbox:checked ~ .custom-checkbox::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.ingredients-list li.checked .ing-name {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ==========================================================================
   CUTTING BOARD STEP BADGES
   ========================================================================== */

.step-row-forecipe {
  display: flex;
  gap: 22px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  align-items: start;
}

.cutting-board-badge {
  position: relative;
  width: 84px;
  height: 106px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 6px 14px rgba(243, 90, 0, 0.2));
}

.cutting-board-badge:hover {
  transform: translateY(-3px);
}

.board-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.board-text {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-family: var(--font-heading);
}

.step-body-text {
  flex: 1;
}

.step-side-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-side-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.tip-box-warm {
  background: #FFF4EC;
  border-radius: 16px;
  padding: 20px;
  margin-top: 25px;
  font-size: 14px;
  color: #6C4029;
}

/* ==========================================================================
   RECIPE TAGS DISPLAY - CLEAN & ELEGANT (NO UNWANTED BLACK BORDERS)
   ========================================================================== */

.recipe-tags-wrapper {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.recipe-tags-wrapper .top-pill {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-dark) !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: var(--shadow-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
}

.recipe-tags-wrapper .top-pill:hover {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
}

/* LIGHTBOX OVERLAY FOR ENLARGING STEP IMAGES */
.shoimo-lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.shoimo-lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
}

/* STYLED COMMENTS SECTION */
.shoimo-comments-wrapper {
  margin-top: 50px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.shoimo-comments-wrapper h2,
.shoimo-comments-wrapper h3,
#reply-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

#commentform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-notes, .logged-in-as {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #E2D9D2;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background: var(--bg-main);
  transition: border-color 0.2s;
}

#commentform textarea:focus,
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus {
  border-color: var(--primary);
  background: #fff;
}

.form-submit #submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font-body);
}

.form-submit #submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.comment-list .comment-body {
  background: var(--bg-main);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.comment-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.comment-author cite {
  font-weight: 800;
  font-style: normal;
  color: var(--text-dark);
  font-size: 15px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-card-forecipe, .recipe-hero-split, .recipe-main-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shoimo-nav, .header-search-bar { display: none; }
  .single-title-forecipe { font-size: 28px; }
  .step-row-forecipe { flex-direction: column; }
  .step-side-img { width: 100%; height: 200px; }
}
