.store-page {
    min-height: 70vh;
    padding: 20px 0 50px;
}

.store-page .container {
    position: static;
    z-index: auto;
}

.store-head {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background:
        radial-gradient(circle at 90% -20%, rgba(59, 130, 246, 0.2), transparent 50%),
        linear-gradient(140deg, rgba(15, 23, 42, 0.92), rgba(3, 10, 27, 0.96));
    color: #f8fafc;
    padding: 22px;
}

.store-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #a5b4fc;
    text-transform: uppercase;
}

.store-title {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    margin: 0;
    color: #fff;
}

.store-copy {
    color: #dbeafe;
    max-width: 880px;
}

.store-section-title {
    color: #f8fafc;
    font-size: 1.25rem;
}

.shop-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background:
        radial-gradient(circle at 95% -20%, rgba(34, 197, 94, 0.24), transparent 50%),
        linear-gradient(145deg, rgba(12, 19, 36, 0.92), rgba(4, 10, 24, 0.97));
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.44);
    color: #e2e8f0;
}

.shop-card.external {
    background:
        radial-gradient(circle at 95% -20%, rgba(59, 130, 246, 0.26), transparent 50%),
        linear-gradient(145deg, rgba(12, 19, 36, 0.92), rgba(4, 10, 24, 0.97));
}

.shop-card-media {
    position: relative;
    min-height: 215px;
    background: #020617;
}

.shop-card-image {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
    background: #020617;
}

.shop-card-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    color: #aec6db;
    font-size: .88rem;
    text-align: center;
    padding: 10px;
    background:
        radial-gradient(circle at 50% 26%, rgba(59, 130, 246, 0.24), transparent 54%),
        linear-gradient(145deg, rgba(8, 16, 34, 0.95), rgba(4, 10, 24, 0.98));
}

.shop-card-fallback i {
    font-size: 1.6rem;
    color: #93c5fd;
}

.shop-card-media.is-fallback .shop-card-fallback {
    display: flex;
}

.shop-card-body {
    padding: 14px;
}

.shop-card-title {
    color: #fff;
    font-size: 1.04rem;
    margin: 0 0 4px;
}

.shop-card-category {
    margin: 0 0 4px;
    font-size: .84rem;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.shop-card-price {
    margin: 0 0 8px;
    font-size: .96rem;
    color: #86efac;
    font-weight: 700;
}

.shop-card-description {
    margin: 0;
    color: #cbd5e1;
    font-size: .88rem;
    line-height: 1.45;
}

.shop-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-info-modal {
    z-index: 1080;
}

.modal-backdrop.show {
    z-index: 1070;
}

.shop-info-modal .shop-modal-dialog {
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
}

.shop-modal-content {
    border: 0;
    border-radius: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% -18%, rgba(14, 165, 233, 0.24), transparent 46%),
        linear-gradient(140deg, rgba(6, 20, 39, 0.98), rgba(2, 10, 24, 0.99));
    color: #e5eef8;
}

.shop-modal-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    padding: 1rem 1.25rem;
    background: rgba(2, 10, 24, 0.88);
    backdrop-filter: blur(4px);
}

.shop-modal-heading {
    max-width: calc(100% - 48px);
}

.shop-modal-kicker {
    margin: 0;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #93c5fd;
    font-weight: 700;
}

.shop-modal-subtitle {
    color: #b9d2e9;
    font-size: .9rem;
}

.shop-modal-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.1rem 1.25rem 1.25rem;
}

.shop-modal-body::-webkit-scrollbar {
    width: 8px;
}

.shop-modal-body::-webkit-scrollbar-track {
    background: rgba(14, 25, 44, 0.45);
    border-radius: 999px;
}

.shop-modal-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
}

.shop-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.68);
}

.shop-modal-product {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    background: rgba(2, 10, 24, 0.56);
    padding: 1rem;
}

.shop-modal-product-media {
    position: relative;
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #020617;
}

.shop-modal-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #020617;
}

.shop-modal-product-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #a8c3d9;
    font-size: .82rem;
    background:
        radial-gradient(circle at 50% 30%, rgba(14, 165, 233, 0.24), transparent 50%),
        linear-gradient(145deg, rgba(10, 18, 35, 0.96), rgba(4, 10, 24, 0.98));
}

.shop-modal-product-fallback i {
    font-size: 1.5rem;
    color: #93c5fd;
}

.shop-modal-product-media.is-fallback .shop-modal-product-fallback {
    display: flex;
}

.shop-modal-product-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.shop-modal-product-category {
    margin: 0;
    color: #93c5fd;
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
}

.shop-modal-product-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.shop-modal-product-price {
    margin: 0;
    font-size: 1.02rem;
    color: #86efac;
    font-weight: 700;
}

.shop-modal-product-description {
    margin: 0;
    color: #c9d8e7;
    font-size: .92rem;
    line-height: 1.55;
}

.shop-modal-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
    gap: 1rem;
}

.shop-panel {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    background: rgba(2, 10, 24, 0.6);
    padding: 1rem;
}

.shop-panel-title {
    margin: 0;
    color: #f8fafc;
    font-size: 1rem;
}

.shop-company-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(2, 10, 24, 0.5);
    padding: 10px;
}

.shop-company-logo {
    width: 68px;
    height: 68px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: #020617;
    overflow: hidden;
    display: grid;
    place-content: center;
    font-size: .72rem;
    color: #a9c1d8;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 6px;
    text-align: center;
    flex: 0 0 auto;
}

.shop-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #020617;
}

.shop-company-logo.is-empty img {
    display: none;
}

.shop-company-logo:not(.is-empty) span {
    display: none;
}

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

.shop-company-list li {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    background: rgba(2, 10, 24, 0.6);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shop-company-list li span {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9fb8d0;
}

.shop-company-list li strong {
    font-size: .83rem;
    color: #e6f2ff;
    text-align: right;
    word-break: break-word;
}

.shop-inline-link {
    color: #93c5fd;
    text-decoration: none;
    border-bottom: 1px solid rgba(147, 197, 253, 0.45);
}

.shop-inline-link:hover {
    color: #bfdbfe;
    border-bottom-color: rgba(191, 219, 254, 0.75);
}

.shop-catalog-summary {
    border-left: 3px solid rgba(74, 222, 128, 0.72);
    background: rgba(5, 46, 22, 0.36);
    color: #d5f5e4;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    font-size: .84rem;
    line-height: 1.45;
}

.shop-catalog-carousel {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #020617;
}

.shop-catalog-carousel .carousel-item img {
    width: 100%;
    height: min(54vh, 520px);
    object-fit: cover;
    display: block;
    background: #020617;
}

.shop-catalog-carousel .carousel-indicators {
    margin-bottom: 8px;
}

.shop-catalog-carousel .carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.shop-empty-catalog {
    border: 1px dashed rgba(148, 163, 184, 0.42);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    color: #c0d5e8;
    font-size: .83rem;
    background: rgba(2, 10, 24, 0.42);
}

.shop-modal-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.85rem 1.25rem;
    background: rgba(2, 10, 24, 0.86);
    gap: 8px;
}

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

    .shop-modal-product-media {
        min-height: 210px;
    }

    .shop-modal-grid {
        grid-template-columns: 1fr;
    }

    .shop-catalog-carousel .carousel-item img {
        height: 320px;
    }
}

@media (max-width: 767.98px) {
    .shop-modal-header,
    .shop-modal-body,
    .shop-modal-footer {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .shop-company-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .shop-company-list li strong {
        text-align: left;
    }

    .shop-catalog-carousel .carousel-item img {
        height: 240px;
    }
}
