/*
 * Store finder (/store) + store detail (/store/{slug}).
 *
 * Linked after service.css in site.blade.php so it wins the cascade without
 * !important. Everything is scoped under `.str-page`. Deliberately a plain
 * <link>, not a Vite import, so the marketing site never depends on a
 * successful build. Bump the ?v= query string after editing.
 *
 * The hero rules are duplicated from service.css rather than shared: coupling
 * the two files by selector would mean one page's tweak silently changes the
 * other's.
 */

/* -------------------------------------------------------------------- hero */

/* The theme pulls .breadcumb-area up 100px to run a hero photo behind the
   header. This header is the light variant with dark links, so a dark hero
   behind it makes the nav unreadable — start below it instead. */
.str-page .breadcumb-area {
    margin-top: 0;
    padding: 96px 0 100px;
    background-position: center center;
}

.str-page .breadcumb-area:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 24, 25, 0.92) 0%,
        rgba(0, 24, 25, 0.72) 55%,
        rgba(113, 183, 69, 0.45) 100%
    );
}

.str-page .breadcumb-content {
    position: relative;
    z-index: 1;
}

.str-page .str-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(113, 183, 69, 0.9);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.str-page .breadcumb-content h4 {
    line-height: 1.1;
    margin: 0;
}

.str-page .str-hero-tagline {
    color: #e7f1e0;
    font-size: 19px;
    line-height: 30px;
    max-width: 620px;
    margin: 16px 0 0;
}

.str-page .breadcumb-content ul {
    margin-top: 22px;
}

/* ------------------------------------------------------------- store cards */

.str-page .location-area.inner-style {
    padding: 92px 0 100px;
}

.str-page .str-heading {
    margin-bottom: 54px;
}

.str-page .str-heading .section-desc {
    max-width: 620px;
    margin: 0 auto;
}

.str-page .str-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e6ece3;
    border-radius: 10px;
    padding: 30px 28px 28px;
    margin-bottom: 30px;
    transition: 0.4s;
}

.str-page .str-card:hover {
    border-color: #71b745;
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 24, 25, 0.1);
}

.str-page .str-card-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b8a2b;
    background: #eef6e7;
    border-radius: 4px;
    padding: 5px 12px;
    margin-bottom: 16px;
}

.str-page .str-card h4 {
    color: #00181a;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px;
}

.str-page .str-card-centre {
    color: #686868;
    margin: 0 0 20px;
}

.str-page .str-card-meta {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.str-page .str-card-meta li {
    display: flex;
    gap: 11px;
    color: #444f4a;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 11px;
}

.str-page .str-card-meta li i {
    color: #71b745;
    font-size: 17px;
    line-height: 24px;
}

/* Restates the theme's `.location-button a` look. The theme rule needs an
   anchor, and the whole card is already the anchor, so the pill is a span. */
.str-page .str-card .location-button {
    margin-top: auto;
}

.str-page .str-card .location-button span {
    display: block;
    border: 1.2px solid #e7e7e8;
    border-radius: 30px;
    padding: 13px 20px;
    text-align: center;
    text-transform: uppercase;
    color: #041424;
    font-weight: 500;
    transition: 0.4s;
}

.str-page .str-card:hover .location-button span {
    background: #71b745;
    border-color: #71b745;
    color: #fff;
}

/* -------------------------------------------------------------------- body */

.str-page .str-body {
    padding: 90px 0 100px;
}

.str-page .str-notice {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: #fdf6e3;
    border: 1px solid #f0e0b6;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 40px;
    color: #6b5618;
}

.str-page .str-notice i {
    font-size: 20px;
    line-height: 26px;
}

.str-page .str-notice a {
    color: #6b5618;
    font-weight: 700;
    text-decoration: underline;
}

/* contact panel — the theme's green card, so only the extras live here */
.str-page .single-contact-info-box .contact-info-content a {
    color: #fff;
}

.str-page .single-contact-info-box .contact-info-content h4 {
    line-height: 24px;
}

.str-page .str-directions {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #00181a;
    font-weight: 600;
    border-radius: 5px;
    padding: 13px 24px;
    margin-top: 8px;
    transition: 0.4s;
}

.str-page .str-directions:hover {
    background: #00181a;
    color: #fff;
}

.str-page .str-directions i {
    font-size: 18px;
}

/* -------------------------------------------------------------------- hours */

.str-page .str-hours {
    background: #f7f6ee;
    border-radius: 10px;
    padding: 32px 34px 26px;
}

.str-page .str-hours h4 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 22px;
    position: relative;
}

.str-page .str-hours h4:before {
    position: absolute;
    content: '';
    width: 29px;
    height: 2px;
    left: 0;
    bottom: -8px;
    background: #71b745;
}

