/*
Theme Name: Vegustando
Theme URI: https://staging.vegustando.com
Author: Vegustando Team
Description: Custom target theme for the Vegustando rebuild and migration.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
Text Domain: vegustando
*/

/* Minimal base styles for initial scaffold. */
.vegustando-site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
}

.vegustando-entry-title {
  margin-bottom: 0.75rem;
}

.vegustando-entry-thumbnail img {
  display: block;
  max-width: 100%;
  height: auto;
}

.vegustando-recipe {
  line-height: 1.6;
  --vegustando-floating-offset-right: max(1rem, env(safe-area-inset-right));
  --vegustando-floating-offset-bottom-base: max(1rem, env(safe-area-inset-bottom));
  --vegustando-floating-offset-right-extra: 0px;
  --vegustando-floating-offset-bottom-extra: 0px;
  --vegustando-floating-trigger-z: 430;
  --vegustando-floating-modal-z: 520;
}

.vegustando-recipe > section,
.vegustando-recipe > figure {
  margin: 1.25rem 0;
}

.vegustando-recipe-first-slice-header {
  margin-bottom: 0.85rem;
}

.vegustando-recipe-title {
  margin: 0;
  line-height: 1.2;
  font-size: 1.9rem;
  color: #3f4a3c;
}

.vegustando-recipe-summary,
.vegustando-recipe-abstract {
  color: #5b6b57;
}

.vegustando-recipe-summary p,
.vegustando-recipe-abstract p {
  margin: 0.5rem 0;
}

.vegustando-recipe-first-slice-thumbnail {
  margin: 0 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f3ea;
}

.vegustando-recipe-first-slice-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ========== RECIPE METADATA SECTION ========== */

.vegustando-recipe-metadata-section {
  margin: 1.25rem 0;
}

.vegustando-recipe-metadata-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.vegustando-recipe-metadata-card {
  padding: 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  background: #ffffff;
}

.vegustando-recipe-metadata-card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: #3f4a3c;
}

.vegustando-recipe-metadata-card-list {
  margin: 0;
  padding: 0;
}

.vegustando-recipe-first-slice {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 14px;
  background: #ffffff;
}

.vegustando-recipe-first-slice-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.vegustando-recipe-first-slice-card {
  padding: 0.85rem;
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  background: #ffffff;
}

.vegustando-recipe-first-slice-card-title {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #3f4a3c;
}

.vegustando-recipe-first-slice-card-list {
  margin: 0;
  padding: 0;
}

.vegustando-recipe-first-slice-card-list .vegustando-recipe-meta-item {
  padding: 0.45rem 0;
}

/* First-slice recipe meta block. */
.vegustando-recipe-meta {
  margin: 1rem 0;
  padding: 0.85rem;
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  background: #ffffff;
}

.vegustando-recipe-meta-primary {
  margin: 0;
}

.vegustando-recipe-meta-secondary {
  margin: 0.85rem 0 0;
}

.vegustando-recipe-servings-inline {
  margin: 1rem 0 0.35rem;
  color: #5b6b57;
}

.vegustando-recipe-servings-inline strong {
  color: #3f4a3c;
}

.vegustando-recipe-snippet {
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  background: #ffffff;
}

.vegustando-recipe-snippet h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  color: #3f4a3c;
}

.vegustando-recipe-snippet p {
  margin: 0;
  line-height: 1.6;
  color: #5b6b57;
}

/* ========== VISUAL DIVIDER ========== */

.vegustando-recipe-divider {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #d9d2c3;
}

/* ========== CENTERED RECIPE BODY ========== */

