/* Mini store — aligned with i-phone.ir design system */

.store-page {
    display: grid;
    gap: var(--space-xl);
}

.store-page__body {
    display: grid;
    gap: var(--space-xl);
}

.store-page__highlights {
    display: grid;
    gap: var(--space-xl);
}

.store-section--featured {
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(240, 248, 255, .92) 100%);
    border: 1px solid rgba(10, 132, 255, .12);
    box-shadow: var(--shadow-soft), 0 0 28px rgba(10, 132, 255, .06);
}

.store-category-panel {
    display: grid;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.store-category-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .35rem .75rem;
}

.store-category-panel__label {
    margin: 0;
    font-size: .82rem;
    font-weight: 800;
    color: var(--text-primary);
}

.store-category-panel__hint {
    font-size: .76rem;
    color: var(--text-tertiary);
}

.store-category-panel__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: .45rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    scrollbar-width: thin;
}

.store-category-panel__nav::-webkit-scrollbar {
    height: 4px;
}

.store-category-panel__nav::-webkit-scrollbar-thumb {
    background: rgba(10, 132, 255, .22);
    border-radius: 999px;
}

.store-catalog {
    display: grid;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.store-catalog__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-sm) var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}

.store-catalog__summary {
    margin: 0;
    font-size: .88rem;
    color: var(--text-secondary);
}

.store-catalog__summary strong {
    color: var(--text-primary);
    font-weight: 800;
}

.store-catalog__summary span {
    color: var(--text-tertiary);
}

.store-catalog__pagination {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

.empty-state--store {
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--surface-secondary);
    border: 1px dashed var(--border);
    text-align: center;
}

.empty-state--store .empty-state__title {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.empty-state--store .empty-state__hint {
    margin: 0 0 var(--space-md);
    font-size: .88rem;
    color: var(--text-tertiary);
}

.empty-state--store .btn-store {
    margin-top: .15rem;
}

/* —— Hero banner —— */
.store-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 132, 255, .96) 0%, rgba(0, 122, 255, .92) 42%, rgba(0, 180, 216, .88) 100%);
    color: #fff;
    box-shadow: var(--shadow-soft), 0 0 40px rgba(0, 229, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
}

.store-banner::after {
    content: "";
    position: absolute;
    inset-inline: 6%;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, .22) 18%,
        rgba(255, 255, 255, .55) 50%,
        rgba(255, 255, 255, .22) 82%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

@media (min-width: 768px) {
    .store-banner {
        padding: var(--space-2xl);
    }
}

@media (min-width: 900px) {
    .store-banner {
        grid-template-columns: 1.15fr .85fr;
        align-items: center;
    }
}

.store-banner--compact {
    padding: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .store-banner--compact {
        padding: var(--space-lg) var(--space-xl);
    }
}

.store-banner--compact .store-banner__title {
    margin-bottom: var(--space-sm);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.store-banner--compact .store-banner__desc {
    margin-bottom: var(--space-md);
    font-size: .92rem;
    line-height: 1.65;
}

.store-banner--compact .store-banner__search {
    margin-bottom: 0;
}

.store-banner--compact .store-banner__art {
    display: none;
}

.store-banner__mesh {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .22) 0%, transparent 55%),
        radial-gradient(circle at 18% 82%, rgba(255, 255, 255, .16), transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .1), transparent 38%);
    pointer-events: none;
}

.store-banner__content {
    position: relative;
    z-index: 1;
    max-width: 70ch;
}

.store-banner__eyebrow {
    margin: 0 0 var(--space-sm);
    font-size: 13px;
    font-weight: 600;
    opacity: .92;
}

.store-banner__title {
    margin: 0 0 var(--space-md);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
}

.store-banner__desc {
    margin: 0 0 var(--space-lg);
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    opacity: .94;
    max-width: 56ch;
}

.store-banner__search {
    margin-bottom: var(--space-md);
    max-width: 36rem;
}

.store-search__field {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: .55rem .85rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .18);
    transition: box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}

.store-search__field:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 8px 24px -8px rgba(0, 0, 0, .18);
}

.store-search__icon {
    display: flex;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.store-search__input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    outline: none;
    min-width: 0;
}

.store-search__input::placeholder {
    color: var(--text-tertiary);
}

.store-search__submit {
    flex-shrink: 0;
    border: 0;
    border-radius: var(--radius);
    padding: .45rem .85rem;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    cursor: pointer;
    transition: opacity .2s var(--ease-out);
}

.store-search__submit:hover {
    opacity: .92;
}

.store-banner__stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
}

.store-banner__stats li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    min-width: 5.5rem;
}

.store-banner__stats strong {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.store-banner__stats span {
    font-size: .78rem;
    opacity: .88;
}

.store-banner__art {
    position: relative;
    z-index: 1;
    min-height: 8rem;
    display: none;
}

@media (min-width: 900px) {
    .store-banner__art {
        display: block;
        min-height: 12rem;
    }
}

.store-banner__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.store-banner__orb--1 {
    width: 9rem;
    height: 9rem;
    top: 10%;
    inset-inline-end: 8%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%);
}

.store-banner__orb--2 {
    width: 6rem;
    height: 6rem;
    bottom: 18%;
    inset-inline-end: 28%;
    background: radial-gradient(circle, rgba(125, 249, 255, .45), transparent 70%);
}

.store-banner__orb--3 {
    width: 4.5rem;
    height: 4.5rem;
    top: 42%;
    inset-inline-end: 4%;
    background: radial-gradient(circle, rgba(157, 78, 221, .35), transparent 70%);
}

