:root {
    --store-primary: #0079c1;
    --store-primary-dark: #005f96;
    --store-black: #111111;
    --store-dark: #1c1c1c;
    --store-grey: #6b7280;
    --store-light-grey: #eef2f5;
    --store-background: #f4f7fb;
    --store-border: #d7e0e8;
    --store-white: #ffffff;
}

body.store-modal-open {
    overflow: hidden;
}

.store-section,
.store-section * {
    box-sizing: border-box;
}

.store-section {
    width: 100%;
    padding: 50px 0;
}

.store-container {
    width: min(100% - 30px, 1440px);
    margin: 0 auto;
}

.store-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.store-section [hidden] {
    display: none !important;
}

.store-section-title {
    margin: 0;
    color: var(--store-black);
    font-size: 2rem;
    font-weight: 600 !important;
    letter-spacing: -1px;
}

.store-filter-panel {
    display: grid;
    grid-template-columns:
        minmax(160px, 0.8fr)
        minmax(160px, 0.8fr)
        minmax(220px, 1.5fr)
        auto
        44px;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
    padding: 16px;
    background: var(--store-white);
    border: 1px solid #d8e6f2;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 121, 193, 0.08);
}

.store-filter-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--store-dark);
    font-size: 12px;
    font-weight: 800;
}

.store-filter-field select,
.store-filter-field input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--store-dark);
    background: var(--store-white);
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-filter-field select:focus,
.store-filter-field input:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 4px rgba(0, 121, 193, 0.14);
}

.store-filter-field select:disabled {
    color: #999;
    background: #f2f2f2;
    cursor: not-allowed;
}

.store-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    color: var(--store-white);
    background: var(--store-black);
    border: 1px solid var(--store-black);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.store-filter-clear:hover {
    background: var(--store-white);
    border-color: var(--store-black);
    color: var(--store-black);
}

.store-filter-clear svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-filter-summary {
    min-height: 22px;
    margin-bottom: 18px;
    color: var(--store-grey);
    font-size: 13px;
    font-weight: 700;
}

.store-empty-state {
    padding: 45px 20px;
    text-align: center;
    background: var(--store-white);
    border: 1px dashed #b9c8d5;
    border-radius: 12px;
}

.store-empty-state h3 {
    margin: 0 0 8px;
    color: var(--store-dark);
    font-size: 20px;
    font-weight: 800;
}

.store-empty-state p {
    margin: 0;
    color: var(--store-grey);
    font-size: 14px;
}

.store-location-button {
    min-height: 44px;
    padding: 10px 16px;
    color: var(--store-white);
    background: var(--store-primary);
    border: 1px solid var(--store-primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.store-location-button:hover {
    background: var(--store-primary-dark);
    border-color: var(--store-primary-dark);
    transform: translateY(-1px);
}

.store-location-button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.nearest-stores-section {
    margin: 0 0 34px;
    padding: 20px;
    background: #edf7ff;
    border: 1px solid #b7daf6;
    border-radius: 14px;
}

.nearest-stores-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.nearest-stores-label {
    display: block;
    margin-bottom: 4px;
    color: var(--store-grey);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.nearest-stores-header h3 {
    margin: 0;
    color: var(--store-dark);
    font-size: 22px;
    font-weight: 800;
}

.nearest-stores-status {
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.nearest-stores-section.is-loading .nearest-stores-status::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 9px;
    vertical-align: -2px;
    border: 2px solid rgba(0, 121, 193, 0.25);
    border-top-color: var(--store-primary);
    border-radius: 50%;
    animation: nearestStoreSpin 0.8s linear infinite;
}

@keyframes nearestStoreSpin {
    to {
        transform: rotate(360deg);
    }
}

.store-distance {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 4px 8px;
    color: #005f99;
    background: rgba(0, 121, 193, 0.1);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.country-store-section + .country-store-section {
    margin-top: 42px;
}

.country-store-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.country-store-title {
    flex: 0 0 auto;
    margin: 0;
    color: var(--store-dark);
    font-size: 22px;
    font-weight: 800 !important;
}

.country-store-count {
    flex: 0 0 auto;
    padding: 5px 10px;
    color: #000;
    background: #fcaf17;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.country-store-line {
    width: 100%;
    height: 1px;
    background: #dedede;
}

.country-store-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -6px;
}

.store-card-column {
    flex: 0 0 16.66666667%;
    width: 16.66666667%;
    max-width: 16.66666667%;
    padding: 6px;
}

.store-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--store-white);
    border: 1px solid #dce6ef;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 121, 193, 0.18);
}

.store-card-content {
    display: flex;
    flex-direction: column;
    min-height: 175px;
    padding: 15px;
}

.store-card-title {
    margin: 0 0 8px;
    color: #393939;
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 1.35;
}

.store-card-address {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 15px;
    color: var(--store-grey);
    font-size: 12px;
    font-style: normal;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.store-card-button {
    min-height: auto;
    margin-top: auto;
    padding: 0;
    color: #000;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-align: right;
    text-underline-offset: 3px;
    cursor: pointer;
}

.store-card-button:hover {
    color: var(--store-primary);
    background: transparent;
}

.store-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.72);
}