.vegustando-recipe-body-centered {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.vegustando-recipe-body-centered,
.vegustando-recipe-buen-provecho,
.vegustando-recipe-ingredients,
.vegustando-recipe-instructions,
.vegustando-recipe-reviews {
  box-sizing: border-box;
}

/* Lower-body vertical rhythm */
.vegustando-recipe-summary,
.vegustando-recipe-abstract {
  margin: 0;
}

.vegustando-recipe-yield,
.vegustando-recipe-ingredients,
.vegustando-recipe-instructions,
.vegustando-recipe-reviews {
  margin: 1.5rem 0 0;
}

.vegustando-cook-mode {
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.vegustando-cook-mode__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #f0f0f0;
  color: #333;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vegustando-cook-mode__button:hover {
  background: #ebebeb;
}

.vegustando-cook-mode__button:focus-visible {
  outline: 2px solid #4a7c2a;
  outline-offset: 2px;
}

.vegustando-cook-mode__icon {
  font-size: 1rem;
  line-height: 1;
}

.vegustando-cook-mode__status {
  margin-left: 0.25rem;
  font-weight: 700;
}

.vegustando-cook-mode__info {
  margin: 0;
  color: #2e7d32;
  font-size: 0.95rem;
}

.vegustando-cook-mode--active .vegustando-cook-mode__button {
  background: #e8f5e9;
  border-color: #4caf50;
  color: #2e7d32;
}

html.vegustando-ingredients-quick-access-open,
body.vegustando-ingredients-quick-access-open {
  overflow: hidden;
}

.vegustando-ingredients-quick-access__modal[hidden],
.vegustando-ingredients-quick-access__trigger[hidden] {
  display: none !important;
}

.vegustando-ingredients-quick-access__trigger {
  position: fixed;
  right: calc(var(--vegustando-floating-offset-right) + var(--vegustando-floating-offset-right-extra));
  bottom: calc(var(--vegustando-floating-offset-bottom-base) + var(--vegustando-floating-offset-bottom-extra));
  z-index: var(--vegustando-floating-trigger-z);
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 999px;
  background: #ffffff;
  color: #3f4a3c;
  box-shadow: 0 10px 24px rgba(63, 74, 60, 0.14);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.vegustando-ingredients-quick-access__trigger:hover {
  background: #f6f3ea;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(63, 74, 60, 0.18);
}

.vegustando-ingredients-quick-access__trigger:focus-visible {
  outline: 2px solid #4a7c2a;
  outline-offset: 2px;
}

.vegustando-ingredients-quick-access__modal {
  position: fixed;
  inset: 0;
  z-index: var(--vegustando-floating-modal-z);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.vegustando-ingredients-quick-access__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 32, 28, 0.58);
}

.vegustando-ingredients-quick-access__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(calc(100vw - 2rem), 36rem);
  max-height: 85vh;
  border: 1px solid #d9d2c3;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(26, 32, 28, 0.22);
  overflow: hidden;
}

.vegustando-ingredients-quick-access__body {
  padding: 0.5rem 1rem 1.25rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.vegustando-recipe-ingredients-group + .vegustando-recipe-ingredients-group {
  margin-top: 1rem;
}

.vegustando-recipe-ingredients-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.vegustando-recipe-ingredients-content--popup .vegustando-recipe-ingredients-heading {
  margin: 0;
  color: #3f4a3c;
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}

.vegustando-recipe-ingredients-content--popup .vegustando-recipe-ingredients-list {
  max-width: none;
  margin-top: 0.5rem;
}

.vegustando-recipe-buen-provecho {
  margin: 1.75rem 0 0;
}

.vegustando-recipe-reviews-list,
.vegustando-recipe-review-message,
.vegustando-recipe-review-form,
.vegustando-recipe-reviews > p {
  margin-top: 1.5rem;
}

.vegustando-recipe-rating-summary {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #d9d2c3;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.vegustando-recipe-rating-summary p {
  margin: 0;
}

.vegustando-recipe-rating-summary__stars {
  font-size: 1.75rem;
  line-height: 1;
  color: #e6a817;
  letter-spacing: 0.08em;
}

.vegustando-recipe-rating-summary__score {
  font-size: 2rem;
  font-weight: 700;
  color: #3f4a3c;
  line-height: 1.1;
}

.vegustando-recipe-rating-summary__max {
  font-size: 1rem;
  font-weight: 400;
  color: #7d776c;
}

.vegustando-recipe-rating-summary__count {
  font-size: 0.9rem;
  color: #7d776c;
}

.vegustando-recipe-rating-summary__empty {
  font-size: 0.95rem;
  color: #7d776c;
}

.vegustando-recipe-jump-action {
  margin: 0.85rem 0 0;
  display: flex;
  align-items: center;
}



.vegustando-recipe-abstract,
.vegustando-recipe-nutrition {
  margin: 1rem 0;
}

.vegustando-recipe-nutrition {
  padding: 0.75rem;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}

.vegustando-recipe-meta-list {
  margin: 0;
  padding: 0;
}

.vegustando-recipe-meta-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  margin: 0;
  padding: 0.55rem 0;
  border-bottom: 1px solid #d9d2c3;
}

.vegustando-recipe-meta-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vegustando-recipe-meta-item:first-child {
  padding-top: 0;
}

.vegustando-recipe-meta-label {
  font-weight: 600;
  color: #7d776c;
}

.vegustando-recipe-meta-value {
  margin: 0;
  color: #3f4a3c;
}

.vegustando-recipe-ingredients h2,
.vegustando-recipe-instructions h2,
.vegustando-recipe-nutrition h2 {
  margin: 0 0 0.6rem;
}

.vegustando-recipe-ingredients h2,
.vegustando-recipe-instructions h2,
.vegustando-recipe-reviews > h2 {
  text-align: center;
  margin-bottom: 0.9rem;
}

.vegustando-recipe-ingredients ul {
  max-width: 38rem;
  margin: 0.75rem auto 0;
  text-align: left;
}

.vegustando-recipe-ingredients .vegustando-recipe-ingredients-heading {
  text-align: center;
  margin: 1rem 0 0.4rem;
}

/* Reviews: empty state */
.vegustando-recipe-reviews > p {
  text-align: center;
  color: #7d776c;
}

