/* Store detail page: green theme and a proper hero. Loaded before the page's own <style>, so selectors start with `body` to win. */
body .sd-container { max-width: 1100px; padding: 18px 16px 40px; }
body .sd-breadcrumb { background: #f1f7f6; border-radius: 22px; padding: 8px 16px; font-size: 13px; color: #607d8b; }
body .sd-breadcrumb a { color: #00796b; text-decoration: none; }
body .sd-header { background: linear-gradient(135deg, #e6f4f3 0%, #ffffff 70%); border: 1px solid #d5ebe8; border-radius: 18px; padding: 34px 22px 28px; margin: 20px 0 30px; text-align: center; box-shadow: 0 6px 24px rgba(0,105,92,.08); }
body .sd-company-logo { margin: 0 auto 14px; }
body .sd-logo-img { max-height: 120px; width: auto; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
body .sd-title { font-size: 26px; font-weight: 800; color: #12403c; margin: 0 0 12px; border: 0; padding: 0; }
.sd-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.sd-badge { background: #fff; border: 1px solid #b9dfda; color: #00695c; border-radius: 18px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.sd-badge i { margin-right: 4px; color: #00897b; }
.sd-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sd-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 2px solid #00897b; border-radius: 26px; background: #fff; color: #00796b; font-weight: 700; font-size: 14px; text-decoration: none; transition: .15s; }
.sd-btn:hover { background: #e6f4f3; }
.sd-btn-primary { background: #00897b; color: #fff; }
.sd-btn-primary:hover { background: #00796b; }
body .sd-section-title { font-size: 18px; color: #12403c; border: 0; border-left: 5px solid #00897b; padding: 2px 0 2px 12px; margin: 34px 0 16px; }
body .sd-info-table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid #d5ebe8; border-radius: 14px; overflow: hidden; background: #fff; }
body .sd-info-table th { background: #e6f4f3; color: #00695c; font-weight: 700; width: 9em; padding: 14px 16px; border: 0; border-bottom: 1px solid #d5ebe8; text-align: left; }
body .sd-info-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid #eef3f2; }
body .sd-info-table tr:last-child th, body .sd-info-table tr:last-child td { border-bottom: 0; }
body .sd-map-wrapper, body .sd-map { border-radius: 14px; overflow: hidden; }
body .sd-map-wrapper { border: 1px solid #d5ebe8; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
body .sd-map-link, body .sd-map-button { color: #00796b; border-color: #b9dfda; border-radius: 18px; }
body .sd-contact-container, body .sd-photo-container { background: #f7fbfa; border: 1px solid #d5ebe8; border-radius: 14px; padding: 22px; }
body .sd-contact-name { color: #12403c; }
body .sd-contact-phone a { color: #00796b; font-size: 26px; font-weight: 800; text-decoration: none; }
body .sd-cta-button { background: none; box-shadow: none; padding: 0; text-align: center; }
body .sd-cta-link { display: inline-block; background: #00897b; color: #fff; border-radius: 26px; padding: 13px 38px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 12px rgba(0,137,123,.28); }
body .sd-cta-link:hover { background: #00796b; }
@media (max-width: 640px) { body .sd-title { font-size: 21px; } body .sd-info-table th { width: 6.5em; } }

/* one card for the store description (it used to be a box inside a box) */
body .sd-photo-container { display: block; }
body .sd-photo-text { min-width: 0; border: 0; background: transparent; padding: 0; line-height: 2; color: #37474f; overflow-wrap: anywhere; }
body .sd-contact-container { overflow-wrap: anywhere; }

/* phones */
@media (max-width: 640px) {
    body .sd-container { padding: 12px 10px 30px; }
    body .sd-header { padding: 24px 14px 20px; margin: 14px 0 22px; }
    .sd-hero-actions { flex-direction: column; align-items: stretch; }
    .sd-btn { justify-content: center; width: 100%; box-sizing: border-box; }
    .sd-badge { font-size: 12px; padding: 4px 10px; }
    body .sd-info-container { display: block; }
    body .sd-info-details, body .sd-map-wrapper { width: 100%; max-width: 100%; }
    body .sd-info-table, body .sd-info-table tbody, body .sd-info-table tr, body .sd-info-table th, body .sd-info-table td { display: block; width: 100%; box-sizing: border-box; }
    body .sd-info-table th { border-bottom: 0; padding: 10px 14px 2px; background: #f1f7f6; }
    body .sd-info-table td { padding: 4px 14px 12px; }
    body .sd-map { height: 260px; }
    body .sd-contact-container, body .sd-photo-container { padding: 16px; }
    body .sd-contact-phone a { font-size: 22px; }
    body .sd-cta-link { display: block; margin: 0 6px; }
}

/* store photo banner */
body .sd-store-photo-wrap { margin: -10px -6px 18px; }
body .sd-store-photo { width: 100%; height: auto; max-height: 340px; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
@media (max-width: 640px) { body .sd-store-photo { max-height: 190px; } body .sd-store-photo-wrap { margin: -6px 0 14px; } }

/* photo band: any photo shape (landscape or portrait) is shown whole, centred on a soft band */
body .sd-store-photo-wrap { width: 100%; max-width: none; height: auto; display: flex; justify-content: center; background: #e6f4f3; border-radius: 14px; padding: 10px; box-sizing: border-box; margin: -8px 0 18px; }
body .sd-store-photo { width: auto; max-width: 100%; max-height: 340px; object-fit: contain; box-shadow: none; border-radius: 10px; }
@media (max-width: 640px) { body .sd-store-photo { max-height: 240px; } }
