/* ============================================================
   KULINER NUSANTARA — GLOBAL STYLES (SCOPED)
   ============================================================ */

.kuliner-wrapper {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #A07830;
  --dark-bg:     #1A0F05;
  --dark-panel:  #231509;
  --dark-card:   #2A1A0A;
  --dark-mid:    #3A2010;
  --text-light:  #F0E8D8;
  --text-muted:  #B8A88A;
  --wood-border: #5A3A18;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-lora:   'Lora', Georgia, serif;
  --font-sans:   'Open Sans', sans-serif;
  
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: var(--font-sans);
  position: relative;
  z-index: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.kuliner-wrapper .hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px 60px 60px;
  gap: 60px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90, 50, 10, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, #1A0F05 0%, #2A1608 40%, #1E1005 100%);
  position: relative;
  overflow: hidden;
}

/* subtle wood texture overlay */
.kuliner-wrapper .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.012) 2px,
      rgba(255,255,255,0.012) 4px
    );
  pointer-events: none;
}

/* ornamental corners */
.kuliner-wrapper .hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
}

/* ---- hero left ---- */
.kuliner-wrapper .hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kuliner-wrapper .hero-image-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kuliner-wrapper .hero-image-wrap::before,
.kuliner-wrapper .hero-image-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.45);
}

.kuliner-wrapper .hero-image-wrap::before {
  inset: -10px;
}

.kuliner-wrapper .hero-image-wrap::after {
  inset: -22px;
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(201, 168, 76, 0.2);
}

.kuliner-wrapper .hero-food-img {
  width: 310px !important;
  height: 310px !important;
  max-width: 310px !important;
  max-height: 310px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
  display: block !important;
}

/* fallback when no image */
.kuliner-wrapper .hero-food-img[src$=".jpg"]:not([src*="/"]) {
  background: var(--dark-card);
}

/* ---- hero right ---- */
.kuliner-wrapper .hero-right {
  padding-right: 20px;
}

.kuliner-wrapper .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 30px;
  padding: 6px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 20px;
}

.kuliner-wrapper .badge-icon {
  font-size: 10px;
  color: var(--gold);
}

.kuliner-wrapper .hero-title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.6);
}

.kuliner-wrapper .hero-subtitle {
  font-family: var(--font-lora);
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.kuliner-wrapper .hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 20px;
}

.kuliner-wrapper .hero-section-title {
  font-family: var(--font-lora);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.kuliner-wrapper .hero-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.kuliner-wrapper .hero-ornament {
  font-size: 20px;
  color: rgba(201, 168, 76, 0.4);
  margin: 20px 0;
  letter-spacing: 4px;
}

.kuliner-wrapper .btn-ingredient {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #C9A84C, #E8C97A, #A07830);
  color: var(--dark-bg);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  padding: 14px 36px;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  transition: all 0.3s ease;
}

.kuliner-wrapper .btn-ingredient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.55);
  background: linear-gradient(135deg, #E8C97A, #C9A84C, #C9A84C);
}

.kuliner-wrapper .hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.kuliner-wrapper .btn-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2A1A0A, #3A2010);
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  padding: 14px 36px;
  border-radius: 40px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}

.kuliner-wrapper .btn-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.4);
  background: linear-gradient(135deg, #3A2010, #2A1A0A);
  border-color: var(--gold-light);
}

.kuliner-wrapper .btn-icon { font-size: 16px; }

/* ============================================================
   GALERI SECTION
   ============================================================ */
.kuliner-wrapper .galeri {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(60, 35, 10, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, #1E1206 0%, #120B03 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

/* top border line */
.kuliner-wrapper .galeri::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
}

.kuliner-wrapper .galeri-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  padding: 0 40px;
}

.kuliner-wrapper .galeri-ornament-left,
.kuliner-wrapper .galeri-ornament-right {
  color: var(--gold);
  font-size: 16px;
  opacity: 0.7;
  letter-spacing: 2px;
}

.kuliner-wrapper .galeri-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--gold-light);
  text-align: center;
  white-space: nowrap;
}

/* ---- 3D Carousel ---- */
.kuliner-wrapper .carousel-scene {
  display: grid;
  width: 100%;
  height: 28rem;
  overflow: hidden;
  perspective: 35em;
  mask: linear-gradient(90deg, #0000, #000 15% 85%, #0000);
  -webkit-mask: linear-gradient(90deg, #0000, #000 15% 85%, #0000);
}

.kuliner-wrapper .carousel-3d {
  place-self: center;
  transform-style: preserve-3d;
  animation: none;
  display: grid;
  will-change: transform;
}

/* Carousel Navigation Buttons */
.kuliner-wrapper .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
  line-height: 1;
  padding: 0;
}

.kuliner-wrapper .carousel-nav:hover {
  background: var(--gold);
  color: var(--dark-bg);
  transform: translateY(-50%) scale(1.1);
}

.kuliner-wrapper .carousel-nav-prev {
  left: 20px;
}

.kuliner-wrapper .carousel-nav-next {
  right: 20px;
}

@keyframes rotateCarousel {
  to {
    rotate: y 1turn;
  }
}

.kuliner-wrapper .carousel-card {
  --w: 14em;
  --ba: 1turn / var(--n);
  grid-area: 1 / 1;
  width: var(--w);
  aspect-ratio: 7 / 10;
  backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * var(--ba)))
    translateZ(calc(-1 * (0.5 * var(--w) + 0.5em) / tan(0.5 * var(--ba))));
  cursor: pointer;
}

