/* Tək mağaza səhifəsi */

.verified-mark {
    --verified-blue: #34b7f1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--verified-blue);
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
}

.verified-mark svg {
    display: block;
    width: 1em;
    height: 1em;
    filter: drop-shadow(0 1px 2px rgba(52, 183, 241, 0.35));
}

.verified-mark--sm { font-size: 16px; }
.verified-mark--md { font-size: 20px; }
.verified-mark--lg { font-size: 24px; }

.verified-mark__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0ea5e9;
}

/* overflow-x: hidden sticky-ni öldürür; clip öldürmür */
html:has(.shop-show),
body:has(.shop-show) {
    overflow-x: clip !important;
}

.shop-show {
    --shop-ink: #0f172a;
    --shop-muted: #64748b;
    --shop-accent: #ea580c;
    --shop-line: #e2e8f0;
    --shop-sticky-top: 88px;
    background: #f8fafc;
    padding-bottom: 56px;
    overflow-x: clip;
    overflow-y: visible;
}

.shop-show__banner {
    height: 168px;
    background: linear-gradient(120deg, #1e293b 0%, #334155 55%, #c2410c 100%);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.shop-show__banner--empty {
    height: 120px;
    background: linear-gradient(120deg, #fff7ed 0%, #ffedd5 45%, #fed7aa 100%);
}

.shop-show__banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.shop-show__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.28));
    pointer-events: none;
}

.shop-show__banner--empty::after {
    background: linear-gradient(180deg, transparent 40%, rgba(255, 247, 237, 0.55));
}

.shop-show__container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max, 1140px);
    margin: -64px auto 0;
    padding: 0 24px;
}

.shop-show__identity {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px 24px;
    align-items: start;
    padding: 22px 24px 20px;
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
    margin-bottom: 28px;
}

.shop-show__logo {
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--shop-line);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.shop-show__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-show__logo span {
    font-size: 2.1rem;
    font-weight: 850;
    color: var(--shop-accent);
}

.shop-show__info {
    min-width: 0;
}

.shop-show__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 10px;
    padding-right: 48px;
}

.shop-show__title-row h1 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--shop-ink);
    line-height: 1.2;
}

.shop-show__share {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
}

.shop-show__share .share-btn {
    position: relative;
}

.shop-show__share .share-btn__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--shop-line);
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}

.shop-show__share .share-btn__toggle:hover,
.shop-show__share .share-btn.is-open .share-btn__toggle {
    border-color: rgba(234, 88, 12, 0.35);
    color: #ea580c;
    background: #fff7ed;
}

.shop-show__share .share-btn__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    z-index: 20;
    min-width: 168px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    display: none;
    gap: 2px;
}

.shop-show__share .share-btn.is-open .share-btn__menu,
.shop-show__share .share-btn__menu:not([hidden]) {
    display: grid;
}

.shop-show__share .share-btn__menu[hidden] {
    display: none !important;
}

.shop-show__share .share-btn__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
}

.shop-show__share .share-btn__item:hover {
    background: #fff7ed;
    color: #c2410c;
}

.shop-show__title-row .verified-mark {
    position: relative;
    z-index: 1;
}

.shop-show__package {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #64748b;
    line-height: 1.2;
}

.shop-show__package--premium {
    background: #fff7ed;
    color: #c2410c;
}

.shop-show__package--vip {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
}

.shop-show__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.shop-show__stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: var(--shop-muted);
    font-size: 12.5px;
    font-weight: 650;
}

.shop-show__rating-pill {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #c2410c !important;
}

.shop-show__rating-pill i {
    color: #f59e0b;
}

.shop-show__desc {
    margin: 0;
    color: var(--shop-muted);
    line-height: 1.55;
    max-width: 680px;
    white-space: pre-line;
    font-size: 0.92rem;
}

.shop-show__about {
    margin: 0 0 14px;
    max-width: 680px;
    padding-top: 2px;
}

