/**
 * InvitKeun — polesan bersih: hero center, nav center, kartu tanpa glow berantakan
 * Load setelah inline style base.php agar override efektif.
 */

/* ——— Hero label ——— */
.hero-eyebrow-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0;
}

.hero-eyebrow-label {
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 1rem);
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    letter-spacing: var(--hero-label-tracking, 0.32em) !important;
    text-indent: 0 !important;
    box-sizing: border-box;
}

#hero .hero-pattern__content {
    align-items: center !important;
    text-align: center !important;
}

#hero .inv-hero-couple-names {
    align-items: center !important;
}

#hero .hero-name-line {
    width: auto !important;
    max-width: 100%;
    margin-inline: auto !important;
    transform: none !important;
}

#hero .hero-amp {
    width: 100%;
    text-align: center !important;
}

/* ——— Float nav ——— */
#floatNavDock {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: max(0.75rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    transform: translateY(1rem) !important;
}

#floatNavDock.is-visible,
body:not(.has-cover-open) #floatNavDock {
    transform: translateY(0) !important;
}

#floatNav {
    margin: 0 !important;
}

/* ——— Hilangkan glow/aurora di belakang kartu ——— */
.premium-section-glow::before,
.premium-section-glow::after,
.hero-pattern::after,
.template-surface .section-inner::before,
.template-surface .inv-section__inner::before,
#couple.template-surface::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
}

/* ——— Shadow kartu ——— */
.premium-couple-card,
.event-card,
.gift-card,
.story-card,
.readable-card:not(.guestbook-compose):not(.guestbook-entry),
.fluid-glass,
.rsvp-form-card,
.qris-card {
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07) !important;
}

.premium-couple-card:hover,
.event-card:hover,
.gift-card:hover,
.fluid-glass:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09) !important;
}

#couple .inv-couple-grid {
    align-items: center !important;
}

#couple .premium-couple-card {
    transform: none !important;
    height: 100%;
}

#couple .premium-couple-card:hover {
    transform: translateY(-2px) !important;
}

#couple .premium-couple-card:hover .couple-avatar {
    transform: none !important;
}

/* ——— Cover wax seal ——— */
.cover-style-seal #cover .cover-button-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cover-style-seal #cover .cover-open-btn,
.cover-style-seal #cover .cover-open-btn--seal,
.cover-style-seal #cover .cover-open-btn.cover-open-btn-premium {
    width: 4.5rem !important;
    max-width: 4.5rem !important;
    min-width: 0 !important;
    height: 4.5rem !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-inline: auto !important;
    border-radius: 50% !important;
    border: none !important;
    display: grid !important;
    place-items: center !important;
    flex: none !important;
    gap: 0 !important;
    overflow: hidden !important;
    font-size: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 0 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28) !important;
    background: linear-gradient(145deg, var(--btn-bg), var(--btn-hover)) !important;
    -webkit-tap-highlight-color: transparent;
}

.cover-style-seal #cover .cover-open-btn::before,
.cover-style-seal #cover .cover-open-btn::after {
    display: none !important;
    content: none !important;
}

.cover-style-seal #cover .cover-open-btn i {
    font-size: 1.2rem !important;
    margin: 0 !important;
    line-height: 1 !important;
    color: var(--btn-fg) !important;
}

.cover-style-seal #cover .cover-open-btn:hover,
.cover-style-seal #cover .cover-open-btn.cover-open-btn-premium:hover {
    transform: scale(1.04) !important;
    filter: brightness(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32) !important;
}

.cover-style-seal #cover .cover-open-btn:active {
    transform: scale(0.96) !important;
}

.cover-style-seal #cover .cover-card-3d {
    animation: none !important;
    transform: none !important;
}

.cover-style-seal #cover .cover-stage {
    perspective: none;
}

@media (max-width: 767px) {
    #floatNavDock {
        max-width: 100% !important;
    }
}