/* Centering shared by list, form, messages */
.vegustando-recipe-reviews-list,
.vegustando-recipe-review-form,
.vegustando-recipe-review-message {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== REVIEW LIST ITEMS ===== */

.vegustando-recipe-reviews-list {
  list-style: none;
  padding: 0;
}

.vegustando-recipe-review-item {
  padding: 1.1rem 1.25rem;
  border: 1px solid #d9d2c3;
  border-radius: 14px;
  background: #ffffff;
}

.vegustando-recipe-review-item + .vegustando-recipe-review-item {
  margin-top: 0.85rem;
}

.vegustando-recipe-review-rating {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #e6a817;
  letter-spacing: 0.05em;
}

.vegustando-recipe-review-body {
  margin: 0 0 0.55rem;
  color: #3f4a3c;
  line-height: 1.6;
}

.vegustando-recipe-review-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #7d776c;
}

/* ===== SUBMISSION MESSAGES ===== */

.vegustando-recipe-review-message {
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.vegustando-recipe-review-message-success {
  border: 1px solid #b7d9a0;
  background: #f0f9eb;
  color: #2e5c1a;
}

.vegustando-recipe-review-message-error {
  border: 1px solid #dcc1b0;
  background: #fdf4ef;
  color: #7a3b20;
}

/* ===== REVIEW FORM CARD ===== */

.vegustando-recipe-review-form {
  padding: 1.75rem 1.5rem;
  border: 1px solid #d9d2c3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(63, 74, 60, 0.08);
  text-align: left;
}

/* Form header */
.vegustando-review-form-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.vegustando-review-form-header__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3f4a3c;
  line-height: 1.25;
}

.vegustando-review-form-header__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #7d776c;
  line-height: 1.5;
}

/* Field groups */
.vegustando-review-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.vegustando-review-field:last-child {
  margin-bottom: 0;
}

.vegustando-review-field__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3f4a3c;
  letter-spacing: 0.01em;
}

/* Inputs */
.vegustando-review-field__input,
.vegustando-recipe-review-form input[type="text"],
.vegustando-recipe-review-form input[type="email"],
.vegustando-recipe-review-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d9d2c3;
  border-radius: 8px;
  background: #fdfcf8;
  color: #3f4a3c;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}

.vegustando-review-field__input::placeholder,
.vegustando-recipe-review-form input::placeholder,
.vegustando-recipe-review-form textarea::placeholder {
  color: #b8b2a8;
}

.vegustando-review-field__input:focus,
.vegustando-recipe-review-form input[type="text"]:focus,
.vegustando-recipe-review-form input[type="email"]:focus,
.vegustando-recipe-review-form textarea:focus {
  outline: none;
  border-color: #4a7c2a;
  box-shadow: 0 0 0 3px rgba(74, 124, 42, 0.15);
}

textarea.vegustando-review-field__input {
  resize: vertical;
  min-height: 6rem;
}

/* Star rating field */
.vegustando-review-field--rating {
  gap: 0.6rem;
}

.vegustando-star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.1rem;
  border: none;
  padding: 0;
  margin: 0;
}

.vegustando-star-rating__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.vegustando-star-rating__label {
  display: inline-block;
  color: #d9d2c3;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.1s ease, transform 0.1s ease;
  user-select: none;
  -webkit-user-select: none;
}

/* Checked: light up this star and all lower-valued (dom-subsequent) stars */
.vegustando-star-rating__input:checked + .vegustando-star-rating__label,
.vegustando-star-rating__input:checked ~ .vegustando-star-rating__label {
  color: #e6a817;
}

/* On container hover: dim checked state so hover preview is clean */
.vegustando-star-rating:hover .vegustando-star-rating__input:checked + .vegustando-star-rating__label,
.vegustando-star-rating:hover .vegustando-star-rating__input:checked ~ .vegustando-star-rating__label {
  color: #d9d2c3;
}

/* Re-light hovered star and all dom-after (lower-value) stars — same specificity, later in source wins */
.vegustando-star-rating .vegustando-star-rating__label:hover,
.vegustando-star-rating .vegustando-star-rating__label:hover ~ .vegustando-star-rating__label {
  color: #e6a817;
}

.vegustando-star-rating__label:hover {
  transform: scale(1.1);
}

