/* ================================================================
   VENDOG NUTRITION — HOME V2 VISUAL ALIGNMENT (DESIGN ONLY)
   Scope: [vendog_food_calculator] and [vendog_food_selector]
   This layer changes no calculations, product matching, JS, data,
   WooCommerce product cards or comparison shortcodes.
   Date: 2026-11-20
   ================================================================ */
.vendog-food-calculator,
.vendog-food-selector {
    --vd-nutrition-forest: #123F31;
    --vd-nutrition-forest-hover: #0D3025;
    --vd-nutrition-sand: #E8D2A8;
    --vd-nutrition-cream: #F8F3EA;
    --vd-nutrition-terracotta: #C65C32;
    --vd-nutrition-ink: #173028;
    --vd-nutrition-muted: #50645A;
    --vd-nutrition-white: #FFFDF8;
    --vd-nutrition-border: #D9E0D8;
    --vd-nutrition-focus: rgba(18, 63, 49, 0.20);

    /* Retain original internal variable names for compatibility. */
    --vendog-bundle-orange: var(--vd-nutrition-forest);
    --vendog-bundle-orange-dark: var(--vd-nutrition-forest-hover);
    --vendog-bundle-orange-soft: var(--vd-nutrition-cream);
    --vendog-bundle-brown: var(--vd-nutrition-forest);
    --vendog-bundle-text: var(--vd-nutrition-ink);
    --vendog-bundle-muted: var(--vd-nutrition-muted);
    --vendog-bundle-border: var(--vd-nutrition-border);
    --vendog-bundle-surface: var(--vd-nutrition-white);
    --vendog-bundle-success: var(--vd-nutrition-forest);
    --vendog-bundle-success-soft: #F0F4EC;
    --vendog-bundle-radius: 18px;
    --vendog-bundle-shadow: 0 3px 18px rgba(18, 63, 49, 0.045);

    color: var(--vd-nutrition-ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

/* Headings and introductory copy follow the same hierarchy as Home V2. */
.vendog-food-calculator .vdofc-heading,
.vendog-food-selector .vdofc-heading {
    max-width: 790px;
    margin: 0 0 24px;
    text-align: left;
}
.vendog-food-selector .vdofc-heading {
    margin-left: 0;
    margin-right: 0;
}
.vendog-food-calculator .vdofc-heading h2,
.vendog-food-selector .vdofc-heading h2 {
    margin: 0 0 10px !important;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: clamp(25px, 2.65vw, 34px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.025em;
    text-transform: none;
    color: var(--vd-nutrition-forest);
}
.vendog-food-calculator .vdofc-heading p,
.vendog-food-selector .vdofc-heading p {
    color: var(--vd-nutrition-muted);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Form surfaces: gentle borders instead of orange and heavy shadows. */
.vendog-food-calculator .vdofc-form-card,
.vendog-food-selector .vdofs-form {
    border: 1px solid var(--vd-nutrition-border) !important;
    border-radius: 18px !important;
    background: var(--vd-nutrition-white) !important;
    box-shadow: 0 3px 18px rgba(18, 63, 49, 0.045) !important;
}
.vendog-food-selector .vdofs-form {
    gap: 22px;
    text-align: left;
}
.vendog-food-calculator .vdofc-field > span:first-child,
.vendog-food-selector .vdofc-field > span:first-child {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--vd-nutrition-forest);
}
.vendog-food-calculator .vdofc-field input,
.vendog-food-calculator .vdofc-field select,
.vendog-food-selector .vdofc-field input:not([type="range"]),
.vendog-food-selector .vdofc-field select {
    min-height: 50px !important;
    border: 1px solid #C7D0C7 !important;
    border-radius: 11px !important;
    background-color: #FFFFFF !important;
    color: var(--vd-nutrition-ink) !important;
    font-family: "Inter", system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}
.vendog-food-calculator .vdofc-field input:hover,
.vendog-food-calculator .vdofc-field select:hover,
.vendog-food-selector .vdofc-field input:not([type="range"]):hover,
.vendog-food-selector .vdofc-field select:hover {
    border-color: var(--vd-nutrition-forest) !important;
}
.vendog-food-calculator .vdofc-field input:focus,
.vendog-food-calculator .vdofc-field select:focus,
.vendog-food-selector .vdofc-field input:not([type="range"]):focus,
.vendog-food-selector .vdofc-field select:focus {
    border-color: var(--vd-nutrition-forest) !important;
    box-shadow: 0 0 0 3px var(--vd-nutrition-focus) !important;
}
.vendog-food-calculator .vdofc-source-note {
    border: 1px solid var(--vd-nutrition-border);
    border-radius: 11px;
    background: var(--vd-nutrition-cream);
    color: var(--vd-nutrition-muted) !important;
}
.vendog-food-calculator .vdofc-input-unit em {
    color: var(--vd-nutrition-muted);
}

/* Calculator output: calm 4-card desktop / 2-card mobile summary. */
.vendog-food-calculator .vdofc-results > span {
    border: 1px solid #E5DDD0;
    border-radius: 14px;
    background: var(--vd-nutrition-cream);
    padding: 16px 18px;
}
.vendog-food-calculator .vdofc-results small {
    font-size: 11px;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 650;
    letter-spacing: 0.045em;
    color: var(--vd-nutrition-muted);
}
.vendog-food-calculator .vdofc-results strong {
    color: var(--vd-nutrition-forest);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(19px, 2vw, 24px);
}
.vendog-food-calculator .vdofc-recommendation {
    border: 1px solid #D6DFD2 !important;
    border-radius: 16px !important;
    background: #F0F4EC !important;
    box-shadow: inset 3px 0 0 var(--vd-nutrition-forest) !important;
}
.vendog-food-calculator .vdofc-recommendation .vendog-choice-copy > strong {
    color: var(--vd-nutrition-forest) !important;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700 !important;
}
.vendog-food-calculator .vdofc-bag-icon {
    color: var(--vd-nutrition-forest);
    border-color: var(--vd-nutrition-forest);
}
.vendog-food-calculator .vdofc-bag-copy,
.vendog-food-calculator .vdofc-days-copy,
.vendog-food-calculator .vdofc-disclaimer,
.vendog-food-selector .vdofc-disclaimer {
    color: var(--vd-nutrition-muted);
}

/* Food finder stage choices — balanced selection, not promotional tiles. */
.vendog-food-selector .vdofs-stage-fieldset > legend {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    color: var(--vd-nutrition-forest);
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}
.vendog-food-selector .vdofs-stage-card,
.vendog-food-selector .vdofs-stage-card > span {
    min-height: 110px;
}
.vendog-food-selector .vdofs-stage-card > span {
    padding: 42px 18px 16px;
    border: 1px solid var(--vd-nutrition-border);
    border-radius: 15px;
    background: #FFFFFF;
    box-shadow: none;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.vendog-food-selector .vdofs-stage-card > span::before {
    top: 13px;
    border-color: #9DADA1;
}
.vendog-food-selector .vdofs-stage-card strong {
    color: var(--vd-nutrition-forest);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
}
.vendog-food-selector .vdofs-stage-card small {
    color: var(--vd-nutrition-muted);
    font-size: 13px;
}
.vendog-food-selector .vdofs-stage-card:hover > span {
    border-color: var(--vd-nutrition-forest);
    background: var(--vd-nutrition-cream);
    transform: none;
    box-shadow: none;
}
.vendog-food-selector .vdofs-stage-card > input:checked + span {
    border-color: var(--vd-nutrition-forest);
    background: var(--vd-nutrition-cream);
    box-shadow: inset 0 3px 0 var(--vd-nutrition-forest);
}
.vendog-food-selector .vdofs-stage-card > input:checked + span::before {
    border-color: var(--vd-nutrition-forest);
    background: var(--vd-nutrition-forest);
}
.vendog-food-selector .vdofs-stage-card > input:focus-visible + span {
    outline: 3px solid var(--vd-nutrition-focus);
    outline-offset: 2px;
}
.vendog-food-selector .vdofs-stage-card > input:checked + span strong {
    color: var(--vd-nutrition-forest);
}

/* Finder details, slider and clear forest-green action buttons. */
.vendog-food-selector .vdofs-detail-fields .vdofc-field > span:first-child,
.vendog-food-selector .vdofs-activity-field > span:first-child {
    color: var(--vd-nutrition-forest);
    font-size: 14px;
    font-weight: 600;
}
.vendog-food-selector .vdofs-weight-value {
    border: 1px solid #DAC7A3;
    border-radius: 999px;
    background: var(--vd-nutrition-cream);
    color: var(--vd-nutrition-forest);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700;
}
.vendog-food-selector input.vdofs-weight[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(
        to right,
        var(--vd-nutrition-forest) 0,
        var(--vd-nutrition-forest) var(--vdofs-progress),
        #D9E0D8 var(--vdofs-progress),
        #D9E0D8 100%
    );
}
.vendog-food-selector input.vdofs-weight[type="range"]::-webkit-slider-thumb,
.vendog-food-selector input.vdofs-weight[type="range"]::-moz-range-thumb {
    background: var(--vd-nutrition-forest);
    box-shadow: 0 2px 7px rgba(18, 63, 49, 0.22);
}
.vendog-food-selector input.vdofs-weight[type="range"]::-moz-range-track {
    background: #D9E0D8;
}
.vendog-food-selector input.vdofs-weight[type="range"]::-moz-range-progress {
    background: var(--vd-nutrition-forest);
}
.vendog-food-selector input.vdofs-weight[type="range"]:focus-visible::-webkit-slider-thumb {
    outline: 3px solid var(--vd-nutrition-focus);
}
.vendog-food-selector .vdofs-submit,
.vendog-food-selector .vdofs-product-link {
    border-radius: 999px;
    background: var(--vd-nutrition-forest);
    color: var(--vd-nutrition-white) !important;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
}
.vendog-food-selector .vdofs-submit:hover,
.vendog-food-selector .vdofs-submit:focus-visible,
.vendog-food-selector .vdofs-product-link:hover,
.vendog-food-selector .vdofs-product-link:focus-visible {
    background: var(--vd-nutrition-forest-hover);
    color: var(--vd-nutrition-white) !important;
    transform: none;
    box-shadow: none;
}
.vendog-food-selector .vdofs-submit:focus-visible,
.vendog-food-selector .vdofs-product-link:focus-visible {
    outline: 3px solid var(--vd-nutrition-terracotta);
    outline-offset: 3px;
}

/* Recommendations retain product links and calculations unchanged. */
.vendog-food-selector .vdofs-results-heading {
    text-align: left;
}
.vendog-food-selector .vdofs-results-heading h3 {
    color: var(--vd-nutrition-forest);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(23px, 2.5vw, 29px);
}
.vendog-food-selector .vdofs-results-heading p {
    color: var(--vd-nutrition-muted);
    font-size: 15px;
}
.vendog-food-selector .vdofs-product-card {
    border: 1px solid var(--vd-nutrition-border);
    border-radius: 17px;
    background: var(--vd-nutrition-white);
    box-shadow: 0 3px 15px rgba(18, 63, 49, 0.045);
}
.vendog-food-selector .vdofs-product-image {
    border-radius: 12px;
    background: #FFFFFF;
}
.vendog-food-selector .vdofs-product-copy h4 {
    color: var(--vd-nutrition-forest);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.vendog-food-selector .vdofs-product-copy h4 a:hover {
    color: var(--vd-nutrition-terracotta) !important;
}
.vendog-food-selector .vdofs-product-price {
    color: var(--vd-nutrition-forest);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700;
}
.vendog-food-selector .vdofs-product-description,
.vendog-food-selector .vdofs-bag-line {
    color: var(--vd-nutrition-muted);
}
.vendog-food-selector .vdofs-product-metrics > span {
    border-color: #E5DDD0;
    border-radius: 11px;
    background: var(--vd-nutrition-cream);
}
.vendog-food-selector .vdofs-product-metrics strong {
    color: var(--vd-nutrition-forest);
    font-weight: 700;
}
.vendog-food-selector .vdofs-badge {
    background: #F0F4EC;
    color: var(--vd-nutrition-forest);
    font-weight: 700;
}
.vendog-food-selector .vdofs-badge-muted {
    background: var(--vd-nutrition-cream);
    color: #874120;
}
.vendog-food-selector .vdofs-empty {
    border-color: var(--vd-nutrition-border);
    border-radius: 14px;
    background: var(--vd-nutrition-cream);
}
.vendog-food-selector .vdofs-empty strong {
    color: var(--vd-nutrition-forest);
}
.vendog-food-selector .vdofs-empty span {
    color: var(--vd-nutrition-muted);
}

/* Scope ancillary guide/variation notices to these two shortcodes. */
.vendog-food-calculator .vdofc-variation-guide-notice,
.vendog-food-calculator .vdofc-guide-choice-note,
.vendog-food-selector .vdofc-variation-guide-notice,
.vendog-food-selector .vdofc-guide-choice-note {
    border: 1px solid var(--vd-nutrition-border);
    border-radius: 11px;
    background: var(--vd-nutrition-cream);
    color: var(--vd-nutrition-ink);
}

@media (max-width: 800px) {
    .vendog-food-selector .vdofs-stage-card,
    .vendog-food-selector .vdofs-stage-card > span { min-height: 0; }
    .vendog-food-selector .vdofs-stage-card > span { padding: 44px 14px 16px; }
}
@media (max-width: 620px) {
    .vendog-food-calculator .vdofc-heading h2,
    .vendog-food-selector .vdofc-heading h2 { font-size: 26px; }
    .vendog-food-calculator .vdofc-heading p,
    .vendog-food-selector .vdofc-heading p { font-size: 15px; }
    .vendog-food-calculator .vdofc-form-card,
    .vendog-food-selector .vdofs-form { border-radius: 15px !important; }
    .vendog-food-calculator .vdofc-fields,
    .vendog-food-selector .vdofs-detail-fields { gap: 14px; }
    .vendog-food-calculator .vdofc-results { gap: 10px !important; }
    .vendog-food-calculator .vdofc-results > span { padding: 12px 14px; }
    .vendog-food-selector .vdofs-stage-options { gap: 9px; }
    .vendog-food-selector .vdofs-stage-card > span { padding: 44px 10px 14px; }
    .vendog-food-selector .vdofs-stage-card strong { font-size: 16px; }
    .vendog-food-selector .vdofs-stage-card small { font-size: 12px; }
    .vendog-food-selector .vdofs-submit { min-height: 50px; }
    .vendog-food-selector .vdofs-product-card { border-radius: 15px; }
    .vendog-food-calculator .vdofc-recommendation { border-radius: 14px !important; }
}
@media (max-width: 480px) {
    /* Keep the four calculator outputs scannable as a two-by-two grid. */
    .vendog-food-calculator .vdofc-results {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .vendog-food-calculator .vdofc-results strong { font-size: 19px; }
    .vendog-food-selector .vdofs-stage-options { grid-template-columns: minmax(0, 1fr); }
    .vendog-food-selector .vdofs-stage-card > span { min-height: 78px; }
    .vendog-food-selector .vdofs-product-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .vendog-food-selector .vdofs-stage-card > span,
    .vendog-food-selector .vdofs-submit,
    .vendog-food-selector .vdofs-product-link { transition: none; }
}


/* 2.7.0 — additional visible features, scoped strictly to these two shortcodes. */
body .vendog-food-calculator,
body .vendog-food-selector {
  --vendog-bundle-orange: #123F31;
  --vendog-bundle-orange-dark: #0D3025;
  --vendog-bundle-orange-soft: #F8F3EA;
  --vendog-bundle-brown: #123F31;
  --vendog-bundle-text: #173028;
  --vendog-bundle-muted: #50645A;
  --vendog-bundle-border: #D9E0D8;
  --vendog-bundle-surface: #FFFDF8;
  --vendog-bundle-success: #123F31;
  --vendog-bundle-success-soft: #EEF3EA;
  --vendog-bundle-radius: 18px;
  --vendog-bundle-shadow: 0 3px 18px rgba(18,63,49,.045);
  font-family: Inter, system-ui, sans-serif !important;
  color: #173028 !important;
}
body .vendog-food-calculator .vdofc-heading h2,
body .vendog-food-selector .vdofc-heading h2,
body .vendog-food-selector .vdofs-results-heading h3,
body .vendog-food-selector .vdofs-product-copy h4 {
  font-family: Manrope, Inter, system-ui, sans-serif !important;
  color: #123F31 !important;
  letter-spacing: -.025em;
}
body .vendog-food-calculator .vdofc-form-card,
body .vendog-food-selector .vdofs-form {
  background: #FFFDF8 !important;
  border: 1px solid #D9E0D8 !important;
  border-radius: 18px !important;
  box-shadow: 0 3px 18px rgba(18,63,49,.045) !important;
}
body .vendog-food-selector .vdofs-stage-card:hover > span,
body .vendog-food-selector .vdofs-stage-card > input:checked + span {
  border-color: #123F31 !important;
  background: #F8F3EA !important;
  box-shadow: inset 3px 0 0 #123F31 !important;
}
body .vendog-food-selector .vdofs-stage-card > input:checked + span::before {
  border-color: #123F31 !important;
  background: #123F31 !important;
}
body .vendog-food-selector .vdofs-stage-card > input:focus-visible + span {
  outline: 3px solid rgba(18,63,49,.28) !important;
}
body .vendog-food-selector .vdofs-submit,
body .vendog-food-selector .vdofs-product-link,
body .vendog-food-selector .vdofs-save-profile {
  background: #123F31 !important;
  color: #FFFDF8 !important;
  border: 1px solid #123F31 !important;
  border-radius: 999px !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
}
body .vendog-food-selector .vdofs-submit:hover,
body .vendog-food-selector .vdofs-product-link:hover,
body .vendog-food-selector .vdofs-save-profile:hover {
  background: #0D3025 !important;
  border-color: #0D3025 !important;
}
body .vendog-food-selector .vdofs-save-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #D9E0D8;
}
body .vendog-food-selector .vdofs-save-profile {
  min-height: 44px;
  padding: 11px 22px;
  font-size: 14px;
}
body .vendog-food-selector .vdofs-save-profile:disabled { opacity:.65; cursor:progress; }
body .vendog-food-selector .vdofs-save-hint { font: 400 13px/1.45 Inter,system-ui,sans-serif; color:#50645A; }
body .vendog-food-selector .vdofs-profile-feedback {
  padding: 13px 16px;
  border: 1px solid #D9E0D8;
  border-left: 3px solid #123F31;
  border-radius: 10px;
  background: #F8F3EA;
  color:#173028;
  font: 500 14px/1.5 Inter,system-ui,sans-serif;
  margin:12px 0;
}
body .vendog-food-selector .vdofs-profile-feedback[hidden] { display:none !important; }
body .vendog-food-selector .vdofs-daily-cost {
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:8px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #D9E0D8;
  background:#F8F3EA;
}
body .vendog-food-selector .vdofs-daily-cost small {
  color:#50645A;
  font:600 12px/1.4 Inter,system-ui,sans-serif;
}
body .vendog-food-selector .vdofs-daily-cost strong {
  color:#123F31;
  font:700 21px/1.25 Manrope,Inter,system-ui,sans-serif;
}
body .vendog-food-selector .vdofs-daily-cost span {
  color:#50645A;
  font:400 11px/1.4 Inter,system-ui,sans-serif;
}
body .vendog-food-selector .vdofs-product-card {
  background:#FFFDF8 !important;
  border-radius:18px !important;
  border:1px solid #D9E0D8 !important;
  box-shadow:0 3px 18px rgba(18,63,49,.045) !important;
}
body .vendog-food-selector .vdofs-product-metrics > span {
  background:#F8F3EA !important;
  border-color:#D9E0D8 !important;
}
body .vendog-food-selector .vdofs-product-metrics strong,
body .vendog-food-selector .vdofs-product-price { color:#123F31 !important; }
body .vendog-food-selector .vdofs-badge { background:#EEF3EA !important; color:#123F31 !important; }
body .vendog-food-selector .vdofs-badge-muted { background:#F8F3EA !important; color:#874120 !important; }
body .vendog-food-selector .vdofs-form :is(input,select):focus-visible,
body .vendog-food-calculator .vdofc-form-card :is(input,select):focus-visible {
  border-color:#123F31 !important;
  outline:2px solid rgba(18,63,49,.20) !important;
  outline-offset:1px;
}
@media (max-width:620px) {
  body .vendog-food-selector .vdofs-save-row { align-items:stretch; flex-direction:column; }
  body .vendog-food-selector .vdofs-save-profile { width:100%; }
  body .vendog-food-selector .vdofs-daily-cost strong { font-size:19px; }
}

body .vendog-food-calculator .vdofc-daily-cost {
  margin:16px 0 18px;
  padding:18px 22px;
  border:1px solid #D9E0D8;
  border-radius:16px;
  background:#F8F3EA;
  display:flex;
  flex-direction:column;
  gap:5px;
}
body .vendog-food-calculator .vdofc-daily-cost[hidden] {display:none !important;}
body .vendog-food-calculator .vdofc-daily-cost small {font:600 13px/1.4 Inter,system-ui,sans-serif;color:#50645A;}
body .vendog-food-calculator .vdofc-daily-cost strong {font:700 25px/1.25 Manrope,Inter,system-ui,sans-serif;color:#123F31;}
body .vendog-food-calculator .vdofc-daily-cost span {font:400 12px/1.5 Inter,system-ui,sans-serif;color:#50645A;}

/* V2.7.1: Vendog site-wide button language is a 4px corner radius.
   Restricted to the two food shortcodes; does not affect their form fields,
   radio tiles, WooCommerce cards, or unrelated comparison interfaces. */
body .vendog-food-calculator :is(button, input[type="button"], input[type="submit"], input[type="reset"], a.button),
body .vendog-food-selector :is(button, input[type="button"], input[type="submit"], input[type="reset"], a.button, .vdofs-product-link, .vdofs-stage-card > span) {
  border-radius: 4px !important;
}

/* One price-note per set of selector results; no repeated note in each card. */
body .vendog-food-selector .vdofs-price-footnote {
  color: #50645A;
  font: 400 12px/1.5 Inter, system-ui, sans-serif;
  margin: 12px 0 0;
}
body .vendog-food-selector .vdofs-price-footnote[hidden] {
  display: none !important;
}
body .vendog-food-calculator .vdofc-price-footnote {
  color: #50645A;
  font: 400 12px/1.5 Inter, system-ui, sans-serif;
  margin: 6px 0 0;
}
