/* ==========================================================================
   "Get the app" offers: home page card and shop page row
   Behaviour: js/storefront/install.js
   ========================================================================== */

.install-card {
    margin: 0 var(--page-gutter);
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(120deg, #F4EDFF 0%, #FFE6F0 100%);
    border: 1px solid var(--color-border-strong);
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-card[hidden] {
    display: none;
}

.install-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-raised);
}

.install-card__text {
    flex: 1 1 auto;
    min-width: 0;
}

.install-card__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
}

.install-card__sub {
    font-size: 12px;
    color: #5E4F7A;
}

.install-card__sub[hidden],
.install-card__button[hidden] {
    display: none;
}

.install-card__button {
    height: 36px;
    padding: 0 14px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.install-card__close {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-right: -4px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: #5E4F7A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.install-card__close .icon {
    width: 18px;
    height: 18px;
}

/* Shop page row */
.install-row__button {
    align-self: flex-start;
}

.install-row__button[hidden],
.install-row [hidden] {
    display: none;
}

.install-row__done {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0B5A2C;
    font-weight: 700;
}

.install-row__done .icon {
    width: 18px;
    height: 18px;
}

/* ---------- The shop at the top of Account / My orders (partials/shop-about): its page, and Install app ---------- */
.shop-about {
    padding: 12px;
    border: 1px solid var(--color-border-strong);
    border-radius: 18px;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-about__link {
    min-width: 0;
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-about__logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
}

.shop-about__logo--initials {
    background: linear-gradient(135deg, #D91E5B, #7B2CBF);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-about__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.shop-about__name {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
    overflow-wrap: anywhere;
}

.shop-about__place {
    font-size: 13px;
    color: var(--color-text-muted);
}

.shop-about__more {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
}

.shop-about__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.shop-about__install {
    width: 100%;
    justify-content: center;
}

.shop-about__ios {
    margin: 0;
    font-size: 13px;
    color: var(--color-text);
}

.shop-about__install[hidden],
.shop-about__ios[hidden] {
    display: none;
}