/* —— Category strip —— */
.store-strip {
    display: grid;
    gap: var(--space-sm);
}

.store-strip__label {
    margin: 0;
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: .02em;
}

/* —— Spotlight —— */
.store-spotlight {
    margin: 0;
}

.store-spotlight__link {
    position: relative;
    display: block;
    color: inherit !important;
    text-decoration: none !important;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}

.store-spotlight__link:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 132, 255, .28);
    box-shadow: var(--shadow-card-hover);
}

.store-spotlight__link:focus-visible {
    outline: 3px solid var(--primary-ring);
    outline-offset: 3px;
}

.store-spotlight__glow {
    position: absolute;
    inset: 0;
    background: var(--neon-gradient-soft, linear-gradient(135deg, rgba(10, 132, 255, .08), rgba(0, 229, 255, .06)));
    opacity: .85;
    pointer-events: none;
}

.store-spotlight__body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: var(--space-lg);
    padding: var(--space-lg);
    align-items: center;
}

@media (max-width: 820px) {
    .store-spotlight__body {
        grid-template-columns: 1fr;
    }
}

.store-spotlight__media-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.store-spotlight__cover {
    width: 100%;
    max-width: 18rem;
    max-height: 18rem;
    object-fit: contain;
    border-radius: var(--radius-lg);
    display: block;
}

.store-spotlight__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 14rem);
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--store-hue, 200), 55%, 42%);
    background: var(--media-placeholder);
}

.store-spotlight__label {
    display: inline-flex;
    margin-bottom: var(--space-sm);
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    background: var(--neon-gradient-btn, linear-gradient(135deg, var(--primary), #00b4d8));
    box-shadow: var(--primary-shadow);
}

.store-spotlight__title {
    margin: 0 0 var(--space-sm);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    line-height: 1.35;
}

.store-spotlight__tagline {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 48ch;
}

.store-spotlight__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.store-spotlight__meta-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    align-items: center;
}

.store-spotlight__price {
    font-weight: 800;
    color: var(--text-primary);
}

.store-spotlight__category {
    font-size: .82rem;
    color: var(--text-tertiary);
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--surface-secondary);
}

.store-spotlight__price-old {
    font-size: .82rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.store-spotlight__status {
    font-size: .72rem;
    font-weight: 700;
    padding: .18rem .5rem;
    border-radius: 999px;
}

.store-spotlight__status--oos {
    color: var(--danger, #ff3b30);
    background: rgba(255, 59, 48, .12);
}

.store-spotlight__status--preorder {
    color: #b45309;
    background: rgba(245, 158, 11, .14);
}

.store-spotlight__status--low {
    color: var(--primary);
    background: var(--accent-soft);
}

.store-spotlight__action {
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
}

/* —— Sections —— */
.store-section {
    display: grid;
    gap: var(--space-lg);
    position: relative;
}

.store-section--related {
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid rgba(0, 229, 255, .1);
    box-shadow: var(--shadow-soft), 0 0 20px rgba(0, 229, 255, .04);
}

.store-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-sm) var(--space-md);
}

.store-section__title-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.store-section__accent {
    width: 4px;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--primary);
    flex-shrink: 0;
}

.store-section__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.store-section__subtitle {
    margin: 0;
    font-size: .88rem;
    color: var(--text-tertiary);
}

/* —— Product grid & cards —— */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
}

.store-grid--catalog {
    gap: var(--space-md) var(--space-lg);
}

@media (min-width: 1100px) {
    .store-grid--catalog {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

.store-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100%;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s var(--ease-out);
}

.store-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, .28);
    box-shadow: var(--shadow-card-hover), 0 0 22px rgba(0, 229, 255, .1);
}

.store-card--featured {
    border-color: rgba(10, 132, 255, .24);
}

.store-card--unavailable {
    opacity: .88;
}

.store-card--unavailable .store-card__img {
    filter: grayscale(.35);
}

.store-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit !important;
    text-decoration: none !important;
    position: relative;
}

.store-card__link:focus-visible {
    outline: 3px solid var(--primary-ring);
    outline-offset: -3px;
}

.store-card__ribbon,
.store-card__badges {
    position: absolute;
    top: var(--space-sm);
    inset-inline-start: var(--space-sm);
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    max-width: calc(100% - 1rem);
}

.store-card__ribbon,
.store-card__badge {
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    padding: .18rem .5rem;
    border-radius: 999px;
    box-shadow: var(--primary-shadow);
}

.store-card__badge--sale {
    background: #ff3b30;
}

.store-card__badge--featured,
.store-card__ribbon {
    background: var(--primary);
}

.store-card__badge--oos {
    color: #fff;
    background: rgba(60, 60, 67, .88);
    box-shadow: none;
}

.store-card__badge--preorder {
    color: #fff;
    background: #f59e0b;
    box-shadow: none;
}

.store-card__badge--low {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.store-card__media {
    position: relative;
    aspect-ratio: 1;
    background: var(--surface-secondary);
    overflow: hidden;
}

.store-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s var(--ease-out);
}

.store-card:hover .store-card__img {
    transform: scale(1.04);
}

.store-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--store-hue, 200), 55%, 42%);
    background: var(--media-placeholder);
}

.store-card__body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: var(--space-md);
    flex: 1;
}

.store-card__category {
    margin: 0;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.store-card__brand {
    margin: 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--primary);
}

.store-card__brand-link {
    color: inherit !important;
    text-decoration: none !important;
}

.store-card__brand-link:hover {
    text-decoration: underline !important;
}

.store-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-primary);
}

