@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&family=Orbitron:wght@500;700&display=swap");

:root {
    --mtc-dark: #071a3d;
    --mtc-dark-2: #0b2a5f;
    --mtc-dark-3: #0e3a7d;
    --mtc-soft: #e8f1ff;
    --mtc-card: #0d224b;
    --mtc-text: #e9f2ff;
    --mtc-muted: #9cb6de;
    --mtc-accent: #4c83ff;
    --mtc-accent-2: #1f56cc;
    --mtc-warning: #ffcf52;
    --mtc-success: #4cd991;
    --mtc-danger: #ff6b78;
    --store-font-base: "Exo 2", sans-serif;
    --store-font-heading: "Orbitron", sans-serif;
}

* {
    box-sizing: border-box;
}

body.store-body {
    margin: 0;
    color: var(--mtc-text);
    background:
        radial-gradient(circle at 18% 8%, rgba(67, 124, 255, 0.18), transparent 36%),
        radial-gradient(circle at 84% 11%, rgba(21, 71, 176, 0.28), transparent 33%),
        linear-gradient(180deg, #03142f 0%, #020c1f 100%);
    font-family: var(--store-font-base);
    min-height: 100vh;
}

html[lang="lo"] {
    --store-font-base: "Noto Sans Lao", "Phetsarath OT", "Lao UI", "Exo 2", sans-serif;
    --store-font-heading: "Noto Sans Lao", "Phetsarath OT", "Lao UI", "Exo 2", sans-serif;
}

html[lang="lo"] .heading-font,
html[lang="lo"] .store-logo,
html[lang="lo"] .section-title,
html[lang="lo"] .hero-slide-content h2,
html[lang="lo"] .page-hero h1,
html[lang="lo"] .page-hero h2,
html[lang="lo"] .page-hero h3,
html[lang="lo"] .footer-heading {
    letter-spacing: 0;
}

.heading-font {
    font-family: var(--store-font-heading);
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
}

.container-xxl {
    max-width: 1320px;
}

.top-quality-strip {
    background: linear-gradient(90deg, #0d2f69, #164894);
    border-bottom: 1px solid rgba(173, 205, 255, 0.2);
}

.top-quality-item {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    padding: 0.58rem 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.top-quality-item i {
    font-size: 1rem;
    color: #b8d0ff;
}

.store-header-wrap {
    background: linear-gradient(180deg, rgba(6, 24, 58, 0.98), rgba(6, 24, 58, 0.92));
    border-bottom: 1px solid rgba(133, 170, 234, 0.24);
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(7px);
}

.store-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--store-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.store-logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3f76ef, #2a58bf);
    box-shadow: 0 8px 20px rgba(53, 111, 231, 0.45);
    font-size: 0.9rem;
    font-weight: 700;
}

.store-logo-image {
    height: 38px;
    width: auto;
    max-width: 180px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 4px;
}

.store-search {
    position: relative;
}

.store-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9fc0f7;
    font-size: 1.15rem;
}

.store-search input {
    width: 100%;
    border: 1px solid rgba(122, 163, 232, 0.38);
    border-radius: 12px;
    background: rgba(15, 44, 96, 0.65);
    color: #ecf4ff;
    padding: 0.66rem 0.9rem 0.66rem 2.3rem;
    font-weight: 500;
}

.store-search input::placeholder {
    color: #9fb9df;
}

.store-search input:focus {
    border-color: #78a5ff;
    outline: none;
    box-shadow: 0 0 0 0.18rem rgba(90, 143, 255, 0.27);
}

.search-autocomplete {
    position: relative;
}

.search-suggest-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1100;
    border-radius: 12px;
    border: 1px solid rgba(122, 163, 232, 0.38);
    background: rgba(8, 28, 66, 0.98);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 0.72rem;
    color: #eaf3ff;
    border-bottom: 1px solid rgba(130, 171, 239, 0.2);
}

.search-suggest-item:hover {
    background: rgba(46, 94, 183, 0.5);
    color: #fff;
}

.search-suggest-item:last-child {
    border-bottom: none;
}

.search-suggest-thumb {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-suggest-thumb-fallback {
    color: #b7cdf3;
    font-size: 1.05rem;
}

.search-suggest-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-suggest-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.25;
}

.search-suggest-meta {
    font-size: 0.74rem;
    color: #a5c0ea;
}

.search-suggest-empty {
    color: #a5c0ea;
    font-size: 0.78rem;
    padding: 0.72rem;
}