.kuliner-wrapper .carousel-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.5em;
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.3);
  box-shadow:
    0 2em 2em -1em rgba(0, 0, 0, 0.5),
    0 0 18px rgba(201, 168, 76, 0.12);
  transform-origin: center center;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease,
    transform 0.35s ease;
}

.kuliner-wrapper .carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kuliner-wrapper .carousel-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 12px 14px;
  background: rgba(20, 10, 3, 0.3);
  text-align: center;
  pointer-events: none;
}

.kuliner-wrapper .carousel-card-name {
  display: block;
  color: #fff8e8;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kuliner-wrapper .carousel-card:hover .carousel-card-media {
  border-color: #ca9c42;
  filter: brightness(1.06);
  box-shadow:
    0 2em 2em -1em rgba(0, 0, 0, 0.45),
    0 0 22px rgba(202, 156, 66, 0.45),
    0 0 40px rgba(232, 196, 117, 0.28);
  animation: carouselCardBounceZoom 0.6s cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

@keyframes carouselCardBounceZoom {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-12px) scale(1.08);
  }
  50% {
    transform: translateY(-5px) scale(1.04);
  }
  70% {
    transform: translateY(-9px) scale(1.1);
  }
  100% {
    transform: translateY(-6px) scale(1.09);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kuliner-wrapper .carousel-card:hover .carousel-card-media {
    animation: none;
    transform: translateY(-4px) scale(1.08);
  }
}

.kuliner-wrapper .galeri-bottom-ornament {
  text-align: center;
  margin-top: 40px;
  font-size: 22px;
  color: rgba(201, 168, 76, 0.35);
  letter-spacing: 6px;
}

/* ============================================================
   RECIPE MODAL
   ============================================================ */
.kuliner-wrapper .modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.kuliner-wrapper .modal-overlay.active {
  display: flex;
}

.kuliner-wrapper .modal-content {
  background: linear-gradient(180deg, #1E1206 0%, #120B03 100%);
  border: 2px solid var(--gold-dark);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 168, 76, 0.15);
}

/* Custom scrollbar for modal */
.kuliner-wrapper .modal-content::-webkit-scrollbar {
  width: 8px;
}

.kuliner-wrapper .modal-content::-webkit-scrollbar-track {
  background: rgba(201, 168, 76, 0.1);
  border-radius: 4px;
}

.kuliner-wrapper .modal-content::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
  border: 1px solid var(--gold);
}

.kuliner-wrapper .modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.kuliner-wrapper .modal-close {
  position: fixed;
  top: 15px;
  right: 15px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 28px;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10000;
  line-height: 1;
}

.kuliner-wrapper .modal-close:hover {
  background: var(--gold);
  color: var(--dark-bg);
  transform: rotate(90deg);
}

.kuliner-wrapper .modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  text-align: center;
}

.kuliner-wrapper .modal-food-info {
  margin-bottom: 15px;
}

.kuliner-wrapper .modal-food-category {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 5px;
}

.kuliner-wrapper .modal-food-region {
  font-family: var(--font-lora);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.kuliner-wrapper .modal-food-img {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.kuliner-wrapper .modal-food-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: #1a0e00;
  margin: 15px 0 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.kuliner-wrapper .modal-food-short-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: #666666;
  max-width: 620px;
  margin: 0 auto;
}

.kuliner-wrapper .modal-food-details {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: nowrap;
  width: 100%;
}

.kuliner-wrapper .detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fdf8ef;
  padding: 10px 8px;
  border-radius: 8px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.kuliner-wrapper .detail-icon {
  font-size: 20px;
}

.kuliner-wrapper .detail-item p {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  color: #1a0e00;
  margin: 0;
  white-space: nowrap;
}

.kuliner-wrapper .modal-body {
  padding: 30px;
}

.kuliner-wrapper .modal-section-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 15px;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.kuliner-wrapper .modal-food-title-inline {
  color: var(--text-light);
}

.kuliner-wrapper .modal-food-long-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.kuliner-wrapper .modal-ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.kuliner-wrapper .modal-ingredients-list li {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kuliner-wrapper .modal-ingredients-list li::before {
  content: '•';
  color: #ca9c42;
  font-size: 12px;
  position: static;
}

.kuliner-wrapper .modal-steps-list {
  margin-bottom: 25px;
  padding-left: 25px;
}

.kuliner-wrapper .modal-steps-list li {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.kuliner-wrapper .modal-steps-list li::marker {
  color: var(--gold);
  font-weight: bold;
}

.kuliner-wrapper .modal-tips-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.1));
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 14px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.kuliner-wrapper .modal-tips-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-bg);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.kuliner-wrapper .video-modal-content {
  background: linear-gradient(180deg, #1E1206 0%, #120B03 100%);
  border: 2px solid var(--gold-dark);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  height: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 168, 76, 0.15);
}