.store-card__tagline {
    margin: 0;
    font-size: .84rem;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-card__specs {
    list-style: none;
    margin: .15rem 0 0;
    padding: 0;
    display: grid;
    gap: .2rem;
}

.store-card__specs li {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .76rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-card__color-dot {
    position: absolute;
    inset-inline-end: .55rem;
    inset-block-end: .55rem;
    display: inline-flex;
    padding: .22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    backdrop-filter: blur(8px);
}

.store-card__specs span {
    color: var(--text-secondary);
    font-weight: 600;
}

.store-card__price {
    margin-top: auto;
    padding-top: var(--space-sm);
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .55rem;
    align-items: baseline;
}

.store-card__price-old {
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-size: .78rem;
}

.store-card__price-current {
    color: var(--text-primary);
    font-weight: 800;
}

.store-card__savings {
    width: 100%;
    font-size: .72rem;
    font-weight: 600;
    color: #34c759;
}

.store-card__actions {
    padding: 0 var(--space-md) var(--space-md);
    margin-top: auto;
}

.store-card__cta {
    display: block;
    text-align: center;
    padding: .6rem .75rem;
    border-radius: var(--radius);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none !important;
    transition: background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}

.store-card__cta:hover {
    background: var(--accent-soft);
    border-color: rgba(10, 132, 255, .28);
    color: var(--primary) !important;
}

.store-card__cta--disabled {
    display: block;
    text-align: center;
    padding: .6rem .75rem;
    border-radius: var(--radius);
    background: var(--surface-secondary);
    border: 1px dashed var(--border);
    color: var(--text-tertiary) !important;
    font-weight: 700;
    font-size: .88rem;
    cursor: default;
}

/* —— Catalog toolbar —— */
.store-catalog-toolbar {
    display: grid;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
}

.store-catalog-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.store-catalog-toolbar__meta {
    display: grid;
    gap: var(--space-sm);
    min-width: min(100%, 16rem);
}

.store-catalog-toolbar__count {
    margin: 0;
    font-size: .92rem;
    color: var(--text-secondary);
}

.store-catalog-toolbar__count strong {
    color: var(--text-primary);
    font-weight: 800;
}

.store-catalog-toolbar__page {
    color: var(--text-tertiary);
    font-size: .84rem;
}

.store-catalog-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.store-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--accent-soft);
    text-decoration: none !important;
}

.store-filter-chip:hover {
    background: rgba(10, 132, 255, .16);
}

.store-filter-chip--clear {
    color: var(--text-secondary);
    background: var(--surface-secondary);
}

.store-catalog-toolbar__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-inline-start: auto;
}

.store-catalog-toolbar__controls--solo {
    width: 100%;
    justify-content: space-between;
}

.store-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.store-quick-filter {
    display: inline-flex;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    text-decoration: none !important;
}

.store-quick-filter.is-active,
.store-quick-filter:hover {
    color: var(--primary);
    border-color: rgba(10, 132, 255, .28);
    background: var(--accent-soft);
}

.store-sort {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.store-sort__label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.store-sort__select {
    min-width: 8.5rem;
    padding: .4rem .65rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font: inherit;
    font-size: .82rem;
}

.store-view-toggle {
    display: inline-flex;
    padding: .2rem;
    border-radius: var(--radius);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
}

.store-view-toggle__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: calc(var(--radius) - 2px);
    color: var(--text-tertiary);
    text-decoration: none !important;
}

.store-view-toggle__btn.is-active {
    color: var(--primary);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

/* —— List view —— */
.store-list {
    display: grid;
    gap: var(--space-sm);
}

.store-list-item {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .store-list-item {
        grid-template-columns: 6.5rem minmax(0, 1fr) 11rem;
        align-items: center;
    }
}

.store-list-item--unavailable {
    opacity: .88;
}

.store-list-item__media {
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-secondary);
}

.store-list-item__img,
.store-list-item__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-list-item__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: hsl(var(--store-hue, 200), 55%, 42%);
    background: var(--media-placeholder);
}

.store-list-item__body {
    display: grid;
    gap: .35rem;
    min-width: 0;
}

.store-list-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: .35rem .75rem;
}

