:root {
    --mypromo-yellow: #FFD974;
    --mypromo-yellow-hover: #f3c957;
    --mypromo-charcoal: #2D2D2D;
    --mypromo-charcoal-hover: #181818;
    --mypromo-white: #fff;
    --community-green: #2D2D2D;
    --community-green-dark: #181818;
    --community-bg: #fff;
    --accent: #FFD974;
    --accent-hover: #f3c957;
    --mypromo-page: #f0f2f5;
    --mypromo-surface: #fff;
    --mypromo-border: #d6dbe1;
    --mypromo-muted: #68737e;
    --mypromo-radius: 9px;
    --mypromo-shadow: 0 1px 3px rgba(22, 29, 37, .08);
    --mypromo-content: 1180px;
}

html, body { width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; background-color: var(--mypromo-page); color: #3c3c3c; }
body > main, header.community-top-header { width: 100%; max-width: 100%; }
body > main { min-height: 62vh; margin: 0; padding: 0; }
body > main > main { margin: 0; }
.container { max-width: var(--mypromo-content); }
.community-feed-page, .community-search-page { background: var(--mypromo-page); }
h1, h2, h3, h4, h5, h6 { color: var(--mypromo-charcoal); }
a { color: var(--mypromo-charcoal); }
a:hover, a:focus { color: #111; }

/* Shared navigation */
header.community-top-header { height: 56px; border-top: 0; background: var(--mypromo-white); }
header.community-top-header .main-menu > ul > li > a { color: var(--mypromo-charcoal) !important; }
header.community-top-header .main-menu > ul > li > a:hover,
header.community-top-header .main-menu > ul > li > a.is-active { color: var(--mypromo-charcoal) !important; background: #fff8e5; border-color: var(--mypromo-yellow); }
header.community-top-header .main-menu > ul > li > a.is-active:not(.menu-submit-link):after { background: var(--mypromo-yellow); }
header.community-top-header .main-menu > ul > li > a.menu-submit-link { color: var(--mypromo-white) !important; background: var(--mypromo-charcoal); border-color: var(--mypromo-charcoal); }
header.community-top-header .main-menu > ul > li > a.menu-submit-link:hover,
header.community-top-header .main-menu > ul > li > a.menu-submit-link.is-active { color: var(--mypromo-charcoal) !important; background: var(--mypromo-yellow); border-color: var(--mypromo-yellow); }
header.community-top-header .community-mobile-actions a.is-active { color: var(--mypromo-charcoal); background: #fff8e5; border-color: var(--mypromo-yellow); }
header.community-top-header .community-mobile-actions a.community-mobile-post { color: var(--mypromo-white); background: var(--mypromo-charcoal); border-color: var(--mypromo-charcoal); box-shadow: 0 2px 5px rgba(45,45,45,.22); }
header.community-top-header .main-menu > ul > li > button { color: var(--mypromo-charcoal) !important; }
header.community-top-header .main-menu > ul > li > button:hover,
header.community-top-header .main-menu > ul > li > button.is-active { border-color: var(--mypromo-yellow); background: #fff8e5; }
header.community-top-header .community-mobile-actions button.community-mobile-account { color: var(--mypromo-charcoal); background: var(--mypromo-white); }

/* Drawer */
.community-menu-drawer nav i { color: var(--mypromo-charcoal); }
.community-menu-drawer nav > a:hover,
.community-drawer-signout:hover { color: var(--mypromo-charcoal); background: #fff8e5; }

/* Primary actions */
.btn_1,
a.btn_1,
button.btn_1,
.community-primary-button,
.community-search-form button,
.community-search-empty a,
.community-location-form button,
.community-thread-submit,
.page-search-shell__button,
button[type="submit"].primary,
input[type="submit"].primary {
    color: var(--mypromo-white) !important;
    background: var(--mypromo-charcoal) !important;
    border-color: var(--mypromo-charcoal) !important;
}
.btn_1:hover,
a.btn_1:hover,
button.btn_1:hover,
.community-primary-button:hover,
.community-search-form button:hover,
.community-search-empty a:hover,
.community-location-form button:hover,
.community-thread-submit:hover,
.page-search-shell__button:hover {
    color: var(--mypromo-charcoal) !important;
    background: var(--mypromo-yellow) !important;
    border-color: var(--mypromo-yellow) !important;
}

/* Yellow actions when placed on charcoal surfaces */
.bg-dark .btn_1,
.bg-dark .community-primary-button,
.charcoal-background .btn_1,
footer .btn_1,
footer button[type="submit"] {
    color: var(--mypromo-charcoal) !important;
    background: var(--mypromo-yellow) !important;
    border-color: var(--mypromo-yellow) !important;
}

/* Feed accents, filters and badges */
.community-category-link.is-active,
.community-category-group summary > a.is-active,
.community-subcategory-list a.is-active,
.community-feed-tabs a.is-active,
.community-pagination > a.is-active { color: var(--mypromo-charcoal) !important; background: var(--mypromo-yellow); border-color: var(--mypromo-yellow); }
.community-category-link:hover,
.community-feed-tabs a:hover,
.community-pagination > a:hover { color: var(--mypromo-charcoal); border-color: var(--mypromo-yellow); background: #fff8e5; }
.community-pills a,
.promo-category-badge,
.promo-category-badge.promo-category-sub,
.related-promo-badge,
.promotion-status-chip--warning,
.promotion-status-badge--warning { color: var(--mypromo-charcoal); background: #fff3c7; border-color: #f1ce6f; }
.ribbon.off,
.related-promo-card .ribbon,
.fab-new-pill { color: var(--mypromo-charcoal) !important; background: var(--mypromo-yellow) !important; }
.community-listing-heading h1,
.community-panel h2,
.community-search-section-title h2,
.related-promo-title a { color: var(--mypromo-charcoal); }

/* Community actions */
.community-deal-feed .feed-got-button,
.community-vote-button.active,
.community-vote-button:hover,
.community-thread-vote.active,
.community-thread-vote:hover { color: var(--mypromo-white); background: var(--mypromo-charcoal); border-color: var(--mypromo-charcoal); }
.community-deal-feed .feed-action-button:hover,
.community-deal-feed .feed-action-button.is-active { color: var(--mypromo-charcoal); border-color: var(--mypromo-yellow); background: #fff8e5; }

/* Forms and focus indicators */
input:focus, textarea:focus, select:focus,
.community-search-input input:focus { border-color: #d8ad3c !important; box-shadow: 0 0 0 3px rgba(255,217,116,.32) !important; }
::selection { color: var(--mypromo-charcoal); background: var(--mypromo-yellow); }

/* Shared page rhythm: removes legacy outer gaps while preserving usable card padding. */
body > main > .bg_gray,
body > main > main.bg_gray { margin: 0; background: var(--mypromo-page) !important; }
body > main > .bg_gray > .container,
body > main > main.bg_gray > .container { padding-top: 28px !important; padding-bottom: 32px !important; }
body > main .margin_60_40,
body > main .margin_60,
body > main .margin_30_40 { margin-top: 0 !important; margin-bottom: 0 !important; }
.box_order_form,
.community-panel,
.mgr-table-wrap,
.mgr-settings-card { border: 1px solid var(--mypromo-border) !important; border-radius: var(--mypromo-radius) !important; background: var(--mypromo-surface) !important; box-shadow: var(--mypromo-shadow) !important; }
.box_order_form { overflow: hidden; }
.box_order_form > .main { padding: 24px !important; }
.box_order_form h1,
.box_order_form h5 { margin: 0 0 18px; color: var(--mypromo-charcoal); font-size: 22px; font-weight: 700; }
.form-group { margin-bottom: 14px; }
.form-control,
input.form-control,
select.form-control,
textarea.form-control { min-height: 44px; border: 1px solid var(--mypromo-border); border-radius: 7px; background: #fff; color: var(--mypromo-charcoal); box-shadow: none; }
textarea.form-control { min-height: 120px; }
.btn_1,
a.btn_1,
button.btn_1,
input.btn_1 { min-height: 40px; padding: 10px 18px; border-radius: 7px !important; font-weight: 700; box-shadow: none !important; }
.login-details hr { margin: 10px 0; border-color: #e5e7eb; }
.login-details p { margin: 0; }

/* Account and Manage pages */
body.is-account-section > main,
body.is-manage-section > main { background:var(--mypromo-page); }
body.is-account-section > main > main,
body.is-manage-section > main > main { min-height:calc(100vh - 56px); }
body.is-account-section .row.justify-content-center > [class*="col-lg-4"],
body.is-manage-section .row.justify-content-center > [class*="col-lg-4"] { flex:0 0 100%; width:100%; max-width:520px; }
body.is-account-section .box_order_form,
body.is-manage-section .box_order_form { width:100%; margin:0 auto; }
body.is-account-section .box_order_form > .main,
body.is-manage-section .box_order_form > .main { padding:28px !important; }
body.is-account-section .box_order_form > form,
body.is-manage-section .box_order_form > form { margin:0; padding:0 28px 28px; }
body.is-account-section .form-horizontal,
body.is-manage-section .form-horizontal { width:100%; margin:0; }
body.is-account-section .form-group,
body.is-manage-section .form-group { width:100%; margin-right:0; margin-left:0; }
body.is-account-section .form-group > [class*="col-"],
body.is-manage-section .form-group > [class*="col-"] { width:100%; max-width:none; padding-right:0; padding-left:0; }
body.is-account-section label,
body.is-manage-section label { display:block; margin:0 0 6px; color:var(--mypromo-charcoal); font-size:12px; font-weight:600; }
body.is-account-section .form-control,
body.is-manage-section .form-control { width:100%; margin:0; padding:10px 12px; }
body.is-account-section .form-text,
body.is-manage-section .form-text { display:block; margin:6px 0 0; color:var(--mypromo-muted) !important; font-size:10px; line-height:1.55; }
body.is-account-section input[type="submit"].btn_1,
body.is-account-section button[type="submit"].btn_1,
body.is-manage-section input[type="submit"].btn_1,
body.is-manage-section button[type="submit"].btn_1 { min-width:120px; }
body.is-account-section .checkbox,
body.is-manage-section .checkbox { display:flex; align-items:center; gap:8px; }
body.is-account-section .checkbox label,
body.is-manage-section .checkbox label { display:inline; margin:0; }
body.is-account-section .text-danger,
body.is-manage-section .text-danger { display:block; margin-top:5px; font-size:10px; }
body.is-account-section .validation-summary-errors,
body.is-manage-section .validation-summary-errors { padding:10px 12px; border:1px solid #e7b6b6; border-radius:7px; background:#fff5f5; }
body.is-account-section .validation-summary-errors ul,
body.is-manage-section .validation-summary-errors ul { margin:0; padding-left:18px; }
.account-form-actions { display:flex; margin:20px 0 0 !important; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.account-back-link { display:inline-flex; align-items:center; gap:6px; color:var(--mypromo-charcoal); font-size:11px; font-weight:600; }
.account-back-link:hover { color:#000; text-decoration:underline; }

/* Older identity views that render directly into the layout. */
body.is-account-section > main > h2,
body.is-account-section > main > h3,
body.is-account-section > main > h4,
body.is-manage-section > main > h2,
body.is-manage-section > main > h3,
body.is-manage-section > main > h4 { width:min(520px,calc(100% - 24px)); margin:24px auto 0; }
body.is-account-section > main > form,
body.is-manage-section > main > form,
body.is-account-section > main > .login-page,
body.is-manage-section > main > section#page:not(:has(.registerfrm)) { width:min(520px,calc(100% - 24px)); margin:14px auto 32px; padding:24px; border:1px solid var(--mypromo-border); border-radius:var(--mypromo-radius); background:#fff; box-shadow:var(--mypromo-shadow); }
body.is-account-section > main > p,
body.is-manage-section > main > p { width:min(520px,calc(100% - 24px)); margin:10px auto; }
body.is-manage-section .registerfrm { border:1px solid var(--mypromo-border); border-radius:var(--mypromo-radius); box-shadow:var(--mypromo-shadow) !important; }
body.is-manage-section .registerfrm h1,
body.is-manage-section .registerfrm h3 { margin:8px 0 22px; font-size:22px; }
body.is-manage-section .registerfrm .line { margin:14px 0; border-color:#e5e7eb; }

/* Account and management components inherit the brand instead of legacy burgundy. */
.mgr-title,.mgr-section-title,.mgr-table td a,.mgr-ac-text strong { color: var(--mypromo-charcoal) !important; }
.mgr-section-title,.mgr-settings-title { border-left-color: var(--mypromo-yellow) !important; }
.mgr-section-title i,.mgr-ac-plus { color: var(--mypromo-charcoal) !important; }
.mgr-action-card { border-color: var(--mypromo-border) !important; border-radius: var(--mypromo-radius) !important; box-shadow: var(--mypromo-shadow) !important; }
.mgr-action-card:hover { border-color: var(--mypromo-yellow) !important; background: #fffaf0; box-shadow: 0 4px 14px rgba(45,45,45,.1) !important; }
.mgr-ac-icon { background: var(--mypromo-charcoal) !important; color: var(--mypromo-yellow) !important; box-shadow: none !important; }
.mgr-table tbody tr:hover,.mgr-settings-card a.list-group-item:hover { background: #fff8e5 !important; color: var(--mypromo-charcoal) !important; }

/* Blog listing and article pages */
.mypromo-blog-header { margin: 0; padding: 20px 0 !important; border-bottom: 1px solid var(--mypromo-border); background: var(--mypromo-page); }
.mypromo-blog-header h1,.mypromo-blog-header h5 { margin: 6px 0 0; color: var(--mypromo-charcoal); font-size: 24px; font-weight: 700; }
.mypromo-blog-page { padding-top: 24px; padding-bottom: 32px; }
.blog-grid { row-gap: 18px; }
.blog-grid > [class*="col-"] { margin-bottom: 0 !important; }
.blog-card { height: 100%; overflow: hidden; border: 1px solid var(--mypromo-border); border-radius: var(--mypromo-radius); background: #fff; box-shadow: var(--mypromo-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(22,29,37,.11); }
.blog-card-link { display: block; height: 100%; color: var(--mypromo-charcoal); }
.blog-media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #eceff2; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-media .media-gradient { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.78)); }
.blog-title { position: absolute; right: 16px; bottom: 14px; left: 16px; z-index: 1; margin: 0; color: #fff; font-size: 16px; line-height: 1.35; }
.blog-body { display: flex; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 10px; }
.blog-date { color: var(--mypromo-muted); font-size: 10px; }
.read-cta { color: var(--mypromo-charcoal); font-size: 11px; font-weight: 700; }
.mypromo-blog-detail .singlepost { overflow: hidden; border: 1px solid var(--mypromo-border); border-radius: var(--mypromo-radius); background: #fff; box-shadow: var(--mypromo-shadow); }
.mypromo-blog-detail .singlepost > figure img { width: 100%; }
.mypromo-blog-detail .postmeta,.mypromo-blog-detail .post-content { margin-left: 20px !important; margin-right: 20px !important; }
.mypromo-blog-detail .post-content > .container { width: 100%; max-width: 100%; padding-left: 0; padding-right: 0; }

/* Compact, aligned footer */
.mypromo-footer-ad { margin: 0; padding: 18px 0; border-top: 1px solid var(--mypromo-border); background: var(--mypromo-page); }
footer.mypromo-footer { margin: 0; padding: 0; border-top: 4px solid var(--mypromo-yellow); background: var(--mypromo-charcoal); color: #d7d7d7; font-family: "Poppins", Arial, sans-serif; font-size: 14px; line-height: 1.6; }
footer.mypromo-footer .mypromo-footer-inner { padding-top: 26px; padding-bottom: 18px; }
footer.mypromo-footer h3 { margin: 0 0 10px; color: var(--mypromo-yellow); font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
footer.mypromo-footer p { color: #d7d7d7; font-size: 13px; line-height: 1.65; }
footer.mypromo-footer a { color: #d7d7d7; font-size: 14px; line-height: 1.6; font-weight: 400; }
footer.mypromo-footer a:hover { color: var(--mypromo-yellow); }
footer.mypromo-footer ul { margin: 0; padding: 0; }
footer.mypromo-footer .links li { margin-bottom: 6px; line-height: 1.6; }
footer.mypromo-footer .row > div { margin-bottom: 16px; }
footer.mypromo-footer hr { margin: 4px 0 14px; border-color: #4a4a4a; }
footer.mypromo-footer .add_bottom_25 { margin-bottom: 0 !important; }
footer.mypromo-footer .additional_links { display: flex; margin: 0; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
footer.mypromo-footer .additional_links li { margin: 0; }
footer.mypromo-footer .additional_links a { font-size: 13px; }
footer.mypromo-footer .subscribe-widget input,
footer.mypromo-footer .subscribe-widget button { font-family: "Poppins", Arial, sans-serif; font-size: 14px; }
footer.mypromo-footer .subscribe-widget-copy { font-size: 13px; }
footer.mypromo-footer .subscribe-widget-note { margin-bottom: 14px; font-size: 12px; }
footer.mypromo-footer .subscribe-widget-message { color: #8ec343; font-size: 13px; font-weight: 500; }

/* Business profile pages: shared typography and card system */
.mypromo-profile-page { padding: 28px 0 42px; color: var(--mypromo-charcoal); font-family: "Poppins", Arial, sans-serif; font-size: 14px; line-height: 1.6; }
.mypromo-profile-page .margin_detail { margin-top: 0; margin-bottom: 0; }
.mypromo-profile-page-heading { display: flex; min-height: 72px; margin-bottom: 16px; padding: 14px 18px; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--mypromo-border); border-radius: 10px; background: #fff; }
.mypromo-profile-page-heading span { display: block; color: #8a6500; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.mypromo-profile-page-heading h2,.mypromo-profile-content-card h2 { margin: 2px 0 0; color: var(--mypromo-charcoal); font-size: 21px; line-height: 1.35; font-weight: 700; }
.mypromo-profile-page-heading > strong { flex: 0 0 auto; padding: 6px 10px; border-radius: 18px; background: #fff3c8; color: #705500; font-size: 12px; font-weight: 700; }
.mypromo-profile-page .related-promo-list { gap: 14px; }
.mypromo-profile-page .related-promo-card { border: 1px solid var(--mypromo-border); border-radius: 10px; background: #fff; box-shadow: none; font-family: "Poppins", Arial, sans-serif; }
.mypromo-profile-page .related-promo-title { font-size: 16px; line-height: 1.4; }
.mypromo-profile-page .related-promo-subtitle { font-size: 13px; line-height: 1.55; }
.mypromo-profile-page .related-promo-breadcrumb,.mypromo-profile-page .related-promo-meta { font-size: 12px; }
.mypromo-profile-page .related-promo-date { border-radius: 16px; background: #f1f3f5; color: #5f6872; font-size: 11px; }
.mypromo-profile-content-card,.mypromo-profile-logo-panel { padding: 20px; border: 1px solid var(--mypromo-border); border-radius: 10px; background: #fff; }
.mypromo-profile-content-card .profile-desc { margin-top: 14px; color: #46505a; font-size: 14px; line-height: 1.75; text-align: left; }
.mypromo-profile-content-card .profile-desc p:last-child { margin-bottom: 0; }
.mypromo-profile-home .mypromo-profile-content-card { min-height: 0; }
.mypromo-profile-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.mypromo-profile-stats > a,.mypromo-profile-stats > div { display: flex; min-width: 0; min-height: 88px; padding: 14px; align-items: center; gap: 11px; border: 1px solid var(--mypromo-border); border-radius: 10px; background: #fff; color: var(--mypromo-charcoal); }
.mypromo-profile-stats > a { transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.mypromo-profile-stats > a:hover,.mypromo-profile-stats > a:focus { border-color: #d3aa38; box-shadow: 0 6px 16px rgba(30,38,45,.09); transform: translateY(-2px); }
.mypromo-profile-stats > * > i:first-child { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; flex: 0 0 38px; border-radius: 9px; background: #fff3c8; color: #765900; font-size: 16px; }
.mypromo-profile-stats > * > span { min-width: 0; flex: 1; }
.mypromo-profile-stats strong,.mypromo-profile-stats small { display: block; }
.mypromo-profile-stats strong { color: var(--mypromo-charcoal); font-size: 20px; line-height: 1.2; }
.mypromo-profile-stats small { margin-top: 3px; color: #6f7983; font-size: 11px; }
.mypromo-profile-stats > a > i:last-child { color: #8c949d; font-size: 10px; }
.mypromo-profile-preview { padding: 18px; border: 1px solid var(--mypromo-border); border-radius: 10px; background: #fff; }
.mypromo-profile-preview-heading { display: flex; margin-bottom: 14px; align-items: center; justify-content: space-between; gap: 12px; }
.mypromo-profile-preview-heading h2 { margin: 0; color: var(--mypromo-charcoal); font-size: 19px; font-weight: 700; }
.mypromo-profile-preview-heading a { color: var(--mypromo-charcoal); font-size: 12px; font-weight: 700; }
.mypromo-profile-preview .related-promo-card { background: #fff; }
.mypromo-profile-sidebar { align-self: flex-start; }
.mypromo-profile-logo-panel { width: 100%; }
.mypromo-profile-logo-wrap { display: flex; min-height: 170px; margin-bottom: 12px; align-items: center; justify-content: center; }
.mypromo-profile-logo-panel .profile-image-logo { width: auto; max-width: 100%; max-height: 170px; border: 1px solid var(--mypromo-border); border-radius: 10px; box-shadow: none; object-fit: contain; }
.mypromo-profile-empty { padding: 34px 20px; border: 1px dashed #cbd2d9; border-radius: 10px; background: #fff; color: #68727c; font-size: 14px; text-align: center; }
.mypromo-profile-page .related-promo-card.is-expired { opacity: .92; }
.mypromo-profile-page .related-promo-card.is-expired .related-promo-image { filter: saturate(.72); }
.mypromo-expired-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 4px 8px; border-radius: 14px; background: var(--mypromo-charcoal); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.hero_in.detail_page .wrapper .main_info h1 { font-family: "Poppins", Arial, sans-serif; font-size: clamp(26px,3vw,36px); line-height: 1.25; font-weight: 700; }
.hero_in.detail_page .wrapper .buttons a.btn_hero { border-radius: 7px; font-family: "Poppins", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.secondary_nav #secondary_nav a { font-family: "Poppins", Arial, sans-serif; font-size: 13px; font-weight: 600; }

@media (max-width: 767px) {
    .mypromo-profile-page { padding: 16px 0 28px; }
    .mypromo-profile-page-heading { min-height: 0; padding: 13px 14px; align-items: flex-start; }
    .mypromo-profile-page-heading h2,.mypromo-profile-content-card h2 { font-size: 18px; }
    .mypromo-profile-content-card,.mypromo-profile-logo-panel { padding: 14px; }
    .mypromo-profile-logo-panel { margin-bottom: 14px; }
    .mypromo-profile-stats { grid-template-columns: 1fr; gap: 9px; }
    .mypromo-profile-stats > a,.mypromo-profile-stats > div { min-height: 74px; padding: 11px 13px; }
    .mypromo-profile-preview { padding: 13px; }
    .mypromo-profile-preview-heading h2 { font-size: 17px; }
    .mypromo-profile-page .related-promo-title { font-size: 15px; }
    .secondary_nav #secondary_nav a { font-size: 13px; }
}

/* Global page-loading progress */
#mypromo-page-progress { position: fixed; z-index: 2147483647; top: 0; right: 0; left: 0; height: 4px; overflow: hidden; pointer-events: none; opacity: 0; }
#mypromo-page-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: var(--mypromo-yellow); box-shadow: 0 0 9px rgba(255,217,116,.9); }
#mypromo-page-progress.is-loading { opacity: 1; }
#mypromo-page-progress.is-loading span { animation: mypromo-page-loading 9s cubic-bezier(.12,.65,.2,1) forwards; }
#mypromo-page-progress.is-complete { opacity: 0; transition: opacity .28s ease .1s; }
#mypromo-page-progress.is-complete span { transform: scaleX(1); transition: transform .16s ease; }
@keyframes mypromo-page-loading { 0% { transform: scaleX(.04); } 18% { transform: scaleX(.34); } 48% { transform: scaleX(.62); } 75% { transform: scaleX(.79); } 100% { transform: scaleX(.9); } }
@media (prefers-reduced-motion: reduce) { #mypromo-page-progress.is-loading span { animation-duration: 1.5s; } }

@media (max-width: 991px) {
    .main-menu-improved > ul > li > a.menu-submit-link { color: var(--mypromo-white) !important; background: var(--mypromo-charcoal) !important; border-color: var(--mypromo-charcoal) !important; }
    .main-menu-improved > ul > li > a.is-active:not(.menu-submit-link) { color: var(--mypromo-charcoal) !important; background: #fff8e5; border-left-color: var(--mypromo-yellow); }
}
@media (max-width: 767px) {
    body > main > .bg_gray > .container,
    body > main > main.bg_gray > .container { padding: 16px 10px 22px !important; }
    .box_order_form > .main { padding: 18px !important; }
    .mypromo-blog-header { padding: 14px 12px !important; }
    .mypromo-blog-header h1,.mypromo-blog-header h5 { font-size: 20px; line-height: 1.3; }
    .mypromo-blog-page { padding: 14px 10px 22px; }
    .mypromo-blog-detail .postmeta,.mypromo-blog-detail .post-content { margin-left: 14px !important; margin-right: 14px !important; }
    footer.mypromo-footer .mypromo-footer-inner { padding: 20px 14px 14px; }
    footer.mypromo-footer .row > div { margin-bottom: 8px; }
    footer.mypromo-footer h3 { min-height: 38px; margin: 0; display: flex; align-items: center; border-bottom: 1px solid #444; }
    body.is-account-section .box_order_form > .main,
    body.is-manage-section .box_order_form > .main { padding:20px !important; }
    body.is-account-section .box_order_form > form,
    body.is-manage-section .box_order_form > form { padding:0 20px 20px; }
    body.is-account-section > main > form,
    body.is-manage-section > main > form { padding:18px; }
}