.store-action-btn,
.store-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 10px;
    border: 1px solid rgba(152, 190, 250, 0.32);
    color: #f1f6ff;
    background: rgba(12, 39, 85, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 0.7rem;
}

.store-action-btn i {
    font-size: 1.05rem;
}

.store-action-btn:hover,
.store-chip-btn:hover {
    color: #ffffff;
    background: rgba(31, 75, 152, 0.88);
}

.store-main-nav {
    border-top: 1px solid rgba(120, 162, 232, 0.18);
    border-bottom: 1px solid rgba(120, 162, 232, 0.18);
    background: rgba(6, 26, 59, 0.68);
}

.store-main-nav .nav-wrap {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.2rem;
    padding: 0.28rem 0;
    scrollbar-width: thin;
}

.store-main-nav .nav-wrap::-webkit-scrollbar {
    height: 6px;
}

.store-main-nav .nav-wrap::-webkit-scrollbar-thumb {
    background: rgba(129, 169, 236, 0.42);
    border-radius: 99px;
}

.store-nav-link {
    color: #d8e7ff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.56rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid transparent;
}

.store-nav-link:hover,
.store-nav-link.active {
    color: #fff;
    border-color: rgba(137, 176, 241, 0.32);
    background: rgba(31, 83, 172, 0.44);
}

.store-alert-wrap {
    position: fixed;
    top: 140px;
    right: 16px;
    z-index: 1090;
    width: min(360px, calc(100vw - 24px));
}

.store-alert-wrap .alert {
    border: none;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.store-panel {
    background: linear-gradient(180deg, rgba(11, 38, 84, 0.96), rgba(8, 29, 66, 0.96));
    border: 1px solid rgba(123, 163, 232, 0.24);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.store-section {
    margin-top: 2rem;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.section-title {
    font-size: 1.08rem;
    color: #fff;
    margin: 0;
    font-family: var(--store-font-heading);
    letter-spacing: 0.02em;
}

.section-link {
    color: #9dc2ff;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.section-link:hover {
    color: #cee1ff;
}

.hero-carousel .carousel-item {
    min-height: 330px;
}

.hero-slide {
    min-height: 330px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(144, 179, 239, 0.25);
    background:
        linear-gradient(0deg, rgba(4, 17, 43, 0.88), rgba(4, 17, 43, 0.35)),
        linear-gradient(120deg, #1a4ba3, #0b2e6f);
    position: relative;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 2rem;
}

.hero-slide-content h2 {
    font-family: var(--store-font-heading);
    margin-bottom: 0.7rem;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.85rem);
}

.hero-slide-content p {
    color: #d3e5ff;
    margin-bottom: 1rem;
}

.store-btn-primary {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mtc-accent), var(--mtc-accent-2));
    color: #fff;
    font-weight: 700;
    padding: 0.6rem 1rem;
}

.store-btn-primary:hover {
    filter: brightness(1.06);
}

.store-btn-outline {
    border: 1px solid rgba(138, 175, 240, 0.42);
    color: #e4f0ff;
    background: rgba(9, 34, 74, 0.68);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.52rem 0.9rem;
}

.hero-side-card {
    border-radius: 14px;
    border: 1px solid rgba(126, 167, 236, 0.26);
    background: linear-gradient(165deg, rgba(16, 53, 112, 0.98), rgba(10, 35, 77, 0.98));
    padding: 1rem;
    min-height: 102px;
}

.hero-side-card h3 {
    margin: 0 0 0.3rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-side-card p {
    margin: 0;
    color: #b6cff3;
    font-size: 0.84rem;
}

.store-product-card {
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 46, 97, 0.95), rgba(9, 32, 70, 0.95));
    border: 1px solid rgba(122, 160, 228, 0.23);
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.store-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(145, 184, 250, 0.42);
    box-shadow: 0 16px 26px rgba(1, 9, 26, 0.32);
}

.store-product-link {
    color: inherit;
    display: block;
    height: 100%;
}

.store-product-thumb {
    position: relative;
    height: 158px;
    border-bottom: 1px solid rgba(113, 156, 230, 0.22);
    background: linear-gradient(130deg, #2f5fb8, #143876 58%, #0d2b5c);
    overflow: hidden;
}

.store-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-product-thumb-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
    color: #eff6ff;
    padding: 0.8rem;
}

.store-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.store-badge {
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    font-weight: 700;
    text-transform: uppercase;
}

.store-badge.instant {
    background: rgba(41, 179, 110, 0.9);
    color: #f1fff8;
}

.store-badge.stock {
    background: rgba(252, 197, 63, 0.95);
    color: #112;
}