.shop-show__about-title {
    margin: 0 0 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.shop-show__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.shop-show__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shop-show__social:hover {
    background: #fff7ed;
    border-color: #fdba74;
    color: #c05600;
}

.shop-show__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.shop-show__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 750;
    font-size: 13px;
    color: #fff;
    border: 0;
    transition: transform 0.15s ease, filter 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.shop-show__action:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.shop-show__action i {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.shop-show__action--call {
    background: #ea580c;
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.22);
}

.shop-show__action--wa {
    background: #16a34a;
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.22);
}

.shop-show__action--msg {
    background: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.shop-show__action--link {
    background: #fff;
    color: #334155;
    border: 1.5px solid var(--shop-line);
    box-shadow: none;
    grid-column: 1 / -1;
}

.shop-show__action--link i {
    background: #f1f5f9;
    color: #64748b;
}

.shop-show__safety {
    margin-top: 0;
}

.shop-show__call,
.shop-show__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 750;
}

.shop-show__call {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.25);
}

.shop-show__link {
    border: 1.5px solid var(--shop-line);
    background: #fff;
    color: #334155;
}

.shop-show__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch; /* yan sütun elanlarla eyni hündürlük — sticky üçün */
    overflow: visible;
}

.shop-show__side {
    min-width: 0;
    align-self: stretch;
}