.vegustando-star-rating__input:focus-visible + .vegustando-star-rating__label {
  outline: 2px solid #4a7c2a;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Submit button */
.vegustando-review-field--actions {
  margin-top: 0.5rem;
}

.vegustando-review-submit {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: #4a7c2a;
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.vegustando-review-submit:hover {
  background: #3d6922;
  box-shadow: 0 4px 14px rgba(74, 124, 42, 0.28);
}

.vegustando-review-submit:active {
  transform: scale(0.99);
}

.vegustando-review-submit:focus-visible {
  outline: 2px solid #4a7c2a;
  outline-offset: 3px;
}

.vegustando-review-submit:disabled {
  background: #a8b8a0;
  cursor: not-allowed;
  box-shadow: none;
}

.vegustando-recipe-ingredients-images {
  max-width: 38rem;
  margin: 1.25rem auto 0;
}

.vegustando-recipe-ingredient-image-item {
  margin: 0;
}

/* Keep ingredient image blocks proportionate and responsive */
.vegustando-recipe-body-centered .imageingredientblock,
.vegustando-recipe-ingredients-images .vegustando-recipe-ingredient-image-item img {
  display: block;
  width: 100%;
  max-width: 38rem;
  height: auto;
  margin: 0 auto;
}

.vegustando-recipe-ingredients ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.vegustando-recipe-ingredients .vegustando-recipe-ingredients-list {
  max-width: 38rem;
  margin: 0.75rem auto 0;
  text-align: left;
}

.vegustando-recipe-instructions ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.vegustando-recipe-ingredients li,
.vegustando-recipe-instructions li {
  margin: 0.35rem 0;
}

.vegustando-recipe-instruction-text {
  margin: 0 0 0.5rem;
}

.vegustando-recipe-instruction-step {
  margin-bottom: 0.85rem;
}

.vegustando-recipe-instruction-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 0.4rem;
}

/* ========== BUEN PROVECHO SECTION ========== */

.vegustando-recipe-buen-provecho {
  padding: 1.5rem;
  text-align: center;
  border: 2px solid #d9d2c3;
  border-radius: 12px;
  background: #f6f3ea;
}

.vegustando-recipe-buen-provecho-text {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #4a7c2a;
  letter-spacing: 0.05em;
}

.vegustando-recipe-content {
  margin-top: 1.5rem;
}

.vegustando-recipe-content > *:first-child {
  margin-top: 0;
}

@media (min-width: 720px) {
  .vegustando-recipe-title {
    font-size: 2.3rem;
  }

  .vegustando-ingredients-quick-access__dialog {
    max-height: 80vh;
  }

  .vegustando-recipe-body-centered {
    max-width: 760px;
  }

  .vegustando-recipe-first-slice {
    padding: 1.15rem;
  }

  .vegustando-recipe-jump-action .vegustando-btn-primary {
    min-width: 0;
  }

  .vegustando-recipe-first-slice-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vegustando-recipe-first-slice-card {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .vegustando-recipe-first-slice-card-list {
    margin-top: auto;
  }

  /* Metadata cards (Times + Nutrition) side by side on desktop */
  .vegustando-recipe-metadata-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vegustando-recipe-meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .vegustando-recipe-meta-item {
    padding: 0;
    border-bottom: 0;
  }
}

/* Homepage restyling pass (mobile-first, low-risk). */
.vegustando-home-hero {
  margin: 0.75rem 0 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.vegustando-home-hero-content {
  padding: 1rem;
}

.vegustando-home-section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d776c;
}

.vegustando-home-hero-title {
  margin: 0;
  line-height: 1.2;
  font-size: 1.5rem;
  color: #3f4a3c;
}

.vegustando-home-hero-intro {
  margin: 0.65rem 0 0;
  color: #5b6b57;
  max-width: 62ch;
}

.vegustando-home-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.vegustando-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vegustando-btn-primary {
  background: #4a7c2a;
  color: #ffffff;
}

.vegustando-btn-primary:hover,
.vegustando-btn-primary:focus-visible {
  background: #5a9838;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(74, 124, 42, 0.22);
}

.vegustando-btn-secondary {
  border-color: #d9d2c3;
  background: #ffffff;
  color: #3f4a3c;
}

.vegustando-btn-secondary:hover,
.vegustando-btn-secondary:focus-visible {
  background: #ffffff;
  border-color: #4a7c2a;
  color: #4a7c2a;
}

/* Scoped CTA overrides — placed after base button rules so cascade order reinforces specificity. */

/* Homepage hero: outlined treatment, editorial and restrained */
.vegustando-home-hero-actions .vegustando-btn-primary {
  background: #ffffff;
  border-color: #4a7c2a;
  color: #4a7c2a;
}

.vegustando-home-hero-actions .vegustando-btn-primary:hover,
.vegustando-home-hero-actions .vegustando-btn-primary:focus-visible {
  background: #4a7c2a;
  border-color: #4a7c2a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(74, 124, 42, 0.22);
}

/* Recipe jump link: outlined, auto-width — not a full-width block */
.vegustando-recipe-jump-action .vegustando-btn-primary {
  background: #ffffff;
  border-color: #4a7c2a;
  color: #4a7c2a;
  width: auto;
}

.vegustando-recipe-jump-action .vegustando-btn-primary:hover,
.vegustando-recipe-jump-action .vegustando-btn-primary:focus-visible {
  background: #4a7c2a;
  border-color: #4a7c2a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(74, 124, 42, 0.22);
}

.vegustando-btn:focus-visible,
.vegustando-home-chip-link:focus-visible,
.vegustando-home-card-cta:focus-visible,
.vegustando-home-card-image:focus-visible,
.vegustando-home-card-title a:focus-visible,
.vegustando-home-hero-featured-title a:focus-visible {
  outline: 2px solid #4a7c2a;
  outline-offset: 2px;
}

.vegustando-home-hero-featured {
  margin-top: 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.vegustando-home-hero-image {
  margin: 0;
}

.vegustando-home-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vegustando-home-hero-featured-content {
  padding: 0.85rem;
}

.vegustando-home-featured-label {
  margin: 0;
  color: #7d776c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vegustando-home-hero-featured-title {
  margin: 0.4rem 0 0;
  line-height: 1.3;
  font-size: 1.1rem;
}

.vegustando-home-hero-featured-title a {
  color: #3f4a3c;
  text-decoration: none;
}

.vegustando-home-hero-featured-title a:hover {
  color: #4a7c2a;
}

.vegustando-home-hero-excerpt {
  margin: 0.55rem 0 0;
  color: #5b6b57;
}

.vegustando-home-discovery {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 14px;
  background: #ffffff;
}

.vegustando-home-section-header {
  margin-bottom: 0.85rem;
}

.vegustando-home-section-title {
  margin: 0;
  line-height: 1.25;
  font-size: 1.3rem;
  color: #3f4a3c;
}

.vegustando-home-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vegustando-home-chip-item {
  margin: 0;
}

.vegustando-home-chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #d9d2c3;
  background: #ffffff;
  color: #3f4a3c;
  font-weight: 600;
  text-decoration: none;
}

.vegustando-home-chip-link:hover {
  background: #ffffff;
  border-color: #4a7c2a;
  color: #4a7c2a;
}

/* Reset native button appearance so .vegustando-home-chip-link works on <button> */
.vegustando-home-chip-refresh {
  cursor: pointer;
  font-family: inherit;
  border-style: dashed;
}

.vegustando-home-latest {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 14px;
  background: #ffffff;
}

.vegustando-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.vegustando-home-card {
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.vegustando-home-card-image {
  display: block;
  background: #f6f3ea;
}

.vegustando-home-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vegustando-home-card-content {
  padding: 0.9rem;
}

.vegustando-home-card-title {
  margin: 0;
  line-height: 1.3;
  font-size: 1.08rem;
}

.vegustando-home-card-title a {
  color: #3f4a3c;
  text-decoration: none;
}

.vegustando-home-card-title a:hover {
  color: #4a7c2a;
}

.vegustando-home-card-excerpt {
  margin: 0.6rem 0 0;
  color: #5b6b57;
}

.vegustando-home-card-link {
  margin: 0.75rem 0 0;
}

.vegustando-home-card-cta {
  color: #4a7c2a;
  font-weight: 700;
  text-decoration: none;
}

.vegustando-home-card-cta:hover {
  color: #5a9838;
}

.vegustando-home-empty {
  margin: 0;
  color: #5b6b57;
}

@media (min-width: 720px) {
  .vegustando-home-hero-content,
  .vegustando-home-discovery,
  .vegustando-home-latest {
    padding: 1.2rem;
  }

  .vegustando-home-hero-title {
    font-size: 1.9rem;
  }

  .vegustando-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .vegustando-home-hero-featured {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1.2fr);
  }

  .vegustando-home-hero-image img {
    height: 100%;
  }

  /* Tag discovery: single horizontal row on desktop */
  .vegustando-home-discovery .vegustando-home-chip-list {
    flex-wrap: nowrap;
  }
}

@media (max-width: 560px) {
  .vegustando-home-hero-actions {
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .vegustando-home-hero-actions .vegustando-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
  }
}

@media (min-width: 980px) {
  .vegustando-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ——————————————————————————————————————————
   Listing pages: search results, tag / category / generic archives
   —————————————————————————————————————————— */

.vegustando-listing {
  margin: 1rem 0 1.5rem;
}

.vegustando-listing-header {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid #d9d2c3;
  border-radius: 14px;
  background: #ffffff;
}

.vegustando-listing-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d776c;
}

.vegustando-listing-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #3f4a3c;
}

.vegustando-listing-query {
  font-style: italic;
  color: #4a7c2a;
}

.vegustando-listing-count {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #7d776c;
}

.vegustando-listing-description {
  margin: 0.5rem 0 0;
  color: #5b6b57;
}

.vegustando-listing-empty {
  padding: 1.5rem 0;
  color: #5b6b57;
}

/* Card grid */

.vegustando-listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

/* Individual card */

.vegustando-card {
  border: 1px solid #d9d2c3;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.vegustando-card-image-link {
  display: block;
  background: #f6f3ea;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.vegustando-card-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vegustando-card-body {
  padding: 0.9rem;
}

.vegustando-card-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.vegustando-card-title a {
  color: #3f4a3c;
  text-decoration: none;
}

.vegustando-card-title a:hover {
  color: #4a7c2a;
}

.vegustando-card-excerpt {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: #5b6b57;
}

/* Infinite scroll sentinel + spinner */

.vegustando-listing-sentinel {
  height: 2px;
  margin: 0.5rem 0;
}

.vegustando-listing-sentinel.is-loading::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  margin: 1rem auto;
  border: 2px solid #d9d2c3;
  border-top-color: #4a7c2a;
  border-radius: 50%;
  animation: vegustando-spin 0.7s linear infinite;
}

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