.store-list-item__category {
    margin: 0;
    font-size: .74rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.store-list-item__title {
    margin: .15rem 0 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.store-list-item__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.store-list-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.store-list-item__tagline {
    margin: 0;
    font-size: .84rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.store-list-item__specs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    margin: .15rem 0 0;
}

.store-list-item__specs div {
    display: flex;
    gap: .25rem;
    font-size: .76rem;
}

.store-list-item__specs dt {
    color: var(--text-tertiary);
    font-weight: 600;
}

.store-list-item__specs dd {
    margin: 0;
    color: var(--text-secondary);
}

.store-list-item__spec-value--color {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.store-list-item__aside {
    display: grid;
    gap: .45rem;
    align-content: center;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .store-list-item__aside {
        grid-column: auto;
        justify-items: end;
        text-align: end;
    }
}

.store-list-item__price {
    display: grid;
    gap: .15rem;
}

.store-list-item__cta {
    display: inline-flex;
    justify-content: center;
    padding: .55rem .75rem;
    border-radius: var(--radius);
    background: var(--accent-soft);
    border: 1px solid rgba(10, 132, 255, .18);
    color: var(--primary) !important;
    font-weight: 700;
    font-size: .84rem;
    text-decoration: none !important;
}

.store-list-item__status {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.store-empty-suggestions {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.store-empty-suggestions__label {
    margin: 0 0 var(--space-sm);
    font-size: .84rem;
    color: var(--text-tertiary);
}

/* —— Product detail —— */
.store-detail-page {
    display: grid;
    gap: var(--space-xl);
}

.store-detail-page > .breadcrumbs {
    margin: 0;
}

.store-cms-section.site-page-section {
    gap: var(--space-lg);
}

.store-detail__modules {
    display: grid;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid rgba(0, 229, 255, .12);
    box-shadow: var(--shadow-soft), 0 0 28px rgba(0, 229, 255, .05);
}

.store-detail {
    display: grid;
    gap: var(--space-lg);
}

.store-detail--joyful .store-detail__hero {
    position: relative;
    overflow: hidden;
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(240, 248, 255, .96) 48%, rgba(255, 250, 240, .94) 100%);
    border: 1px solid rgba(10, 132, 255, .14);
    box-shadow:
        var(--shadow-soft),
        0 0 40px rgba(10, 132, 255, .08),
        0 0 80px rgba(255, 159, 10, .05);
}

.store-detail__hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(10, 132, 255, .12), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(255, 159, 10, .12), transparent 30%),
        radial-gradient(circle at 70% 88%, rgba(48, 209, 88, .08), transparent 28%);
}

.store-detail__hero-grid,
.store-detail__summary,
.store-detail__gallery {
    position: relative;
    z-index: 1;
}

.store-detail__media-frame {
    position: relative;
}

.store-detail__media-badge {
    position: absolute;
    top: var(--space-sm);
    inset-inline-start: var(--space-sm);
    padding: .28rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
    box-shadow: 0 8px 20px rgba(255, 59, 48, .28);
}

.store-detail__brand {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(10, 132, 255, .1));
    border: 1px solid rgba(124, 58, 237, .16);
    text-decoration: none !important;
    transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}

a.store-detail__brand:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, .28);
    box-shadow: 0 6px 18px rgba(124, 58, 237, .12);
}

.store-detail__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #0a84ff);
}

.store-detail__highlights {
    list-style: none;
    margin: var(--space-md) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: var(--space-sm);
}

.store-detail__highlights li {
    display: grid;
    gap: .2rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(10, 132, 255, .1);
    box-shadow: 0 4px 14px rgba(10, 132, 255, .05);
}

.store-detail__highlight-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.store-detail__highlights strong {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.store-detail__purchase--card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(10, 132, 255, .14);
    box-shadow: 0 10px 30px rgba(10, 132, 255, .08);
}

.store-detail__chip--available {
    color: #15803d;
    background: rgba(48, 209, 88, .14);
}

.store-detail__chip--preorder {
    color: #b45309;
    background: rgba(245, 158, 11, .14);
}

.store-detail__hero-grid {
    display: grid;
    gap: var(--space-xl);
    align-items: start;
}

@media (min-width: 900px) {
    .store-detail__hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    }
}

.store-detail__gallery {
    display: grid;
    gap: .8rem;
}

.store-detail__gallery--single .store-detail__media-frame {
    min-height: min(31rem, 60vh);
    padding: var(--space-xl);
}

.store-detail__gallery--single .store-detail__cover {
    max-width: min(100%, 31rem);
    max-height: min(60vh, 31rem);
}

@media (min-width: 900px) {
    .store-detail__gallery--single .store-detail__media-frame {
        min-height: 27rem;
    }

    .store-detail__gallery--single .store-detail__cover {
        max-width: min(100%, 33rem);
        max-height: 25rem;
    }
}

.store-detail__summary {
    display: grid;
    gap: var(--space-lg);
    align-content: start;
}

.store-detail__purchase {
    display: grid;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.store-detail__meta-list {
    display: grid;
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-md) 0 0;
    border-top: 1px solid var(--border);
}

.store-detail__meta-row {
    display: flex;
    gap: var(--space-sm);
    align-items: stretch;
}

.store-detail__meta-item {
    display: grid;
    gap: .15rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
}

.store-detail__meta-item--compact {
    flex: 0 0 auto;
    min-width: 7rem;
}

.store-detail__meta-item--delivery {
    flex: 1 1 auto;
    min-width: 0;
}

.store-detail__meta-item dt {
    margin: 0;
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.store-detail__meta-item dd {
    margin: 0;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.store-detail__delivery-options {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.store-detail__delivery-chip {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
}

a.store-detail__delivery-chip {
    text-decoration: none !important;
}

.store-detail__delivery-chip--map {
    color: #fff;
    background: var(--store-product-accent-color, var(--primary));
    border-color: transparent;
    font-weight: 700;
}

.store-detail__delivery-chip--map:hover {
    filter: brightness(1.05);
}

.store-detail__media-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    min-height: 19.25rem;
    padding: clamp(1rem, 2.5vw, 1.35rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .12) 35%, transparent 62%),
        radial-gradient(circle at 85% 88%, rgba(10, 132, 255, .12) 0%, transparent 50%),
        linear-gradient(145deg, rgba(255, 255, 255, .92) 0%, rgba(246, 250, 255, .86) 52%, rgba(241, 248, 255, .9) 100%);
    border: 1px solid rgba(10, 132, 255, .16);
    box-shadow:
        0 16px 36px rgba(15, 23, 42, .08),
        0 0 0 1px rgba(255, 255, 255, .65) inset;
}

.store-detail__media-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, 0) 36%);
}

.store-detail__media-frame::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: calc(var(--radius-lg) - 6px);
    border: 1px solid rgba(10, 132, 255, .13);
    pointer-events: none;
}

.store-detail__media-glow {
    display: none;
}