.shop-show__side-sticky {
    position: sticky;
    top: var(--shop-sticky-top);
    z-index: 4;
    display: grid;
    gap: 12px;
    max-height: calc(100dvh - var(--shop-sticky-top) - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.shop-show__grid--no-reviews .shop-show__side-sticky {
    gap: 10px;
}

.shop-panel--contact .shop-panel__head {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.shop-contact-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.shop-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 650;
    color: #334155;
    line-height: 1.35;
}

.shop-contact-list i {
    width: 16px;
    margin-top: 2px;
    color: var(--shop-accent, #ea580c);
    text-align: center;
    flex-shrink: 0;
}

.shop-contact-list a {
    color: inherit;
    text-decoration: none;
}

.shop-contact-list a:hover {
    color: var(--shop-accent, #ea580c);
}

.shop-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-contact-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    border-radius: 11px;
    color: #fff;
    font-weight: 750;
    font-size: 13px;
    text-decoration: none;
}

.shop-contact-actions__btn--call {
    background: linear-gradient(145deg, #f97316, #ea580c);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.25);
}

.shop-contact-actions__btn--wa {
    background: linear-gradient(145deg, #25d366, #128c7e);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.25);
}

.shop-contact-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, #f7971c, #ea580c);
    color: #fff;
    font-weight: 750;
    font-size: 13.5px;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.22);
}

.shop-panel--reviews-empty .shop-panel__head {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.shop-reviews-empty {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    text-align: center;
}

.shop-reviews-empty p {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: var(--shop-ink, #0f172a);
}

.shop-reviews-empty span {
    font-size: 12px;
    color: var(--shop-muted, #64748b);
    line-height: 1.4;
}

.shop-review-cta--compact {
    padding: 12px;
}

.shop-review-cta--compact h3 {
    margin-bottom: 8px;
}

.shop-review-cta--compact p {
    display: none;
}

.shop-review-cta--compact .shop-review-cta__btn {
    width: 100%;
    justify-content: center;
}

.shop-show__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.shop-show__section-head h2,
.shop-panel__head h2 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 850;
    color: var(--shop-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-show__section-head p {
    margin: 0;
    color: var(--shop-muted);
    font-size: 13px;
    font-weight: 650;
}

.shop-show .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.shop-show__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: var(--shop-muted);
}

.shop-show .pagination-wrap {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.shop-panel {
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0;
}

.shop-panel__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.shop-panel--verify {
    background: linear-gradient(160deg, #f0f9ff, #fff);
    border-color: #bae6fd;
}

.shop-panel--verify p {
    margin: 0 0 14px;
    color: var(--shop-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.shop-verify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: #0ea5e9;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.28);
}

.shop-rating {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.shop-rating__score {
    text-align: center;
}

.shop-rating__num {
    font-size: 2.4rem;
    font-weight: 850;
    letter-spacing: -0.04em;
    color: var(--shop-ink);
    line-height: 1;
}

.shop-rating__stars {
    margin: 6px 0;
    color: #e2e8f0;
}

.shop-rating__stars .is-on,
.shop-review__stars .is-on {
    color: #f59e0b;
}

.shop-rating__count {
    font-size: 13px;
    color: var(--shop-muted);
    font-weight: 650;
}

.shop-rating__bars {
    display: grid;
    gap: 7px;
}

.shop-rating__bar-row {
    display: grid;
    grid-template-columns: 14px 1fr 28px;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--shop-muted);
}

.shop-rating__track {
    height: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    overflow: hidden;
}

.shop-rating__track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #ea580c);
    border-radius: inherit;
}

.shop-rating__bar-row em {
    font-style: normal;
    text-align: right;
    font-weight: 700;
}

.shop-reviews {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.shop-review {
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.shop-review__top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.shop-review__top strong {
    font-size: 13.5px;
    color: var(--shop-ink);
}

.shop-review__stars {
    color: #e2e8f0;
    font-size: 11px;
    white-space: nowrap;
}

.shop-review p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
}

.shop-review__listing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--shop-accent);
    text-decoration: none;
}

.shop-reviews__empty {
    margin: 0;
    padding: 18px 8px;
    text-align: center;
    color: var(--shop-muted);
    font-size: 13.5px;
}

.shop-review-cta {
    padding: 14px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.shop-review-cta h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: var(--shop-ink);
}

.shop-review-cta p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--shop-muted);
}

.shop-review-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 11px;
    background: linear-gradient(135deg, #f7971c, #ea580c);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .shop-show__grid {
        grid-template-columns: 1fr;
    }

    .shop-show__side-sticky {
        position: static;
        top: auto;
    }

    /* Rəy yoxdursa: əvvəl elanlar, panel aşağıda — boşluq yaranmasın */
    .shop-show__grid--no-reviews .shop-show__primary {
        order: 0;
    }

    .shop-show__grid--no-reviews .shop-show__side {
        order: 1;
    }

    .shop-show__grid:not(.shop-show__grid--no-reviews) .shop-show__side {
        order: -1;
    }
}

@media (max-width: 720px) {
    .shop-show__banner {
        height: 96px;
    }

    .shop-show__banner--empty {
        height: 64px;
    }

    .shop-show__container {
        margin-top: -40px;
        padding: 0 12px;
    }

    .shop-show__identity {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
        padding: 14px 14px 16px;
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

    .shop-show__logo {
        width: 76px;
        height: 76px;
        margin-top: -38px;
        margin-bottom: 10px;
        border-radius: 18px;
        border: 3px solid #fff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    }

    .shop-show__logo span {
        font-size: 1.7rem;
    }

    .shop-show__info {
        width: 100%;
    }

    .shop-show__share {
        top: 10px;
        right: 10px;
        position: absolute;
    }

    .shop-show__share .share-btn__toggle {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        background: #f8fafc;
    }

    .shop-show__title-row {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 8px;
        gap: 6px 8px;
    }

    .shop-show__title-row h1 {
        font-size: 1.28rem;
        width: 100%;
    }

    .shop-show__stats {
        justify-content: center;
        margin-bottom: 10px;
        gap: 5px;
    }

    .shop-show__stats span {
        font-size: 11.5px;
        padding: 4px 9px;
    }

    .shop-show__stat--address {
        display: none !important;
    }

    .shop-show__about {
        margin: 0 0 12px;
        width: 100%;
    }

    .shop-show__about-title {
        text-align: center;
    }

    .shop-show__desc {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.86rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .shop-show__actions {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        width: 100%;
        margin-bottom: 10px;
    }

    .shop-show__action {
        min-height: 42px;
        padding: 8px 10px;
        font-size: 12.5px;
        border-radius: 11px;
        box-shadow: none !important;
    }

    .shop-show__action i {
        width: 22px;
        height: 22px;
        font-size: 0.72rem;
    }

    .shop-show__action--msg,
    .shop-show__action--link {
        grid-column: 1 / -1;
    }

    .shop-show__safety {
        width: 100%;
        text-align: left;
        font-size: 0.78rem;
        border-radius: 10px;
        padding: 8px 10px;
    }

    .shop-show__socials {
        justify-content: center;
        margin-top: 10px;
    }

    .shop-show .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .shop-show .product-grid {
        grid-template-columns: 1fr;
    }
}