.store-badge.type {
    background: rgba(24, 78, 173, 0.95);
    color: #e5efff;
}

.store-product-body {
    padding: 0.85rem;
}

.store-product-title {
    margin: 0;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.45rem;
}

.store-product-meta {
    color: #9fc0ed;
    font-size: 0.74rem;
    margin-top: 0.35rem;
}

.store-product-price {
    margin-top: 0.65rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.store-product-price .from {
    color: #96b8ec;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.store-product-price .value {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fdfdff;
}

.product-mini-btn {
    border-radius: 9px;
    border: 1px solid rgba(146, 183, 241, 0.4);
    background: rgba(17, 57, 121, 0.68);
    color: #fff;
    font-size: 0.74rem;
    padding: 0.3rem 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-mini-btn:hover {
    background: rgba(35, 86, 169, 0.88);
}

.filter-panel,
.content-card,
.summary-card {
    background: linear-gradient(180deg, rgba(10, 33, 74, 0.98), rgba(8, 27, 60, 0.98));
    border: 1px solid rgba(127, 165, 232, 0.25);
    border-radius: 14px;
}

.filter-panel .form-label,
.content-card .form-label,
.summary-card .form-label {
    color: #cfe2ff;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.store-table {
    color: #ecf3ff;
}

.store-table thead th {
    border-bottom: 1px solid rgba(122, 158, 222, 0.4);
    color: #9dc0f4;
    text-transform: uppercase;
    font-size: 0.73rem;
    letter-spacing: 0.03em;
    font-weight: 700;
    background: rgba(18, 56, 119, 0.25);
}

.store-table td {
    border-color: rgba(101, 142, 212, 0.2);
    color: #ecf3ff;
    vertical-align: middle;
}

.form-control,
.form-select,
textarea {
    border-color: rgba(118, 160, 232, 0.35) !important;
    background: rgba(8, 31, 70, 0.74) !important;
    color: #eff5ff !important;
}

.form-control::placeholder,
textarea::placeholder {
    color: #9db6da !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #80acff !important;
    box-shadow: 0 0 0 0.16rem rgba(94, 146, 255, 0.26) !important;
}

.form-check-label {
    color: #cde0ff;
}

.breadcrumb-shell {
    color: #b4cdef;
    font-size: 0.84rem;
}

.breadcrumb-shell a {
    color: #8cb8ff;
}

.page-hero {
    border: 1px solid rgba(125, 163, 232, 0.24);
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(15, 47, 101, 0.9), rgba(11, 33, 72, 0.9));
    padding: 1.1rem 1.1rem;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
    margin: 0 0 0.4rem;
    color: #fff;
    font-family: var(--store-font-heading);
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}

.page-hero p {
    margin: 0;
    color: #c1d8fb;
    font-size: 0.9rem;
}

.product-detail-gallery {
    border: 1px solid rgba(122, 160, 227, 0.25);
    border-radius: 14px;
    overflow: hidden;
    min-height: 340px;
    background: linear-gradient(120deg, #2b59af, #153b7b);
}

.product-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-fallback {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #edf4ff;
    padding: 1rem;
}

.info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.info-pill {
    border-radius: 999px;
    padding: 0.26rem 0.62rem;
    background: rgba(34, 89, 181, 0.42);
    border: 1px solid rgba(145, 183, 242, 0.25);
    color: #dceaff;
    font-size: 0.73rem;
    font-weight: 700;
}

.payment-method-option {
    border: 1px solid rgba(131, 169, 234, 0.25);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    background: rgba(14, 43, 93, 0.58);
}

.payment-method-option .form-check-input {
    margin-top: 0.18rem;
}

.account-shell {
    background: linear-gradient(180deg, rgba(10, 33, 75, 0.96), rgba(7, 25, 58, 0.97));
    border: 1px solid rgba(122, 162, 231, 0.24);
    border-radius: 16px;
    padding: 1rem;
}

.account-nav {
    background: rgba(8, 29, 65, 0.84);
    border: 1px solid rgba(111, 150, 220, 0.23);
    border-radius: 12px;
    padding: 0.55rem;
}

.account-nav a {
    color: #cce2ff;
    display: block;
    padding: 0.62rem 0.75rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.88rem;
}

.account-nav a.active,
.account-nav a:hover {
    color: #fff;
    background: rgba(35, 84, 167, 0.62);
}

.footer-strip {
    margin-top: 2.6rem;
    background: linear-gradient(180deg, rgba(4, 18, 45, 0.98), rgba(3, 12, 31, 0.98));
    border-top: 1px solid rgba(99, 139, 211, 0.33);
}

.footer-heading {
    color: #fff;
    font-family: var(--store-font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.72rem;
}

.footer-link {
    color: #aec8ec;
    font-size: 0.86rem;
    display: block;
    margin-bottom: 0.36rem;
}

.footer-link:hover {
    color: #ffffff;
}

.payment-strip {
    background: linear-gradient(180deg, rgba(8, 30, 68, 0.95), rgba(6, 23, 54, 0.95));
    border: 1px solid rgba(122, 160, 228, 0.22);
    border-radius: 14px;
    padding: 0.95rem;
}

.payment-chip {
    background: rgba(19, 57, 116, 0.75);
    color: #f1f7ff;
    border: 1px solid rgba(133, 173, 239, 0.35);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.support-floating {
    position: fixed;
    right: 14px;
    bottom: 16px;
    z-index: 1100;
    display: grid;
    gap: 0.55rem;
}

.support-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    font-size: 1.2rem;
}

.support-btn.whatsapp {
    background: linear-gradient(135deg, #27d366, #1fa454);
}

.support-btn.telegram {
    background: linear-gradient(135deg, #36aaf0, #157fc3);
}

.support-btn.chat {
    background: linear-gradient(135deg, #f4c845, #d59b16);
    color: #222;
}

.store-empty {
    border: 1px dashed rgba(130, 167, 233, 0.42);
    border-radius: 12px;
    background: rgba(11, 35, 78, 0.58);
    color: #c8dcfb;
    padding: 1rem;
    text-align: center;
}

.pagination {
    --bs-pagination-color: #cae0ff;
    --bs-pagination-bg: rgba(14, 44, 96, 0.75);
    --bs-pagination-border-color: rgba(122, 161, 228, 0.3);
    --bs-pagination-hover-bg: rgba(31, 78, 156, 0.75);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-focus-bg: rgba(36, 89, 177, 0.75);
    --bs-pagination-active-bg: #2e67cf;
    --bs-pagination-active-border-color: #2e67cf;
}

@media (max-width: 991.98px) {
    .top-quality-item {
        padding: 0.45rem 0.5rem;
        font-size: 0.67rem;
    }

    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 270px;
    }

    .hero-slide-content {
        padding: 1.2rem;
    }

    .store-main-nav .nav-wrap {
        padding-bottom: 0.55rem;
    }
}

@media (max-width: 767.98px) {
    .store-logo {
        font-size: 1.02rem;
    }

    .store-logo-badge {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .store-logo-image {
        height: 32px;
        max-width: 138px;
    }

    .store-action-btn,
    .store-chip-btn {
        font-size: 0.72rem;
        padding: 0.4rem 0.54rem;
    }

    .store-product-thumb {
        height: 138px;
    }

    .product-detail-fallback,
    .product-detail-gallery {
        min-height: 240px;
    }

    .support-btn {
        width: 42px;
        height: 42px;
    }
}

/* Orders table clarity */
.order-number {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.order-total {
    font-weight: 700;
    color: #f5fbff;
    white-space: nowrap;
}

.order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

.order-chip-status.status-delivered,
.order-chip-status.status-completed,
.order-chip-payment.payment-paid {
    color: #d8ffe4;
    background: rgba(37, 171, 95, 0.2);
    border-color: rgba(76, 212, 136, 0.5);
}

.order-chip-status.status-processing,
.order-chip-status.status-confirmed,
.order-chip-payment.payment-processing {
    color: #d8ebff;
    background: rgba(44, 122, 235, 0.22);
    border-color: rgba(116, 177, 255, 0.52);
}

.order-chip-status.status-pending,
.order-chip-payment.payment-pending,
.order-chip-payment.payment-unpaid {
    color: #fff0cd;
    background: rgba(208, 135, 8, 0.22);
    border-color: rgba(255, 196, 96, 0.5);
}

.order-chip-status.status-cancelled,
.order-chip-status.status-canceled,
.order-chip-status.status-failed,
.order-chip-payment.payment-failed,
.order-chip-payment.payment-refunded,
.order-chip-payment.payment-cancelled,
.order-chip-payment.payment-canceled {
    color: #ffd9dc;
    background: rgba(184, 54, 70, 0.23);
    border-color: rgba(252, 121, 138, 0.5);
}

.order-detail-link {
    font-weight: 700;
}

.store-table tbody tr:hover {
    background: rgba(109, 158, 241, 0.09);
}