.store-detail__cover {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 22rem;
    max-height: 22rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, .14));
    transition: transform .22s var(--ease-out), filter .22s var(--ease-out), opacity .12s var(--ease-out);
}

.store-detail__cover.is-swapping {
    opacity: .4;
}

.store-detail__media-frame:hover .store-detail__cover:not(.is-swapping) {
    transform: translateY(-2px) scale(1.01);
    filter: drop-shadow(0 16px 30px rgba(15, 23, 42, .18));
}

.store-detail__placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 14rem);
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    font-size: 2.75rem;
    font-weight: 800;
    color: hsl(var(--store-hue, 200), 55%, 42%);
    background: var(--media-placeholder);
}

.store-detail__gallery-rail {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: .4rem .35rem .5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(10, 132, 255, .08);
    scroll-snap-type: x mandatory;
    mask-image: linear-gradient(to left, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.store-detail__thumb {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(248, 250, 252, .92));
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}

.store-detail__thumb:hover {
    transform: translateY(-2px);
}

.store-detail__thumb.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ring), 0 10px 18px rgba(10, 132, 255, .2);
}

.store-detail__thumb:focus-visible {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ring), 0 6px 14px rgba(10, 132, 255, .16);
}

.store-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, .8);
    display: block;
}

.store-detail__content-col {
    display: grid;
    gap: var(--space-lg);
    align-content: start;
}

.store-detail__intro {
    display: grid;
    gap: var(--space-sm);
}

.store-detail__meta,
.store-detail__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .5rem;
}

.store-detail__label {
    display: inline-flex;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--accent-soft);
    text-decoration: none !important;
}

.store-detail__label:hover {
    background: rgba(10, 132, 255, .16);
}

.store-detail__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.store-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: var(--space-sm);
}

.store-detail__tag {
    display: inline-flex;
    align-items: center;
    padding: .28rem .62rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-secondary);
    background: rgba(120, 120, 128, .1);
    border: 1px solid rgba(120, 120, 128, .12);
    text-decoration: none !important;
    transition: color .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out);
}

.store-detail__tag--primary {
    color: var(--primary);
    background: var(--accent-soft);
    border-color: rgba(10, 132, 255, .18);
    font-weight: 700;
}

.store-detail__tag:hover {
    color: var(--primary);
    background: var(--accent-soft);
    border-color: rgba(10, 132, 255, .22);
}

.store-detail__chip {
    display: inline-flex;
    padding: .22rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(48, 209, 88, .12);
}

.store-detail__chip--featured {
    color: var(--primary);
    background: var(--accent-soft);
}

.store-detail__chip--muted {
    color: var(--text-tertiary);
    background: var(--surface-secondary);
}

.store-detail__chip--color {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--border);
}

.store-detail__title {
    margin: 0;
    font-size: clamp(1.28rem, 2.4vw, 1.72rem);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.01em;
}

.store-detail__updated {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem .45rem;
    margin: .4rem 0 0;
    padding: .42rem .78rem;
    border-radius: 999px;
    font-size: .82rem;
    line-height: 1.4;
    border: 1px solid rgba(10, 132, 255, .22);
    background: linear-gradient(135deg, rgba(10, 132, 255, .08), rgba(0, 229, 255, .06));
    box-shadow:
        0 0 12px rgba(10, 132, 255, .16),
        0 0 28px rgba(0, 229, 255, .1);
    overflow: hidden;
}

.store-detail__updated-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(0, 229, 255, .28), transparent 62%);
    animation: store-detail-updated-glow 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes store-detail-updated-glow {
    0%, 100% {
        opacity: .45;
        transform: scale(1);
    }

    50% {
        opacity: .9;
        transform: scale(1.06);
    }
}

.store-detail__updated-label,
.store-detail__updated-date {
    position: relative;
    z-index: 1;
}

.store-detail__updated-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.store-detail__updated-date {
    font-weight: 800;
    color: var(--primary, #0a84ff);
    text-shadow: 0 0 10px rgba(10, 132, 255, .24);
}

.store-detail__tagline {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 48ch;
}

.store-detail__tagline--muted {
    color: var(--text-tertiary);
}

.store-detail__price-box {
    display: grid;
    gap: .35rem;
}

.store-detail__price-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.store-detail__price-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .65rem;
    align-items: baseline;
}

.store-detail__price-old {
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-size: .92rem;
}

.store-detail__price-current {
    font-size: clamp(1.35rem, 2.8vw, 1.65rem);
    font-weight: 800;
    color: var(--text-primary);
}

.store-detail__discount {
    display: inline-flex;
    padding: .18rem .5rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    background: #ff3b30;
}

.store-detail__savings {
    margin: .35rem 0 0;
    font-size: .82rem;
    font-weight: 600;
    color: #34c759;
}

.store-detail__buy-note {
    margin: 0;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* —— Inquiry (inline in purchase block) —— */
.store-inquiry {
    display: grid;
    gap: var(--space-sm);
}

.store-inquiry__text {
    margin: 0;
    font-size: .9rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.store-inquiry__fallback,
.store-inquiry__note {
    margin: 0;
    font-size: .8rem;
    color: var(--text-tertiary);
}

.btn-store--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 6px 18px -6px rgba(18, 140, 126, .45), 0 0 12px rgba(37, 211, 102, .18);
}

.btn-store--whatsapp:hover {
    filter: brightness(1.04);
    box-shadow: 0 8px 22px -6px rgba(18, 140, 126, .5), 0 0 16px rgba(37, 211, 102, .22);
}

.store-detail__facts {
    margin: 0;
    padding: 0;
}

.store-detail__facts--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.store-detail__facts--glossy {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
}

.store-detail__facts--laptop,
.store-detail__facts--cards-count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-detail__facts--cards-count-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 22rem;
}