/* Fallback pagination (shown when JS is off) */

.vegustando-listing-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.vegustando-listing-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #d9d2c3;
  color: #3f4a3c;
  text-decoration: none;
  font-size: 0.9rem;
}

.vegustando-listing-pagination .page-numbers.current {
  background: #4a7c2a;
  border-color: #4a7c2a;
  color: #ffffff;
}

.vegustando-listing-pagination .page-numbers:hover {
  border-color: #4a7c2a;
  color: #4a7c2a;
}

/* Listing responsive breakpoints */

@media (min-width: 600px) {
  .vegustando-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .vegustando-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vegustando-listing-title {
    font-size: 2rem;
  }
}

/* ========== FOOTER MC4WP NEWSLETTER FORM ==========
 * Scoped under .footer-newsletter using multiple selector layers for
 * defensive specificity. These rules only have visual effect when the
 * MC4WP plugin is active and its form is rendered on live.
 * !important is used on background/color to defeat plugin inline styles
 * and conflicting theme rules that caused the dark-field regression.
 * ================================================== */

/* Layer 1: direct input under .footer-newsletter (catches any form MC4WP renders) */
.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"],
/* Layer 2: explicit form child selector */
.footer-newsletter form input[type="email"],
.footer-newsletter form input[type="text"],
/* Layer 3: MC4WP root class for maximum specificity when plugin is present */
.footer-newsletter .mc4wp-form input[type="email"],
.footer-newsletter .mc4wp-form input[type="text"],
.footer-newsletter .mc4wp-form-fields input[type="email"],
.footer-newsletter .mc4wp-form-fields input[type="text"] {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.65rem 0.85rem !important;
  border: 1px solid #d9d2c3 !important;
  border-radius: 8px !important;
  background: #fdfcf8 !important;
  background-color: #fdfcf8 !important;
  color: #3f4a3c !important;
  -webkit-text-fill-color: #3f4a3c !important;
  font: inherit !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

.footer-newsletter input[type="email"]:hover,
.footer-newsletter input[type="text"]:hover,
.footer-newsletter form input[type="email"]:hover,
.footer-newsletter form input[type="text"]:hover,
.footer-newsletter .mc4wp-form input[type="email"]:hover,
.footer-newsletter .mc4wp-form input[type="text"]:hover {
  border-color: #b8b2a8 !important;
}

.footer-newsletter input[type="email"]:focus,
.footer-newsletter input[type="text"]:focus,
.footer-newsletter form input[type="email"]:focus,
.footer-newsletter form input[type="text"]:focus,
.footer-newsletter .mc4wp-form input[type="email"]:focus,
.footer-newsletter .mc4wp-form input[type="text"]:focus {
  outline: none !important;
  border-color: #4a7c2a !important;
  box-shadow: 0 0 0 3px rgba(74, 124, 42, 0.15) !important;
}

.footer-newsletter input[type="email"]::placeholder,
.footer-newsletter input[type="text"]::placeholder,
.footer-newsletter form input[type="email"]::placeholder,
.footer-newsletter form input[type="text"]::placeholder,
.footer-newsletter .mc4wp-form input[type="email"]::placeholder,
.footer-newsletter .mc4wp-form input[type="text"]::placeholder {
  color: #b8b2a8 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #b8b2a8 !important;
}

/* Autofill: force light background via inset box-shadow (only way to override browser autofill) */
.footer-newsletter input[type="email"]:-webkit-autofill,
.footer-newsletter input[type="text"]:-webkit-autofill,
.footer-newsletter form input[type="email"]:-webkit-autofill,
.footer-newsletter form input[type="text"]:-webkit-autofill,
.footer-newsletter .mc4wp-form input[type="email"]:-webkit-autofill,
.footer-newsletter .mc4wp-form input[type="text"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fdfcf8 inset !important;
  -webkit-text-fill-color: #3f4a3c !important;
  caret-color: #3f4a3c;
}

/* ========== MANUAL AD SLOTS ========== */

.vegustando-ad {
  margin: 1.75rem 0;
  text-align: center;
}

.vegustando-ad__label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 400;
  color: #b8b2a8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ========== PAGE TEMPLATE (STATIC PAGES) ==========
 * Styles for static WordPress pages rendered by page.php.
 * Scoped to .veg-page classes only; does not affect recipe,
 * archive, or homepage templates.
 * Mobile-first, editorial presentation with visible content card.
 * ================================================== */

.veg-page {
  width: 100%;
  padding: 1.5rem 1rem;
  background: #f6f3ea;
}

.veg-page__container {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.veg-page__article {
  display: block;
}

/* Featured image */
.veg-page__featured-image-wrapper {
  margin: 0 0 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.veg-page__featured-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Page header/title */
.veg-page__header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.veg-page__title {
  margin: 0;
  padding: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  color: #3f4a3c;
  text-align: center;
  word-break: break-word;
}

/* Main content card */
.veg-page__content {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #d9d2c3;
  border-radius: 16px;
  font-size: 1rem;
  line-height: 1.7;
  color: #3f4a3c;
}

.veg-page__content p {
  margin: 0 0 1rem 0;
}

.veg-page__content p:last-child {
  margin-bottom: 0;
}

/* Heading hierarchy */
.veg-page__content h2 {
  margin: 1.75rem 0 0.75rem 0;
  padding: 0;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 700;
  color: #3f4a3c;
}

.veg-page__content h2:first-child {
  margin-top: 0;
}

.veg-page__content h3 {
  margin: 1.5rem 0 0.65rem 0;
  padding: 0;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
  color: #3f4a3c;
}

.veg-page__content h4,
.veg-page__content h5,
.veg-page__content h6 {
  margin: 1.25rem 0 0.6rem 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #3f4a3c;
}

/* Lists */
.veg-page__content ul,
.veg-page__content ol {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}

.veg-page__content li {
  margin: 0.35rem 0;
  padding: 0;
  color: #3f4a3c;
  line-height: 1.7;
}

.veg-page__content ul li {
  list-style-type: disc;
}

.veg-page__content ol li {
  list-style-type: decimal;
}

/* Links */
.veg-page__content a {
  color: #4a7c2a;
  text-decoration: underline;
  transition: color 0.15s ease;
  word-break: break-word;
}

.veg-page__content a:hover {
  color: #5a9838;
}

.veg-page__content a:focus-visible {
  color: #5a9838;
  outline: 2px solid #5a9838;
  outline-offset: 2px;
}

.veg-page__content a:active {
  color: #3d5f1f;
}

/* Images */
.veg-page__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem 0;
  border-radius: 8px;
}

.veg-page__content figure {
  margin: 1.25rem 0;
  padding: 0;
}

.veg-page__content figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #5b6b57;
  font-style: italic;
  line-height: 1.6;
}

/* Blockquotes */
.veg-page__content blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1.25rem;
  border-left: 4px solid #4a7c2a;
  background: #f6f3ea;
  color: #5b6b57;
  font-style: italic;
  line-height: 1.7;
}

