/* Store directory only. Shared header, footer and form components own their styles. */
.stores-page {background:#f8f9fa;}
.stores-page .stores-directory {--stores-page-gutter:4px;padding:12px 4px 30px;min-width:0;}
.stores-page .stores-banner {margin:12px 0 24px;}
.stores-page .stores-banner img {display:block;width:100%;height:300px;object-fit:fill;}
.stores-page .stores-banner .carousel-inner {border-radius:3px;}
.stores-page .stores-filter-box {margin:0 0 20px;border:1px solid #dce1e5;border-radius:10px;background:white;padding:0 16px;}
.stores-page .stores-filter-box > summary {display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:12px 0;color:#087e5c;font-size:13px;}
.stores-page .stores-filter-box > summary::-webkit-details-marker {display:none;}
.stores-page .stores-filter-box > summary img {width:20px;height:20px;}
.stores-page .stores-filter-box > summary i {margin-inline-start:auto;font-size:20px;transition:transform .18s;}
.stores-page .stores-filter-box[open] > summary i {transform:rotate(180deg);}
.stores-page #stores-filter-panel {padding:4px 0 16px;}
.stores-page .stores-filter-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.stores-page .stores-filter-grid .form-field {min-width:0;margin:0;}
.stores-page #stores-filter-panel :is(input,select,textarea,label,.profile-search-select-trigger,.profile-search-select-trigger > span,.profile-search-select-options > button,.profile-select-empty) {font-size:13px!important;}
.stores-page #stores-filter-panel input::placeholder {font-size:13px!important;}
.stores-page #stores-filter-panel .profile-search-select-options > button {padding:4px 8px;}

.stores-page .stores-filter-actions {display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:18px;}
.stores-page .stores-apply {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:7px 20px;border:1px solid #079365;border-radius:8px;background:#0ba474;color:white;font:13px/24px iranyekan-md-fanumber;}
.stores-page .stores-apply:hover {background:#088961;}
.stores-page .stores-reset {font-size:12px;color:#637080;}
.stores-page .stores-field-error {color:#b83d40;font-size:12px;}
.stores-page .stores-error {padding:14px;color:#ac3543;background:#fff0f0;border:1px solid #edc6c6;border-radius:8px;}
.stores-page .stores-results-heading {display:flex;align-items:center;gap:9px;border-bottom:1px solid #e1e5ea;margin:26px 0 20px;padding-bottom:11px;}
.stores-page .stores-results-heading h1 {font:13px/26px iranyekan-extrabold-fanumber;color:#334467;margin:0;position:relative;top:2px;}
.stores-page .stores-heading-icon {display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:8px;background:#fceff1;color:#b83246;}
.stores-page .stores-heading-icon i {font-size:18px;}
.stores-page .stores-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;row-gap:18px;align-items:start;}
.stores-page .stores-cell {min-width:0;}
.stores-page .stores-card {min-width:0;background:white;border:1px solid #00000020;border-radius:4px;overflow:hidden;}
.stores-page .stores-card-main {position:relative;}
.stores-page .stores-image {height:150px;}
.stores-page .stores-image a {display:block;height:100%;}
.stores-page .stores-image img {display:block;width:100%;height:100%;object-fit:contain;padding:10px;border-radius:13px;}
.stores-page .stores-card-body {padding:2px 5px;min-height:75px;}
.stores-page .stores-card-body h2 {font:13.5px/30px iranyekan-extrabold-fanumber;margin:0 0 12px;}
.stores-page .stores-card-body h2 a {color:black;text-decoration:none;}
.stores-page .stores-place {display:flex;align-items:center;gap:4px;line-height:30px;}
.stores-page .stores-location {min-width:0;color:grey;font-size:11px;}
.stores-page .stores-location i {margin:0;margin-inline-end:2px;font-size:16px;}
.stores-page .stores-count {flex:none;margin-inline-start:auto;color:#d73948;font-size:10px;white-space:nowrap;}
.stores-page .stores-count b {font-size:13px;font-weight:normal;}
.stores-page .stores-card-footer {background:#fff8f8;border-top:1px solid #f2e3e5;padding:7px 8px;min-height:40px;color:#b83246;}
.stores-page .stores-labels {display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;overflow:hidden;}
.stores-page .stores-labels > [data-store-category],.stores-page .stores-label-toggle {flex:none;max-width:100%;border:1px solid #ebbec5;border-radius:6px;padding:5px 6px;background:#fff;color:#b83246;font:10.5px/18px iranyekan-bold-fanumber;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.stores-page .stores-label-toggle {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:24px;height:24px;min-height:0;padding:0;background:transparent;cursor:pointer;}
.stores-page .stores-label-toggle > span {position:relative;display:block;width:12px;height:12px;font-size:0;line-height:0;}
.stores-page .stores-label-toggle > span::before,.stores-page .stores-label-toggle > span::after {content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%);}
.stores-page .stores-label-toggle > span::after {transform:translate(-50%,-50%) rotate(90deg);}
.stores-page .is-expanded .stores-label-toggle > span::after {display:none;}
.stores-page .stores-label-toggle:hover,.stores-page .stores-label-toggle:focus-visible {background:#fbe6ea;border-color:#b83246;outline:2px solid #b83246;outline-offset:2px;}
.stores-page .stores-card-footer-empty {background:#fafbfc;border-top-color:#edf0f2;}
.stores-page .stores-category-empty {display:inline-flex;align-items:center;gap:6px;min-height:24px;color:#87909b;font:11px/24px iranyekan-md-fanumber;}
.stores-page .stores-category-empty i {font-size:13px;color:#a0a8b1;}
.stores-page [hidden] {display:none!important;}
.stores-page .stores-pagination {display:flex;direction:ltr;align-items:center;gap:7px;flex-wrap:wrap;justify-content:center;margin:32px 0;}
.stores-page .stores-pagination :is(a,.stores-page-arrow) {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:42px;height:42px;padding:0 9px;border:1px solid #dce1e6;border-radius:9px;color:#465367;text-decoration:none;background:white;font:14px/1 iranyekan-md-fanumber;transition:background-color .15s,border-color .15s;}
.stores-page .stores-pagination a:hover {background:#fff2f3;border-color:#d73948;color:#b83246;}
.stores-page .stores-pagination a:focus-visible {outline:2px solid #b83246;outline-offset:3px;}
.stores-page .stores-pagination a[aria-current] {background:#d73948;border-color:#d73948;color:white;}
.stores-page .stores-pagination .stores-page-arrow i {font-size:24px;transform:rotate(180deg);}
.stores-page .stores-pagination [aria-disabled] {color:#b7bec7;background:#f3f5f7;}
.stores-page .stores-pagination > span:not(.stores-page-arrow) {color:#87909b;padding:0 2px;}
@media(max-width:449.98px){.stores-page .stores-pagination {gap:5px;}.stores-page .stores-pagination :is(a,.stores-page-arrow) {min-width:36px;height:38px;padding-inline:7px;font-size:13px;}}
.stores-page .stores-empty {grid-column:1/-1;text-align:center;background:white;border:1px solid #ddd;border-radius:8px;padding:30px 15px;color:#606875;}
.stores-page .stores-empty i {font-size:30px;color:#a8b1ba;}
.stores-page .stores-empty a {color:#087e5c;font-size:13px;}
.stores-page .stores-results-shell {position:relative;min-height:300px;}
.stores-page .htmx-indicator {display:none;}
.stores-page .htmx-indicator.htmx-request {display:flex;}
.stores-page .stores-loading {position:absolute;top:85px;left:0;right:0;align-items:center;flex-direction:column;gap:12px;color:#d73948;font-size:13px;z-index:2;}
.stores-page .stores-loading.htmx-request + #stores-results {visibility:hidden;}
@media(min-width:400px){.stores-page .stores-image {height:170px;}}
@media(min-width:450px){.stores-page .stores-image {height:185px;}}
@media(min-width:576px) and (max-width:767.98px){.stores-page .stores-grid {grid-template-columns:1fr;}.stores-page .stores-card-main {display:flex;}.stores-page .stores-image {width:150px;height:140px;flex:none;}.stores-page .stores-card-body {flex:1;min-width:0;padding:10px;}.stores-page .stores-place {margin-top:20px;}}
@media(min-width:768px){
 .stores-page .stores-directory {--stores-page-gutter:40px;padding:0 40px 30px;}
 .stores-page .stores-filter-box > summary {display:none;}
 .stores-page .stores-filter-box {padding:20px 24px;margin-top:24px;}
 .stores-page .stores-grid {column-gap:16px;}
 .stores-page .stores-card-main {display:flex;min-height:140px;}
 .stores-page .stores-image {width:150px;height:140px;flex:none;}
 .stores-page .stores-card-body {flex:1;min-width:0;padding:10px 2px;}
 .stores-page .stores-card-body h2 {font-size:13px;}
 .stores-page .stores-place {margin-top:20px;flex-wrap:wrap;}
 .stores-page .stores-location {font-size:12px;}
 .stores-page .stores-count {font-size:11.5px;}
 .stores-page .stores-count b {font-size:14px;}
 .stores-page .stores-labels > [data-store-category] {font-size:12px;}
 .stores-page .stores-card-footer {min-height:44px;}
 .stores-page .stores-results-heading h1 {font-size:15px;}
}
@media(min-width:992px){
 .stores-page .stores-grid {grid-template-columns:repeat(3,minmax(0,1fr));row-gap:24px;}
 .stores-page .stores-filter-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
 .stores-page .stores-card-main {display:block;height:293px;}
 .stores-page .stores-image {width:100%;height:210px;}
 .stores-page .stores-card-body {padding:0 10px;height:83px;}
 .stores-page .stores-card-body h2 {font-size:15px;}
 .stores-page .stores-place {margin-top:0;flex-wrap:nowrap;}
 .stores-page .stores-location {font-size:13px;}
}
@media(min-width:1200px){.stores-page .stores-grid {grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(min-width:1400px){.stores-page .stores-directory {--stores-page-gutter:140px;padding-inline:140px;}.stores-page .stores-card-main {height:304px;}.stores-page .stores-image {height:229px;}.stores-page .stores-card-body {height:75px;}.stores-page .stores-card-body h2 {font-size:16px;}}
@media(min-width:1500px){.stores-page .stores-card-main {height:333px;}.stores-page .stores-image {height:258px;}}
@media(max-width:991.98px){.stores-page .stores-directory {padding-bottom:calc(95px + env(safe-area-inset-bottom));}}
@media(prefers-reduced-motion:reduce){.stores-page .stores-filter-box > summary i {transition:none;}}

.stores-page .stores-landing-intro {font-size:13px;line-height:2;color:#697382;margin:0 0 20px;}
.stores-page .stores-landings {box-sizing:border-box;width:calc(100% + 2 * var(--stores-page-gutter));margin:28px calc(-1 * var(--stores-page-gutter)) 0;padding:22px 16px;border-block:1px solid #e1e6eb;background:white;}
.stores-page .stores-landings h2 {display:flex;align-items:center;gap:9px;font:14px/28px iranyekan-extrabold-fanumber;color:#334467;margin:0 0 16px;}
.stores-page .stores-landings h2 i {color:#b83246;font-size:19px;}
.stores-page .stores-landings > div {display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 20px;}
.stores-page .stores-landings a {display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:8px 0;border-bottom:1px solid #f0f2f5;color:#536176;font-size:12px;line-height:24px;text-decoration:none;}
.stores-page .stores-landings a::after {content:"\f104";font-family:FontAwesome;font-size:18px;color:#a0a8b2;}
.stores-page .stores-landings a:hover {color:#b83246;}
.stores-page .stores-landings a:focus-visible {outline:2px solid #b83246;outline-offset:3px;border-radius:3px;}

@media(min-width:992px){
 .stores-page .stores-directory:has(.stores-landings) {padding-bottom:0;}
 .stores-page .stores-landings {padding-inline:28px;}
}

/* Directory search suggestions: same local form surface, below the input. */
.stores-page [x-cloak] {display:none!important;}
.stores-page .stores-search {position:relative;min-width:0;}
.stores-page .stores-suggestions {position:absolute;inset-inline:0;top:calc(100% + 5px);z-index:40;max-height:260px;overflow:auto;padding:6px;background:white;border:1px solid #dce3ed;border-radius:9px;box-shadow:0 7px 18px #182b481a;}
.stores-page .stores-suggestions button {display:flex;align-items:center;gap:8px;width:100%;padding:7px 8px;border:0;border-radius:6px;background:white;color:#334467;text-align:right;font:13px/24px iranyekan-md-fanumber;}
.stores-page .stores-suggestions button:hover,.stores-page .stores-suggestions button:focus-visible {background:#f5f7fa;outline:1px solid #cbd4df;}
.stores-page .stores-suggestions button i {color:#b83246;}
/* Store profile: preserve the white profile panel, circular logo and blue pills. */
.store-detail-page {background:#faf8f9;}
.store-detail-page .store-profile {padding:26px 6px 95px;}
.store-detail-page .store-breadcrumb {display:flex;align-items:center;gap:9px;font-size:12px;color:#7b8390;margin-bottom:12px;}
.store-detail-page .store-breadcrumb a {color:#536176;}
.store-detail-page .store-profile-surface {background:white;padding:30px 10px 50px;}
.store-detail-page .store-logo-banner {display:flex;align-items:center;justify-content:center;background:#f8f9fa;padding:20px;margin-bottom:40px;}
.store-detail-page .store-logo-circle {display:flex;align-items:center;justify-content:center;width:200px;height:200px;padding:15px;border:2px solid red;border-radius:50%;background:white;}
.store-detail-page .store-logo-circle img {width:100%;max-height:110px;object-fit:contain;}
.store-detail-page .store-profile-tabs {display:flex;justify-content:center;gap:16px;margin-bottom:48px;}
.store-detail-page .store-profile-tabs button {min-width:140px;min-height:49px;padding:9px 20px;border:2px solid #168ac0;border-radius:28px;color:#168ac0;background:white;font:14px/25px iranyekan-extrabold-fanumber;}
.store-detail-page .store-profile-tabs button.active {background:#0c83b9;color:white;}
.store-detail-page .store-profile-tabs button:focus-visible {outline:2px solid #334467;outline-offset:3px;}
.store-detail-page #store-information > h1 {font:17px/28px iranyekan-extrabold-fanumber;color:#9f4242;margin:0;padding-bottom:7px;border-bottom:1px solid #e2afaf;}
.store-detail-page .store-facts {margin:24px 0 40px;font:13px/29px iranyekan-md-fanumber;}
.store-detail-page .store-facts > div {display:flex;flex-wrap:wrap;gap:0 5px;}
.store-detail-page .store-facts dt {font-family:iranyekan-extrabold-fanumber;color:#e20707;font-weight:normal;}
.store-detail-page .store-facts dd {margin:0;min-width:0;overflow-wrap:anywhere;color:#334467;}
.store-detail-page .store-facts dd a {color:inherit;}
.store-detail-page .store-explanation {display:block!important;}
.store-detail-page .store-explanation dd {line-height:2.3;text-align:justify;}
.store-detail-page .store-chat {display:inline-flex;align-items:center;gap:8px;border:1px solid #d7dce3;border-radius:5px;padding:8px 20px;color:#334467;font-size:13px;margin-bottom:20px;}
.store-detail-page .store-map {height:300px;background:#e4e7e9 url('../img/map/map.png') center/cover;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;margin:30px 0 50px;z-index:0;}
.store-detail-page .store-map > button,.store-detail-page .store-map > p {display:flex;align-items:center;gap:9px;border:1px solid #c7ced6;border-radius:8px;background:#ffffffed;color:#334467;padding:9px 14px;font:13px/24px iranyekan-md-fanumber;}
.store-detail-page .store-map-status {font-size:12px;color:#a13240;}
.store-detail-page .store-videos > h2 {font:16px/28px iranyekan-extrabold-fanumber;color:#282851;border-bottom:1px solid #eee;padding-bottom:9px;margin:0 0 20px;}
.store-detail-page .store-video-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:35px;}
.store-detail-page .store-video-grid h3 {font-size:13px;line-height:2;}
.store-detail-page .store-video-grid :is(video,iframe,.store-video-embed) {width:100%;aspect-ratio:16/9;background:#f3f4f5;border:0;border-radius:8px;}
.store-detail-page .store-video-embed {display:flex;align-items:center;justify-content:center;}
.store-detail-page .store-video-embed button {border:0;background:white;padding:8px 12px;color:#334467;border-radius:6px;font-size:13px;}
.store-detail-page .store-gallery-modal {z-index:11000;}
.store-detail-page .store-gallery-modal .modal-header {gap:12px;}
.store-detail-page .store-gallery-modal h2 {font:14px/28px iranyekan-extrabold-fanumber;margin:0;}
.store-detail-page .store-gallery-modal .btn-close {margin-inline-start:auto;margin-inline-end:0;flex:none;}
.store-detail-page .store-gallery-modal .carousel-item img {width:100%;height:65vh;object-fit:contain;}
.store-detail-page .store-gallery-modal .carousel-control-prev-icon,.store-detail-page .store-gallery-modal .carousel-control-next-icon {background-color:#334467;border-radius:5px;}
.store-detail-page .store-product-search {display:flex;max-width:500px;margin:0 auto 40px;border:1px solid #ddd;border-radius:20px;overflow:visible;}
.store-detail-page .store-product-search input {border:0;border-radius:0;font-size:13px!important;min-width:0;}
.store-detail-page .store-product-search > button {border:0;background:white;color:#777;padding:0 15px;}
.store-detail-page .store-products-shell {position:relative;min-height:200px;}
.store-detail-page .store-products-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e1e5ea;padding-bottom:12px;margin:26px 0 20px;}
.store-detail-page .store-products-heading h2 {font:14px/26px iranyekan-extrabold-fanumber;color:#334467;margin:0;}
.store-detail-page .store-products-title {display:flex;align-items:center;gap:9px;min-width:0;}
.store-detail-page .store-products-heading .store-products-count {display:inline-flex;align-items:baseline;gap:5px;flex:none;white-space:nowrap;padding:4px 9px;border:1px solid #e5e9ef;border-radius:8px;background:#f8fafc;color:#69778b;font:13px/26px iranyekan-md-fanumber;}
.store-detail-page .store-products-count b {font:17px/26px iranyekan-extrabold-fanumber;color:#334467;}
.store-detail-page .store-products-title h2 {position:relative;top:2px;}

.store-detail-page .store-product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.store-detail-page .store-product-card {border:1px solid #e1e4e8;border-radius:10px;overflow:hidden;min-width:0;background:white;padding-bottom:5px;}
.store-detail-page .store-product-card > a {display:block;color:#334467;}
.store-detail-page .store-product-card img {width:100%;height:210px;object-fit:contain;padding:10px;}
.store-detail-page .store-product-card h3 {font:13px/25px iranyekan-extrabold-fanumber;margin:6px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.store-detail-page .store-product-time {margin:8px 10px;font-size:11px;color:#87909b;}
.store-detail-page .store-product-price {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 10px;font-size:11px;color:#87909b;}
.store-detail-page .store-product-price strong {white-space:nowrap;color:#0d9f6f;font:15px/26px iranyekan-extrabold-fanumber;}
.store-detail-page .store-product-price small {font-size:11px;}
.store-detail-page .store-product-discount {background:#fceff1;color:#b83246;border-radius:5px;padding:2px 4px;margin-inline-end:4px;}
.store-detail-page .store-products-shell .stores-loading {top:60px;}
.store-detail-page #store-product-loading.htmx-request + #store-products {visibility:hidden;}
@media(min-width:576px){.store-detail-page .store-profile {padding:50px 30px 95px;}.store-detail-page .store-profile-surface {padding-inline:24px;}}
@media(min-width:992px){.store-detail-page .store-profile {padding:50px 90px 0;}}
@media(min-width:1200px){.store-detail-page .store-profile {padding-inline:150px;}}
@media(max-width:991.98px){.store-detail-page .store-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.store-detail-page .store-video-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:575.98px){.store-detail-page .store-video-grid {grid-template-columns:1fr;}.store-detail-page .store-products-heading h2 {font-size:13px;}.store-detail-page .store-products-heading {gap:8px;}.store-detail-page .store-products-title {gap:7px;}.store-detail-page .store-products-heading .stores-heading-icon {width:28px;height:28px;}.store-detail-page .store-products-heading .store-products-count {padding-inline:7px;}}

.store-detail-page .store-delivery-badge {display:inline-block;background:#f5f5f5;padding:2px 5px;margin:2.5px;border-radius:5px;color:#255b84;}
@media(min-width:768px){.store-detail-page .store-profile-surface {padding-inline:32px;}.store-detail-page :is(#store-information,#store-products-tab) {padding-inline:10px;}}
@media(min-width:992px){.store-detail-page .store-profile {padding-top:0;}.store-detail-page .store-breadcrumb {margin-bottom:6px;}}

.store-detail-page .store-product-search > input[type=search] {border-radius:0 20px 20px 0;}
.store-detail-page .store-product-search > button {border-radius:20px 0 0 20px;}

/* Image rail: native touch scrolling with snap points; Bootstrap owns the viewer. */
.store-detail-page .store-gallery {border:1px solid #e5e9ee;border-radius:14px;padding:18px;background:#fff;}
.store-detail-page .store-gallery-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.store-detail-page .store-gallery-heading h2 {display:flex;align-items:center;gap:9px;margin:0;color:#334467;font:15px/28px iranyekan-extrabold-fanumber;}
.store-detail-page .store-gallery-heading h2 i {font-size:20px;color:#b83246;}
.store-detail-page .store-gallery-heading > span {font-size:11px;color:#87909b;white-space:nowrap;}
.store-detail-page .store-gallery-shell {position:relative;}
.store-detail-page .store-gallery-track {display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:10px;}
.store-detail-page .store-gallery-track::-webkit-scrollbar {display:none;}
.store-detail-page .store-gallery-track:focus-visible {outline:2px solid #b83246;outline-offset:4px;}
.store-detail-page .store-gallery-card {position:relative;flex:0 0 calc((100% - 28px)/3);min-width:0;overflow:hidden;padding:0;border:1px solid #e5e9ee;border-radius:10px;scroll-snap-align:start;background:#f7f9fb;text-align:right;color:#536176;}
.store-detail-page .store-gallery-card > img {display:block;width:100%;height:220px;object-fit:contain;padding:10px;transition:transform .18s ease;}
.store-detail-page .store-gallery-caption {display:flex;align-items:center;justify-content:space-between;gap:8px;background:white;border-top:1px solid #edf0f3;padding:9px 12px;font:12px/22px iranyekan-md-fanumber;}
.store-detail-page .store-gallery-caption i {color:#7b8797;font-size:15px;}
.store-detail-page .store-gallery-card:hover {border-color:#c0cad6;}
.store-detail-page .store-gallery-card:hover > img {transform:scale(1.025);}
.store-detail-page .store-gallery-card:focus-visible {outline:2px solid #b83246;outline-offset:-3px;}
.store-detail-page .store-gallery-arrow {display:flex;align-items:center;justify-content:center;position:absolute;top:calc(50% - 22px);width:36px;height:44px;padding:0;border:1px solid #dce1e8;border-radius:9px;background:#fffffff2;color:#334467;box-shadow:0 2px 8px #24324912;z-index:1;}
.store-detail-page .store-gallery-arrow i {font-size:27px;}
.store-detail-page .store-gallery-previous {right:-12px;}
.store-detail-page .store-gallery-next {left:-12px;}
.store-detail-page .store-gallery-arrow:disabled {opacity:0;pointer-events:none;}
.store-detail-page .store-gallery-arrow:hover {color:#b83246;border-color:#d4a6ad;}
.store-detail-page .store-gallery-arrow:focus-visible {outline:2px solid #b83246;outline-offset:2px;}
.store-detail-page .store-gallery-modal .modal-content {border:0;border-radius:14px;overflow:hidden;}
.store-detail-page .store-gallery-modal .modal-body {padding:12px 18px 16px;}
.store-detail-page .store-gallery-modal .carousel-inner {background:#f7f9fb;border-radius:10px;}
.store-detail-page .store-gallery-modal .carousel-item img {height:min(60vh,600px);padding:14px;}
.store-detail-page .store-gallery-modal .carousel-control-prev,.store-detail-page .store-gallery-modal .carousel-control-next {width:44px;}
.store-detail-page .store-gallery-modal .carousel-control-prev-icon,.store-detail-page .store-gallery-modal .carousel-control-next-icon {width:32px;height:38px;background-size:19px;background-color:#334467db;border:1px solid #ffffffa8;border-radius:8px;}
.store-detail-page .store-gallery-modal-bottom {display:flex;align-items:center;gap:14px;margin-top:14px;}
.store-detail-page .store-gallery-position {direction:ltr;white-space:nowrap;font:12px/24px iranyekan-md-fanumber;color:#7b8797;}
.store-detail-page .store-gallery-thumbnails {display:flex;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none;}
.store-detail-page .store-gallery-thumbnails::-webkit-scrollbar {display:none;}
.store-detail-page .store-gallery-thumbnails button {flex:0 0 56px;width:56px;height:48px;padding:3px;border:1px solid #e1e6ec;border-radius:7px;background:#fff;}
.store-detail-page .store-gallery-thumbnails button[aria-current] {border:2px solid #b83246;}
.store-detail-page .store-gallery-thumbnails img {display:block;width:100%;height:100%;object-fit:contain;}
@media(max-width:991.98px){.store-detail-page .store-gallery-card {flex-basis:calc((100% - 14px)/2);}.store-detail-page .store-gallery-card > img {height:210px;}}
@media(max-width:575.98px){.store-detail-page .store-gallery {padding:14px 12px;border-radius:12px;}.store-detail-page .store-gallery-heading h2 {font-size:14px;}.store-detail-page .store-gallery-track {gap:10px;}.store-detail-page .store-gallery-card {flex-basis:86%;}.store-detail-page .store-gallery-card > img {height:200px;}.store-detail-page .store-gallery-arrow {width:30px;height:38px;}.store-detail-page .store-gallery-previous {right:-7px;}.store-detail-page .store-gallery-next {left:-7px;}.store-detail-page .store-gallery-modal .modal-body {padding:10px;}.store-detail-page .store-gallery-modal .carousel-item img {height:52vh;}}
@media(prefers-reduced-motion:reduce){.store-detail-page .store-gallery-card > img {transition:none;}}

/* Product search keeps focus on the complete field, without Bootstrap's blue ring. */
.store-detail-page .store-product-search {transition:border-color .15s;}
.store-detail-page .store-product-search:focus-within {border-color:#8393a7;box-shadow:none;}
.store-detail-page #store-product-search:focus {box-shadow:none;outline:none;}
.store-detail-page #store-product-search::placeholder {font-size:13px;color:#87909b;}
.store-detail-page #store-product-suggestions {max-height:min(300px,42vh);}
.store-detail-page .store-product-location {display:flex;align-items:center;gap:2px;min-width:0;font-size:12px;}
.store-detail-page .store-product-location > i.fa.fa-map-marker {flex:none;font-size:15px;line-height:1;position:relative;top:-1px;margin:0;width:auto;}
.store-detail-page .store-product-location > span {min-width:0;}

/* Mobile directory shortcuts use the same single native form as desktop. */
.stores-page .stores-filter-modal {z-index:11000;}
.stores-page.modal-open #footer.mobile-footer {visibility:hidden;pointer-events:none;}
.stores-page .stores-mobile-shortcuts {display:none;}
.stores-page .stores-filter-modal .modal-header {display:flex;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e8ecef;}
.stores-page .stores-filter-modal .modal-header h2 {margin:0;font:14px/26px iranyekan-extrabold-fanumber;}
.stores-page .stores-filter-modal .btn-close {margin:0;flex:none;}
.stores-page .stores-filter-modal .modal-body {padding:20px;}
.stores-page .stores-filter-modal .stores-filter-grid {grid-template-columns:minmax(0,1fr);gap:20px;}
.stores-page .stores-filter-modal .stores-filter-actions {margin-top:12px;justify-content:center;}
.stores-page .stores-filter-modal .stores-filter-actions :is(.stores-reset,.stores-apply) {display:none;}
.stores-page .stores-filter-modal .modal-footer {gap:12px;flex-shrink:0;padding:12px 20px max(16px,env(safe-area-inset-bottom));}
.stores-page .stores-filter-modal .modal-footer button {margin:0;border-radius:8px;padding:8px 16px;font:13px/24px iranyekan-md-fanumber;}
.stores-page .stores-cancel {border:1px solid #dce1e5;background:white;color:#667080;}
.stores-page .stores-modal-error {color:#b83246;padding:8px 20px;font-size:13px;}
@media(max-width:767.98px) {
 .stores-mobile-filters-ready .stores-filter-box {display:none;}
 .stores-mobile-filters-ready .stores-mobile-shortcuts {display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;background:#f8fafb;margin-inline:-4px;padding:8px 6px;max-width:calc(100% + 8px);}
 .stores-page .stores-mobile-shortcuts::-webkit-scrollbar {display:none;}
 .stores-page .stores-shortcut {display:inline-flex;align-items:center;gap:6px;flex:none;min-height:34px;padding:4px 8px;font:12px/24px iranyekan-md-fanumber;color:#0a8360;border-radius:8px;background:#f4fffc;border:1px solid #8fc2b1;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 .stores-page .stores-shortcut.is-selected {background:#e4f6ef;border-color:#0a8360;}
}
@media(max-width:449.98px) {
 .store-detail-page .store-profile-tabs {gap:10px;width:100%;}
 .store-detail-page .store-profile-tabs button {flex:1 1 0;min-width:0;min-height:42px;padding:7px 10px;font-size:12.5px;line-height:24px;white-space:nowrap;}
}
@media(min-width:380px) and (max-width:449.98px) {
 .store-detail-page .store-profile-tabs button {font-size:13px;padding-inline:14px;}
}

.stores-page .stores-shortcut-group {display:inline-flex;align-items:center;gap:6px;flex:none;border:1px solid #8fc2b1;border-radius:8px;background:#f4fffc;padding-inline-start:5px;}
.stores-page .stores-shortcut-group .stores-shortcut {border:0;background:transparent;padding-inline-start:0;}
.stores-page .stores-shortcut-remove {display:inline-flex;align-items:center;justify-content:center;flex:none;width:21px;height:22px;padding:0;border:1px solid #8fc2b1;border-radius:3px;background:white;color:#0a8360;font:20px/20px sans-serif;}
@media(max-width:767.98px){
 .stores-page .stores-results-heading {display:none;}
 .stores-mobile-filters-ready .stores-mobile-shortcuts {position:sticky;top:0;z-index:100;border-bottom:1px solid #dce5e8;margin-bottom:16px;}
}

.store-detail-page .store-product-location .card-location-prefix {flex:none;margin-inline-end:3px;}
@media(max-width:767.98px){.stores-mobile-filters-ready .stores-mobile-shortcuts {padding-inline-start:12px;}}

/* Keep the product heading and count on one row on narrow phones. */
@media(max-width:575.98px){
 .store-detail-page .store-products-title {flex:1;min-width:0;}
 .store-detail-page .store-products-title .stores-heading-icon {flex:none;}
 .store-detail-page .store-products-heading h2 {min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}

/* Match the compact two-column related-product cards on phones. */
@media(max-width:767.98px){
 .store-detail-page .store-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 6px;padding:0 8px;}
 .store-detail-page .store-product-card {border-color:#ddd;border-radius:3px;}
 .store-detail-page .store-product-card img {height:180px;padding:8px;}
 .store-detail-page .store-product-card h3 {font:13.5px/25px iranyekan-bold-fanumber;color:#333;white-space:normal;min-height:75px;margin:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
 .store-detail-page .store-product-price {flex-wrap:wrap;gap:5px;}
 .store-detail-page .store-product-location {flex:1 0 100%;}
 .store-detail-page .store-product-price strong {max-width:100%;margin-inline-start:auto;font:14px/1.8 iranyekan-md-fanumber;color:#0ca377;}
 .store-detail-page .store-product-price small {font-size:12px;}
}

/* Preserve the old store/product suggestion box and row typography. */
:is(.stores-page,.store-detail-page) .stores-suggestions {padding:2px 10px;border:1px solid #e2e2e2;border-radius:8px;box-shadow:none;}
:is(.stores-page,.store-detail-page) .stores-suggestions button {display:block;padding:5px 10px;border:0;border-radius:5px;background:#fff;color:#6c6e73;font:13.5px/1.9 iranyekan-md-fanumber;}
:is(.stores-page,.store-detail-page) .stores-suggestions button:is(:hover,:focus-visible) {background:#f0f0f0;color:#6c6e73;outline:0;}
:is(.stores-page,.store-detail-page) .stores-suggestions button > i {display:none;}
.store-detail-page #store-product-suggestions button > span {display:block;overflow:visible;overflow-wrap:normal;-webkit-line-clamp:unset;}
:is(.stores-page,.store-detail-page) .stores-suggestions > p {margin:4px 10px;color:#6c6e73;font:13px/1.9 iranyekan-md-fanumber;}

/* Ordinary-product cards: one time/location line, then the price on phones/tablets. */
@media(max-width:991.98px){
 .store-detail-page .store-product-time {display:flex;align-items:center;gap:3px;min-width:0;white-space:nowrap;line-height:22px;}
 .store-detail-page .store-product-time > span:first-child {flex:none;}
 .store-detail-page .store-product-meta-location {min-width:0;overflow:hidden;text-overflow:ellipsis;}
 .store-detail-page .store-product-price > .store-product-location {display:none;}
 .store-detail-page .store-product-price {justify-content:flex-end;}
}