.kuliner-wrapper .video-modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  text-align: center;
}

.kuliner-wrapper .video-modal-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 10px 0;
  letter-spacing: 3px;
}

.kuliner-wrapper .video-modal-food-name {
  font-family: var(--font-lora);
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 1px;
}

.kuliner-wrapper .video-modal-body {
  padding: 30px;
}

.kuliner-wrapper .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 55.05%; /* 16:9 aspect ratio */
  background: var(--dark-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.kuliner-wrapper .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   IMAGE PLACEHOLDER (when real images not available)
   ============================================================ */
.kuliner-wrapper img {
  background-color: var(--dark-card);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .kuliner-wrapper .hero {
    grid-template-columns: 1fr;
    padding: 100px 30px 60px;
    text-align: center;
  }

  .kuliner-wrapper .hero-image-wrap {
    width: 300px; height: 300px;
    margin: 0 auto;
  }

  .kuliner-wrapper .hero-food-img {
    width: 260px; height: 260px;
  }

  .kuliner-wrapper .hero-title { font-size: 52px; }

  .kuliner-wrapper .hero-divider { margin: 0 auto 20px; }

  .kuliner-wrapper .hero-right { padding-right: 0; }

  .kuliner-wrapper .galeri-title { font-size: 20px; letter-spacing: 3px; }

  .kuliner-wrapper .slider-btn { margin: 0 8px; }
}

@media (max-width: 600px) {
  .kuliner-wrapper .hero { padding: 90px 20px 50px; gap: 30px; }
  .kuliner-wrapper .hero-title { font-size: 42px; }
  .kuliner-wrapper .food-card { width: 150px; }
  .kuliner-wrapper .card-img-wrap { height: 110px; }
}

/* ============================================================
   RECIPE MODAL STYLES (GOLD FRAME & ELEGANT LAYOUT)
   ============================================================ */
#recipe-modal.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}

#recipe-modal.modal-overlay.active {
  display: flex;
}

#recipe-modal .modal-content {
  background: #ffffff;
  max-width: 820px;
  width: 94%;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(202, 156, 66, 0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1a0e00;
}

#recipe-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ca9c42;
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(202, 156, 66, 0.4);
  transition: all 0.25s ease;
}

#recipe-modal .modal-close:hover {
  background: #b88628;
  transform: scale(1.08);
}

#recipe-modal .modal-header {
  padding: 40px 40px 30px 40px;
  background: #ffffff;
  text-align: center;
  border-bottom: 1px solid #f2e9dc;
}

#recipe-modal .modal-food-category {
  color: #ca9c42;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin: 0 0 6px;
  font-family: 'Open Sans', sans-serif;
}

#recipe-modal .modal-food-region {
  color: #555555;
  font-size: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  margin: 5px 0 0 0;
}

#recipe-modal .modal-food-img-wrapper {
  position: relative;
  width: 100%;
  margin: 18px 0 25px 0;
  border-radius: 16px;
  padding: 4px;
  background: linear-gradient(135deg, #ca9c42 0%, #e8c475 50%, #b88628 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

#recipe-modal .modal-food-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #f4ebd9;
  border: 3px solid #b88628;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

#recipe-modal .modal-food-title {
  font-size: 36px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  color: #1b1b1b;
  margin: 0 0 10px 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

#recipe-modal .modal-food-short-desc {
  color: #555555;
  line-height: 1.65;
  font-size: 14px;
  max-width: 620px;
  margin: 0 auto 25px auto;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

#recipe-modal .modal-food-details {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: stretch;
  gap: 6px !important;
  margin-top: 16px;
  flex-wrap: nowrap !important;
  width: 100%;
}

#recipe-modal .detail-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fdf8ef;
  padding: 10px 8px !important;
  border-radius: 8px !important;
  border: 1px solid #f5ebd8;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#recipe-modal .detail-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(202, 156, 66, 0.15);
}

#recipe-modal .detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px !important;
}

#recipe-modal .detail-icon svg {
  width: 20px !important;
  height: 20px !important;
}

#recipe-modal .detail-item p {
  margin: 0;
  color: #1a0e00;
  font-weight: 800;
  font-size: 11px !important;
  white-space: nowrap;
  line-height: 1.2;
}

@media (max-width: 600px) {
  #recipe-modal .modal-header {
    padding: 30px 20px 20px 20px;
  }

  #recipe-modal .modal-header > div {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #recipe-modal .modal-food-img {
    height: 190px;
  }

  #recipe-modal .modal-food-title {
    font-size: 26px;
    white-space: normal;
  }

  #recipe-modal .modal-food-details {
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  #recipe-modal .detail-item {
    padding: 10px 8px !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }
}