.veg-page__content blockquote p {
  margin: 0;
}

/* Code */
.veg-page__content code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: #f6f3ea;
  padding: 0.2em 0.4em;
  color: #3f4a3c;
  border-radius: 3px;
}

.veg-page__content pre {
  margin: 1.25rem 0;
  padding: 1rem;
  background: #f6f3ea;
  border: 1px solid #d9d2c3;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.5;
}

.veg-page__content pre code {
  background: transparent;
  padding: 0;
  color: #3f4a3c;
  border-radius: 0;
}

/* Horizontal rules */
.veg-page__content hr {
  margin: 1.75rem 0;
  border: none;
  border-top: 1px solid #d9d2c3;
  height: 0;
}

/* Page pagination */
.veg-page__pagination {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f6f3ea;
  border-radius: 12px;
  text-align: center;
}

.veg-page__pagination p {
  margin: 0;
}

.veg-page__pagination a {
  display: inline-block;
  margin: 0 0.35rem;
  padding: 0.5rem 0.85rem;
  background: #ffffff;
  border: 1px solid #d9d2c3;
  color: #4a7c2a;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.veg-page__pagination a:hover {
  background: #4a7c2a;
  color: #ffffff;
}

.veg-page__pagination a:focus-visible {
  outline: 2px solid #4a7c2a;
  outline-offset: 2px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .veg-page {
    padding: 2.5rem 1rem;
  }

  .veg-page__title {
    font-size: 2.125rem;
  }

  .veg-page__content {
    padding: 2rem;
    font-size: 1.05rem;
  }

  .veg-page__content h2 {
    margin: 2rem 0 0.85rem 0;
    font-size: 1.5rem;
  }

  .veg-page__content h3 {
    font-size: 1.25rem;
    margin: 1.75rem 0 0.75rem 0;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .veg-page {
    padding: 3rem 1rem;
  }

  .veg-page__content {
    padding: 2.5rem;
  }
}

/* ========== CONTACT PAGE TEMPLATE ==========
 * Dedicated styling for the contacto page template.
 * Scoped to .veg-contact classes only.
 * ========================================== */

.veg-contact {
  padding: 1.5rem 1rem 3rem;
  background: #f6f3ea;
}

.veg-contact__container {
  max-width: 1080px;
  margin: 0 auto;
}

.veg-contact__hero {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.veg-contact__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  color: #3f4a3c;
}

.veg-contact__subtitle {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #5b6b57;
}

.veg-contact__layout {
  display: grid;
  gap: 1.25rem;
}

.veg-contact__sidebar {
  display: grid;
  gap: 1.25rem;
}

.veg-contact__card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #d9d2c3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(63, 74, 60, 0.06);
}