.store-modal.is-open {
    display: flex;
}

.store-modal-dialog {
    width: 100%;
    max-width: 480px;
    margin: auto;
}

.store-modal-content {
    position: relative;
    overflow: hidden;
    background: var(--store-white);
    border: 1px solid var(--store-primary);
    border-radius: 15px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.store-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    color: var(--store-white);
    background: var(--store-primary);
    border: 1px solid var(--store-white);
    border-radius: 50%;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.store-modal-map {
    height: 190px;
    overflow: hidden;
    background: var(--store-light-grey);
}

.store-modal-map iframe,
.store-modal-map > div {
    width: 100%;
    height: 100%;
    border: 0;
}

.store-modal-body {
    padding: 24px;
}

.store-modal-city {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--store-grey);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.store-modal-title {
    margin: 0 0 22px;
    color: var(--store-black);
    font-size: 24px;
    font-weight: 800 !important;
    line-height: 1.25;
}

.store-modal-detail {
    display: grid;
    grid-template-columns: 33px 1fr;
    gap: 11px;
    padding: 13px 0;
    border-top: 1px solid #e5e5e5;
}

.store-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    color: var(--store-white);
    background: var(--store-primary);
    border-radius: 50%;
}

.store-modal-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-modal-label {
    display: block;
    margin-bottom: 3px;
    color: var(--store-grey);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.store-modal-value,
.store-modal-detail address {
    display: block;
    margin: 0;
    color: var(--store-dark);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.store-hours-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.store-hours-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.store-hours-table th,
.store-hours-table td {
    padding: 3px 0;
    border: 0;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.25;
}

.store-hours-table th {
    width: 42%;
    padding-right: 16px;
    color: var(--store-dark);
    font-weight: 700;
    text-align: start;
}

.store-hours-table td {
    color: var(--store-dark);
    font-weight: 400;
    text-align: start;
    white-space: nowrap;
}

.store-hours-time {
    display: inline-block;
    direction: ltr;
    unicode-bidi: isolate;
}

.store-section.is-rtl .store-hours-table th {
    padding-right: 0;
    padding-left: 16px;
}

.store-modal-phone,
.store-modal-contact-link {
    display: inline-block;
    color: var(--store-primary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
    direction: ltr;
    unicode-bidi: isolate;
}

.store-modal-phone:hover,
.store-modal-contact-link:hover {
    text-decoration: underline;
}

.store-modal-icon-whatsapp {
    background: #25d366;
}

.store-modal-actions {
    margin-top: 18px;
}

.store-modal-direction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    color: var(--store-white) !important;
    background: var(--store-primary);
    border: 1px solid var(--store-primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.store-modal-direction:hover {
    color: var(--store-white);
    background: var(--store-black);
    border-color: var(--store-black);
}

.store-modal-direction svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-section.is-rtl .store-card-button,
.store-section.is-rtl .nearest-stores-status {
    text-align: left;
}

.store-section.is-rtl .store-card-button {
    direction: rtl;
}

.store-section.is-rtl .store-card-button svg {
    transform: scaleX(-1);
}

.store-section.is-rtl .store-modal-close {
    right: auto;
    left: 12px;
}

.store-section.is-rtl .nearest-stores-section.is-loading .nearest-stores-status::before {
    margin-right: 0;
    margin-left: 9px;
}

@media (max-width: 1199.98px) {
    .store-filter-panel {
        grid-template-columns: 1fr 1fr;
    }

    .store-card-column {
        flex-basis: 25%;
        width: 25%;
        max-width: 25%;
    }
}

@media (max-width: 991.98px) {
    .store-filter-search {
        grid-column: 1 / -1;
    }

    .store-card-column {
        flex-basis: 33.333333%;
        width: 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 575.98px) {
    .store-section {
        padding: 40px 0;
    }

    .store-filter-panel {
        grid-template-columns: 1fr;
    }

    .store-filter-search {
        grid-column: auto;
    }

    .store-location-button {
        width: 100%;
    }

    .store-filter-clear {
        justify-self: end;
    }

    .nearest-stores-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .country-store-grid {
        margin-right: -6px;
        margin-left: -6px;
    }

    .store-card-column {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        margin-bottom: 12px;
    }

    .store-card-content {
        min-height: 180px;
        padding: 12px;
    }

    .store-card-title {
        font-size: 14px;
        font-weight: 800;
    }

    .store-card-address {
        font-size: 11px;
    }

    .store-modal {
        padding: 12px;
    }

    .store-modal-map {
        height: 160px;
    }

    .store-modal-body {
        padding: 20px;
    }

    .store-modal-title {
        font-size: 21px;
    }
}

@media (max-width: 360px) {
    .store-card-column {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}
.store-hours-time {
    direction: rtl;
    text-align: right;
}

.store-hour-slot {
    unicode-bidi: isolate;
    display: inline-block;
    white-space: nowrap;
}

.store-hour-separator {
    unicode-bidi: isolate;
}