.store-detail__facts--cards-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-detail__facts--cards-count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-detail__facts--cards-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
    .store-detail__facts--laptop,
    .store-detail__facts--cards-count-3,
    .store-detail__facts--cards-count-4,
    .store-detail__facts--cards-count-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .store-detail__facts--laptop,
    .store-detail__facts--cards-count-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .store-detail__facts--cards-count-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .store-detail__facts--cards-count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.store-detail__facts--glossy .store-detail__fact {
    position: relative;
    overflow: hidden;
    min-height: 6.25rem;
    padding: 1.1rem 1.25rem 1.15rem;
    border-radius: calc(var(--radius-lg) + 2px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .94) 0%, rgba(245, 249, 255, .88) 100%);
    border: 1px solid rgba(10, 132, 255, .1);
    box-shadow:
        0 8px 24px rgba(10, 132, 255, .06),
        inset 0 1px 0 rgba(255, 255, 255, .85);
    transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s var(--ease-out);
    display: grid;
    align-content: start;
    gap: .55rem;
}

.store-detail__facts--glossy .store-detail__fact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, transparent 52%);
    pointer-events: none;
}

.store-detail__facts--glossy .store-detail__fact::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--fact-accent, rgba(10, 132, 255, .55));
}

.store-detail__facts--glossy .store-detail__fact:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 132, 255, .18);
    box-shadow:
        0 14px 32px rgba(10, 132, 255, .1),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.store-detail__facts--glossy .store-detail__fact:nth-child(3n + 1) {
    --fact-accent: rgba(10, 132, 255, .55);
    background: linear-gradient(145deg, rgba(255, 255, 255, .96) 0%, rgba(236, 245, 255, .9) 100%);
}

.store-detail__facts--glossy .store-detail__fact:nth-child(3n + 2) {
    --fact-accent: rgba(124, 58, 237, .5);
    background: linear-gradient(145deg, rgba(255, 255, 255, .96) 0%, rgba(245, 240, 255, .9) 100%);
}

.store-detail__facts--glossy .store-detail__fact:nth-child(3n + 3) {
    --fact-accent: rgba(48, 209, 88, .5);
    background: linear-gradient(145deg, rgba(255, 255, 255, .96) 0%, rgba(240, 253, 246, .9) 100%);
}

.store-detail__facts--glossy .store-detail__fact dt,
.store-detail__facts--glossy .store-detail__fact dd {
    position: relative;
    z-index: 1;
}

.store-detail__facts--glossy .store-detail__fact dt {
    margin: 0;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.store-detail__facts--glossy .store-detail__fact dd {
    margin: 0;
    font-size: clamp(.88rem, 1.35vw, .98rem);
    font-weight: 700;
    line-height: 1.65;
    color: var(--text-primary);
    letter-spacing: -.01em;
    word-break: break-word;
}

.store-detail__fact-value--color {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.store-color-swatch {
    --swatch-color: #bdb6ac;
    display: inline-block;
    width: .95rem;
    height: .95rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .55), transparent 52%),
        linear-gradient(145deg, color-mix(in srgb, var(--swatch-color) 88%, #fff 12%), var(--swatch-color));
    border: 1px solid color-mix(in srgb, var(--swatch-color) 70%, #000 30%);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, .35),
        0 0 0 2px rgba(255, 255, 255, .08),
        0 4px 12px color-mix(in srgb, var(--swatch-color) 45%, transparent);
    flex-shrink: 0;
}

.store-color-swatch--lg {
    width: 1.15rem;
    height: 1.15rem;
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, .4),
        0 0 0 3px rgba(255, 255, 255, .1),
        0 6px 16px color-mix(in srgb, var(--swatch-color) 50%, transparent);
}

.store-card__title,
.store-list-item__title a {
    display: block;
}

.store-detail__facts--inline {
    display: grid;
    gap: .55rem;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

.store-detail__facts--inline .store-detail__fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.store-detail__fact {
    display: grid;
    gap: .25rem;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
}

.store-detail__fact dt {
    margin: 0;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.store-detail__fact dd {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.store-detail__section--specs {
    padding-top: var(--space-lg);
    background:
        linear-gradient(180deg, rgba(248, 250, 255, .92) 0%, rgba(255, 255, 255, .98) 100%);
    border-color: rgba(10, 132, 255, .12);
    box-shadow:
        var(--shadow-soft),
        0 0 36px rgba(10, 132, 255, .06);
}

.store-detail__specs-count {
    font-size: .82rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.store-detail__specs-head {
    align-items: center;
    margin-bottom: .25rem;
}

.store-detail__specs-extra {
    margin-top: var(--space-md);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius-lg) + 2px);
    background: var(--surface-secondary);
    overflow: hidden;
}

.store-detail__specs-extra-toggle {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .85rem 1rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-secondary);
    list-style: none;
}

.store-detail__specs-extra-toggle::-webkit-details-marker {
    display: none;
}

.store-detail__specs-extra-toggle::before {
    content: "◂";
    display: inline-block;
    transition: transform .18s var(--ease-out);
    color: var(--text-tertiary);
}

.store-detail__specs-extra[open] .store-detail__specs-extra-toggle::before {
    transform: rotate(-90deg);
}

.store-detail__specs-extra-count {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.store-detail__specs-extra-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--border);
}

.store-detail__specs-summary {
    margin: .85rem 0 0;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: .92rem;
}

.store-detail__facts--compact {
    display: grid;
    gap: .45rem;
    margin-top: .85rem;
}

.store-detail__fact--compact {
    display: grid;
    grid-template-columns: minmax(6rem, 34%) minmax(0, 1fr);
    gap: .65rem;
    padding: .55rem .7rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .55);
    border: 1px solid var(--border);
}

.store-detail__fact--compact dt {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.store-detail__fact--compact dd {
    margin: 0;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.55;
    word-break: break-word;
}

.store-section--related {
    padding-top: var(--space-lg);
}

.store-detail__section {
    display: grid;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid rgba(0, 229, 255, .1);
    box-shadow: var(--shadow-soft), 0 0 20px rgba(0, 229, 255, .04);
}

.store-detail__section--about .store-section__head {
    margin-bottom: 0;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}

.store-detail__body-shell {
    display: flex;
    justify-content: center;
}

.store-detail__body {
    width: min(100%, 46rem);
}

.store-detail__body.prose {
    text-align: justify;
    text-align-last: start;
}

.store-detail__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    box-shadow: none;
}

.store-detail__back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
}

