.locations-hero {
    padding: 56px 0;
    background:
        linear-gradient(
            135deg,
            #f4f7f3 0%,
            #ffffff 55%,
            #f6f6f6 100%
        );
    border-bottom: 1px solid #e3e7e1;
}

.locations-hero__content {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.locations-hero__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.locations-hero__logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
}

.locations-eyebrow {
    margin: 0 0 8px;
    color: #087b21;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.locations-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
}

.locations-hero__text > p:not(.locations-eyebrow):not(.locations-status) {
    max-width: 680px;
    margin: 0;
    color: #545b55;
    font-size: 1.08rem;
    line-height: 1.7;
}

.locations-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.locations-status {
    margin: 18px 0 0;
    color: #626862;
    font-size: 0.94rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.button--primary {
    background: #087b21;
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(8, 123, 33, 0.18);
}

.button--primary:hover {
    background: #06681b;
    color: #ffffff;
}

.button--secondary {
    border-color: #cbd2cb;
    background: #ffffff;
    color: #263027;
}

.button--secondary:hover {
    border-color: #087b21;
    color: #087b21;
}

.nearest-location {
    padding: 48px 0;
    background: #f3f8f2;
    border-bottom: 1px solid #dbe7d8;
}

.nearest-location__heading {
    margin-bottom: 22px;
}

.nearest-location__heading h2,
.locations-directory__header h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.nearest-location .location-card {
    max-width: 760px;
    margin: 0 auto;
}

.locations-directory {
    padding: 58px 0 70px;
}

.locations-directory__header {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.locations-directory__header p {
    margin: 8px 0 0;
    color: #646a65;
}

.locations-search {
    display: flex;
    width: min(100%, 430px);
    gap: 8px;
}

.locations-search input {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #cbd1cb;
    border-radius: 8px;
    background: #ffffff;
    color: #202520;
    font: inherit;
}

.locations-search input:focus {
    border-color: #087b21;
    outline: 3px solid rgba(8, 123, 33, 0.12);
}

.locations-search button {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #cbd1cb;
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.locations-count {
    margin-bottom: 20px;
    color: #697069;
    font-size: 0.92rem;
}

.locations-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.location-card {
    overflow: hidden;
    border: 1px solid #dde2dd;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 24px rgba(28, 39, 28, 0.07);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.location-card:hover {
    transform: translateY(-3px);
    border-color: #b8c9b8;
    box-shadow: 0 13px 30px rgba(28, 39, 28, 0.11);
}

.location-card[hidden] {
    display: none;
}

.location-card--closest {
    border: 2px solid #087b21;
    box-shadow: 0 13px 30px rgba(8, 123, 33, 0.15);
}

.location-card--nearest {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
}

.location-card__image-link {
    display: block;
    background: #f2f4f1;
}

.location-card__image {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.location-card--nearest .location-card__image {
    height: 100%;
    min-height: 310px;
}

.location-card__body {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    padding: 22px;
}

.location-card--nearest .location-card__body {
    min-height: 0;
}

.location-card__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.location-card__store-number {
    margin: 0 0 4px;
    color: #7a817a;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.location-card h3 {
    margin: 0;
    font-size: 1.45rem;
}

.location-card h3 a {
    color: #202720;
    text-decoration: none;
}

.location-card h3 a:hover {
    color: #087b21;
}

.location-card__distance {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #e7f4e7;
    color: #07691c;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.location-card__manager {
    margin: 14px 0 8px;
    color: #484f49;
}

.location-card address {
    margin: 0 0 10px;
    color: #5f665f;
    font-style: normal;
    line-height: 1.55;
}

.location-card__phone {
    display: inline-block;
    margin-bottom: 12px;
    color: #087b21;
    font-size: 1.02rem;
    font-weight: 800;
    text-decoration: none;
}

.location-card__hours {
    margin: 0 0 19px;
    color: #676e68;
    font-size: 0.9rem;
    line-height: 1.55;
}

.location-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: auto;
}

.locations-empty {
    padding: 50px 20px;
    border: 1px dashed #cbd2cb;
    border-radius: 12px;
    background: #f8f9f8;
    text-align: center;
}

.locations-empty h3 {
    margin: 0 0 8px;
}

.locations-empty p {
    margin: 0;
    color: #656b66;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .locations-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .locations-hero {
        padding: 38px 0 42px;
    }

    .locations-hero__content {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .locations-hero__logo {
        max-width: 145px;
    }

    .locations-hero__actions {
        justify-content: center;
    }

    .locations-directory {
        padding: 42px 0 58px;
    }

    .locations-directory__header {
        display: block;
    }

    .locations-search {
        width: 100%;
        margin-top: 20px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-card--nearest {
        display: block;
    }

    .location-card--nearest .location-card__image {
        height: 220px;
        min-height: 0;
    }

    .location-card__body {
        min-height: 0;
    }
}

@media (max-width: 440px) {
    .locations-hero__actions,
    .location-card__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .locations-hero__actions .button {
        width: 100%;
    }
}

/* =========================================================
   INDIVIDUAL LOCATION PAGE
   ========================================================= */

.store-not-found {
    padding: 70px 20px;
    text-align: center;
}

.store-not-found h1 {
    margin: 0 0 12px;
}

.store-not-found p {
    margin: 0 0 24px;
}


/* =========================================================
   STORE HERO
   ========================================================= */

.store-hero {
    padding: 24px 0 38px;
    background:
        radial-gradient(
            circle at top right,
            rgba(25, 128, 51, 0.10),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f3f7f3 0%,
            #ffffff 58%,
            #f4f6f4 100%
        );
    border-bottom: 1px solid #dde4dd;
}

.store-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    color: #087b21;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.store-back-link:hover {
    text-decoration: underline;
}

.store-hero__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(330px, 0.95fr);
    gap: 34px;
    align-items: center;
}

.store-hero__photo-wrap {
    position: relative;
    overflow: hidden;
    min-height: 335px;
    border-radius: 18px;
    background: #e9ede9;
    box-shadow:
        0 16px 38px rgba(24, 38, 26, 0.14);
}

.store-hero__photo-wrap::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 38%;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.22),
            transparent
        );
    content: "";
    pointer-events: none;
}

