@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700&display=swap');

.rbt-enhanced-wrapper {
  font-family: 'Lato', sans-serif;
  background: #ffffff;
  width: 100%;
  margin: 0 auto;
  line-height: 1.6;
  color: #1a1a1a;
  display: block !important;
  visibility: visible !important;
}

.rbt-enhanced-wrapper * {
  box-sizing: border-box;
}

.rbt-enhanced-wrapper .rbt-section-top {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rbt-enhanced-wrapper .rbt-section-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(30deg, #d3311a 12%, transparent 12.5%, transparent 87%, #d3311a 87.5%, #d3311a),
    linear-gradient(150deg, #d3311a 12%, transparent 12.5%, transparent 87%, #d3311a 87.5%, #d3311a),
    linear-gradient(30deg, #d3311a 12%, transparent 12.5%, transparent 87%, #d3311a 87.5%, #d3311a),
    linear-gradient(150deg, #d3311a 12%, transparent 12.5%, transparent 87%, #d3311a 87.5%, #d3311a);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  opacity: 0.03;
  pointer-events: none;
}

.rbt-enhanced-wrapper .rbt-top-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rbt-enhanced-wrapper .rbt-top-badge {
  display: inline-block;
  background: transparent;
  border: 2px solid #d3311a;
  color: #d3311a;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.rbt-enhanced-wrapper .rbt-top-heading {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.rbt-enhanced-wrapper .rbt-top-heading .rbt-accent {
  color: #d3311a !important;
}

.rbt-enhanced-wrapper .rbt-top-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.7;
  margin: 0;
}

.rbt-enhanced-wrapper .rbt-section-controls {
  max-width: 1200px;
  margin: -60px auto 80px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.rbt-enhanced-wrapper .rbt-controls-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 50px 45px;
}

.rbt-enhanced-wrapper .rbt-controls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f5f5f5;
}

.rbt-enhanced-wrapper .rbt-controls-heading {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.rbt-enhanced-wrapper .rbt-controls-counter {
  background: #f9f9f9;
  color: #666;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

.rbt-enhanced-wrapper .rbt-active-filters-display {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  animation: slideDown 0.3s ease;
}

.rbt-enhanced-wrapper .rbt-active-filters-display.has-filters {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rbt-enhanced-wrapper .rbt-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d3311a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid #d3311a;
  transition: all 0.2s ease;
}

.rbt-enhanced-wrapper .rbt-active-filter .filter-label {
  opacity: 0.8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rbt-enhanced-wrapper .rbt-active-filter .filter-value {
  font-weight: 700;
}

.rbt-enhanced-wrapper .rbt-active-filter-remove {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s ease;
  padding: 0;
  margin-left: 4px;
}

.rbt-enhanced-wrapper .rbt-active-filter-remove:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.rbt-enhanced-wrapper .rbt-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.rbt-enhanced-wrapper .rbt-controls-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #000000 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  opacity: 1 !important;
}

.rbt-enhanced-wrapper .rbt-dropdown-wrap {
  position: relative;
  z-index: 100;
}

html body .rbt-enhanced-wrapper .rbt-enhanced-select,
html body .rbt-enhanced-wrapper select,
html body div.rbt-enhanced-wrapper select,
body .elementor-widget-recipe-widget-enhanced select,
.elementor .rbt-enhanced-wrapper select {
  width: 100% !important;
  padding: 16px 45px 16px 20px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 600 !important;
  color: #333333 !important;
  background-color: #ffffff !important;
  background-image: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #333333 !important;
  -moz-text-fill-color: #333333 !important;
  display: block !important;
}

html body .rbt-enhanced-wrapper select.has-selection {
  background-color: #fff9f8 !important;
  border-color: #d3311a !important;
  font-weight: 700 !important;
}

html body .rbt-enhanced-wrapper .rbt-enhanced-select:focus,
html body .rbt-enhanced-wrapper .rbt-enhanced-select:active {
  border-color: #d3311a !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(211, 49, 26, 0.1) !important;
}

html body .rbt-enhanced-wrapper select option {
  color: #333333 !important;
  background-color: #ffffff !important;
  padding: 12px 15px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  -webkit-text-fill-color: #333333 !important;
}

html body .rbt-enhanced-wrapper select option:checked,
html body .rbt-enhanced-wrapper select option:hover,
html body .rbt-enhanced-wrapper select option:focus {
  background-color: #fff9f8 !important;
  background: linear-gradient(90deg, #d3311a 0%, #d3311a 4px, #fff9f8 4px, #fff9f8 100%) !important;
  color: #d3311a !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #d3311a !important;
}

html body .rbt-enhanced-wrapper select option:checked::before,
html body .rbt-enhanced-wrapper select option:hover::before {
  content: '';
  display: inline-block;
  width: 4px;
  background-color: #d3311a !important;
}

html body .rbt-enhanced-wrapper select:focus option:checked {
  background-color: #d3311a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #ffffff !important;
}

.rbt-enhanced-wrapper .rbt-dropdown-wrap::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #d3311a;
  pointer-events: none;
  z-index: 102;
  transition: transform 0.3s ease;
}

.rbt-enhanced-wrapper .rbt-dropdown-wrap select:focus + ::after {
  transform: translateY(-50%) rotate(180deg);
}

.rbt-enhanced-wrapper .rbt-selection-indicator {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 103;
}

.rbt-enhanced-wrapper .rbt-dropdown-wrap.has-selection .rbt-selection-indicator {
  display: flex;
}

.rbt-enhanced-wrapper .rbt-selection-indicator::before {
  content: '✓';
  color: #d3311a;
  font-size: 16px;
  font-weight: 900;
  animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.rbt-enhanced-wrapper .rbt-input-wrap {
  grid-column: 1 / -1;
  position: relative;
}

.rbt-enhanced-wrapper .rbt-search-input {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  color: #000000 !important;
  background: #ffffff !important;
  transition: all 0.3s ease;
  -webkit-text-fill-color: #000000 !important;
}

.rbt-enhanced-wrapper .rbt-search-input::placeholder {
  color: #999 !important;
  opacity: 0.7 !important;
}

.rbt-enhanced-wrapper .rbt-search-input:focus {
  border-color: #d3311a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 49, 26, 0.1);
}

.rbt-enhanced-wrapper .rbt-actions-group {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 30px;
}

.rbt-enhanced-wrapper .rbt-button {
  padding: 16px 38px;
  border: none;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rbt-enhanced-wrapper .rbt-button-main {
  background: #d3311a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(211, 49, 26, 0.35);
}

.rbt-enhanced-wrapper .rbt-button-main:hover {
  background: #b82915;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(211, 49, 26, 0.45);
}

.rbt-enhanced-wrapper .rbt-button-alt {
  background: transparent;
  color: #666;
  border: 2px solid #e0e0e0;
}

.rbt-enhanced-wrapper .rbt-button-alt:hover {
  border-color: #d3311a;
  color: #d3311a;
  background: #fff9f8;
}

.rbt-enhanced-wrapper .rbt-section-output {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

.rbt-enhanced-wrapper .rbt-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 45px;
}

.rbt-enhanced-wrapper .rbt-output-heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.rbt-enhanced-wrapper .rbt-output-meta {
  background: #f9f9f9;
  color: #666;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

.rbt-enhanced-wrapper .rbt-spinner {
  text-align: center;
  padding: 120px 20px;
}

.rbt-enhanced-wrapper .rbt-spinner-icon {
  width: 70px;
  height: 70px;
  border: 6px solid #f0f0f0;
  border-top-color: #d3311a;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 30px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.rbt-enhanced-wrapper .rbt-spinner-label {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

.rbt-enhanced-wrapper .de-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.rbt-enhanced-wrapper .rbt-item-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  opacity: 0;
  animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rbt-enhanced-wrapper .rbt-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: #d3311a;
}

.rbt-enhanced-wrapper .de-recipe-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f5f5f5;
}

.rbt-enhanced-wrapper .de-recipe-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #d3311a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.rbt-enhanced-wrapper .de-recipe-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rbt-enhanced-wrapper .rbt-item-card:hover .de-recipe-image-wrap img {
  transform: scale(1.1);
}

.rbt-enhanced-wrapper .de-recipe-content {
  padding: 28px 24px;
}

.rbt-enhanced-wrapper .de-recipe-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.rbt-enhanced-wrapper .rbt-item-card:hover .de-recipe-name {
  color: #d3311a;
}

.rbt-enhanced-wrapper .de-recipe-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rbt-enhanced-wrapper .de-recipe-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background-color: #ffffff;
  color: #d3311a;
  text-decoration: none;
  border: 2px solid #d3311a;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s ease;
  -webkit-text-fill-color: #d3311a;
}

.rbt-enhanced-wrapper .de-recipe-link:hover {
  background-color: #d3311a;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
}

.rbt-enhanced-wrapper .de-recipe-link svg {
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
}

.rbt-enhanced-wrapper .de-recipe-link:hover svg path {
  stroke: #ffffff;
}

.rbt-enhanced-wrapper .de-empty-state {
  text-align: center;
  padding: 120px 20px;
}

.rbt-enhanced-wrapper .de-empty-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.rbt-enhanced-wrapper .de-empty-text {
  font-size: 16px;
  color: #999;
  margin: 0;
}

@media (max-width: 992px) {
  .rbt-enhanced-wrapper .rbt-top-heading {
    font-size: 42px;
  }
  
  .rbt-enhanced-wrapper .rbt-controls-grid {
    grid-template-columns: 1fr;
  }
  
  .rbt-enhanced-wrapper .de-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rbt-enhanced-wrapper .rbt-section-top {
    padding: 60px 20px;
  }
  
  .rbt-enhanced-wrapper .rbt-top-heading {
    font-size: 36px;
  }
  
  .rbt-enhanced-wrapper .rbt-controls-card {
    padding: 35px 25px;
  }
  
  .rbt-enhanced-wrapper .rbt-controls-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .rbt-enhanced-wrapper .rbt-actions-group {
    flex-direction: column;
    width: 100%;
  }
  
  .rbt-enhanced-wrapper .rbt-button {
    width: 100%;
  }
  
  .rbt-enhanced-wrapper .de-recipe-grid {
    grid-template-columns: 1fr;
  }
}