.store-detail__back:hover {
    color: var(--primary) !important;
}

.store-detail__back-icon {
    transition: transform .2s var(--ease-out);
}

.store-detail__back:hover .store-detail__back-icon {
    transform: translateX(4px);
}

.filter-pill__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-inline-start: .35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    background: rgba(16, 24, 40, .08);
}

.filter-pill.is-active .filter-pill__count {
    background: rgba(255, 255, 255, .22);
}

/* —— Buttons —— */
.btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .65rem 1.1rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out);
}

.btn-store--primary {
    background: var(--primary);
    color: #fff !important;
    box-shadow: var(--primary-shadow);
}

.btn-store--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-store--ghost {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-primary) !important;
}

.btn-store--ghost:hover {
    border-color: rgba(10, 132, 255, .28);
    color: var(--primary) !important;
}

.btn-store--lg {
    padding: .8rem 1.35rem;
    font-size: 1rem;
}

.btn-store--block {
    width: 100%;
}

.btn-store__icon {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .store-detail__masthead,
    .store-detail__section,
    .store-detail__footer {
        padding: var(--space-md);
    }
}

/* Experimental theme: Apple-style store/product redesign */
body.is-store,
body.is-store-product {
    --primary: #0071e3;
    --primary-hover: #0077ed;
    --success: #34c759;
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-secondary: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #424245;
    --text-tertiary: #6e6e73;
    --border: rgba(0, 0, 0, .06);
    --divider: #d2d2d7;
    --accent-soft: rgba(0, 113, 227, .08);
    --primary-ring: rgba(0, 113, 227, .2);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
    --shadow-card-hover: 0 8px 26px rgba(0, 0, 0, .08);
    --ease-out: cubic-bezier(0.28, 0.11, 0.32, 1);
    background: #f5f5f7 !important;
}