.store-hero__photo {
    display: block;
    width: 100%;
    height: 335px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.store-hero__photo-wrap:hover .store-hero__photo {
    transform: scale(1.015);
}

.locations-eyebrow {
    margin: 0 0 8px;
    color: #087b21;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.store-hero__content h1 {
    margin: 0 0 12px;
    color: #172019;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.store-manager {
    display: inline-block;
    margin: 0 0 15px;
    padding: 7px 12px;
    border: 1px solid #d6e6d8;
    border-radius: 999px;
    background: #edf7ef;
    color: #315238;
    font-size: 0.96rem;
}

.store-manager strong {
    color: #126d27;
}

.store-address {
    margin: 0 0 8px;
    color: #565f57;
    font-size: 1rem;
    font-style: normal;
    line-height: 1.55;
}

.store-phone {
    display: inline-block;
    margin-top: 2px;
    color: #087b21;
    font-size: 1.28rem;
    font-weight: 900;
    text-decoration: none;
}

.store-phone:hover {
    text-decoration: underline;
}

.store-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.store-hero__actions .button {
    min-width: 135px;
}


/* =========================================================
   BUTTON POLISH
   ========================================================= */

.store-hero .button,
.store-information .button,
.store-contact-section .button,
.store-facebook-section .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 9px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.store-hero .button:hover,
.store-information .button:hover,
.store-contact-section .button:hover,
.store-facebook-section .button:hover {
    transform: translateY(-1px);
}

.button--primary {
    border: 1px solid #087b21;
    background: #087b21;
    color: #ffffff;
    box-shadow:
        0 6px 16px rgba(8, 123, 33, 0.18);
}

.button--primary:hover {
    background: #06691c;
}

.button--secondary {
    border: 1px solid #cbd3cc;
    background: #ffffff;
    color: #263128;
}

.button--secondary:hover {
    border-color: #97a799;
    background: #f5f7f5;
}


/* =========================================================
   MAP AND HOURS
   ========================================================= */

.store-information {
    padding: 42px 0;
}

.store-information__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        310px;
    gap: 22px;
    align-items: stretch;
}

.store-map-card {
    overflow: hidden;
    min-height: 350px;
    border: 1px solid #dbe2dc;
    border-radius: 16px;
    background: #edf0ed;
    box-shadow:
        0 8px 24px rgba(25, 38, 27, 0.07);
}

.store-map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

.store-hours-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #dbe2dc;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 8px 24px rgba(25, 38, 27, 0.07);
}

.store-hours-card h2 {
    margin: 0 0 17px;
    color: #1e2920;
    font-size: 1.45rem;
}

.store-hours {
    margin: 0 0 19px;
}

.store-hours > div {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e8ece8;
}

.store-hours > div:last-child {
    border-bottom: 0;
}

.store-hours dt {
    color: #2b342c;
    font-weight: 800;
}

.store-hours dd {
    margin: 0;
    color: #626a63;
    text-align: right;
}

.store-hours-card .button {
    width: 100%;
    margin-top: auto;
}


/* =========================================================
   INQUIRY AND GOOGLE REVIEW
   ========================================================= */

.store-contact-section {
    padding: 46px 0;
    background:
        linear-gradient(
            135deg,
            #f1f6f1,
            #f8faf8
        );
    border-top: 1px solid #dfe6df;
    border-bottom: 1px solid #dfe6df;
}

.store-contact-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        330px;
    gap: 23px;
    align-items: start;
}

.store-inquiry-card,
.store-review-card {
    border: 1px solid #dbe2dc;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 9px 28px rgba(27, 40, 29, 0.08);
}