.str-page .str-hours table {
    width: 100%;
    border-collapse: collapse;
}

.str-page .str-hours tr {
    border-bottom: 1px solid #e6e3d3;
}

.str-page .str-hours tr:last-child {
    border-bottom: 0;
}

.str-page .str-hours th,
.str-page .str-hours td {
    padding: 12px 14px;
    font-size: 16px;
}

.str-page .str-hours th {
    text-align: left;
    font-weight: 600;
    color: #00181a;
}

.str-page .str-hours td {
    text-align: right;
    color: #444f4a;
}

.str-page .str-hours tr.is-today {
    background: #fff;
    border-radius: 6px;
}

.str-page .str-hours tr.is-today th {
    color: #4b8a2b;
}

.str-page .str-hours tr.is-today td {
    color: #4b8a2b;
    font-weight: 700;
}

.str-page .str-hours-note {
    font-size: 14px;
    line-height: 23px;
    color: #6c716d;
    margin: 20px 0 0;
}

/* --------------------------------------------------------------------- map */

.str-page .str-map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

/* The theme's .google-map sets 600px, which dwarfs the column here. */
.str-page .str-map iframe {
    height: 320px;
    border: 0;
    display: block;
}

/* ----------------------------------------------------------- other stores */

.str-page .str-others {
    margin-top: 60px;
}

.str-page .str-others h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 22px;
}

.str-page .str-other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f7f6ee;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 18px;
    transition: 0.4s;
}

.str-page .str-other strong {
    display: block;
    color: #00181a;
    font-size: 18px;
    font-weight: 700;
}

.str-page .str-other em {
    display: block;
    color: #6c716d;
    font-size: 15px;
    font-style: normal;
}

.str-page .str-other i {
    color: #71b745;
    font-size: 18px;
}

.str-page .str-other:hover {
    background: #00181a;
}

.str-page .str-other:hover strong,
.str-page .str-other:hover em {
    color: #fff;
}

/* ---------------------------------------------------- shared "what we fix" */

/* Components/Site/ServicesSection brings its own layout (services-section.css);
   only the band it sits in belongs to this page. `.str-body` ends on white, so
   the cream separates the two without a rule across the page. */
.str-page .str-services {
    background: #f7f6ee;
    border-top: 1px solid #e3e6df;
}

/* --------------------------------------------------------------------- cta */

.str-page .str-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: #00181a;
    border-radius: 8px;
    padding: 44px 48px;
    margin-top: 60px;
}

.str-page .str-cta-text h3 {
    color: #fff;
    font-size: 30px;
    margin: 0 0 10px;
}

.str-page .str-cta-text p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 520px;
}

.str-page .str-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.str-page .str-btn {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.4s;
}

.str-page .str-btn-primary {
    background: #71b745;
    border-color: #71b745;
    color: #fff;
}

.str-page .str-btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #00181a;
}

.str-page .str-btn-light {
    background: #fff;
    border-color: #fff;
    color: #00181a;
}

.str-page .str-btn-light:hover {
    background: transparent;
    color: #fff;
}

/* -------------------------------------------------------------- responsive */

@media only screen and (max-width: 991px) {
    .str-page .breadcumb-area {
        padding: 64px 0 70px;
        /* Same reason as service.css: responsive.css centres `.breadcumb-area`
           below 992px, and this hero is the store page's sibling of that one --
           they must not disagree about which edge the text starts at. */
        text-align: left;
    }

    .str-page .breadcumb-content h4 {
        font-size: 40px;
    }

    .str-page .location-area.inner-style,
    .str-page .str-body {
        padding: 60px 0 70px;
    }

    .str-page .str-hours {
        margin-top: 34px;
    }
}

@media only screen and (max-width: 767px) {
    .str-page .breadcumb-content h4 {
        font-size: 32px;
    }

    .str-page .str-hero-tagline {
        font-size: 17px;
    }

    .str-page .str-hours {
        padding: 26px 22px 22px;
    }

    .str-page .str-hours th,
    .str-page .str-hours td {
        padding: 11px 6px;
        font-size: 15px;
    }

    .str-page .str-cta {
        padding: 32px 26px;
    }

    .str-page .str-cta-text h3 {
        font-size: 25px;
    }
}

/* ------------------------------------------------------------------ photos */

/* Storefront photography. The pages had no images at all before stores became
   editable; these are the only two places one appears. */

.str-page .str-card-photo {
    display: block;
    margin: -24px -24px 18px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.str-page .str-card-photo img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.str-page .str-photo {
    margin-bottom: 34px;
}

.str-page .str-photo img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 8px;
}

@media only screen and (max-width: 767px) {
    .str-page .str-photo img {
        max-height: 220px;
    }
}
