/* Prevent any horizontal page overflow / viewport blowout */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}
.bg-gray, .page-container, .wrapper, .mth {
    max-width: 100% !important;
    overflow-x: hidden;
}

/*
 * MOBILETECH GSM - storefront theme (black & gold), loaded on every page after the base theme.
 * Layout idea: dark compact header, big centred search, rotating promo slides with an
 * "order" button, category shortcuts and a horizontal row of service cards per group.
 */
:root {
    --mts-gold-1: #F5D36B;
    --mts-gold-2: #D4A017;
    --mts-gold-3: #9C7412;
    --mts-gold: linear-gradient(135deg, var(--mts-gold-1) 0%, var(--mts-gold-2) 55%, var(--mts-gold-3) 100%);
    --mts-black: #0E0E11;
    --mts-black-2: #16161B;
    --mts-black-3: #1F1F26;
    --mts-line: #2B2B33;
    --mts-paper: #F6F4EE;
    --mts-card: #FFFFFF;
    --mts-card-line: #E7E1D0;
    --mts-ink: #1C1C22;
    --mts-muted: #6E6A5E;
    --mts-radius: 18px;
}

/* ---------- header ---------- */
.header-top { background: var(--mts-black) !important; border-bottom: 1px solid var(--mts-line); }
.header-top .nav-link, .header-top a, .header-top span { color: #C9C3B0 !important; }
.header-top .dropdown-menu { background: var(--mts-black-2); border: 1px solid var(--mts-line); border-radius: 12px; }
.header-top .dropdown-item:hover { background: rgba(212, 160, 23, .12) !important; }
.header-top .flag { vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.header-middle, .header-bottom { background: var(--mts-black-2) !important; }
.header-middle { border-bottom: 2px solid transparent; border-image: var(--mts-gold) 1; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-middle .navbar-brand img { max-height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(212, 160, 23, .35)); }
.header-middle .navbar-mastermenu .nav-link,
.header-middle .navbar-nav .nav-link { color: #ECE8DC !important; font-weight: 600; transition: color .15s; }
.header-middle .navbar-mastermenu .nav-link:hover,
.header-middle .navbar-nav .nav-link:hover { color: var(--mts-gold-1) !important; }
.header-middle .navbar-toggler { color: var(--mts-gold-1) !important; }
.header-middle .btn.bg-secondary,
.header-middle a.btn[data-target="#login"] {
    background: var(--mts-gold) !important; color: var(--mts-black) !important; border: 0 !important;
    border-radius: 10px; font-weight: 800; box-shadow: 0 6px 18px rgba(156, 116, 18, .35);
}
.header-middle .dropdown-menu { background: var(--mts-black-2); border: 1px solid var(--mts-line); border-radius: 12px; }
.header-middle .dropdown-menu a, .header-middle .dropdown-item { color: #ECE8DC !important; }
.header-middle .dropdown-menu a:hover, .header-middle .dropdown-item:hover { background: rgba(212, 160, 23, .12) !important; color: var(--mts-gold-1) !important; }

/* ---------- override the stock colour theme (theme3: navy #1C2533 + orange #E8701E) ----------
   Same selectors as css/themes/theme3.css, prefixed with "html" so they win over its !important rules. */
html .header-bottom, html .modal-header, html .bg-primary, html .footer-top .link-heading:after,
html .chosen-container .chosen-results li.highlighted, html .page-index header.navbar-shrink,
html .steps ul li.first a, html .steps ul li.checked a { background: var(--mts-black-2) !important; }
html .modal-menu .modal-header, html .cartminiview .badge-success,
html .custom-checkbox .custom-control-input:checked~.custom-control-label::before, html button.btn.btn-primary,
html .wizard .actions li a, html .bg-secondary, html .nav-pills .nav-link.active, html .nav-pills .show>.nav-link,
html .navbar-expand-lg .navbar-nav .nav-item .nav-link:not(.bg-secondary)::before {
    background: var(--mts-gold) !important; color: var(--mts-black) !important;
}
html .modal-menu .modal-header { background: var(--mts-black-2) !important; color: #fff !important; }
html .card-product:hover, html ul.nav-pills.flex-nowrap .nav-link.active, html h3.title span,
html .price-details table td.double-border { border-color: var(--mts-gold-2); }
html .bg-light { background: rgba(212, 160, 23, .07) !important; }
html .form-control:focus { border-color: var(--mts-gold-2); box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .18); }

/* ---------- page shell ---------- */
.bg-gray { background: var(--mts-paper) !important; }
.page-title { font-weight: 800; color: var(--mts-ink); letter-spacing: -.3px; }
.breadcrumb { background: transparent; }
.breadcrumb a { color: var(--mts-gold-3); }

/* ---------- buttons ---------- */
.btn-primary, .btn-success, .btn.btn-order, input[type=submit].btn {
    background: var(--mts-gold) !important; border: 0 !important; color: var(--mts-black) !important;
    font-weight: 800; border-radius: 10px;
}
.btn-primary:hover, .btn-success:hover { filter: brightness(1.07); }
.btn-outline-primary { color: var(--mts-gold-3) !important; border-color: var(--mts-gold-2) !important; }
.btn-outline-primary:hover { background: var(--mts-gold) !important; color: var(--mts-black) !important; }
a { color: #8F6A10; }
a:hover { color: var(--mts-gold-2); }

/* ---------- section titles + stock service cards (other pages) ---------- */
.index-items h3.title, .homepagegroups h3.title { border: 0; margin-bottom: 18px; }
.index-items h3.title span, .homepagegroups h3.title span {
    display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--mts-ink); font-size: 22px;
}
.index-items h3.title span::before, .homepagegroups h3.title span::before {
    content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--mts-gold);
}
.card.card-product {
    border: 1px solid var(--mts-card-line); border-radius: 16px; overflow: hidden; background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.card-product:hover { transform: translateY(-4px); border-color: var(--mts-gold-2); box-shadow: 0 16px 40px rgba(28, 28, 34, .12); }
.card.card-product .card-product-img { background: radial-gradient(120% 120% at 0% 0%, #2A2410 0%, var(--mts-black) 60%); min-height: 120px; }
.card.card-product .image-not-found { background: transparent !important; color: var(--mts-gold-1); }
.card.card-product .card-info { padding: 12px 14px; color: var(--mts-ink); font-weight: 600; }
.card.card-group .card-product-img { min-height: 110px; }
.card.card-product .card-product-img > .d-flex { height: 130px !important; min-height: 130px; }
.card.card-product .card-product-img img.card-img-top { max-height: 130px; width: auto; max-width: 100%; object-fit: contain; }
.card.card-product .image-not-found .big-icon i { font-size: 40px !important; opacity: .9; }
.card.card-group .mt-group-name {
    white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    line-height: 1.35; min-height: 2.7em; margin-top: 0 !important; font-size: 14px;
}
.card.card-product .price { color: var(--mts-gold-3) !important; font-weight: 800; }
.card.card-product .badge-success { background: #E7F7EC; color: #17693A; }
.card.card-product .badge-danger { background: #FDECEC; color: #A61B1B; }

/* ---------- footer ---------- */
footer, .footer, .footer-links { background: var(--mts-black) !important; color: #B9B3A0 !important; }
footer a, .footer a, .footer-links a { color: #E3DCC6 !important; }
footer a:hover, .footer a:hover, .footer-links a:hover { color: var(--mts-gold-1) !important; }
footer h4, footer h5, footer h6, .footer-links h4, .footer-links h5, .footer-links h6 { color: var(--mts-gold-1) !important; }

/* MOBILETECH footer (chunks/footer-links.tpl) */
footer.mtf { position: relative; margin-top: 0; font-size: 14px; }
footer.mtf::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mts-gold); opacity: .85; }
.mtf-top { padding: 56px 0 28px; background: radial-gradient(120% 140% at 0% 0%, #1D1A10 0%, var(--mts-black) 55%); }
.mtf-col { margin-bottom: 28px; }
.mtf-brand { display: inline-block; font-size: 24px; font-weight: 900; letter-spacing: .04em; text-decoration: none !important;
    background: var(--mts-gold); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.mtf-about { margin: 12px 0 16px; color: #B9B3A0; line-height: 1.65; max-width: 360px; }
.mtf-badges { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.mtf-badges li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
    color: #E3DCC6; background: rgba(245, 211, 107, .07); border: 1px solid rgba(245, 211, 107, .22); }
.mtf-badges i { color: var(--mts-gold-1); font-size: 11px; }
.mtf-social { gap: 10px; }
.mtf-social .nav-link { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    border: 1px solid rgba(245, 211, 107, .35); color: var(--mts-gold-1) !important; transition: background .15s ease, color .15s ease; }
.mtf-social .nav-link:hover { background: var(--mts-gold); color: var(--mts-black) !important; border-color: transparent; }
footer.mtf h5.mtf-heading { position: relative; margin: 6px 0 20px; padding-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--mts-gold-1) !important; background: none !important; }
footer.mtf h5.mtf-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; border-radius: 2px; background: var(--mts-gold); }
.mtf-links, .mtf-contact { list-style: none; padding: 0; margin: 0; }
.mtf-links li { margin-bottom: 10px; }
footer.mtf .mtf-links a { color: #CFC8B2 !important; text-decoration: none; transition: color .15s ease, padding .15s ease; }
footer.mtf .mtf-links a:hover { color: var(--mts-gold-1) !important; padding-left: 4px; }
.mtf-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #CFC8B2; }
.mtf-contact i { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
    background: rgba(245, 211, 107, .08); color: var(--mts-gold-1); font-size: 13px; }
footer.mtf .mtf-contact a { color: #E3DCC6 !important; text-decoration: none; }
footer.mtf .mtf-contact a:hover { color: var(--mts-gold-1) !important; }
.mtf-news { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--mts-black-2); border: 1px solid var(--mts-line); }
.mtf-news p { margin: 0 0 12px; color: #B9B3A0; font-size: 13px; line-height: 1.55; }
.mtf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 10px; cursor: pointer;
    font-weight: 800; font-size: 13px; color: var(--mts-black); background: var(--mts-gold); box-shadow: 0 8px 22px rgba(212, 160, 23, .25); }
.mtf-btn:hover { filter: brightness(1.06); }
.mtf-bottom { padding: 18px 0; background: #08080A; border-top: 1px solid var(--mts-line); }
.mtf-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-right: 84px; }
.mtf-bottom small { color: #8F8A7A; font-size: 13px; }
.mtf-pay { height: 26px; width: auto; max-width: 100%; opacity: .75; }
@media (max-width: 991.98px) {
    .mtf-top { padding-top: 40px; }
}
@media (max-width: 575.98px) {
    .mtf-bottom-row { flex-direction: column; align-items: flex-start; padding-right: 0; padding-bottom: 64px; }
    .mtf-pay { height: 22px; }
}
/* less empty space between the page content and the footer */
body .bg-gray > .w-100.min-height { padding-bottom: 28px !important; }
.index-content.bottom-space { margin-bottom: 8px !important; }

/* =================== home page =================== */
.mth { padding: 22px 0 10px; }
.mth .container { max-width: 1240px; }

.mth-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--mts-gold-1); background: rgba(245, 211, 107, .1); border: 1px solid rgba(245, 211, 107, .35);
    padding: 5px 11px; border-radius: 999px; }
.mth-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mts-gold-1); }
.mth-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px;
    background: var(--mts-gold); color: var(--mts-black) !important; font-weight: 800; font-size: 13px; letter-spacing: .06em;
    text-transform: uppercase; text-decoration: none !important; box-shadow: 0 8px 20px rgba(156, 116, 18, .35); transition: filter .15s, transform .15s; }
.mth-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* search */
.mth-search { display: flex; max-width: 760px; margin: 0 auto 22px; background: #fff; border: 1px solid #E3DCC6;
    border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(28, 28, 34, .08); }
.mth-search i { align-self: center; padding: 0 12px 0 16px; color: var(--mts-muted); }
.mth-search input { flex: 1 1 auto; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: var(--mts-ink); min-width: 0; }
.mth-search button { border: 0; border-radius: 999px; padding: 10px 26px; font-weight: 800; cursor: pointer;
    background: var(--mts-black); color: var(--mts-gold-1); transition: filter .15s; }
.mth-search button:hover { filter: brightness(1.25); }

/* hero slider */
.mth-hero { position: relative; border-radius: 24px; overflow: hidden; background: var(--mts-black);
    box-shadow: 0 22px 50px rgba(14, 14, 17, .25); }
.mth-slides { position: relative; min-height: 380px; }
.mth-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; width: 100%; max-width: 100%; min-width: 0;
    opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; isolation: isolate; }
.mth-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.mth-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.mth-slide--imei::before { background: radial-gradient(90% 120% at 0% 0%, #3A2D0B 0%, #15130D 55%, var(--mts-black) 100%); }
.mth-slide--server::before { background: radial-gradient(90% 120% at 0% 0%, #2B2F3A 0%, #15161C 55%, var(--mts-black) 100%); }
.mth-slide--file::before { background: radial-gradient(90% 120% at 0% 0%, #10322B 0%, #111A18 55%, var(--mts-black) 100%); }
.mth-slide-body { padding: 40px 44px; color: #fff; }
.mth-slide-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 20px 0 6px;
    border-radius: 14px; background: rgba(245, 211, 107, .12); border: 1px solid rgba(245, 211, 107, .3); color: var(--mts-gold-1); font-size: 22px; }
.mth-slide h2 { color: #fff; font-weight: 800; font-size: 40px; letter-spacing: -.6px; margin: 10px 0 10px; }
.mth-slide p { color: #CFC9B6; max-width: 460px; margin: 0 0 26px; line-height: 1.6; }
.mth-slide-art { height: 100%; position: relative; }
.mth-slide-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% center;
    /* fade out the left part of the art, where the banner images carry their own lettering */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 62%); }
.mth-hero-nav { position: absolute; top: 16px; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2); background: rgba(14, 14, 17, .55); color: #fff; cursor: pointer; transition: background .15s; }
.mth-hero-nav:hover { background: rgba(212, 160, 23, .55); }
.mth-hero-prev { right: 64px; }
.mth-hero-next { right: 16px; }
.mth-dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 8px; }
.mth-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .25s, background .25s; }
.mth-dots button.is-active { width: 26px; background: var(--mts-gold-1); }

/* category shortcuts */
.mth-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0 8px; width: 100%; max-width: 100%; min-width: 0; }
.mth-cat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--mts-card);
    border: 1px solid var(--mts-card-line); color: var(--mts-ink) !important; text-decoration: none !important;
    transition: border-color .15s, transform .15s, box-shadow .15s; }
.mth-cat:hover { border-color: var(--mts-gold-2); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 28, 34, .1); }
.mth-cat-icon { flex: 0 0 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.mth-cat-text { flex: 1 1 auto; min-width: 0; }
.mth-cat-text b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mth-cat-text small { display: block; color: var(--mts-muted); font-size: 12px; margin-top: 2px; }
.mth-cat-go { color: #B9B3A0; }

/* kind colours (icons, thumbs) */
.mth-thumb--imei { background: linear-gradient(140deg, #2A2410, var(--mts-black)); color: var(--mts-gold-1); }
.mth-thumb--server { background: linear-gradient(140deg, #252A36, var(--mts-black)); color: #9FC2FF; }
.mth-thumb--file { background: linear-gradient(140deg, #0F2E27, var(--mts-black)); color: #7FE0C4; }
.mth-thumb--remote { background: linear-gradient(140deg, #2B1838, var(--mts-black)); color: #D5B4FF; }

/* trust strip */
.mth-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 6px; }
.mth-features > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px;
    border-radius: 14px; background: var(--mts-black); color: #ECE8DC; }
.mth-features i { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: rgba(245, 211, 107, .12); color: var(--mts-gold-1); }
.mth-features b { font-size: 14px; }
.mth-features small { color: #A9A390; font-size: 12px; }

/* service rows */
.mth-section { margin-top: 30px; }
.mth-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mth-section-head h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--mts-ink); }
.mth-section-head h3 span { display: inline-block; padding-bottom: 8px; border-bottom: 3px solid var(--mts-gold-2); }
.mth-section-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.mth-viewall { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--mts-gold-2);
    color: var(--mts-gold-3) !important; font-weight: 700; font-size: 13px; text-decoration: none !important; transition: background .15s, color .15s; }
.mth-viewall:hover { background: var(--mts-gold); color: var(--mts-black) !important; }
.mth-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--mts-card-line); background: #fff; color: var(--mts-ink); cursor: pointer; }
.mth-arrow:hover { border-color: var(--mts-gold-2); color: var(--mts-gold-3); }
.mth-sections { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.mth-section { margin-top: 30px; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.mth-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: none;
    width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.mth-row::-webkit-scrollbar { display: none; } /* the arrow buttons (or swiping) scroll the row */
.mth-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; background: var(--mts-card);
    border: 1px solid var(--mts-card-line); overflow: hidden; color: var(--mts-ink) !important; text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mth-card[hidden] { display: none; }
.mth-card:hover { transform: translateY(-3px); border-color: var(--mts-gold-2); box-shadow: 0 16px 34px rgba(28, 28, 34, .12); }
/* the whole service image is shown (contain), never cropped; every card in a row keeps the same thumb height */
.mth-thumb { position: relative; aspect-ratio: 16 / 10; min-height: 150px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; }
.mth-thumb b { font-size: 24px; font-weight: 800; letter-spacing: 2px; padding: 0 14px; text-align: center; word-break: break-word; }
.mth-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px; box-sizing: border-box; object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); transition: transform .25s ease; }
.mth-card:hover .mth-thumb img { transform: scale(1.04); }
.mth-kind { position: absolute; top: 10px; right: 12px; font-size: 13px; opacity: .8; }
.mth-name { padding: 12px 14px 4px; font-weight: 600; font-size: 14px; line-height: 1.35; min-height: 52px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mth-time { padding: 0 14px; color: var(--mts-muted); font-size: 12px; }
.mth-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 14px; }
.mth-price { font-weight: 800; font-size: 17px; color: var(--mts-ink); }
.mth-cart { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: rgba(212, 160, 23, .14); color: var(--mts-gold-3); transition: background .15s, color .15s; }
.mth-card:hover .mth-cart { background: var(--mts-gold); color: var(--mts-black); }
.mth-noresult { text-align: center; color: var(--mts-muted); padding: 30px 0; }

/* reseller call-to-action */
.mth-join { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 36px 0 10px; padding: 30px 34px;
    border-radius: 22px; background: radial-gradient(100% 160% at 0% 0%, #3A2D0B 0%, var(--mts-black) 60%); color: #fff; }
.mth-join h2 { color: #fff; font-weight: 800; font-size: 28px; margin: 12px 0 8px; }
.mth-join p { color: #CFC9B6; margin: 0; max-width: 640px; line-height: 1.6; }
.mth-join .mth-btn { flex: 0 0 auto; }

/* contact page info panel (shown when no map location is set) */
.mt-contact-info { height: 100%; padding: 26px 28px; border-radius: 16px; color: #ECE8DC;
    background: radial-gradient(100% 140% at 0% 0%, #3A2D0B 0%, var(--mts-black) 65%); }
.mt-contact-info h3 { color: #fff; font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.mt-contact-info p { color: #CFC9B6; line-height: 1.6; }
.mt-contact-info ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 14px; }
.mt-contact-info li { display: flex; gap: 12px; align-items: flex-start; }
.mt-contact-info li i { flex: 0 0 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: rgba(245, 211, 107, .12); color: var(--mts-gold-1); }
.mt-contact-info li b { display: block; color: #fff; }
.mt-contact-info li span { color: #B9B3A0; font-size: 13.5px; }
.mt-contact-info .mth-viewall { color: var(--mts-gold-1) !important; }

/* join-to-reseller page */
.mth-jr .mth-jr-hero { margin-top: 0; }
.mth-jr-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 0 0 auto; }
.mth-jr-login { color: var(--mts-gold-1) !important; font-weight: 700; }
.mth-jr-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.mth-jr-benefits > div { padding: 20px; border-radius: 16px; background: var(--mts-card); border: 1px solid var(--mts-card-line); }
.mth-jr-benefits i { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--mts-black); color: var(--mts-gold-1); font-size: 18px; margin-bottom: 12px; }
.mth-jr-benefits b { display: block; font-size: 16px; color: var(--mts-ink); }
.mth-jr-benefits p { margin: 6px 0 0; color: var(--mts-muted); font-size: 13.5px; line-height: 1.55; }
.mth-jr-steps { margin: 30px 0 10px; }
.mth-jr-steps h3 { font-size: 20px; font-weight: 800; color: var(--mts-ink); }
.mth-jr-steps h3 span { display: inline-block; padding-bottom: 8px; border-bottom: 3px solid var(--mts-gold-2); }
.mth-jr-steps ol { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mth-jr-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--mts-card); border: 1px solid var(--mts-card-line); }
.mth-jr-steps li b { flex: 0 0 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--mts-gold); color: var(--mts-black); }

@media (max-width: 1199px) {
    .mth-row { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 991px) {
    .mth-slide { grid-template-columns: 1fr; }
    .mth-slide-art { position: absolute; inset: 0; z-index: -1; opacity: .35; }
    .mth-slide-art img { -webkit-mask-image: none; mask-image: none; }
    .mth-slide h2 { font-size: 30px; }
    .mth-cats { grid-template-columns: repeat(2, 1fr); }
    .mth-features { grid-template-columns: repeat(2, 1fr); }
    .mth-row { grid-auto-columns: calc((100% - 14px) / 2.2); }
    .mth-join { flex-direction: column; align-items: flex-start; }
    .mth-jr-benefits { grid-template-columns: repeat(2, 1fr); }
    .mth-jr-steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .mth-slides { min-height: 360px; }
    .mth-slide-body { padding: 26px 22px 48px; }
    .mth-slide h2 { font-size: 26px; }
    .mth-dots { left: 22px; }
    .mth-hero-nav { display: none; }
    .mth-cats { grid-template-columns: 1fr; }
    .mth-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mth-features > div { padding: 12px; }
    .mth-features small { display: none; }
    .mth-row { grid-auto-columns: 72%; }
    .mth-search button { padding: 10px 16px; }
    .mth-section-head h3 { font-size: 17px; }
    .mth-arrow { display: none; }
    .mth-join { padding: 24px 22px; }
    .mth-join h2 { font-size: 22px; }
    .mth-jr-benefits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .mth-slide, .mth-cat, .mth-card, .card.card-product, .mth-btn { transition: none !important; }
}

/* ---------- Reseller Pricing tabs ---------- */
.mth-pricing-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.mth-pricing-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--mts-card-line); color: var(--mts-ink) !important; font-weight: 700; text-decoration: none !important; transition: all .15s; font-size: 14px; }
.mth-pricing-tab:hover { border-color: var(--mts-gold-2); color: var(--mts-gold-3) !important; }
.mth-pricing-tab.active { background: var(--mts-black) !important; color: var(--mts-gold-1) !important; border-color: var(--mts-gold-2) !important; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.mth-pricing-tab i { font-size: 15px; color: var(--mts-gold-2); }
.mth-pricing-tab.active i { color: var(--mts-gold-1); }


/* =====================================================================
   MOBILETECH GSM - LUXURY MEGA-MENU DROPDOWN & JOIN RESELLER STYLING
   ===================================================================== */

/* 1. Header Bottom Navigation Bar */
.header-bottom {
    background: #0E0E12 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-bottom: 1px solid #22222A !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1000;
}

.header-bottom .navbar-products {
    flex-wrap: nowrap;
    overflow: visible !important;
}

.header-bottom .navbar-products .nav-link {
    color: #D6D0BE !important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 0.85rem 1.15rem !important;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* NO WHITE HOVER ON NAV ITEMS! */
.header-bottom .navbar-products .nav-item:hover,
html .navbar-products .nav-item:hover {
    background: rgba(212, 160, 23, 0.12) !important;
}

.header-bottom .navbar-products .nav-item:hover .nav-link,
html .navbar-products .nav-item:hover .nav-link {
    color: var(--mts-gold-1) !important;
    background: transparent !important;
}

.header-bottom .navbar-products .nav-item.dropdown:hover .nav-link,
.header-bottom .navbar-products .nav-item.dropdown.show .nav-link {
    color: var(--mts-gold-1) !important;
    background: rgba(212, 160, 23, 0.16) !important;
    box-shadow: inset 0 -2px 0 var(--mts-gold-2);
}

/* 2. Luxury Dark Dropdown Menu (Fixes stark white box) */
.header-bottom .dropdown-menu,
html header .position-static .dropdown-menu,
html .header-bottom .dropdown-menu {
    background: linear-gradient(180deg, #181820 0%, #101014 100%) !important;
    border: 1px solid rgba(212, 160, 23, 0.25) !important;
    border-top: 2px solid var(--mts-gold-2) !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 160, 23, 0.08) !important;
    backdrop-filter: blur(16px);
    padding: 22px 0 !important;
    min-height: auto;
    max-height: 520px;
    overflow-y: auto;
}

.header-bottom .dropdown-menu .page-container {
    padding: 4px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-bottom .dropdown-menu .menu-column {
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
    width: 320px;
    max-width: 100%;
    padding: 6px 16px;
    margin-bottom: 0;
}

.header-bottom .dropdown-menu .menu-column:last-child {
    border-right: none !important;
}

/* Dropdown items styling */
.header-bottom .dropdown-item,
html .header-bottom .dropdown-item {
    color: #ECE8DC !important;
    font-size: 13.5px !important;
    font-weight: 500;
    padding: 9px 14px !important;
    margin-bottom: 6px;
    border-radius: 9px;
    white-space: normal !important;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-bottom .dropdown-item:before {
    content: "•";
    color: var(--mts-gold-2);
    font-size: 16px;
    line-height: 1;
    transition: transform 0.18s;
}

.header-bottom .dropdown-item:hover,
html .header-bottom .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(212, 160, 23, 0.18) 0%, rgba(212, 160, 23, 0.05) 100%) !important;
    border-color: rgba(212, 160, 23, 0.35) !important;
    color: var(--mts-gold-1) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.header-bottom .dropdown-item:hover:before {
    content: "→";
    color: var(--mts-gold-1);
    transform: translateX(2px);
}

/* 3. Search Bar Dropdown */
.header-bottom .search-bar .nav-link-search {
    color: var(--mts-gold-2) !important;
    font-size: 16px;
    transition: color 0.18s, transform 0.18s;
}

.header-bottom .search-bar .nav-link-search:hover {
    color: var(--mts-gold-1) !important;
    transform: scale(1.1);
}

.header-bottom .search-bar .dropdown-menu {
    border-radius: 14px !important;
    padding: 18px !important;
    width: 380px !important;
    max-width: 90vw !important;
    right: 0 !important;
    left: auto !important;
}

.header-bottom .search-products {
    background: #0E0E12 !important;
    border: 1px solid rgba(212, 160, 23, 0.3) !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 10px 14px !important;
}

.header-bottom .search-products:focus {
    border-color: var(--mts-gold-1) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2) !important;
}

/* 4. Join to Reseller Landing Page (mth-jr) VIP Styling */
.mth-jr {
    padding-top: 15px;
    padding-bottom: 50px;
}

.mth-jr-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    padding: 38px 40px;
    border-radius: 24px;
    background: radial-gradient(circle at 95% 10%, rgba(212, 160, 23, 0.22) 0%, transparent 55%),
                linear-gradient(135deg, #1C1C24 0%, #101014 100%) !important;
    border: 1px solid rgba(212, 160, 23, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    color: #fff;
    align-items: center;
}

.mth-jr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(212, 160, 23, 0.16);
    border: 1px solid rgba(212, 160, 23, 0.4);
    color: var(--mts-gold-1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.mth-jr-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
    background: linear-gradient(135deg, #FFFFFF 50%, var(--mts-gold-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mth-jr-lead {
    font-size: 15px;
    color: #CFC9B6;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 620px;
}

/* Stats Counter Row */
.mth-jr-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mth-jr-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mth-jr-stat i {
    font-size: 20px;
    color: var(--mts-gold-2);
}

.mth-jr-stat b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.mth-jr-stat span {
    font-size: 11.5px;
    color: #9E998B;
}

/* Action CTA card in Hero */
.mth-jr-card-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.28);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    text-align: center;
    backdrop-filter: blur(10px);
}

.mth-jr-card-cta h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.mth-jr-card-cta p {
    font-size: 13px;
    color: #B5B0A2;
    margin-bottom: 20px;
    line-height: 1.5;
}

.mth-jr-usercard {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 160, 23, 0.35);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
}

.mth-jr-userstatus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4cd964;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mth-jr-usercard b {
    display: block;
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
}

.mth-jr-usercard p {
    font-size: 13.5px;
    color: #C0BBAE;
    margin-bottom: 18px;
}

/* Gold button styles */
.mth-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--mts-gold) !important;
    color: var(--mts-black) !important;
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: 0 8px 22px rgba(156, 116, 18, 0.35);
    transition: transform 0.18s, box-shadow 0.18s;
}

.mth-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 160, 23, 0.45);
    color: var(--mts-black) !important;
}

.mth-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 160, 23, 0.35) !important;
    color: var(--mts-gold-1) !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.18s;
}

.mth-btn-dark:hover {
    background: rgba(212, 160, 23, 0.15) !important;
    color: #fff !important;
    border-color: var(--mts-gold-1) !important;
}

/* Subtitle and Section Titles */
.mth-jr-section-title h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--mts-ink);
    margin-top: 6px;
}

.mth-subtitle {
    display: inline-block;
    color: var(--mts-gold-3);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 4 Benefits Cards */
.mth-jr-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.mth-jr-card {
    background: #FFFFFF;
    border: 1px solid var(--mts-card-line);
    border-radius: 20px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
}

.mth-jr-card:hover {
    transform: translateY(-6px);
    border-color: var(--mts-gold-2);
    box-shadow: 0 18px 40px rgba(212, 160, 23, 0.16);
}

.mth-jr-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mts-black);
    color: var(--mts-gold-1);
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.mth-jr-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--mts-ink);
    margin-bottom: 8px;
}

.mth-jr-card p {
    font-size: 13.5px;
    color: var(--mts-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.mth-jr-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mts-gold-3);
}

/* 3 Steps Container */
.mth-jr-steps-card {
    background: #FFFFFF;
    border: 1px solid var(--mts-card-line);
    border-radius: 24px;
    padding: 38px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.mth-jr-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.mth-step-item {
    background: #F9F8F5;
    border: 1px solid #ECE7D9;
    border-radius: 18px;
    padding: 24px 20px;
    position: relative;
    transition: transform 0.18s, border-color 0.18s;
}

.mth-step-item:hover {
    transform: translateY(-4px);
    border-color: var(--mts-gold-2);
}

.mth-step-num {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 26px;
    font-weight: 900;
    color: rgba(212, 160, 23, 0.25);
    letter-spacing: 1px;
}

.mth-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--mts-gold);
    color: var(--mts-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.mth-step-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--mts-ink);
    margin-bottom: 6px;
}

.mth-step-item p {
    font-size: 13px;
    color: var(--mts-muted);
    line-height: 1.55;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .mth-jr-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
    .mth-jr-title {
        font-size: 26px;
    }
    .mth-jr-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .mth-jr-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    .mth-jr-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mth-jr-benefits {
        grid-template-columns: 1fr;
    }
    .mth-jr-stats {
        grid-template-columns: 1fr;
    }
}
