.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

th,
td {
    vertical-align: middle !important;
}

.text-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.overflow-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.overflow-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.overflow-4 {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.overflow-5 {
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

.f-shadow {
    text-shadow: 2px 2px 4px #000000;
}

a {
    text-decoration: none;
}

ul.flex-screen>li {
    flex: 1 1 auto;
}

.text-indent {
    text-indent: 2rem;
}

.img-cover {
    object-fit: cover;
}

.img-contain {
    object-fit: contain;
}

.img-square {
    aspect-ratio: 1/1;
}

.grecaptcha-badge {
    display: none;
}

.welcome-coupon-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 1.25rem 2rem;
    background: rgba(13, 18, 28, 0.65);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.welcome-coupon-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.welcome-coupon-backdrop {
    position: absolute;
    inset: 0;
}

.welcome-coupon-dialog {
    position: relative;
    width: min(520px, 100%);
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(227, 32, 28, 0.18);
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.45);
    transform: translateY(40px) scale(0.97);
    transition: transform 0.35s ease;
    z-index: 1;
}

.welcome-coupon-modal.is-open .welcome-coupon-dialog {
    transform: translateY(0) scale(1);
}

.welcome-coupon-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(227, 32, 28, 0.08), rgba(227, 32, 28, 0));
    pointer-events: none;
}

.welcome-coupon-swiper {
    position: relative;
}

.welcome-coupon-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.welcome-coupon-media {
    background: radial-gradient(circle at top left, rgba(227, 32, 28, 0.25), transparent);
}

.welcome-coupon-media picture,
.welcome-coupon-media img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.welcome-coupon-body {
    position: relative;
    padding: 2rem 2.25rem;
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.welcome-coupon-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    color: #0f172a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.welcome-coupon-close:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.welcome-coupon-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: var(--sub-color, #fce9e8);
    color: var(--main-color, #e3201c);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.welcome-coupon-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.welcome-coupon-subtitle {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.welcome-coupon-code {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(227, 32, 28, 0.45);
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.welcome-coupon-code-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.2rem;
}

.welcome-coupon-code-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #0f172a;
}

.welcome-coupon-feedback {
    min-height: 1.25rem;
    font-size: 0.9rem;
    color: #16a34a;
    margin-top: 0.65rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.welcome-coupon-feedback.is-visible {
    opacity: 1;
}

.welcome-coupon-actions {
    display: flex;
    gap: 0.9rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}

.welcome-coupon-actions .btn-main {
    min-width: 170px;
    border-radius: 999px;
    font-weight: 600;
    padding-inline: 1.75rem;
}

.welcome-coupon-actions .btn-outline-dark {
    border-radius: 999px;
    border-color: rgba(15, 23, 42, 0.2);
}

.welcome-coupon-footer {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.welcome-coupon-optout {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.welcome-coupon-optout input {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color, #e3201c);
}

.welcome-coupon-nav {
    position: absolute;
    top: 160px;
    left: 0;
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.welcome-coupon-nav-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.welcome-coupon-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.35);
}

.welcome-coupon-nav-btn .nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color, #e3201c), #ff7c78);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(227, 32, 28, 0.25);
}

.welcome-coupon-nav-btn .nav-label {
    white-space: nowrap;
}

.welcome-coupon-pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.welcome-coupon-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.2);
    opacity: 1;
    transition: background 0.2s ease;
}

.welcome-coupon-pagination .swiper-pagination-bullet-active {
    background: var(--main-color, #e3201c);
    box-shadow: 0 0 10px rgba(227, 32, 28, 0.45);
}

@media (max-width: 576px) {
    .welcome-coupon-nav {
        position: static;
        padding: 0;
        margin-top: 0.75rem;
        justify-content: center;
        gap: 0.75rem;
    }

    .welcome-coupon-nav-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }
}

body.welcome-popup-open {
    overflow: hidden;
}

@media (max-width: 576px) {
    .welcome-coupon-body {
        padding: 1.5rem;
    }

    .welcome-coupon-code {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-coupon-code-value {
        letter-spacing: 0.12em;
        font-size: 1.35rem;
    }

    .welcome-coupon-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-coupon-actions .btn-main,
    .welcome-coupon-actions .btn-outline-dark {
        width: 100%;
        justify-content: center;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.iframe-map {
    width: 100%;
    height: 100%;
    border: none;
}