
.pdr-feeding-guide-calculator {
    background: var(--prodog-black);
    padding: 65px 0;
    position: relative;
}

.pdr-feeding-guide-calculator h2 {
    color: var(--prodog-yellow);
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    text-transform: uppercase;
    text-align: center;
}

.pdr-section p.pdr-feeding-guide-calculator-section-title {
    color: var(--color-white);
    font-size: var(--font-size-h3);
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-heavy);
    line-height: var(--line-height-h3);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.pdr-feeding-guide-calculator-lifestage-inner {
    display:grid;
    grid-template-columns: 2fr;
    gap: 20px;
}

.pdr-feeding-guide-calculator-row {
    margin-bottom: 65px;
}

.pdr-age-selector {
    margin: 0;
    padding: 0;
    border: 0;
}

.pdr-age-selector legend {
    position: absolute;
    left: -9999px;
}

.pdr-age-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* hide native radio but keep accessible */
.pdr-age-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pdr-age-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--color-white);
    border-radius: 10px;
    padding: 12px 25px;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, transform .05s ease;
    min-height: 90px;
}
.pdr-age-card:hover {
    background: var(--prodog-yellow);
}

/* checked and keyboard focus states */
.pdr-age-options input[type="radio"]:checked + label.pdr-age-card,
.pdr-age-options input[type="radio"]:focus-visible + label.pdr-age-card {
    background: var(--prodog-yellow);
}

.pdr-age-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* custom radio */
.pdr-radio {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--prodog-black);
    display: grid;
    place-items: center;
    transition: background .2s ease;
}

.pdr-radio::after {
    content: "";
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--prodog-black);
    transform: scale(0);
    transition: transform .15s ease;
}

.pdr-age-options input[type="radio"]:checked + label .pdr-radio::after {
    transform: scale(1);
}

.pdr-age-label {
    font-size: 24px;
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-heavy);
    color: var(--prodog-black);
}

.pdr-age-icon {
    margin-left: auto;
    flex: 0 0 120px;
    max-width: 140px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

/* weight pill */
.pdr-calc-weight {
    max-width: 570px;
    margin: 0 auto 40px;
}

.pdr-calc-weight-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 30px;
    overflow: hidden;
}

.pdr-calc-weight-input {
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    padding: 15px 25px;
    font-size: 25px;
    line-height: 1;
    background: var(--color-white);
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-heavy);
}

.pdr-calc-weight-input::placeholder {
    color: #C1C1C1;
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-heavy);
}

.pdr-calc-weight-unit {
    flex: 0 0 100px;
    display: grid;
    place-items: center;
    background: var(--prodog-yellow);
    color: var(--prodog-black);
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-heavy);
    font-size: 25px;
}

/* 3-up goal options using same card/radio visuals */
.pdr-goal-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pdr-goal-options input[type="radio"] {
    position: absolute; opacity: 0; pointer-events: none;
}

.pdr-goal-options input[type="radio"]:checked + label.pdr-age-card,
.pdr-goal-options input[type="radio"]:focus-visible + label.pdr-age-card {
    background: var(--prodog-yellow);
}

.pdr-goal-options input[type="radio"]:checked + label .pdr-radio::after {
    transform: scale(1);
}


/* pill wrapper */
.pdr-feeding-guide-calculator-age-inner label#puppyage-wrap {
  position: relative;
  display: block;
  max-width: 570px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
}

/* full-width select = clickable everywhere */
.pdr-feeding-guide-calculator-age-inner label#puppyage-wrap > select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 15px 25px;
  background: var(--color-white);
  font-size: 25px;
  line-height: 1;
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-heavy);
  color: var(--prodog-black);
  cursor: pointer;
  border-radius: 30px;
}

/* yellow cap */
.pdr-feeding-guide-calculator-age-inner label#puppyage-wrap::after {
    content: "\f107"; /* fa-angle-down */
    font-family: "FontAwesome";
    font-weight: 900; /* solid */
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    display: flex;
    align-items: center;     /* vertical center */
    justify-content: center; /* horizontal center */
    background: var(--prodog-yellow);
    color: var(--prodog-black);
    font-size: 35px;
    line-height: 1;          /* stop FA from sitting low */
    pointer-events: none;
}

/* focus ring */
.pdr-feeding-guide-calculator-age-inner label#puppyage-wrap > select:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(0,0,0,.12);
}

.pdr-feeding-guide-calculator .pdr-button {
	line-height: normal;
	margin: 0 auto;
	text-align: center;
    display: block;
}

.pdr-feeding-guide-calculator .pdr-button:hover {
    color: var(--prodog-black);
    background: var(--prodog-yellow);
    border-color: var(--prodog-yellow);
}

.pdr-feeding-guide-calculator-results {
    display: none;
}

.pdr-feeding-guide-calculator-button-results {
    margin-bottom: 0;
}

.pdr-feeding-guide-calculator-results,
.calculator-errors {
    display: none;
    border: 2px solid var(--prodog-yellow);
    text-align: center;
    width: 500px;
    margin: 0 auto;
    padding: 20px;
    font-size: 20px;
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-heavy);
    color: var(--prodog-yellow);
    margin-bottom: 40px;
    max-width: 100%;
}

.pdr-feeding-guide-calculator-results {
    margin: 40px auto 0;
}

.pdr-feeding-guide-calculator-results p {
    color: var(--color-white);
}

.pdr-feeding-guide-calculator-results .rdf-calc-button-text p {
    font-weight: 500;
    font-family: var(--font-family-base);
    font-size: 18px;
    line-height: 24px;
}

.calculator-errors p {
    margin-bottom: 10px;
}

.calculator-errors p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 1199px) {

    .pdr-feeding-guide-calculator {
    	padding: 65px 20px;
    }

}

@media (max-width: 899px) {

    .pdr-age-icon {
    	flex: 0 0 90px;
    	max-width: 90px;
    }

}

@media (max-width: 767px) {

    .pdr-calc-weight-unit { flex-basis: 80px; font-size: 20px; }
    .pdr-calc-weight-input { font-size: 20px; padding: 16px 20px; }

    .pdr-age-options { grid-template-columns: 1fr; }
    .pdr-goal-options { grid-template-columns: 1fr; }

    .pdr-feeding-guide-calculator-age-inner label#puppyage-wrap > select{
        padding: 16px 120px 16px 20px;
        font-size: 20px;
    }

    .pdr-age-label {
    	font-size: 20px;
    }

    .pdr-section p.pdr-feeding-guide-calculator-section-title {
    	margin-bottom: 20px;
    }

    .pdr-feeding-guide-calculator {
    	padding: 35px 20px;
    }

    .pdr-feeding-guide-calculator-row {
    	margin-bottom: 40px;
    }

    .pdr-calc-weight-input {
    	width: calc(100% - 80px);
    }

    .pdr-feeding-guide-calculator-age-inner label#puppyage-wrap::after {
    	width: 80px;
        font-size: 25px;
    }

}

@media (max-width: 499px) {



}