.store-detail-page {
    --store-product-font-family: 'Vazirmatn', 'IRANSansX', 'Yekan Bakh', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --store-product-title-size: clamp(2rem, 4.1vw, 2.5rem);
    --store-product-section-title-size: clamp(1.7rem, 3.2vw, 2rem);
    --store-product-body-size: 17px;
    --store-product-price-size: clamp(1.5rem, 3vw, 1.75rem);
    --store-product-body-line-height: 180;
    --store-product-letter-spacing: 0;
    --store-product-title-color: #1d1d1f;
    --store-product-body-color: #424245;
    --store-product-muted-color: #6e6e73;
    --store-product-accent-color: #0071e3;
    --store-product-panel-color: #fff;
    --primary: var(--store-product-accent-color, #0071e3);
}

body.is-store .site-header,
body.is-store-product .site-header {
    background: rgba(251, 251, 253, .8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    box-shadow: none;
}

body.is-store,
body.is-store-product {
    background-image: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 45%, #f5f5f7 100%) !important;
}

.store-page,
.store-detail-page {
    gap: clamp(32px, 4vw, 64px);
}

.store-page__highlights,
.store-detail,
.store-detail__summary,
.store-detail__content-col {
    gap: clamp(24px, 3vw, 48px);
}

.store-banner,
.store-catalog,
.store-section--featured,
.store-section--related,
.store-detail--joyful .store-detail__hero,
.store-detail__section,
.store-detail__footer,
.store-detail__modules,
.store-category-panel,
.store-catalog-toolbar,
.store-list-item,
.store-card {
    background: var(--store-product-panel-color, #fff);
    border: 1px solid rgba(0, 0, 0, .04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
}

.store-banner,
.store-catalog,
.store-section--featured,
.store-section--related,
.store-detail--joyful .store-detail__hero,
.store-detail__section,
.store-detail__modules {
    border-radius: 28px;
    padding: clamp(24px, 3vw, 48px);
}

.store-banner {
    color: var(--text-primary);
    background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.store-banner::after,
.store-banner__mesh,
.store-banner__orb {
    display: none;
}

.store-banner__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.store-banner__desc {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;
}

.store-search__field {
    border-radius: 999px;
    border-color: rgba(0, 0, 0, .06);
    box-shadow: none;
}

.store-search__submit {
    background: #0071e3;
    border-radius: 999px;
}

.store-section__title {
    font-size: var(--store-product-section-title-size, clamp(1.7rem, 3.2vw, 2rem));
    font-weight: 700;
    line-height: 1.2;
    color: var(--store-product-title-color, #1d1d1f);
    letter-spacing: calc(var(--store-product-letter-spacing, 0) * .001em);
}

.store-section__subtitle,
.store-catalog__summary,
.store-catalog-toolbar__count,
.store-detail__tagline,
.store-detail__buy-note,
.store-detail__specs-summary,
.store-list-item__tagline {
    color: var(--store-product-body-color, #424245);
    font-size: var(--store-product-body-size, 17px);
    line-height: calc(var(--store-product-body-line-height, 180) / 100);
    font-weight: 400;
    font-family: var(--store-product-font-family);
}

.store-detail__specs-summary {
    margin: 0;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: color-mix(in srgb, var(--store-product-panel-color, #fff) 88%, #f5f5f7 12%);
    font-size: calc(var(--store-product-body-size, 17px) + 1px);
    line-height: calc((var(--store-product-body-line-height, 180) + 12) / 100);
    letter-spacing: calc(var(--store-product-letter-spacing, 0) * .0005em);
    color: var(--store-product-body-color, #2f2f31);
    text-wrap: pretty;
}

.store-detail__specs-summary::first-line {
    color: var(--store-product-title-color, #1d1d1f);
    font-weight: 600;
    font-size: 1.08em;
}

.store-detail__hero-glow,
.store-spotlight__glow {
    display: none;
}

@media (min-width: 1024px) {
    .store-detail__hero-grid {
        grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
        gap: clamp(32px, 4vw, 64px);
    }
}

.store-detail__media-frame {
    min-height: min(640px, 72vh);
    padding: clamp(24px, 5vw, 48px);
    border-radius: 28px;
    border: 0;
    background: linear-gradient(to bottom, #fbfbfd, #f5f5f7);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .08);
}

.store-detail__media-frame::after {
    display: none;
}

.store-detail__cover {
    max-width: min(100%, 34rem);
    max-height: min(68vh, 34rem);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .08));
}

.store-detail__title {
    font-size: var(--store-product-title-size, clamp(2rem, 4.1vw, 2.5rem));
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: calc(var(--store-product-letter-spacing, 0) * .001em);
    color: var(--store-product-title-color, #1d1d1f);
    font-family: var(--store-product-font-family);
}

.store-detail__updated-label,
.store-detail__meta-item dt,
.store-detail__price-label,
.store-detail__specs-count,
.store-detail__specs-extra-count {
    color: var(--store-product-muted-color, #6e6e73);
}

.store-detail__meta-item dd,
.store-detail__delivery-chip,
.store-detail__fact dt {
    color: var(--store-product-body-color, #424245);
    font-family: var(--store-product-font-family);
}

.store-detail__delivery-chip.store-detail__delivery-chip--map {
    color: #fff !important;
    background: var(--store-product-accent-color, #0071e3);
    border-color: transparent;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.store-detail__delivery-chip.store-detail__delivery-chip--map:hover {
    color: #fff !important;
    background: color-mix(in srgb, var(--store-product-accent-color, #0071e3) 86%, #0077ed 14%);
}

.store-detail__price-current {
    font-size: var(--store-product-price-size, clamp(1.5rem, 3vw, 1.75rem));
    font-weight: 600;
    font-family: var(--store-product-font-family);
    color: var(--store-product-title-color, #1d1d1f);
}

.store-detail__updated {
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: none;
    background: rgba(255, 255, 255, .9);
}

.store-detail__updated-glow {
    display: none;
}

.store-detail__purchase--card,
.store-detail__meta-item,
.store-detail__specs-extra,
.store-detail__specs-extra-body {
    border-color: rgba(0, 0, 0, .06);
    background: var(--store-product-panel-color, #fff);
    box-shadow: none;
}

.store-detail__facts--glossy .store-detail__fact {
    min-height: 0;
    border: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
    border-radius: 24px;
    padding: 24px;
}

.store-detail__facts--glossy .store-detail__fact::after {
    display: none;
}

.store-detail__facts--glossy .store-detail__fact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.store-grid--catalog {
    gap: 24px;
}

.store-card,
.store-list-item {
    border-radius: 24px;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}

.store-card:hover,
.store-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
    border-color: rgba(0, 0, 0, .06);
}

.store-card__media,
.store-list-item__media {
    background: linear-gradient(180deg, #fbfbfd, #f5f5f7);
}

.store-card__img,
.store-list-item__img {
    object-fit: contain;
}

.store-card__title,
.store-list-item__title {
    color: var(--store-product-title-color, #1d1d1f);
    font-family: var(--store-product-font-family);
}

.store-card__price-current,
.store-list-item__price .store-card__price-current {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--store-product-title-color, #1d1d1f);
    font-family: var(--store-product-font-family);
}

.btn-store,
.store-card__cta,
.store-list-item__cta {
    min-height: 52px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 500;
    transition: background .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.btn-store--primary {
    background: var(--store-product-accent-color, #0071e3);
    color: #fff !important;
    box-shadow: none;
}

.btn-store--primary:hover {
    background: color-mix(in srgb, var(--store-product-accent-color, #0071e3) 88%, #0077ed 12%);
    transform: translateY(-1px);
}

.btn-store--ghost,
.store-card__cta,
.store-list-item__cta {
    background: rgba(0, 0, 0, .04);
    color: #1d1d1f !important;
    border: 1px solid transparent;
}

.btn-store--ghost:hover,
.store-card__cta:hover,
.store-list-item__cta:hover {
    background: rgba(0, 0, 0, .08);
    color: #1d1d1f !important;
}

.store-detail__body {
    width: min(100%, 47.5rem);
}
