/*
Theme Name: Esim
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** Custom font  ***************/
@font-face {
    font-family: 'NVN Motherland Signature';
    src: url('/wp-content/themes/esim/font/NVNMotherlandSignature-Reg.woff2') format('woff2'),
           url('/wp-content/themes/esim/font/NVNMotherlandSignature-Reg.woff')   format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.textlight {
	    font-family: 'NVN Motherland Signature';
}


/*************** ADD CUSTOM CSS HERE.   ***************/

.esim-thumb-title-single {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.esim-thumb-title-single .esim-thumb-title-image-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esim-thumb-title-single .esim-thumb-title-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.esim-thumb-title-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    color: #161616;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esim-thumb-title-noimage {
    width: 100%;
    height: 100%;
    display: block;
    background: #eeeeee;
}

body.single-product .skysimhub-selector {
    width: 100%;
    padding: 24px;
    border: 1px solid #f1f1f1;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 14px 50px rgba(15, 23, 42, 0.08);
}

body.single-product .skysimhub-selector__group {
    margin-top: 5px;
}

body.single-product .skysimhub-selector__label {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

body.single-product .skysimhub-selector__options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.single-product .skysimhub-selector__header {
    margin-bottom: 18px;
}

body.single-product .skysimhub-selector__title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

body.single-product .skysimhub-selector__price-wrapper {
    font-size: 22px;
    font-weight: 900;
    color: #f4053a;
}

body.single-product .skysimhub-selector__price-wrapper .price {
    margin: 0;
}

body.single-product .skysimhub-selector__header {
    margin-bottom: 16px;
}

body.single-product .skysimhub-selector__price-wrapper {
    font-size: 28px;
    font-weight: 900;
    color: #f4053a;
}

body.single-product [data-selector-group="data"] .skysimhub-selector__options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.single-product [data-selector-group="duration"] .skysimhub-selector__options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

body.single-product [data-selector-group="sim_type"] .skysimhub-selector__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.single-product .skysimhub-selector__action {
    min-height: 56px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.single-product .skysimhub-selector__action--primary {
    border: none;
    background: #f4053a;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(244, 5, 58, 0.24);
}

body.single-product .skysimhub-selector__action--secondary {
    border: 1px solid #f4053a;
    background: #ffffff;
    color: #f4053a;
    box-shadow: none;
}

body.single-product .skysimhub-selector__action--secondary:hover,
body.single-product .skysimhub-selector__action--primary:hover {
    transform: translateY(-1px);
}

body.single-product .skysimhub-selector__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.single-product .skysimhub-selector__option:hover {
    border-color: #f4053a;
    transform: translateY(-1px);
}

body.single-product .skysimhub-selector__option.is-active {
    border-color: #f4053a;
    background: #f4053a;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(244, 5, 58, 0.22);
}

body.single-product .skysimhub-selector__quantity {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    min-height: 56px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

body.single-product .skysimhub-selector__qty-btn {
    width: 50px;
    border: 0;
    border-radius: 20px;
    background: #ffffff47;
    color: #F40531;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

body.single-product .skysimhub-selector__qty-value {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

body.single-product .skysimhub-selector__checkout {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #f4053a1f;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: none;
}

body.single-product .skysimhub-selector__checkout-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.single-product .skysimhub-selector__checkout-label {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 20px;
}

body.single-product .skysimhub-selector__selected-name {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

body.single-product .skysimhub-selector__selected-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    color: #6b7280;
    font-size: 13px;
}

body.single-product .skysimhub-selector__total-wrap {
    min-width: 210px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body.single-product .skysimhub-selector__price-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 28px;
    margin-bottom: 6px;
}

body.single-product .skysimhub-selector__regular-price {
    color: #9ca3af;
    font-size: 15px;
    text-decoration: line-through;
}

body.single-product .skysimhub-selector__discount-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(244, 5, 58, 0.12);
    color: #f4053a;
    font-size: 13px;
    font-weight: 700;
}

body.single-product .skysimhub-selector__total-price {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 900;
    color: #f4053a;
}

body.single-product .skysimhub-selector__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.esim-album-banner-wrapper {
    margin: 32px 0;
}

.esim-album-banner {
    width: 100%;
    min-height: 260px;
    border-radius: 28px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

@media (max-width: 768px) {
    .esim-album-banner {
        min-height: 180px;
        border-radius: 20px;
    }
}


/* Canh giữa phần sản phẩm liên quan */
.related.products,
.related.products .products {
    text-align: center;
}

.related.products .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.related.products .products .product {
    float: none;
    margin: 0;
    display: inline-flex;
    flex-direction: column;
}

body.single-product .skysimhub-selector__action {
    min-height: 56px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
}

body.single-product .skysimhub-selector__action--primary {
    border: 1px solid #f4053a;
    background: #f4053a;
    color: #ffffff;
}

body.single-product .skysimhub-selector__action--secondary {
    border: 1px solid #f4053a;
    background: #ffffff;
    color: #f4053a;
}

body.single-product .skysimhub-gallery__info-card {
    border: 1px solid #f1f5f9;
}

/* ============ Thông tin sản phẩm eSIM ============ */
.esim-product-info-section {
    padding: 20px;

}

.esim-product-info-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    border-bottom: 2px solid #f4053a;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.esim-product-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.esim-product-info-list dt {
    font-weight: 700;
    color: #374151;
    font-size: 14px;
    margin-bottom: 5px;
}

.esim-product-info-list dd {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Admin product info */
.esim-admin-product-info h3 {
    color: #0073aa;
    margin-bottom: 15px;
}

.esim-admin-product-info table td {
    vertical-align: top;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .esim-thumb-title-single {
        gap: 10px;
    }

    .esim-thumb-title-single .esim-thumb-title-image-wrap {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .esim-thumb-title-text {
        font-size: 16px;
    }

    body.single-product .skysimhub-selector {
        padding: 18px;
    }

    body.single-product .skysimhub-selector__options {
        gap: 8px;
    }

    body.single-product .skysimhub-selector__checkout {
        padding: 18px;
    }

    body.single-product .skysimhub-selector__actions {
        grid-template-columns: 1fr;
    }

    /* Product info responsive */
    .esim-product-info-list {
        grid-template-columns: 1fr;
    }
}

/* ============ BLOG ARCHIVE & SINGLE ============ */
.esim-container { max-width: 1200px; margin: 0 auto; padding: 40px 15px; }

/* ARCHIVE HEADER */
.esim-archive-header { margin-bottom: 50px; text-align: center; }
.esim-archive-title { font-size: 38px; font-weight: 700; color: #111; margin-bottom: 20px; }
.esim-archive-title .text-red { color: #f4053a; }
.esim-archive-description { max-width: 800px; margin: 0 auto; color: #555; font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
.esim-category-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.esim-cat-btn { padding: 10px 25px; border-radius: 30px; background: #fff; border: 1px solid #ddd; color: #333; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.esim-cat-btn:hover, .esim-cat-btn.active { background: #f4053a; color: #fff; border-color: #f4053a; box-shadow: 0 4px 10px rgba(244,5,58,0.2); }

/* POST GRID */
.esim-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.esim-post-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.esim-post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.esim-post-thumbnail { position: relative; height: 220px; overflow: hidden; background: #f5f5f5; }
.esim-post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.esim-post-card:hover .esim-post-thumbnail img { transform: scale(1.05); }
.esim-post-date { position: absolute; bottom: 0; left: 0; background: #fff; padding: 6px 15px; font-size: 13px; font-weight: 600; color: #555; border-top-right-radius: 10px; }
.esim-post-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.esim-post-title { font-size: 18px; font-weight: 700; margin: 0 0 15px 0; line-height: 1.4; }
.esim-post-title a { color: #111; text-decoration: none; transition: color 0.3s; }
.esim-post-title a:hover { color: #f4053a; }
.esim-post-excerpt { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 0; flex-grow: 1; }
.esim-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 10px; }
.esim-pagination .page-numbers { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: #fff; border-radius: 5px; color: #333; font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.05); text-decoration: none; }
.esim-pagination .page-numbers.current, .esim-pagination .page-numbers:hover { background: #f4053a; color: #fff; }

/* SINGLE PAGE */
.esim-breadcrumb { margin-bottom: 25px; font-size: 14px; color: #777; }
.esim-breadcrumb a { color: #333; text-decoration: none; font-weight: 500; }
.esim-breadcrumb span { color: #f4053a; font-weight: 600; }
.esim-single-layout { display: flex; flex-wrap: wrap; gap: 40px; }
.esim-main-content { flex: 1; min-width: 0; }
.esim-sidebar { width: 300px; flex-shrink: 0; }
.esim-single-title { font-size: 32px; font-weight: 800; line-height: 1.3; color: #111; margin: 0 0 20px 0; }
.esim-single-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: #666; margin-bottom: 30px; }
.esim-single-meta a { color: #f4053a; font-weight: 600; text-decoration: none; }
.esim-single-featured-image { margin-bottom: 30px; border-radius: 12px; overflow: hidden; max-height: 450px; background: #eee; }
.esim-single-featured-image img { width: 100%; height: auto; display: block; object-fit: cover; }

/* MỤC LỤC - TABLE OF CONTENTS */
.esim-toc { background: #fffafb; border: 1px dashed #f4053a; border-radius: 8px; padding: 25px; margin-bottom: 30px; }
.esim-toc-header { display: flex; align-items: center; justify-content: center; margin-bottom: 15px; font-size: 18px; color: #111; border-bottom: 1px solid #fce8eb; padding-bottom: 10px; }
.esim-toc-icon { margin-right: 10px; font-size: 20px; color: #f4053a; }
.esim-toc-body ul { list-style: none; padding: 0; margin: 0; }
.esim-toc-body li { margin-bottom: 10px; }
.esim-toc-body li a { color: #444; font-size: 15px; text-decoration: none; transition: color 0.2s; display: block; }
.esim-toc-body li a:hover { color: #f4053a; }
.esim-toc-body .toc-h3 { padding-left: 20px; font-size: 14px; }
.esim-toc-body .toc-h3 a { color: #666; }

/* CONTENT & SOCIAL */
.esim-entry-content { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 40px; }
.esim-entry-content h2, .esim-entry-content h3 { color: #111; margin-top: 30px; margin-bottom: 15px; font-weight: 700; }
.esim-entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.esim-social-share { display: flex; gap: 15px; justify-content: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 25px 0; margin-bottom: 50px; }
.share-btn { display: inline-flex; align-items: justify; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 18px; text-decoration: none; font-weight: bold; align-items: center; transition: transform 0.3s; }
.share-btn:hover { transform: translateY(-3px); color: #fff;}
.share-btn.facebook { background: #3b5998; }
.share-btn.tiktok { background: #000; }
.share-btn.instagram { background: #e1306c; }
.share-btn.youtube { background: #ff0000; }

/* RELATED & SIDEBAR */
.esim-related-title, .widget-title { font-size: 24px; font-weight: 800; color: #111; margin: 0 0 25px 0; }
.esim-btn-outline { display: inline-block; padding: 10px 30px; border: 2px solid #f4053a; border-radius: 30px; color: #f4053a; font-weight: 700; text-decoration: none; transition: all 0.3s; }
.esim-btn-outline:hover { background: #f4053a; color: #fff; }

.esim-widget-popular { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.popular-posts-list { display: flex; flex-direction: column; gap: 15px; }
.popular-post-item { display: flex; gap: 15px; align-items: center; }
.popular-post-thumb { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.popular-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-post-info { flex: 1; min-width: 0; }
.popular-post-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0; }
.popular-post-title a { color: #333; text-decoration: none; transition: color 0.2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-post-title a:hover { color: #f4053a; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .esim-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .esim-archive-title { font-size: 28px; }
    .esim-post-grid { grid-template-columns: 1fr; }
    .esim-single-layout { flex-direction: column; }
    .esim-sidebar { width: 100%; }
    .esim-single-title { font-size: 24px; }
}

/* ============ CUSTOM CHECKOUT ============ */
.page-checkout .cart-container.page-checkout {
    max-width: 1280px;
}

.esim-checkout-form {
    margin-top: 10px;
}

.esim-checkout-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 55%, #fff1f4 100%);
    border: 1px solid rgba(244, 5, 58, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.esim-checkout-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(244, 5, 58, 0.1);
    color: #f4053a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.esim-checkout-hero__title {
    margin: 12px 0 10px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
}

.esim-checkout-hero__description {
    margin: 0;
    max-width: 720px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.esim-checkout-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    max-width: 360px;
}

.esim-checkout-hero__badge,
.esim-checkout-summary-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.esim-checkout-hero__badge::before,
.esim-checkout-summary-benefit::before {
    content: "✓";
    color: #16a34a;
    font-weight: 800;
}

.esim-checkout-layout {
    align-items: flex-start;
}

.esim-checkout-card {
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.esim-checkout-card--summary {
    padding: 24px;
}

.esim-checkout-card__header {
    margin-bottom: 22px;
}

.esim-checkout-card__step {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.esim-checkout-card__title {
    margin: 14px 0 8px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.esim-checkout-card__description {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.esim-checkout-summary-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.page-checkout .esim-checkout-customer-details > .clear + .clear {
    margin-top: 24px;
}

.page-checkout .woocommerce-billing-fields,
.page-checkout .woocommerce-shipping-fields,
.page-checkout .woocommerce-additional-fields {
    padding: 24px;
    border-radius: 22px;
    background: #fbfcfe;
    border: 1px solid #edf2f7;
}

.page-checkout .woocommerce-billing-fields > h3,
.page-checkout .woocommerce-shipping-fields > h3,
.page-checkout .woocommerce-additional-fields > h3 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.page-checkout .woocommerce-checkout .form-row {
    margin-bottom: 14px;
}

.page-checkout .woocommerce-checkout label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.page-checkout .select2-container .select2-choice,
.page-checkout .select2-container .select2-selection,
.page-checkout input[type="email"],
.page-checkout input[type="tel"],
.page-checkout input[type="text"],
.page-checkout input[type="number"],
.page-checkout select,
.page-checkout textarea {
    min-height: 54px;
    border: 1px solid #dbe3f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.page-checkout textarea {
    min-height: 120px;
    padding-top: 14px;
}

.page-checkout .select2-container .select2-selection,
.page-checkout input[type="email"],
.page-checkout input[type="tel"],
.page-checkout input[type="text"],
.page-checkout input[type="number"],
.page-checkout select,
.page-checkout textarea {
    padding: 12px 16px;
}

.page-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    color: #111827;
}

.page-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 10px;
}

.page-checkout .select2-container .select2-selection:focus,
.page-checkout input:focus,
.page-checkout select:focus,
.page-checkout textarea:focus {
    border-color: rgba(244, 5, 58, 0.55);
    box-shadow: 0 0 0 4px rgba(244, 5, 58, 0.1);
    background: #ffffff;
}

.page-checkout .woocommerce-checkout-review-order,
.page-checkout #order_review {
    background: transparent;
}

.page-checkout .shop_table {
    margin: 0 0 18px;
    border: 0;
}

.page-checkout .shop_table thead th,
.page-checkout .shop_table tbody td,
.page-checkout .shop_table tfoot th,
.page-checkout .shop_table tfoot td {
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.page-checkout #payment {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    overflow: hidden;
}

.page-checkout #payment .place-order {
    padding: 20px;
}

.page-checkout #payment #place_order,
.page-checkout .woocommerce-checkout-payment .button.alt {
    min-height: 56px;
    width: 100%;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff0037 0%, #ff6a00 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(244, 5, 58, 0.24);
}

.page-checkout .woocommerce-privacy-policy-text,
.page-checkout .form-row.terms {
    font-size: 13px;
    color: #6b7280;
}

.page-checkout .checkout-sidebar {
    position: relative;
}

.page-checkout .checkout-sidebar .col-inner,
.page-checkout .esim-checkout-sidebar-shell {
    border-radius: 28px;
}

.page-checkout .woocommerce-error,
.page-checkout .woocommerce-info,
.page-checkout .woocommerce-message {
    border-radius: 18px;
    border: 0;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1024px) {
    .esim-checkout-hero {
        flex-direction: column;
    }

    .esim-checkout-hero__badges {
        justify-content: flex-start;
        max-width: none;
    }

    .esim-checkout-card__title,
    .esim-checkout-hero__title {
        font-size: 24px;
    }
}

@media (max-width: 849px) {
    .page-checkout .row.esim-checkout-layout {
        display: flex;
        flex-direction: column;
    }

    .page-checkout .esim-checkout-main-col,
    .page-checkout .esim-checkout-sidebar-col {
        max-width: 100%;
        flex-basis: 100%;
        width: 100%;
    }

    .esim-checkout-card,
    .esim-checkout-hero {
        padding: 20px;
        border-radius: 22px;
    }

    .page-checkout .woocommerce-billing-fields,
    .page-checkout .woocommerce-shipping-fields,
    .page-checkout .woocommerce-additional-fields {
        padding: 18px;
        border-radius: 18px;
    }
}

@media (max-width: 549px) {
    .page-checkout .woocommerce-checkout .form-row-first,
    .page-checkout .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
    }

    .esim-checkout-card__title,
    .esim-checkout-hero__title {
        font-size: 22px;
    }

    .esim-checkout-hero__badge,
    .esim-checkout-summary-benefit {
        width: 100%;
        justify-content: flex-start;
    }
}