.store-inquiry-card {
    padding: 28px;
}

.store-review-card {
    position: sticky;
    top: 105px;
    overflow: hidden;
    padding: 30px 25px;
    text-align: center;
}

.store-review-card::before {
    display: block;
    width: 58px;
    height: 4px;
    margin: -30px auto 25px;
    border-radius: 999px;
    background: #087b21;
    content: "";
}

.store-inquiry-card h2,
.store-review-card h2 {
    margin: 0 0 9px;
    color: #1c271e;
    line-height: 1.15;
}

.store-inquiry-card__intro,
.store-review-card p {
    color: #5e675f;
    line-height: 1.6;
}

.store-inquiry-card__intro {
    max-width: 720px;
    margin-bottom: 0;
}

.store-review-card__stars {
    margin-bottom: 10px;
    color: #f2b600;
    font-size: 1.45rem;
    letter-spacing: 0.07em;
}

.store-review-card .button {
    width: 100%;
    margin-top: 11px;
}


/* =========================================================
   FORM
   ========================================================= */

.store-inquiry-form {
    margin-top: 21px;
}

.store-inquiry-form__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-field--full {
    grid-column: 1 / -1;
}

.checkout-field label {
    color: #2c352d;
    font-size: 0.94rem;
    font-weight: 800;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c8d0c9;
    border-radius: 8px;
    background: #ffffff;
    color: #202721;
    font: inherit;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.checkout-field input:hover,
.checkout-field select:hover,
.checkout-field textarea:hover {
    border-color: #aeb9af;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
    border-color: #087b21;
    outline: none;
    box-shadow:
        0 0 0 3px rgba(8, 123, 33, 0.12);
}

.checkout-field textarea {
    min-height: 125px;
    resize: vertical;
}

.store-inquiry-submit {
    width: 100%;
    margin-top: 17px;
}

.location-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.location-form-message {
    margin: 17px 0;
    padding: 14px 16px;
    border-radius: 9px;
    line-height: 1.5;
}

.location-form-message p {
    margin: 4px 0 0;
}

.location-form-message--success {
    border: 1px solid #abd9b0;
    background: #eaf7ec;
    color: #145f22;
}

.location-form-message--error {
    border: 1px solid #e4b3b3;
    background: #fff0f0;
    color: #982020;
}


/* =========================================================
   FACEBOOK
   ========================================================= */

.store-facebook-section {
    padding: 45px 0 58px;
}

.store-facebook-section__header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.store-facebook-section__header h2 {
    margin: 0;
    color: #1c271e;
}

.store-facebook-embed {
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #dce2dc;
    border-radius: 16px;
    background: #f4f6f4;
    box-shadow:
        0 8px 24px rgba(26, 39, 28, 0.06);
}

.store-facebook-embed iframe {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 500px;
    border: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .store-hero__layout,
    .store-information__grid,
    .store-contact-grid {
        grid-template-columns: 1fr;
    }

    .store-hero__layout {
        gap: 25px;
    }

    .store-review-card {
        position: static;
    }

    .store-hours-card {
        order: -1;
    }

    .store-hours-card .button {
        margin-top: 8px;
    }

    .store-facebook-embed {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
    .store-hero {
        padding: 21px 0 34px;
    }

    .store-back-link {
        margin-bottom: 13px;
    }

    .store-hero__photo-wrap {
        min-height: 255px;
        border-radius: 14px;
    }

    .store-hero__photo {
        height: 255px;
    }

    .store-hero__content h1 {
        font-size: 2.15rem;
    }

    .store-manager {
        margin-bottom: 13px;
    }

    .store-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-hero__actions .button {
        width: 100%;
    }

    .store-information,
    .store-contact-section,
    .store-facebook-section {
        padding: 36px 0;
    }

    .store-map-card,
    .store-map {
        min-height: 310px;
    }

    .store-inquiry-card,
    .store-review-card,
    .store-hours-card {
        padding: 21px;
    }

    .store-review-card::before {
        margin-top: -21px;
    }

    .store-inquiry-form__grid {
        grid-template-columns: 1fr;
    }

    .checkout-field--full {
        grid-column: auto;
    }

    .store-facebook-section__header {
        display: block;
    }

    .store-facebook-section__header .button {
        width: 100%;
        margin-top: 15px;
    }

    .store-facebook-embed {
        padding: 8px;
    }

    .store-facebook-embed iframe {
        height: 450px;
    }
}

/* Responsive Facebook page embed */

.store-facebook-embed {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.store-facebook-embed iframe {
    display: block;
    width: 100%;
    max-width: 500px;
    min-height: 650px;
    border: 0;
}

@media (max-width: 560px) {
    .store-facebook-embed {
        max-width: 100%;
    }

    .store-facebook-embed iframe {
        width: 100%;
        max-width: 100%;
    }
}