/**
 * Glowflare WooCommerce store-only Coming Soon presentation.
 * This stylesheet changes presentation only and never changes store access.
 * Inherits the theme's Font Awesome 6 icon library and typography.
 */
.gf-shop-holding,
.gf-shop-holding * { box-sizing: border-box; }

.gf-shop-holding {
    width: 100%;
    max-width: 940px;
    margin: 10px auto;
    padding: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
}
.gf-shop-holding__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: clamp(24px, 3.2vw, 40px) 24px;
    border: 1px solid #535353;
    border-radius: 15px;
    background: #353535;
    text-align: center;
}
.gf-shop-holding__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 740px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
}
.gf-shop-holding__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin: 0 0 18px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #d50000;
    color: #fff;
    line-height: 1;
}
.gf-shop-holding__icon .fa-basket-shopping {
    font-size: 45px;
    line-height: 1;
}
.gf-shop-holding h1 {
    max-width: 18ch;
    margin: 0;
    padding: 0;
    color: #fff !important;
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-align: center;
    text-shadow: none;
}
.gf-shop-holding__description,
.gf-shop-holding__update {
    max-width: 65ch;
    margin: 16px 0 0;
    padding: 0;
    color: #fff !important;
    font-size: 17px;
    line-height: 1.55;
    text-align: center;
}
.gf-shop-holding__update {
    margin-top: 8px;
    color: #f0f0f0 !important;
    font-size: 15px;
}
.gf-shop-holding__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin: 24px 0 0;
    padding: 12px 21px;
    border: 1px solid #fff;
    border-radius: 15px;
    background: #d50000;
    color: #fff !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    transition: background-color .15s ease;
}
.gf-shop-holding__button:hover {
    background: #b50000;
    color: #fff !important;
}
.gf-shop-holding__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.gf-shop-holding__button i { font-size: 13px; }

/* Keep the festival's mobile layout and 10px outer rhythm. */
@media (max-width: 959px) {
    .gf-shop-holding {
        width: calc(100% - 20px);
        max-width: 940px;
        margin: 10px auto;
    }
    .gf-shop-holding__panel { padding: 28px 20px; }
    .gf-shop-holding__icon {
        width: 88px;
        height: 88px;
        margin-bottom: 16px;
    }
    .gf-shop-holding__icon .fa-basket-shopping { font-size: 38px; }
}
@media (max-width: 540px) {
    .gf-shop-holding__panel { padding: 24px 16px; }
    .gf-shop-holding h1 { font-size: clamp(27px, 8vw, 34px); }
    .gf-shop-holding__description { font-size: 16px; }
    .gf-shop-holding__update { font-size: 14px; }
    .gf-shop-holding__button { width: 100%; max-width: 310px; }
}
@media (prefers-reduced-motion: reduce) {
    .gf-shop-holding__button { transition: none; }
}

/* ============================================================================
   Store-only holding screen: share the festival's 10px vertical rhythm.

   WooCommerce can wrap its Coming Soon block in extra WordPress groups. When
   these groups have their own block margins, the 10px holding-panel margin is
   effectively doubled. Reset only those ancestors while this holding screen
   is present. The Film Manager partner advert keeps its own layout and art.

   Desktop-only: leave the existing mobile holding, partner and footer rules
   unchanged. No WooCommerce visibility or checkout behaviour is affected.
   ========================================================================== */
@media (min-width: 960px) {
    body:has(.gf-shop-holding)
        :is(main, #primary, .site-main, .entry-content, .page-content,
            .wp-block-post-content, .wp-block-woocommerce-coming-soon,
            .woocommerce-coming-soon, .woocommerce-coming-soon-content,
            .wp-block-group):has(.gf-shop-holding) {
        margin-block-start: 0 !important;
        margin-block-end: 0 !important;
        padding-block-start: 0 !important;
        padding-block-end: 0 !important;
    }

    /* Menu -> holding panel: 10px. The panel itself keeps all internal padding. */
    body:has(.gf-shop-holding) .gf-shop-holding {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Holding panel -> partner advert -> following festival footer: 10px each.
       Never override the partner's inner card, images, buttons or colours. */
    body:has(.gf-shop-holding)
        :is(.fm-sponsor-render--footer_banner,
            .fm-sponsor-render--footer_partner,
            .fm-sponsor-render--footer-partner) {
        width: 100% !important;
        max-width: 940px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    body:has(.gf-shop-holding) #site-footer.footer {
        margin-top: 0 !important;
    }
}