.veg-contact__card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #3f4a3c;
}

.veg-contact__card-intro {
  margin: 0.65rem 0 0;
  color: #5b6b57;
  line-height: 1.7;
}

.veg-contact__form-wrap {
  margin-top: 1.25rem;
}

.veg-contact__notice,
.veg-contact__form-fallback,
.veg-contact__faq-answer,
.veg-contact__info-list dd {
  margin: 0;
  color: #5b6b57;
  line-height: 1.7;
}

.veg-contact__notice {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ebe5d6;
  font-size: 0.95rem;
}

.veg-contact__info-list {
  margin: 1.25rem 0 0;
}

.veg-contact__info-item + .veg-contact__info-item {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ebe5d6;
}

.veg-contact__info-item dt {
  margin: 0;
  font-weight: 700;
  color: #3f4a3c;
}

.veg-contact__info-item dd {
  margin-top: 0.3rem;
}

.veg-contact__faq-list {
  margin-top: 1.25rem;
}

.veg-contact__faq-item + .veg-contact__faq-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ebe5d6;
}

.veg-contact__faq-question {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #3f4a3c;
}

.veg-contact a {
  color: #4a7c2a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.veg-contact a:hover {
  color: #5a9838;
}

.veg-contact a:focus-visible {
  outline: 2px solid #5a9838;
  outline-offset: 2px;
}

.veg-contact .mc4wp-form,
.veg-contact .mc4wp-form-fields,
.veg-contact form {
  display: grid;
  gap: 0.95rem;
}

.veg-contact label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #3f4a3c;
}

.veg-contact input[type="text"],
.veg-contact input[type="email"],
.veg-contact input[type="tel"],
.veg-contact input[type="url"],
.veg-contact select,
.veg-contact textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d9d2c3;
  border-radius: 10px;
  background: #fdfcf8;
  color: #3f4a3c;
  font: inherit;
  line-height: 1.5;
  appearance: none;
}

.veg-contact textarea {
  min-height: 10rem;
  resize: vertical;
}

.veg-contact input[type="text"]:hover,
.veg-contact input[type="email"]:hover,
.veg-contact input[type="tel"]:hover,
.veg-contact input[type="url"]:hover,
.veg-contact select:hover,
.veg-contact textarea:hover {
  border-color: #b8b2a8;
}

.veg-contact input[type="text"]:focus,
.veg-contact input[type="email"]:focus,
.veg-contact input[type="tel"]:focus,
.veg-contact input[type="url"]:focus,
.veg-contact select:focus,
.veg-contact textarea:focus {
  outline: none;
  border-color: #4a7c2a;
  box-shadow: 0 0 0 3px rgba(74, 124, 42, 0.15);
}

.veg-contact input[type="checkbox"],
.veg-contact input[type="radio"] {
  accent-color: #4a7c2a;
}

.veg-contact input[type="checkbox"] + span,
.veg-contact input[type="radio"] + span,
.veg-contact .mc4wp-checkbox,
.veg-contact .mc4wp-checkbox label,
.veg-contact .mc4wp-acceptance,
.veg-contact .mc4wp-acceptance label {
  color: #5b6b57;
  font-size: 0.95rem;
  line-height: 1.6;
}

.veg-contact input[type="submit"],
.veg-contact button[type="submit"],
.veg-contact .button,
.veg-contact .mc4wp-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid #4a7c2a;
  border-radius: 999px;
  background: #4a7c2a;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.veg-contact input[type="submit"]:hover,
.veg-contact button[type="submit"]:hover,
.veg-contact .button:hover,
.veg-contact .mc4wp-form input[type="submit"]:hover {
  background: #5a9838;
  border-color: #5a9838;
}

.veg-contact input[type="submit"]:focus-visible,
.veg-contact button[type="submit"]:focus-visible,
.veg-contact .button:focus-visible,
.veg-contact .mc4wp-form input[type="submit"]:focus-visible {
  outline: 2px solid #5a9838;
  outline-offset: 3px;
}

.veg-contact .mc4wp-alert,
.veg-contact .mc4wp-success,
.veg-contact .mc4wp-error,
.veg-contact .mc4wp-notice {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.veg-contact .mc4wp-alert,
.veg-contact .mc4wp-notice {
  background: #f6f3ea;
  border: 1px solid #d9d2c3;
  color: #5b6b57;
}

.veg-contact .mc4wp-success {
  background: #f1f7ec;
  border: 1px solid #c7d8bb;
  color: #3f6a24;
}

.veg-contact .mc4wp-error {
  background: #fff5f2;
  border: 1px solid #ebc9be;
  color: #8a4b3b;
}

@media (min-width: 768px) {
  .veg-contact {
    padding: 2.5rem 1rem 4rem;
  }

  .veg-contact__title {
    font-size: 2.5rem;
  }

  .veg-contact__layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .veg-contact__card {
    padding: 2rem;
  }
}

@media (min-width: 1200px) {
  .veg-contact {
    padding: 3rem 1rem 4.5rem;
  }
}
