@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7/fonts/LINESeedSansTH/LINESeedSansTH.css');

:root {
    --brand-primary: #b4474a;
    --brand-primary-dark: #9a3a3d;
    --brand-secondary: #d9787a;
    --brand-soft: #fbeeee;
    --body-bg: #ffffff;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-soft: #6b7280;
    --line-soft: #eef0f6;
    --shadow-soft: 0 12px 34px rgba(180, 71, 74, 0.12);
    --mobile-nav-offset: 92px;
}

.msuso-product-card__bottom strong {
    color: #d90006;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.msuso-product-card {
    border-color: #e5e7eb;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.msuso-product-card:hover {
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

@media (max-width: 575.98px) {
    .msuso-product-card__bottom strong {
        font-size: 18px;
    }
}

/* Exact MSUSO SHOP reference layout */
.msuso-body {
    margin: 0;
    background: #ffffff;
    color: #191919;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 400;
}

.msuso-container,
.msuso-header__inner {
    width: min(100% - 68px, 1180px);
    margin: 0 auto;
}

.msuso-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    height: 66px;
    overflow: visible;
    background: linear-gradient(180deg, #b4474a 0%, #9a3a3d 100%);
    box-shadow: 0 4px 20px rgba(107, 39, 41, 0.35);
}

.msuso-header__inner {
    height: 66px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.msuso-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.msuso-logo img {
    width: 140px;
    max-height: 38px;
    object-fit: contain;
    max-width: 100%;
    display: block;
}

.msuso-desktop-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.msuso-desktop-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.msuso-desktop-nav a.active,
.msuso-desktop-nav a:hover {
    color: #ffffff;
}

.msuso-desktop-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.msuso-header__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.msuso-mobile-header-actions {
    display: none;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.msuso-search {
    width: 150px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.msuso-search i {
    color: #151515;
    font-size: 17px;
}

.msuso-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    font-size: 12px;
    font-weight: 600;
}

.msuso-search input::placeholder {
    color: #9b9b9b;
}

.msuso-icon-link,
.msuso-cart-link,
.msuso-menu-button {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.msuso-icon-link {
    padding: 0;
    border: 0;
    background: transparent;
}

button.msuso-icon-link::after {
    display: none;
}

.msuso-icon-link,
.msuso-cart-link {
    position: relative;
    width: 27px;
    height: 38px;
}

.msuso-icon-link i,
.msuso-cart-link i {
    font-size: 24px;
    line-height: 1;
}

.msuso-cart-link span {
    position: absolute;
    top: 1px;
    right: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    color: #b4474a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
}

.msuso-guest-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msuso-login-button,
.msuso-register-button {
    height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.msuso-login-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.06);
}

.msuso-register-button {
    color: #111111;
    border: 1px solid #f4464b;
    background: linear-gradient(180deg, #ff7a7e 0%, #e63439 100%);
    box-shadow: 0 7px 15px rgba(222, 34, 39, 0.18);
}

.msuso-login-button:hover,
.msuso-register-button:hover {
    transform: translateY(-1px);
}

.msuso-login-button:hover {
    color: #ffffff;
    border-color: #f4464b;
}

.msuso-register-button:hover {
    color: #111111;
    box-shadow: 0 10px 20px rgba(222, 34, 39, 0.25);
}

.msuso-account-dropdown {
    position: relative;
}

.msuso-account-menu {
    min-width: 220px;
    margin-top: 14px;
    padding: 10px;
    border: 1px solid rgba(217, 34, 39, 0.2);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 126, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(32, 32, 32, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.msuso-account-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #1e1e1e;
    border-left: 1px solid rgba(217, 34, 39, 0.18);
    border-top: 1px solid rgba(217, 34, 39, 0.18);
    transform: rotate(45deg);
}

.msuso-account-menu__label {
    max-width: 100%;
    padding: 10px 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ff7a7e;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msuso-account-menu__item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.94);
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.msuso-account-menu__item i {
    width: 18px;
    color: #dd1e23;
    font-size: 16px;
    transition: color 0.18s ease;
}

.msuso-account-menu__item:hover,
.msuso-account-menu__item:focus {
    background: rgba(255, 122, 126, 0.08);
    color: #fff;
    transform: translateX(2px);
}

.msuso-account-menu__item:hover i,
.msuso-account-menu__item:focus i {
    color: #c91015;
}

.msuso-account-menu__item--danger,
.msuso-account-menu__item--danger i {
    color: #c0392b;
}

.msuso-account-menu__item--danger:hover,
.msuso-account-menu__item--danger:focus {
    background: rgba(255, 109, 87, 0.1);
    color: #ffd1c9;
}

.msuso-menu-button {
    display: none;
    border: 0;
    background: transparent;
    font-size: 30px;
    margin-left: auto;
}

.msuso-mobile-nav {
    position: absolute !important;
    inset: 100% 0 auto 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 0;
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.99) 0%, rgba(12, 12, 12, 0.97) 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) !important;
    transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.24s ease, visibility 0.24s ease;
}

.msuso-mobile-nav.offcanvas {
    --bs-offcanvas-width: 100%;
    --bs-offcanvas-height: auto;
    bottom: auto !important;
    margin: 0 !important;
    transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.24s ease, visibility 0.24s ease;
}

.msuso-mobile-nav .offcanvas-header {
    display: none;
}

.msuso-mobile-nav.show,
.msuso-mobile-nav.showing {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) !important;
}

.msuso-mobile-nav.hiding {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px) !important;
    visibility: visible;
}

.msuso-mobile-nav .offcanvas-body {
    display: grid;
    align-content: start;
    gap: 0;
    padding: 10px 22px 16px;
    overflow: visible;
}

.msuso-mobile-nav a {
    display: block;
    color: #fff;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 500;
    opacity: 1;
    transform: none;
    transition: color 0.22s ease, border-color 0.22s ease, padding-left 0.22s ease;
}

.msuso-mobile-nav .offcanvas-body > a:last-child {
    border-bottom: 0;
}

.msuso-mobile-nav a:hover,
.msuso-mobile-nav a:focus {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 122, 126, 0.22);
    padding-left: 10px;
}

.msuso-mobile-nav .btn-close {
    opacity: 1;
    filter: none;
    transform: scale(0.96);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.msuso-mobile-nav .btn-close:hover,
.msuso-mobile-nav .btn-close:focus {
    opacity: 1;
    transform: scale(1);
}

.offcanvas-backdrop.show {
    opacity: 0 !important;
    pointer-events: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.msuso-hero-section {
    padding: 14px 0 0;
}

.msuso-hero {
    background: #f46b6f;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.msuso-hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

.msuso-hero-carousel,
.msuso-hero-carousel .carousel-inner,
.msuso-hero-carousel .carousel-item {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
}

.msuso-hero-carousel {
    touch-action: pan-y;
    user-select: none;
    border-radius: 18px;
}

.msuso-hero-carousel img {
    -webkit-user-drag: none;
    border-radius: 18px;
}

.msuso-hero__link {
    display: block;
}

.msuso-hero-carousel__indicators {
    margin-bottom: 1rem;
}

.msuso-hero-carousel__indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    opacity: 0.55;
}

.msuso-hero-carousel__indicators .active {
    width: 26px;
    opacity: 1;
}

.msuso-hero-carousel__control {
    width: 8%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.msuso-hero:hover .msuso-hero-carousel__control,
.msuso-hero-carousel__control:focus {
    opacity: 0.75;
}

.msuso-section--white {
    background: #fff;
}

.msuso-section {
    padding: 22px 0 0;
}

.msuso-products-section {
    padding-top: 28px;
    padding-bottom: 25px;
}

.msuso-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.msuso-section-head h2 {
    margin: 0;
    color: #151515;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.msuso-section-head h2 span {
    font-size: 19px;
}

.msuso-section-head a {
    min-width: 78px;
    height: 34px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #dec0c1;
    color: #1e1e1e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
}

.msuso-section-head--line {
    position: relative;
}

.msuso-section-head--line::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #e7d3d4;
    order: 2;
}

.msuso-section-head--line h2 {
    order: 1;
}

.msuso-section-head--line a {
    order: 3;
}

.msuso-category-grid,
.msuso-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 27px;
}

.msuso-crop-card,
.msuso-product-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.msuso-crop-card:hover,
.msuso-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.msuso-crop-card img,
.msuso-product-card__media img {
    width: 100%;
    display: block;
}

.msuso-product-card {
    color: #151515;
}

.msuso-product-card__media {
    position: relative;
    padding: 0;
    background: #fff3f3;
    overflow: hidden;
}

.msuso-product-card__status {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.msuso-product-card__status.is-open {
    background: #16a34a;
}

.msuso-product-card__status.is-closed {
    background: #b4474a;
}

.msuso-product-card__media img,
.msuso-product-card__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
    border-radius: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff2f2 100%);
}

.msuso-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.msuso-product-card__placeholder img {
    width: 100%;
    max-height: none;
    object-fit: contain;
    height: 100%;
    aspect-ratio: auto;
    background: transparent;
    padding: 42px;
}

.msuso-product-card__body {
    padding: 11px 14px 14px;
}

.msuso-product-card__body h3 {
    min-height: 39px;
    margin: 0 0 8px;
    color: #151515;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.msuso-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.msuso-product-card__bottom strong {
    color: #d90006;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.msuso-product-card__bottom span {
    color: #585858;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.msuso-product-card__bottom i {
    color: #f01d23;
}

.msuso-empty-products {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px solid #eed0d1;
    border-radius: 10px;
    color: #5f5f5f;
    background: #fff3f3;
    text-align: center;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 400;
}

.msuso-product-carousel {
    position: relative;
}

.msuso-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #eed0d1;
    border-radius: 50%;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.08);
}

.msuso-carousel-arrow--left {
    left: -17px;
}

.msuso-carousel-arrow--right {
    right: -17px;
}

.msuso-why {
    padding: 34px 0 38px;
    background:
        radial-gradient(circle at 18% 15%, rgba(255, 55, 61, 0.08), transparent 22%),
        linear-gradient(135deg, #111111 0%, #181818 55%, #0c0c0c 100%);
}

.msuso-why__grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.msuso-why__intro h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.msuso-why__intro img {
    width: 245px;
    display: block;
    margin-bottom: 18px;
}

.msuso-why__intro p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

.msuso-why__intro a {
    width: 128px;
    height: 39px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7a7e 0%, #e53d42 100%);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(221, 45, 50, 0.2);
}

.msuso-why__cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.msuso-why-card {
    min-height: 152px;
    padding: 22px 15px 18px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 25px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.msuso-why-card i {
    color: #d92227;
    font-size: 38px;
    line-height: 1;
    display: block;
    margin-bottom: 14px;
}

.msuso-why-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.msuso-why-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.msuso-order {
    padding: 23px 0 20px;
    background: #fff;
}

.msuso-order h2 {
    margin: 0 0 22px;
    color: #151515;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.msuso-order__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
}

.msuso-step {
    position: relative;
    min-height: 80px;
    padding: 17px 14px 15px 45px;
    border: 1px solid #e5c9ca;
    border-radius: 14px;
    background: #fff;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    box-shadow: 0 3px 14px rgba(128, 27, 30, 0.04);
}

.msuso-step span {
    position: absolute;
    top: -13px;
    left: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ff7e82 0%, #b9191d 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(169, 18, 22, 0.22);
}

.msuso-step i {
    color: #202020;
    font-size: 30px;
}

.msuso-step h3 {
    margin: 0 0 2px;
    color: #111;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.msuso-step p {
    margin: 0;
    color: #474747;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.msuso-footer {
    padding: 32px 0 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 170, 170, 0.10), transparent 23%),
        linear-gradient(135deg, #9a3a3d 0%, #7d2e30 55%, #6b2729 100%);
}

.msuso-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 0;
}

.msuso-footer__brand {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    margin-left: 0;
}

.msuso-footer__logo {
    width: 135px;
    max-height: 40px;
    object-fit: contain;
    object-position: left center;
    display: block;
    margin: 0 0 10px 0;
    padding: 0;
}

.msuso-footer__brand-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.msuso-footer__brand-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
}

.msuso-footer h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.msuso-footer p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 9px;
}

.msuso-footer p i {
    font-size: 15px;
    color: #ffffff;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .msuso-footer__grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

.msuso-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.msuso-footer__bottom span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.msuso-payment-icons {
    display: flex;
    align-items: center;
    gap: 9px;
}

.msuso-payment-icons span {
    height: 24px;
    padding: 0 9px;
    border-radius: 4px;
    background: #fff;
    color: #23304a;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 900;
}

.msuso-auth-page {
    min-height: calc(100vh - 66px);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08)),
        url('/student-uniform-shop/public/images/msuso/hero-banner.png') center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.msuso-auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 44% 10%, rgba(255, 177, 179, 0.75), transparent 18%),
        linear-gradient(90deg, rgba(11, 7, 7, 0.72) 0%, rgba(244, 94, 98, 0.34) 50%, rgba(255, 223, 224, 0.62) 100%);
    backdrop-filter: blur(1px);
}

.msuso-auth-page--register {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(255, 145, 148, 0.34)),
        url('/student-uniform-shop/public/images/msuso/hero-banner.png') center / cover no-repeat;
}

.msuso-auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 500px);
    min-height: 690px;
    padding: 56px 46px 30px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 164, 167, 0.9);
    box-shadow: 0 28px 70px rgba(53, 8, 9, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    text-align: center;
}

.msuso-auth-card--wide {
    width: min(100%, 650px);
    padding-inline: 54px;
}

.msuso-auth-card__logo {
    width: 130px;
    max-height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto 28px;
}

.msuso-auth-card h1 {
    margin: 0 0 7px;
    color: #111;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.15;
}

.msuso-auth-card__subtitle {
    margin: 0 0 29px;
    color: #777169;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.msuso-google-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #e6d5d5;
    border-radius: 9px;
    background: #fff;
    color: #222;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(21, 21, 21, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.msuso-google-button:hover {
    color: #111;
    border-color: #e26669;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(166, 20, 24, 0.13);
}

.msuso-google-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
}

.msuso-google-icon svg {
    width: 100%;
    height: 100%;
}

.msuso-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 31px 0 22px;
    color: #9d958b;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 12px;
}

.msuso-auth-divider::before,
.msuso-auth-divider::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #ead2d3;
}

.msuso-auth-benefits {
    display: grid;
    gap: 23px;
    text-align: left;
}

.msuso-auth-benefit {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.msuso-auth-benefit i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd4d5 0%, #ff8285 100%);
    color: #d7191e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.msuso-auth-benefit strong,
.msuso-register-perks strong {
    display: block;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.msuso-auth-benefit span,
.msuso-register-perks span {
    display: block;
    color: #7e756d;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.msuso-register-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 33px 0 18px;
}

.msuso-register-perks article {
    min-height: 110px;
    padding: 22px 12px 14px;
    border: 1px solid #ecbdbe;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff9f9 0%, #ffeced 100%);
}

.msuso-register-perks i {
    color: #df171d;
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
}

.msuso-auth-safe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 2px auto 10px;
    color: #801114;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.msuso-auth-safe i {
    color: #d92227;
}

.msuso-auth-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
    margin: 9px auto 13px;
    max-width: 430px;
}

.msuso-auth-showcase img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.msuso-auth-switch {
    margin-top: 48px;
    color: #1d1d1d;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.msuso-auth-card--wide .msuso-auth-switch {
    margin-top: 6px;
}

.msuso-auth-switch a,
.msuso-auth-policy a {
    color: #d1151a;
    font-weight: 700;
}

.msuso-auth-policy {
    margin: 76px auto 0;
    max-width: 335px;
    color: #8a8178;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.75;
}

.msuso-desktop-nav,
.msuso-mobile-nav,
.main-nav-link,
.nav-user-link {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 500;
}

.msuso-crop-card,
.msuso-product-card,
.luxury-product-card__body h3,
.product-title,
.product-detail-title,
.order-history-item__title,
.checkout-summary-item__content h3 {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 700;
}

.luxury-product-card__body p,
.product-card-placeholder,
.product-detail-description,
.order-history-item__subtext,
.checkout-summary-item__meta,
.msuso-footer p,
.msuso-footer a {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 400;
}

.product-price,
.luxury-product-card__footer strong,
.order-history-item__price,
.order-history-card__total,
.checkout-summary-item__price,
.checkout-summary-row--total strong,
.product-config-sheet__price,
[data-product-price],
[data-product-price-mobile] {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .msuso-container,
    .msuso-header__inner {
        width: min(100% - 32px, 1180px);
    }

    .msuso-header__inner {
        gap: 14px;
    }

    .msuso-desktop-nav {
        gap: 15px;
    }

    .msuso-desktop-nav a {
        font-size: 12px;
    }

    .msuso-search {
        width: 132px;
    }

    .msuso-category-grid,
    .msuso-product-grid {
        gap: 18px;
    }

    .msuso-why__grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 991.98px) {
    .msuso-header__actions,
    .msuso-desktop-nav {
        display: none;
    }

    .msuso-mobile-header-actions {
        display: inline-flex;
    }

    .msuso-mobile-header-actions .msuso-account-dropdown,
    .msuso-mobile-header-actions .msuso-icon-link,
    .msuso-mobile-header-actions .msuso-cart-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .msuso-mobile-header-actions .msuso-account-menu {
        min-width: 220px;
        margin-top: 14px;
        padding: 10px;
        border: 1px solid rgba(244, 70, 75, 0.22);
        border-radius: 18px;
        background:
            radial-gradient(circle at top right, rgba(255, 122, 126, 0.18), transparent 32%),
            linear-gradient(180deg, rgba(32, 32, 32, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .msuso-mobile-header-actions .msuso-account-menu::before {
        right: 22px;
        background: #1e1e1e;
        border-left-color: rgba(244, 70, 75, 0.18);
        border-top-color: rgba(244, 70, 75, 0.18);
    }

    .msuso-mobile-header-actions .msuso-account-menu__label {
        padding: 9px 12px 11px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: #ff7a7e;
        font-size: 12px;
        font-weight: 600;
    }

    .msuso-mobile-header-actions .msuso-account-menu__item {
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.94);
        font-size: 14px;
        font-weight: 500;
    }

    .msuso-mobile-header-actions .msuso-account-menu__item i {
        width: 20px;
        color: #f4464b;
        font-size: 16px;
    }

    .msuso-mobile-header-actions .msuso-account-menu__item:hover,
    .msuso-mobile-header-actions .msuso-account-menu__item:focus {
        background: rgba(255, 122, 126, 0.08);
        color: #fff;
    }

    .msuso-mobile-header-actions .msuso-account-menu__item--danger,
    .msuso-mobile-header-actions .msuso-account-menu__item--danger i {
        color: #ff8f7f;
    }

    .msuso-mobile-header-actions .msuso-account-menu__item--danger:hover,
    .msuso-mobile-header-actions .msuso-account-menu__item--danger:focus {
        background: rgba(255, 109, 87, 0.1);
        color: #ffd1c9;
    }

    .msuso-menu-button {
        display: inline-flex;
        margin-left: 0;
    }

    .msuso-logo img {
        width: 176px;
    }

    .msuso-category-grid,
    .msuso-product-grid,
    .msuso-why__cards,
    .msuso-order__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .msuso-why__grid,
    .msuso-footer__grid {
        grid-template-columns: 1fr;
    }

    .msuso-why__cards {
        gap: 14px;
    }

    .msuso-footer__grid {
        gap: 26px;
    }

    .msuso-auth-page {
        min-height: calc(100vh - 60px);
        padding: 22px 16px;
    }

    .msuso-auth-card,
    .msuso-auth-card--wide {
        width: min(100%, 560px);
        min-height: auto;
        padding: 36px 28px 26px;
    }

    .msuso-register-perks {
        grid-template-columns: 1fr;
    }

    .msuso-auth-showcase {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .msuso-container,
    .msuso-header__inner {
        width: min(100% - 22px, 1180px);
    }

    .msuso-header,
    .msuso-header__inner {
        height: 60px;
    }

    .msuso-logo img {
        width: 115px;
        max-height: 32px;
    }

    .msuso-mobile-header-actions {
        gap: 10px;
    }

    .msuso-mobile-header-actions .msuso-icon-link,
    .msuso-mobile-header-actions .msuso-cart-link {
        width: 24px;
        height: 34px;
    }

    .msuso-mobile-header-actions .msuso-icon-link i,
    .msuso-mobile-header-actions .msuso-cart-link i {
        font-size: 22px;
    }

    .msuso-mobile-header-actions .msuso-cart-link span {
        right: -7px;
    }

    .msuso-section-head h2,
    .msuso-order h2 {
        font-size: 19px;
    }

    .msuso-section-head a {
        min-width: 70px;
        height: 31px;
        font-size: 12px;
    }

    .msuso-category-grid,
    .msuso-why__cards,
    .msuso-order__steps {
        grid-template-columns: 1fr;
    }

    .msuso-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .msuso-product-card__body {
        padding: 10px 10px 12px;
    }

    .msuso-product-card__body h3 {
        min-height: 36px;
        font-size: 13px;
        margin-bottom: 6px;
    }

    .msuso-product-card__bottom {
        align-items: flex-end;
        gap: 6px;
    }

    .msuso-product-card__bottom strong {
        font-size: 18px;
    }

    .msuso-product-card__bottom span {
        font-size: 10px;
    }

    .msuso-carousel-arrow {
        display: none;
    }

    .msuso-why__intro img {
        width: 190px;
    }

    .msuso-footer__brand img,
    .msuso-footer__logo {
        width: 130px;
        max-height: 38px;
        object-fit: contain;
        object-position: left center;
        margin-left: 0;
        padding-left: 0;
    }

    .msuso-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .msuso-auth-page {
        padding: 16px 11px;
    }

    .msuso-auth-card,
    .msuso-auth-card--wide {
        padding: 30px 18px 24px;
        border-radius: 13px;
    }

    .msuso-auth-card__logo {
        width: 150px;
        margin-bottom: 20px;
    }

    .msuso-auth-card h1 {
        font-size: 24px;
    }

    .msuso-google-button {
        min-height: 50px;
        font-size: 15px;
    }

    .msuso-auth-benefit {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
    }

    .msuso-auth-benefit i {
        width: 40px;
        height: 40px;
    }

    .msuso-auth-policy {
        margin-top: 34px;
    }
}

.msuso-cart-page {
    padding: 22px 0 34px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 199, 201, 0.5), transparent 26%),
        linear-gradient(180deg, #fff9f9 0%, #ffffff 100%);
}

.msuso-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #7f7669;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
}

.msuso-cart-breadcrumb a {
    color: #4d4741;
}

.msuso-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.msuso-cart-head__title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.msuso-cart-head__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ff7d81 0%, #e7383d 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(217, 34, 39, 0.25);
}

.msuso-cart-head__icon i {
    font-size: 28px;
}

.msuso-cart-head h1 {
    margin: 0 0 4px;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 26px;
    font-weight: 800;
}

.msuso-cart-head p {
    margin: 0;
    color: #7f7669;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
}

.msuso-cart-back {
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid #eac1c2;
    background: #fff;
    color: #1c1c1c;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.msuso-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.msuso-cart-main {
    min-width: 0;
}

.msuso-cart-card,
.msuso-cart-summary,
.msuso-cart-payment {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #efc9ca;
    box-shadow: 0 16px 36px rgba(120, 22, 25, 0.06);
}

.msuso-cart-card {
    padding: 22px;
}

.msuso-cart-table-head {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 110px 130px 110px 32px;
    gap: 16px;
    padding: 0 0 18px;
    border-bottom: 1px solid #f0d6d7;
    color: #191919;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.msuso-cart-items {
    display: grid;
}

.msuso-cart-item {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 110px 130px 110px 32px;
    gap: 16px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid #f4dbdc;
}

.msuso-cart-item:last-child {
    border-bottom: 0;
}

.msuso-cart-item__product {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.msuso-cart-item__media,
.msuso-cart-item__placeholder {
    width: 96px;
    height: 116px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #ffeded 100%);
    overflow: hidden;
    flex: 0 0 auto;
}

.msuso-cart-item__media img,
.msuso-cart-item__placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.msuso-cart-item__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.msuso-cart-item__info h2 {
    margin: 0 0 8px;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.msuso-cart-item__info p {
    margin: 0 0 4px;
    color: #5f5a52;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
}

.msuso-cart-item__price,
.msuso-cart-item__total {
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.msuso-cart-qty-control {
    width: 110px;
    height: 40px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #eac1c2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.msuso-cart-qty-control form {
    margin: 0;
}

.msuso-cart-qty-control button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #d92227;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msuso-cart-qty-control span {
    color: #111;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.msuso-cart-item__remove button {
    border: 0;
    background: transparent;
    color: #7d7569;
    font-size: 20px;
}

.msuso-cart-promo {
    margin-top: 22px;
}

.msuso-cart-promo__label {
    margin-bottom: 10px;
    color: #191919;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.msuso-cart-promo__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 14px;
    align-items: center;
}

.msuso-cart-promo__form input {
    height: 50px;
    padding: 0 18px;
    border: 1px solid #edc2c3;
    border-radius: 12px;
    outline: 0;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
}

.msuso-cart-promo__form button,
.msuso-cart-primary-btn {
    height: 50px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff7a7e 0%, #e53a3f 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(217, 34, 39, 0.22);
}

.msuso-cart-member {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, #fff9f9 0%, #ffe7e8 100%);
    border: 1px solid #f0c8c9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.msuso-cart-member__left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.msuso-cart-member__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(217, 34, 39, 0.12);
    color: #d92227;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.msuso-cart-member strong {
    display: block;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.msuso-cart-member p {
    margin: 3px 0 0;
    color: #6c645b;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
}

.msuso-cart-member a {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #e4aeaf;
    color: #171717;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.msuso-cart-recommend {
    margin-top: 24px;
}

.msuso-cart-recommend__wrap {
    position: relative;
}

.msuso-cart-recommend__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.msuso-cart-recommend-card {
    border-radius: 12px;
    background: #fff;
    border: 1px solid #efc9ca;
    box-shadow: 0 12px 28px rgba(120, 22, 25, 0.05);
    overflow: hidden;
}

.msuso-cart-recommend-card__image,
.msuso-cart-recommend-card__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    background: #fff;
}

.msuso-cart-recommend-card__image img,
.msuso-cart-recommend-card__placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.msuso-cart-recommend-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.msuso-cart-recommend-card__body {
    padding: 14px;
    text-align: center;
}

.msuso-cart-recommend-card__body h3 {
    min-height: 42px;
    margin: 0 0 8px;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.msuso-cart-recommend-card__body strong {
    display: block;
    margin-bottom: 12px;
    color: #da0006;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.msuso-cart-recommend-card__body form,
.msuso-cart-recommend-card__link {
    display: block;
}

.msuso-cart-recommend-card__body button,
.msuso-cart-recommend-card__link {
    width: 100%;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #efb5b7;
    background: #fff;
    color: #1b1b1b;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.msuso-cart-feature-strip {
    margin-top: 22px;
    padding: 18px 26px;
    border-radius: 12px;
    border: 1px solid #efc9ca;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.msuso-cart-feature-strip div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3f2f2f;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.msuso-cart-feature-strip i {
    color: #d92227;
    font-size: 28px;
}

.msuso-cart-summary {
    padding: 22px;
}

.msuso-cart-summary h2,
.msuso-cart-payment h3 {
    margin: 0 0 16px;
    color: #1a1a1a;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.msuso-cart-summary__rows {
    display: grid;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1d6d7;
}

.msuso-cart-summary__rows div,
.msuso-cart-summary__total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.msuso-cart-summary__rows span,
.msuso-cart-summary__rows strong,
.msuso-cart-summary__total span,
.msuso-cart-summary__total small,
.msuso-cart-summary__safe span,
.msuso-cart-payment p {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
}

.msuso-cart-summary__rows span,
.msuso-cart-payment p {
    color: #6b6359;
    font-size: 14px;
}

.msuso-cart-summary__rows strong {
    color: #1a1a1a;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.msuso-cart-summary__total {
    padding: 18px 0 14px;
    border-bottom: 1px solid #f1d6d7;
}

.msuso-cart-summary__total span {
    display: block;
    color: #1a1a1a;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.msuso-cart-summary__total small {
    display: block;
    margin-top: 6px;
    color: #6b6359;
    font-size: 13px;
}

.msuso-cart-summary__total strong {
    display: block;
    color: #d4090f;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: right;
}

.msuso-cart-summary__progress {
    margin: 18px 0 20px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(90deg, #fff1f1 0%, #ffe7e8 100%);
}

.msuso-cart-summary__progress p {
    margin: 0 0 12px;
    color: #3a2d2d;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.msuso-cart-progress-bar {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: #ecd7d8;
    overflow: hidden;
}

.msuso-cart-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f43f44 0%, #ff8588 100%);
}

.msuso-cart-primary-btn {
    width: 100%;
    text-decoration: none;
}

.msuso-cart-primary-btn.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

.msuso-cart-summary__safe {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b6359;
    font-size: 14px;
}

.msuso-cart-summary__safe i {
    color: #8b6768;
}

.msuso-cart-payment {
    margin-top: 18px;
    padding: 22px;
}

.msuso-cart-payment__icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.msuso-cart-payment__icons span {
    min-width: 82px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #edd1d2;
    background: #fff;
    color: #23304a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.msuso-cart-empty {
    padding: 32px 12px;
    text-align: center;
}

.msuso-cart-empty__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffd6d7 0%, #ff7f83 100%);
    color: #d92227;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.msuso-cart-empty h2 {
    margin: 0 0 8px;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.msuso-cart-empty p {
    margin: 0 0 18px;
    color: #6b6359;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    .msuso-cart-layout {
        grid-template-columns: 1fr;
    }

    .msuso-cart-side {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 18px;
        align-items: start;
    }

    .msuso-cart-recommend__grid,
    .msuso-cart-feature-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .msuso-cart-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .msuso-cart-table-head {
        display: none;
    }

    .msuso-cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 0;
    }

    .msuso-cart-item__price,
    .msuso-cart-item__qty,
    .msuso-cart-item__total,
    .msuso-cart-item__remove {
        padding-left: 114px;
    }

    .msuso-cart-item__remove {
        padding-left: 0;
    }

    .msuso-cart-item__remove form {
        display: flex;
        justify-content: flex-end;
    }

    .msuso-cart-promo__form {
        grid-template-columns: 1fr;
    }

    .msuso-cart-member {
        flex-direction: column;
        align-items: flex-start;
    }

    .msuso-cart-side {
        grid-template-columns: 1fr;
    }

    .msuso-cart-recommend__grid,
    .msuso-cart-feature-strip,
    .msuso-cart-payment__icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .msuso-cart-page {
        padding: 16px 0 24px;
    }

    .msuso-cart-head__title {
        align-items: flex-start;
    }

    .msuso-cart-head__icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .msuso-cart-head h1 {
        font-size: 22px;
    }

    .msuso-cart-card,
    .msuso-cart-summary,
    .msuso-cart-payment {
        padding: 16px;
        border-radius: 12px;
    }

    .msuso-cart-item__product {
        align-items: flex-start;
    }

    .msuso-cart-item__media,
    .msuso-cart-item__placeholder {
        width: 82px;
        height: 98px;
    }

    .msuso-cart-item__info h2 {
        font-size: 18px;
    }

    .msuso-cart-item__price,
    .msuso-cart-item__qty,
    .msuso-cart-item__total {
        padding-left: 0;
    }

    .msuso-cart-item__price::before,
    .msuso-cart-item__total::before {
        display: block;
        margin-bottom: 4px;
        color: #786f64;
        font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
        font-size: 12px;
    }

    .msuso-cart-item__price::before {
        content: 'ราคา';
    }

    .msuso-cart-item__total::before {
        content: 'รวม';
    }

    .msuso-cart-recommend__grid,
    .msuso-cart-feature-strip {
        grid-template-columns: 1fr;
    }

    .msuso-cart-feature-strip {
        padding: 16px;
    }

    .msuso-carousel-arrow {
        display: none;
    }
}

/* MSUSO SHOP luxury storefront */
body {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(252, 186, 188, 0.7), transparent 24%),
        linear-gradient(180deg, #fff8f8 0%, #ffefef 32%, #ffffff 100%);
    color: #161616;
}

.luxury-header {
    position: sticky;
    top: 0;
    z-index: 1080;
    padding: 16px 0;
    background: rgba(255, 245, 245, 0.72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(191, 63, 67, 0.12);
}

.luxury-navbar {
    background: rgba(17, 17, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 0.9rem 1rem;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
}

.luxury-brand,
.luxury-brand:hover {
    color: #fff;
}

.luxury-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.luxury-brand__icon,
.luxury-footer__logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(191, 63, 67, 0.28);
}

.luxury-brand__icon i,
.luxury-footer__logo {
    font-size: 1.4rem;
    font-weight: 800;
}

.luxury-brand__logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.luxury-brand__text strong,
.luxury-brand__text small {
    display: block;
    line-height: 1.1;
}

.luxury-brand__text strong {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.luxury-brand__text small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.76rem;
}

.luxury-nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.luxury-nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.7rem 0.92rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.luxury-nav-link:hover {
    color: #111;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
}

.luxury-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.luxury-search {
    width: min(100%, 320px);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.luxury-search i {
    color: #7a7a7a;
}

.luxury-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #111;
    font-size: 0.95rem;
}

.luxury-auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.luxury-ghost-btn,
.luxury-gold-btn,
.luxury-link-btn,
.luxury-order-chip,
.luxury-icon-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.luxury-ghost-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.luxury-gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    color: #111;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(191, 63, 67, 0.28);
}

.luxury-gold-btn--sm {
    padding: 0.7rem 1rem;
}

.luxury-gold-btn:hover,
.luxury-ghost-btn:hover,
.luxury-icon-btn:hover,
.luxury-link-btn:hover,
.luxury-order-chip:hover {
    transform: translateY(-2px);
}

.luxury-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #3a2627;
    font-weight: 700;
}

.luxury-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    box-shadow: 0 10px 24px rgba(191, 63, 67, 0.22);
}

.luxury-icon-btn i,
.luxury-navbar-toggler i {
    font-size: 1.2rem;
}

.luxury-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.8rem 0.45rem 0.45rem;
}

.luxury-profile-btn:hover,
.luxury-profile-btn.show {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.luxury-profile-btn__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.luxury-profile-btn__label {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.luxury-dropdown-menu {
    min-width: 220px;
    padding: 0.45rem;
    border-radius: 18px;
    border: 1px solid rgba(191, 63, 67, 0.15);
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
}

.luxury-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    font-weight: 600;
}

.luxury-dropdown-item--danger {
    color: #c92d2d;
}

.luxury-main {
    padding-top: 1rem;
}

.luxury-home {
    padding-bottom: 3rem;
}

.luxury-hero {
    padding: 1rem 0 0.75rem;
}

.luxury-hero__shell {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3rem);
    border-radius: 32px;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.95), transparent 26%),
        radial-gradient(circle at 80% 18%, rgba(252, 186, 188, 0.48), transparent 22%),
        linear-gradient(135deg, #f7bfc1 0%, #ffe7e8 38%, #fff7f7 100%);
    box-shadow: 0 24px 80px rgba(191, 63, 67, 0.16);
    border: 1px solid rgba(191, 63, 67, 0.15);
}

.luxury-hero__shell::before,
.luxury-hero__shell::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    filter: blur(2px);
}

.luxury-hero__shell::before {
    width: 280px;
    height: 280px;
    right: -80px;
    top: -100px;
}

.luxury-hero__shell::after {
    width: 180px;
    height: 180px;
    left: 50%;
    bottom: -70px;
}

.luxury-kicker,
.luxury-section__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(191, 63, 67, 0.18);
    color: #8b1f22;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.luxury-hero__content {
    position: relative;
    z-index: 1;
}

.luxury-hero__content h1 {
    margin: 1rem 0 1rem;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 0.96;
    font-weight: 800;
    color: #111;
    text-shadow: 0 0 24px rgba(252, 186, 188, 0.28);
}

.luxury-hero__content p {
    max-width: 600px;
    color: #5f5a52;
    font-size: 1.08rem;
    line-height: 1.8;
}

.luxury-hero__actions,
.luxury-hero__stats,
.luxury-payments,
.luxury-socials,
.luxury-carousel-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.luxury-hero__actions {
    margin-top: 1.8rem;
}

.luxury-hero__stats {
    margin-top: 2rem;
}

.luxury-hero__stats div {
    min-width: 150px;
    padding: 1rem 1.1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 34px rgba(185, 61, 64, 0.12);
}

.luxury-hero__stats strong,
.luxury-hero__stats span {
    display: block;
}

.luxury-hero__stats strong {
    color: #111;
    font-size: 1rem;
    font-weight: 800;
}

.luxury-hero__stats span {
    color: #6f675d;
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

.luxury-hero__visual {
    position: relative;
    min-height: 560px;
}

.luxury-phone {
    width: min(320px, 100%);
    margin-left: auto;
    padding: 0.9rem;
    border-radius: 42px;
    background: linear-gradient(160deg, #1b1b1b 0%, #404040 100%);
    box-shadow: 0 32px 80px rgba(17, 17, 17, 0.34);
    position: relative;
    z-index: 2;
}

.luxury-phone__notch {
    width: 110px;
    height: 18px;
    background: #000;
    border-radius: 999px;
    margin: 0 auto 1rem;
}

.luxury-phone__screen {
    min-height: 520px;
    border-radius: 34px;
    padding: 1rem;
    background: linear-gradient(180deg, #fffcfc 0%, #ffe7e8 100%);
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.luxury-phone__search,
.luxury-phone__mini-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
}

.luxury-phone__search span,
.luxury-phone__hero-card span,
.luxury-phone__mini-card span {
    color: #776d5e;
    font-size: 0.88rem;
}

.luxury-phone__hero-card {
    padding: 1.15rem;
    border-radius: 26px;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    box-shadow: 0 20px 40px rgba(191, 63, 67, 0.22);
}

.luxury-phone__hero-card small,
.luxury-phone__hero-card strong,
.luxury-phone__mini-card strong {
    display: block;
}

.luxury-phone__hero-card strong,
.luxury-phone__mini-card strong {
    color: #111;
    font-size: 1.15rem;
    font-weight: 800;
}

.luxury-phone__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.luxury-phone__grid div {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(191, 63, 67, 0.16) 0%, rgba(252, 186, 188, 0.82) 100%);
}

.luxury-floating-card {
    position: absolute;
    width: 170px;
    padding: 0.9rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 40px rgba(17, 17, 17, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    animation: luxuryFloat 4.6s ease-in-out infinite;
}

.luxury-floating-card img,
.luxury-floating-card__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
}

.luxury-floating-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #777;
    text-align: center;
}

.luxury-floating-card span,
.luxury-floating-card strong {
    display: block;
}

.luxury-floating-card span {
    margin-top: 0.65rem;
    color: #5c4849;
    font-size: 0.78rem;
    line-height: 1.45;
}

.luxury-floating-card strong {
    color: #111;
    font-size: 1rem;
    margin-top: 0.3rem;
}

.luxury-floating-card--1 {
    top: 3%;
    left: -2%;
}

.luxury-floating-card--2 {
    top: 24%;
    right: 26%;
    animation-delay: 0.8s;
}

.luxury-floating-card--3 {
    left: 7%;
    bottom: 2%;
    animation-delay: 1.2s;
}

.luxury-particles {
    position: absolute;
    background: radial-gradient(circle, rgba(252, 186, 188, 0.9), rgba(252, 186, 188, 0));
    border-radius: 50%;
    filter: blur(14px);
}

.luxury-particles--one {
    width: 160px;
    height: 160px;
    top: 4%;
    right: 5%;
}

.luxury-particles--two {
    width: 120px;
    height: 120px;
    bottom: 8%;
    right: 24%;
}

.luxury-feature-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.luxury-feature-item,
.luxury-category-card,
.luxury-product-card,
.luxury-review-card,
.luxury-step {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(191, 63, 67, 0.12);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
}

.luxury-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem;
    font-weight: 700;
    color: #413131;
    text-align: center;
}

.luxury-feature-item i,
.luxury-glass-card i,
.luxury-category-card__icon {
    color: #b8282c;
}

.luxury-section {
    padding: 4.5rem 0;
}

.luxury-section--compact {
    padding-top: 1rem;
}

.luxury-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.luxury-section__head h2,
.luxury-footer h3,
.luxury-footer h4 {
    margin: 0.65rem 0 0;
    color: #111;
    font-weight: 800;
}

.luxury-section__head h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.luxury-section__head p {
    max-width: 520px;
    margin: 0;
    color: #6f675d;
    line-height: 1.8;
}

.luxury-categories-grid,
.luxury-product-grid,
.luxury-why-grid,
.luxury-steps {
    display: grid;
    gap: 1.2rem;
}

.luxury-categories-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.luxury-category-card {
    padding: 1.5rem;
}

.luxury-category-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(191, 63, 67, 0.14) 0%, rgba(252, 186, 188, 0.8) 100%);
    font-size: 1.5rem;
}

.luxury-category-card h3,
.luxury-glass-card h3,
.luxury-review-card h3,
.luxury-step strong,
.luxury-product-card__body h3 {
    margin: 0 0 0.55rem;
    font-weight: 800;
}

.luxury-category-card p,
.luxury-glass-card p,
.luxury-review-card p,
.luxury-step p,
.luxury-product-card__body p,
.luxury-footer p,
.luxury-footer__contact span,
.luxury-footer__links a {
    color: #6f675d;
    line-height: 1.75;
}

.luxury-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.luxury-product-card {
    overflow: hidden;
}

.luxury-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 52px rgba(17, 17, 17, 0.12);
}

.luxury-product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.luxury-product-card__media {
    position: relative;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(252, 186, 188, 0.24) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.luxury-product-card__image,
.luxury-product-card__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    object-fit: contain;
    background: #fff;
}

.luxury-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #9a7778;
}

.luxury-product-card__badge,
.luxury-order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.luxury-product-card__badge {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    padding: 0.45rem 0.75rem;
    background: rgba(17, 17, 17, 0.92);
    color: #fcbabc;
}

.luxury-product-card__body {
    padding: 1.15rem 1.15rem 1.25rem;
}

.luxury-product-card__body h3 {
    font-size: 1.05rem;
    min-height: 3rem;
}

.luxury-product-card__body p {
    font-size: 0.9rem;
    min-height: 4.8rem;
    margin-bottom: 1rem;
}

.luxury-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.luxury-product-card__footer strong {
    color: #111;
    font-size: 1.2rem;
}

.luxury-order-chip {
    padding: 0.7rem 0.95rem;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    color: #111;
}

.luxury-dark-section {
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at top right, rgba(191, 63, 67, 0.16), transparent 22%),
        linear-gradient(180deg, #121212 0%, #191919 100%);
}

.luxury-section__head--dark h2,
.luxury-section__head--dark p {
    color: #fff;
}

.luxury-section__head--dark .luxury-section__eyebrow {
    background: rgba(255, 255, 255, 0.08);
    color: #fcbabc;
}

.luxury-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.luxury-glass-card {
    padding: 1.6rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.luxury-glass-card i {
    font-size: 1.8rem;
}

.luxury-glass-card h3 {
    margin-top: 1rem;
    color: #fff;
}

.luxury-glass-card p {
    color: rgba(255, 255, 255, 0.72);
}

.luxury-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
}

.luxury-step {
    padding: 1.4rem;
    position: relative;
}

.luxury-step span {
    width: 48px;
    height: 48px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    color: #111;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(191, 63, 67, 0.24);
}

.luxury-review-card {
    padding: 1.5rem;
    height: 100%;
}

.luxury-review-card__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.luxury-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    color: #111;
    font-size: 1.3rem;
    font-weight: 800;
}

.luxury-review-card__top span,
.luxury-rating span {
    color: #8a696a;
}

.luxury-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #c83539;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.luxury-rating--small {
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
}

.luxury-rating--small span {
    margin-left: 0.4rem;
    font-weight: 600;
}

.luxury-carousel-controls {
    justify-content: center;
    margin-top: 1.4rem;
}

.luxury-carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    box-shadow: 0 16px 32px rgba(191, 63, 67, 0.2);
}

.luxury-footer {
    padding: 4rem 0 2rem;
    background: #111;
}

.luxury-footer h3,
.luxury-footer h4,
.luxury-socials a,
.luxury-payments span,
.luxury-footer__bottom span {
    color: #fff;
}

.luxury-footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.luxury-socials a,
.luxury-payments span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.luxury-payments span {
    width: auto;
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.luxury-footer__links,
.luxury-footer__contact {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.luxury-footer__links a:hover,
.luxury-socials a:hover {
    color: #fcbabc;
}

.luxury-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.luxury-pagination nav {
    display: flex;
    justify-content: center;
}

.luxury-pagination .pagination {
    gap: 0.5rem;
}

.luxury-pagination .page-link {
    border: 1px solid rgba(191, 63, 67, 0.18);
    border-radius: 14px !important;
    color: #111;
    background: rgba(255, 255, 255, 0.9);
}

.luxury-pagination .active > .page-link,
.luxury-pagination .page-link:hover {
    background: linear-gradient(135deg, #bf3f43 0%, #fcbabc 100%);
    border-color: transparent;
    color: #111;
}

@keyframes luxuryFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 1399.98px) {
    .luxury-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .luxury-offcanvas {
        background: #111;
        color: #fff;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .luxury-offcanvas__title {
        color: #fff;
        font-weight: 800;
    }

    .luxury-nav-links,
    .luxury-header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .luxury-nav-link,
    .luxury-search,
    .luxury-auth-buttons,
    .luxury-profile-btn {
        width: 100%;
    }

    .luxury-auth-buttons {
        flex-direction: column;
    }

    .luxury-profile-btn {
        justify-content: center;
    }

    .luxury-categories-grid,
    .luxury-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .luxury-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .luxury-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .luxury-feature-strip,
    .luxury-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .luxury-phone {
        margin: 0 auto;
    }

    .luxury-floating-card--1 {
        left: 0;
    }

    .luxury-floating-card--2 {
        right: 0;
    }

    .luxury-floating-card--3 {
        left: 2%;
        bottom: -2%;
    }
}

@media (max-width: 767.98px) {
    .luxury-header {
        padding: 10px 0;
    }

    .luxury-navbar {
        padding: 0.8rem;
    }

    .luxury-brand__text small,
    .luxury-floating-card,
    .luxury-particles {
        display: none;
    }

    .luxury-brand__icon,
    .luxury-footer__logo {
        width: 48px;
        height: 48px;
    }

    .luxury-hero__shell,
    .luxury-feature-item,
    .luxury-category-card,
    .luxury-product-card,
    .luxury-glass-card,
    .luxury-review-card,
    .luxury-step {
        border-radius: 22px;
    }

    .luxury-feature-strip,
    .luxury-categories-grid,
    .luxury-product-grid,
    .luxury-why-grid,
    .luxury-steps {
        grid-template-columns: 1fr;
    }

    .luxury-hero__visual {
        min-height: auto;
    }

    .luxury-phone {
        width: 100%;
    }

    .luxury-phone__screen {
        min-height: 420px;
    }

    .luxury-section {
        padding: 3.2rem 0;
    }

    .luxury-footer__brand,
    .luxury-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

body {
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    background: var(--body-bg);
    color: var(--text-main);
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.marketplace-navbar {
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid #e8eef5;
    position: sticky;
    top: 0;
    z-index: 1060;
    width: 100%;
}

.navbar-compact {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.4rem;
    height: 1.4rem;
    background-size: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815,23,42,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.7' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mobile-navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.mobile-cart-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    background: transparent;
    flex-shrink: 0;
}

.mobile-cart-toggle i {
    font-size: 1.24rem;
    line-height: 1;
    -webkit-text-stroke: 0.3px currentColor;
}

.mobile-cart-toggle:hover {
    color: var(--brand-primary);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.brand-mark:hover {
    color: var(--brand-primary);
}

.brand-logo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-mark strong,
.brand-mark small {
    display: block;
    line-height: 1.1;
}

.brand-mark strong {
    font-size: 1.55rem;
    font-weight: 800;
}

.brand-mark small {
    font-size: 0.76rem;
    opacity: 0.88;
}

.btn-danger:hover {
    background: var(--brand-primary-dark);
    color: #fff;
}

.main-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.nav-drawer {
    border-left: 1px solid #e8eef5;
}

.nav-drawer-body {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.nav-drawer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.main-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    color: #475569;
    font-weight: 500;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav-link i {
    font-size: 0.95rem;
    line-height: 1;
}

.main-nav-link:hover,
.main-nav-link.active {
    color: var(--brand-primary);
    background: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.profile-dropdown {
    position: relative;
}

.nav-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d7e0ea;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.mobile-profile-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #334155;
    box-shadow: none;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-profile-toggle::after {
    display: none;
}

.mobile-profile-toggle:hover,
.mobile-profile-toggle.show {
    color: var(--brand-primary);
    background: transparent;
}

.mobile-profile-toggle i {
    font-size: 1rem;
    line-height: 1;
}

.profile-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-avatar-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f9161c, var(--brand-primary));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-profile-menu {
    margin-top: 0.55rem;
}

.nav-user-link {
    color: #334155;
    font-weight: 600;
}

.profile-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 38px;
    padding: 0.42rem 0.8rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-weight: 400;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.profile-dropdown-toggle:hover,
.profile-dropdown-toggle.show {
    color: #0f172a;
    background: #f8fafc;
    border-color: #cfd8e3;
}

.profile-dropdown-toggle::after {
    margin-left: 0.15rem;
}

.profile-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #cfd8e3;
    color: #475569;
    font-size: 0.9rem;
    flex-shrink: 0;
    overflow: hidden;
    background: #fff;
}

.profile-dropdown-label {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown-menu {
    min-width: 220px;
    padding: 0.35rem 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.profile-dropdown-header {
    padding: 0.8rem 0.95rem 0.55rem;
    background: transparent;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
    border-bottom: 1px solid #eef2f7;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0.35rem;
    padding: 0.72rem 0.8rem;
    border-radius: 10px;
    color: #111827;
    font-weight: 500;
}

.profile-dropdown-item i {
    color: #64748b;
    font-size: 0.98rem;
}

.profile-dropdown-item:hover,
.profile-dropdown-item:focus {
    background: #f8fafc;
    color: #111827;
}

.profile-dropdown-item:hover i,
.profile-dropdown-item:focus i,
.profile-dropdown-logout:hover i,
.profile-dropdown-logout:focus i {
    color: #111827;
}

.profile-dropdown-item-disabled,
.profile-dropdown-item-disabled:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: transparent;
}

.profile-dropdown-logout {
    margin-top: 0.35rem;
    padding-top: 0.82rem;
    border-top: 1px solid #eef2f7;
    color: #ef4444;
}

.profile-dropdown-logout i {
    color: #ef4444;
}

.profile-dropdown-logout:hover,
.profile-dropdown-logout:focus {
    background: #fff1f2;
    color: #dc2626;
}

.profile-dropdown-logout:hover i,
.profile-dropdown-logout:focus i {
    color: #dc2626;
}

.nav-icon-btn:hover,
.nav-user-link:hover {
    color: var(--brand-primary);
}

@media (max-width: 991.98px) {
    .nav-drawer {
        top: var(--mobile-nav-offset);
        height: calc(100dvh - var(--mobile-nav-offset) - 12px);
        width: min(78vw, 312px);
        margin: 0.35rem 0 0.5rem 0.5rem;
        border: 1px solid #e5e7eb;
        border-right: 1px solid #e5e7eb;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 60px rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(14px);
        z-index: 1050;
    }

    .offcanvas-backdrop.show {
        opacity: 0.18;
    }

    .offcanvas-backdrop {
        z-index: 1040;
    }

    .nav-drawer-header {
        padding: 1rem 1rem 0.8rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-drawer-body {
        align-items: stretch;
        flex-direction: column;
        padding: 0.95rem 1rem 1.1rem;
        gap: 0.9rem;
    }

    .nav-drawer-title {
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #111827;
    }

    .main-nav-links {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0.6rem;
    }

    .main-nav-link {
        justify-content: flex-start;
        width: 100%;
        padding: 0.92rem 1rem;
        border: 1px solid #edf1f5;
        border-radius: 14px;
        background: #fff;
        color: #0f172a;
        font-weight: 600;
    }

    .main-nav-link:hover,
    .main-nav-link.active {
        color: #111827;
        background: #fafafa;
        border-color: #d1d5db;
        box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.03);
    }

    .main-nav-link i {
        color: #6b7280;
        font-size: 0.98rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        padding-top: 0.9rem;
        border-top: 1px solid #f1f5f9;
    }

    .nav-icon-btn {
        width: 42px;
        height: 42px;
        border-color: #e5e7eb;
        box-shadow: none;
    }

    .nav-user-link {
        width: 100%;
        padding: 0.9rem 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: #fff;
        text-align: center;
        font-weight: 600;
    }

    .profile-dropdown-toggle {
        min-height: 44px;
        justify-content: center;
    }

    .profile-dropdown-menu {
        width: 100%;
    }

    .nav-drawer .btn-close {
        opacity: 0.6;
    }
}

.marketplace-navbar .btn-light {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.marketplace-navbar .btn-light:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #fff;
}

.marketplace-navbar .btn-outline-light {
    border-color: #d7e0ea;
    color: #334155;
}

.marketplace-navbar .btn-outline-light:hover {
    background: #fff1f2;
    border-color: #f3c7cf;
    color: var(--brand-primary);
}

.loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.loading-screen__spinner {
    color: var(--brand-primary);
}

.loading-screen__text {
    color: var(--brand-primary);
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.market-hero {
    background: linear-gradient(90deg, #c85659 0%, #b4474a 48%, #9a3a3d 100%);
    border-radius: 28px;
    padding: 3rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.hero-slide-shell {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--card-bg);
}

.hero-slide-image {
    width: 100%;
    display: block;
    border-radius: 30px;
}

.hero-slide-shell .carousel,
.hero-slide-shell .carousel-inner,
.hero-slide-shell .carousel-item {
    border-radius: 30px;
}

.hero-slide-shell .carousel-indicators {
    margin-bottom: 0.8rem;
}

.hero-slide-shell .carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.hero-slide-shell .carousel-control-prev,
.hero-slide-shell .carousel-control-next {
    width: 8%;
}

.market-hero::before,
.market-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.market-hero::before {
    width: 260px;
    height: 260px;
    top: -120px;
    right: -90px;
}

.market-hero::after {
    width: 180px;
    height: 180px;
    bottom: -80px;
    left: 42%;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.market-hero h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.03;
    margin-bottom: 1rem;
}

.market-hero h1 span {
    font-size: 1.08em;
}

.market-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-primary-btn {
    color: var(--brand-primary);
    font-weight: 800;
    border-radius: 16px;
    padding-inline: 1.5rem;
}

.hero-link {
    color: #fff;
    font-weight: 700;
}

.hero-mini-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-mini-stats div {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    min-width: 130px;
}

.hero-mini-stats strong,
.hero-mini-stats span {
    display: block;
    color: #fff;
}

.hero-mini-stats strong {
    font-size: 1.2rem;
    font-weight: 800;
}

.hero-mini-stats span {
    opacity: 0.88;
    font-size: 0.9rem;
}

.hero-visual {
    min-height: 360px;
    position: relative;
}

.hero-phone-card {
    width: 260px;
    height: 470px;
    border-radius: 34px;
    background: #fff;
    margin: 0 auto;
    padding: 1rem;
    transform: rotate(-7deg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-phone-top {
    width: 92px;
    height: 14px;
    border-radius: 999px;
    background: #111827;
    margin: 0 auto 1rem;
}

.hero-phone-content {
    border-radius: 26px;
    height: calc(100% - 24px);
    background: linear-gradient(180deg, #fff5f5, #ffffff);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-chip-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mini-pill {
    background: #ffe2e3;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}

.hero-card-stack {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.hero-stack-card {
    height: 118px;
    border-radius: 22px;
    background: linear-gradient(135deg, #c85659, #b4474a);
}

.hero-stack-card.light {
    background: linear-gradient(135deg, #fff0f1, #ffe2e3);
}

.hero-note {
    margin-top: auto;
    background: #fff;
    border-radius: 18px;
    color: var(--brand-primary);
    font-weight: 700;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 25px rgba(180, 71, 74, 0.08);
}

.hero-floating {
    position: absolute;
    background: #fff;
    color: var(--brand-primary);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.hero-floating-a { top: 6%; left: 0; }
.hero-floating-b { right: 2%; top: 22%; }
.hero-floating-c { left: 9%; bottom: 9%; }

.cta-strip {
    display: block;
    background: var(--brand-primary);
    color: #fff;
    text-align: center;
    font-weight: 800;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.category-board,
.market-empty {
    background: var(--card-bg);
    border-radius: 24px;
}

.category-board {
    padding: 1.5rem;
    border: 0;
    box-shadow: none;
}

.market-empty {
    border: 1px solid var(--line-soft);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.how-to-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.how-to-card {
    background: #fff7f7;
    border: 1px solid #ffe2e3;
    border-radius: 20px;
    padding: 1.25rem;
}

.how-to-card span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.how-to-card strong {
    display: block;
    margin-bottom: 0.45rem;
}

.how-to-card p {
    color: var(--text-soft);
    margin: 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.section-head span {
    color: var(--text-soft);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.category-bubble {
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 22px;
    color: var(--text-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.category-bubble:hover,
.category-bubble.active {
    transform: translateY(-4px);
    border-color: #ffd0d2;
    box-shadow: var(--shadow-soft);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff4f4, #ffe4e5);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 0.85rem;
}

.category-bubble strong {
    display: block;
    font-size: 0.96rem;
}

.promo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.promo-box {
    border-radius: 22px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.promo-box small,
.promo-box strong {
    display: block;
}

.promo-box small {
    margin-bottom: 0.35rem;
}

.promo-red {
    color: #fff;
    background: linear-gradient(135deg, #c85659, #9a3a3d);
}

.promo-soft {
    background: var(--card-bg);
    border: 1px solid var(--line-soft);
}

.product-market-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9eef5;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    height: 100%;
}

.product-market-card:hover {
    transform: translateY(-4px);
    border-color: #cfe0ff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.product-purchase-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.product-purchase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.choice-group {
    background: linear-gradient(135deg, #ffffff 0%, #fef7f8 50%, #ffffff 100%);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 1.4rem 1.4rem 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(180, 71, 74, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.choice-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.choice-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.choice-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.choice-pill {
    cursor: pointer;
    display: inline-flex;
    position: relative;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-pill-box {
    min-width: 68px;
    height: 54px;
    padding: 0 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.choice-pill-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.choice-pill:hover .choice-pill-box {
    transform: translateY(-3px) scale(1.02);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.choice-pill:hover .choice-pill-box::before {
    opacity: 1;
}

.choice-color-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border-color: #93c5fd;
}

.choice-color-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border-color: #fca5a5;
}

.choice-color-green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border-color: #86efac;
}

.choice-pill input:checked + .choice-pill-box {
    border-color: var(--brand-primary);
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(180, 71, 74, 0.3), 0 0 0 4px rgba(180, 71, 74, 0.12);
    transform: translateY(-3px) scale(1.05);
}

.choice-pill input:checked + .choice-pill-box::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #fff;
    color: var(--brand-primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.choice-size-box {
    min-width: 60px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.qty-control:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 28px rgba(180, 71, 74, 0.15), 0 0 0 4px rgba(180, 71, 74, 0.1);
}

.qty-btn {
    width: 56px;
    height: 56px;
    border: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 800;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.qty-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(180, 71, 74, 0.1) 0%, rgba(180, 71, 74, 0) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.qty-btn:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: var(--brand-primary);
    transform: scale(1.05);
}

.qty-btn:hover::before {
    opacity: 1;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 80px;
    height: 56px;
    border: 0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    outline: none;
    background: #fff;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.qty-input:focus {
    background: #fafbff;
}

/* Product detail purchase panel override */
.product-purchase-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 !important;
    overflow: visible;
}

body.sheet-open {
    overflow: hidden;
}

.product-config-sheet__backdrop,
.product-config-sheet__header,
.purchase-sheet-confirm-btn {
    display: none;
}

.product-purchase-card::before,
.choice-group::before {
    display: none;
}

.choice-panel {
    background: #fff;
    border: 0;
    border-radius: 22px;
    padding: 0.6rem 0.2rem 0.2rem;
    box-shadow: none;
}

.choice-group {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: start;
    column-gap: 14px;
}

.choice-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    padding-top: 0.55rem;
    color: #6b7280;
    letter-spacing: 0;
}

/* stock label spans the content column, under the pills */
.choice-group [data-stock-label] {
    grid-column: 2;
}

@media (max-width: 575.98px) {
    .choice-group {
        grid-template-columns: 1fr;
        row-gap: 0.4rem;
    }
    .choice-title { padding-top: 0; }
    .choice-group [data-stock-label] { grid-column: 1; }
}

.choice-pills {
    gap: 0.65rem;
}

.choice-pill-box {
    min-width: 70px;
    height: 46px;
    padding: 0 1rem;
    border: 1px solid #d8b1b2;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: none;
}

.choice-pill-box::before,
.choice-pill input:checked + .choice-pill-box::after {
    display: none;
}

.choice-pill:hover .choice-pill-box {
    border-color: rgba(217, 34, 39, 0.75);
    box-shadow: none;
    transform: translateY(-1px);
}

.choice-color-blue,
.choice-color-red,
.choice-color-green,
.choice-size-box {
    background: #fff;
}

.choice-pill input:checked + .choice-pill-box {
    border-color: var(--brand-primary);
    border-width: 2px;
    background: rgba(180, 71, 74, 0.06);
    color: var(--brand-primary);
    box-shadow: none;
    transform: none;
}

.choice-size-box {
    min-width: 54px;
}

.qty-section {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: center;
    column-gap: 14px;
}

.qty-section .form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.qty-section .qty-stock {
    display: block;
    margin-top: 2px;
}

.qty-control {
    justify-self: start;
}

@media (max-width: 575.98px) {
    .qty-section {
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }
}

.qty-control {
    border: 1px solid #d8b1b2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.qty-control:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(217, 34, 39, 0.10);
}

.qty-btn {
    width: 52px;
    height: 52px;
    background: #fff;
    color: #334155;
    font-size: 1.5rem;
    font-weight: 700;
}

.qty-btn::before {
    display: none;
}

.qty-btn:hover {
    background: #ffeaeb;
    color: var(--brand-primary-dark);
    transform: none;
}

.qty-btn:active {
    transform: none;
}

.qty-input {
    width: 96px;
    height: 52px;
    border-left: 1px solid #d9e1ec;
    border-right: 1px solid #d9e1ec;
    font-size: 1.18rem;
    font-weight: 700;
    background: #fff;
    color: #111827;
}

[data-stock-label],
[data-stock-label-mobile] {
    color: #7b5c5d !important;
    margin-top: 0.55rem !important;
}

.purchase-actions {
    align-items: stretch;
}

.product-preorder-note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-preorder-note.is-open {
    background: #ecfdf5;
    color: #065f46;
}

.product-preorder-note.is-closed {
    background: #fbeeee;
    color: #9a3a3d;
}

.purchase-btn {
    min-height: 56px;
    border-radius: 9999px;
    font-size: 1.2rem;
    font-weight: 600;
}

.purchase-btn-outline {
    border-width: 1.5px;
    border-color: #b4474a;
    color: #b4474a;
    background: #fff;
}

.purchase-btn-outline:hover {
    color: #fff;
    background: #b4474a;
    border-color: #b4474a;
}

.purchase-btn-primary {
    background: #b4474a;
    border-color: #b4474a;
}

.purchase-btn-primary:hover {
    background: #9a3a3d;
    border-color: #9a3a3d;
}

.product-media {
    display: block;
    position: relative;
    padding: 0.6rem 0.6rem 0;
    background: #fff;
}

.product-card-image,
.product-card-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.product-card-placeholder {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    padding: 1rem;
}

.product-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: #ff0007;
    color: #fff;
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.order-history {
    max-width: 1040px;
    margin: 0 auto;
}

.order-history-card {
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.1rem;
}

.order-history-card__header,
.order-history-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem;
}

.order-history-card__header {
    border-bottom: 1px solid #e6edf5;
}

.order-history-card__number {
    color: #0f2747;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.order-history-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    color: #66758a;
    font-size: 0.92rem;
    font-weight: 400;
}

.order-history-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #f66e72;
    background: #fff0f0;
    color: #d9060c;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
}

.order-history-card__status.is-paid,
.order-history-card__status.is-approved,
.order-history-card__status.is-completed {
    border-color: #b7ebcb;
    background: #f0fdf4;
    color: #15803d;
}

.order-history-card__status.is-cancelled,
.order-history-card__status.is-rejected {
    border-color: #fecaca;
    background: #fff1f2;
    color: #dc2626;
}

.order-history-card__body {
    padding: 1rem 1.4rem;
    background: #fff5f5;
    border-bottom: 1px solid #e6edf5;
}

.order-history-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.95rem;
    padding: 0.95rem 1rem;
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
}

.order-history-item + .order-history-item {
    margin-top: 0.85rem;
}

.order-history-item__media {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.order-history-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-history-item__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
}

.order-history-item__content {
    min-width: 0;
}

.order-history-item__title {
    margin: 0 0 0.25rem;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
}

.order-history-item__subtext {
    color: #6b7a90;
    font-size: 0.92rem;
    font-weight: 400;
}

.order-history-item__price {
    color: #b4474a;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.order-history-card__total-label {
    color: #8290a5;
    font-size: 0.95rem;
    font-weight: 400;
}

.order-history-card__total {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.order-history-card__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.order-history-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    font-weight: 600;
}

.order-history-btn--primary {
    background: #b4474a;
    border-color: #b4474a;
    color: #fff;
}

.order-history-btn--primary:hover {
    background: #9a3a3d;
    border-color: #9a3a3d;
    color: #fff;
}

.order-history-btn--secondary {
    background: #fff;
    border: 1px solid #dbe5f0;
    color: #0f2747;
}

.order-history-btn--secondary:hover {
    border-color: #bfd0e4;
    color: #0f2747;
    background: #f8fbff;
}

.checkout-delivery-options {
    display: grid;
    gap: 0.85rem;
}

.checkout-delivery-option {
    display: block;
}

.checkout-delivery-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-delivery-option__box {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.05rem;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.checkout-delivery-option__box strong {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
}

.checkout-delivery-option__box small {
    color: #6b7a90;
    font-size: 0.88rem;
}

.checkout-delivery-option input:checked + .checkout-delivery-option__box {
    border-color: #b4474a;
    background: #f8fbff;
    box-shadow: inset 0 0 0 1px #b4474a;
}

.checkout-summary-card {
    display: grid;
    gap: 1rem;
}

@media (min-width: 992px) {
    .checkout-summary-card {
        position: sticky;
        top: 108px;
    }
}

.checkout-summary-head h2 {
    margin: 0;
    color: #0f2747;
    font-size: 1.45rem;
    font-weight: 700;
}

.checkout-summary-head p {
    margin: 0.35rem 0 0;
    color: #6b7a90;
    font-size: 0.94rem;
}

.checkout-summary-list {
    display: grid;
    gap: 0.9rem;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #f8fbff;
}

.checkout-summary-item__media {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.checkout-summary-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-summary-item__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
}

.checkout-summary-item__content h3 {
    margin: 0 0 0.25rem;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.checkout-summary-item__meta {
    color: #6b7a90;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkout-summary-item__price {
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-summary-totals {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1rem 0.25rem;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #fff;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #5b6779;
    font-size: 0.98rem;
}

.checkout-summary-row strong {
    color: #1f2937;
    font-weight: 600;
}

.checkout-summary-row--total {
    margin-top: 0.15rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e6edf5;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
}

.checkout-summary-row--total strong {
    font-size: 1.8rem;
    font-weight: 700;
}

.checkout-submit-btn {
    margin-top: 0.35rem;
    min-height: 52px;
    font-size: 1rem;
    font-weight: 700;
}

.order-detail-layout,
.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
    gap: 1.25rem;
    max-width: 1040px;
    margin: 0 auto;
}

.payment-side {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.order-detail-card,
.payment-card {
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    overflow: hidden;
}

.order-detail-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #e6edf5;
}

.order-detail-card__title {
    margin: 0;
    color: #0f2747;
    font-size: 1.4rem;
    font-weight: 700;
}

.order-detail-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    color: #66758a;
    font-size: 0.92rem;
}

.order-detail-items {
    padding: 1rem 1.35rem;
    background: #fff5f5;
}

.order-detail-side .order-detail-card {
    padding: 1.25rem;
}

.order-pickup-qr-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #b4474a;
    color: #b4474a;
    background: #fff;
    border-radius: 999px;
    font-weight: 700;
}

.order-pickup-qr-button:hover {
    border-color: #963a3d;
    color: #fff;
    background: #b4474a;
}

.order-pickup-qr-modal {
    border: 1px solid #e6edf5;
    border-radius: 8px;
    overflow: hidden;
}

.order-pickup-qr-modal .modal-header {
    border-bottom: 1px solid #eef2f7;
}

.order-pickup-qr-modal .modal-body {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    padding: 1.5rem;
    text-align: center;
}

.order-pickup-qr-modal__eyebrow {
    color: #b4474a;
    font-size: 0.82rem;
    font-weight: 700;
}

.order-pickup-qr-modal p {
    max-width: 320px;
    margin: 0;
    color: #66758a;
}

.order-pickup-qr-modal__code {
    min-width: 232px;
    min-height: 232px;
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    background: #fff;
}

.order-pickup-qr-modal__number {
    color: #0f2747;
    font-weight: 800;
    letter-spacing: 0;
}

.order-detail-side__title,
.payment-card__section-title {
    margin: 0;
    color: #0f2747;
    font-size: 1.15rem;
    font-weight: 700;
}

.order-detail-facts,
.payment-summary {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.order-detail-fact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eef2f7;
}

.order-detail-fact span {
    color: #6b7a90;
    font-size: 0.92rem;
}

.order-detail-fact strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: right;
}

.payment-card {
    padding: 1.35rem;
}

.payment-card--hero {
    text-align: center;
}

.payment-card__eyebrow {
    color: #b4474a;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.payment-card__title {
    margin: 0.45rem 0 0.6rem;
    color: #0f2747;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.3;
}

.payment-card__subtitle {
    max-width: 520px;
    margin: 0 auto;
    color: #6b7a90;
    font-size: 0.96rem;
}

.payment-bank-card {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    background: #fff;
    text-align: left;
}

.payment-bank-card__brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.payment-bank-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf5ff;
    color: #1693ea;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.payment-bank-card__name {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.payment-bank-card__bank {
    margin-top: 0.22rem;
    color: #7b8ba1;
    font-size: 1rem;
}

.payment-account-box {
    margin-top: 1rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.payment-account-box__label {
    color: #7b8ba1;
    font-size: 0.95rem;
}

.payment-account-box__number {
    margin-top: 0.15rem;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.payment-copy-btn {
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    white-space: nowrap;
}

.payment-copy-btn:hover {
    border-color: #c7d7ea;
    background: #f8fbff;
    color: #0f172a;
}

.payment-copy-btn.is-copied {
    border-color: #b7ebcb;
    background: #f0fdf4;
    color: #15803d;
}

.payment-upload-locked {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid #b7ebcb;
    border-radius: 8px;
    background: #f0fdf4;
    color: #166534;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.payment-upload-locked i {
    font-size: 1.15rem;
    line-height: 1.2;
}

.payment-upload-locked strong {
    display: block;
    margin-bottom: 0.2rem;
}

.payment-upload-locked p {
    margin: 0;
    color: #166534;
    font-size: 0.92rem;
}

.payment-qr-box {
    margin-top: 1.4rem;
    margin-bottom: 1.2rem;
}

.payment-amount {
    color: #b4474a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.payment-promptpay-number {
    color: #66758a;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.payment-card__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-status-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    margin-top: 1rem;
    border: 1px solid #e8eef7;
    border-radius: 6px;
    background: #f7faff;
}

.payment-status-summary__method {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
}

.payment-status-summary__amount {
    margin-top: 0.3rem;
    color: #6b7a90;
    font-size: 0.95rem;
}

.payment-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.85rem;
    border-radius: 8px;
    background: #ffcccd;
    color: #b70005;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.payment-status-chip.is-approved {
    background: #dcfce7;
    color: #15803d;
}

.payment-status-chip.is-rejected {
    background: #ffe4e6;
    color: #be123c;
}

.payment-status-button {
    margin-top: 1.25rem;
    padding: 0.72rem 1rem;
    border: 1px solid #cfd9e6;
    border-radius: 8px;
    background: #fff;
    color: #0f2747;
    font-size: 0.96rem;
    font-weight: 500;
}

.payment-status-button:hover {
    border-color: #aebfd4;
    background: #f8fbff;
    color: #0f2747;
}

.payment-slip-preview {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    background: #f8fafc;
    margin-bottom: 1rem;
}

.auth-divider {
    position: relative;
    margin: 1.4rem 0 1rem;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #dbe5f0;
}

.auth-divider span {
    position: relative;
    padding: 0 0.9rem;
    background: #fff;
    color: #64748b;
    font-size: 0.92rem;
}

.auth-google-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: #0f172a;
    font-weight: 500;
    border-radius: 10px;
}

.auth-google-btn:hover {
    background: #f8fbff;
    border-color: #cfdbea;
    color: #0f172a;
}

.auth-google-btn__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
}

.auth-google-btn__icon svg {
    width: 100%;
    height: 100%;
}

.product-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.7rem 0.8rem 0.8rem;
}

.product-category {
    color: #7b8794;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.product-title {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    min-height: 2.9rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-price {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
    margin-top: auto;
}

.market-empty {
    padding: 2rem;
    text-align: center;
}

.is-admin-area .msuso-footer {
    display: none;
}

.is-admin-area main {
    min-height: calc(100vh - 74px);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 74px);
    background: #f8fafc;
    color: #111827;
}

.admin-shell__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem 0.8rem;
    background: #fff;
    border-right: 1px solid #e5e7eb;
}

.admin-shell__main {
    min-width: 0;
}

.admin-brand-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 96px;
    padding: 0.25rem 0.35rem 1rem;
    border: 0;
    border-bottom: 1px solid #eef2f7;
    border-radius: 0;
    background: transparent;
}

.admin-brand-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff1f2;
    box-shadow: inset 0 0 0 1px rgba(180, 71, 74, 0.14);
    overflow: hidden;
}

.admin-brand-card__icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.admin-brand-card__title {
    font-size: 1.28rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

.admin-brand-card__subtitle {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.admin-sidebar-nav {
    display: grid;
    gap: 0.35rem;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 48px;
    padding: 0.78rem 1rem;
    border-radius: 9px;
    color: #374151;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-sidebar-link__icon {
    width: 24px;
    height: 24px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #6b7280;
    flex-shrink: 0;
    font-size: 1rem;
}

.admin-sidebar-link__arrow {
    margin-left: auto;
    color: #9ca3af;
    font-size: 0.8rem;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.is-active {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    transform: none;
}

.admin-sidebar-link:hover .admin-sidebar-link__icon,
.admin-sidebar-link.is-active .admin-sidebar-link__icon {
    background: transparent;
    color: #fff;
}

.admin-sidebar-link:hover .admin-sidebar-link__arrow,
.admin-sidebar-link.is-active .admin-sidebar-link__arrow {
    color: rgba(255, 255, 255, 0.86);
}

.admin-sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 1rem;
    padding: 1.1rem 0.35rem 0.1rem;
    border-top: 1px solid #eef2f7;
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: #fff7f7;
}

.admin-sidebar-user__avatar,
.admin-topbar-user__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800;
}

.admin-sidebar-user__name {
    font-weight: 700;
    color: #111827;
}

.admin-sidebar-user__meta,
.admin-topbar-user__text span {
    color: #6b7280;
    font-size: 0.88rem;
}

.admin-sidebar-footer__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.admin-sidebar-footer__actions form {
    margin: 0;
}

.admin-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    border: 0;
    border-radius: 11px;
    background: #fff1f2;
    color: var(--brand-primary);
    padding: 0.65rem 0.75rem;
    font-weight: 600;
}

.admin-footer-btn:hover {
    color: #fff;
    background: var(--brand-primary);
}

.admin-sidebar-group {
    display: grid;
    gap: 0.45rem;
}

.admin-sidebar-group__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    border: 0;
    background: transparent;
    min-height: 48px;
    padding: 0.78rem 1rem;
    border-radius: 9px;
    color: #374151;
    font-weight: 600;
    text-align: left;
}

.admin-sidebar-group__label:hover,
.admin-sidebar-group__label.is-active {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
}

.admin-sidebar-group__label:hover i,
.admin-sidebar-group__label.is-active i {
    color: #fff;
}

.admin-sidebar-group__title {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.admin-sidebar-group__title i,
.admin-sidebar-group__label > i {
    color: #6b7280;
    font-size: 1rem;
}

.admin-sidebar-group__chevron {
    transition: transform 0.2s ease;
}

.admin-sidebar-group__label.collapsed .admin-sidebar-group__chevron {
    transform: rotate(-90deg);
}

.admin-sidebar-subnav {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #eef2f7;
    gap: 0.25rem;
}

.admin-sidebar-subnav.show,
.admin-sidebar-subnav.collapsing {
    display: grid;
}

.admin-sidebar-sublink {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.58rem 0.15rem;
    color: #4b5563;
    font-size: 0.96rem;
    font-weight: 400;
}

.admin-sidebar-sublink i {
    color: #9ca3af;
    font-size: 0.92rem;
}

.admin-sidebar-sublink:hover,
.admin-sidebar-sublink.is-active {
    color: #b4474a;
}

.admin-sidebar-sublink:hover i,
.admin-sidebar-sublink.is-active i {
    color: #b4474a;
}

.admin-sidebar-link__badge {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 0.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff1f2;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 1.5rem 0;
    padding: 1.65rem 1.8rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    background: #fff;
    backdrop-filter: none;
}

.admin-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #9ca3af;
    font-size: 0.88rem;
    margin-bottom: 0.55rem;
}

.admin-breadcrumb .is-current {
    color: var(--brand-primary);
    font-weight: 700;
}

.admin-page-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #111827;
}

.admin-page-subtitle {
    margin: 0.4rem 0 0;
    max-width: 760px;
    color: #6b7280;
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.admin-topbar-user__text {
    text-align: right;
}

.admin-topbar-user__text strong {
    display: block;
    color: #111827;
}

.admin-content {
    margin: 0 1.5rem 1.5rem;
    padding: 1.75rem 1.8rem 2rem;
    min-height: calc(100vh - 178px);
    border: 1px solid #e5e7eb;
    border-top: 0;
    border-radius: 0 0 28px 28px;
    background: #fff;
}

.admin-shell .glass-card,
.admin-dashboard-panel {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
}

.table-glass {
    overflow: hidden;
}

.admin-dashboard {
    display: grid;
    gap: 1.4rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    border: 1px solid #e6edf5;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.admin-stat-card__icon,
.admin-quick-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.admin-stat-card__body span {
    display: block;
    font-size: 0.9rem;
    color: #7b8ba1;
    margin-bottom: 0.2rem;
}

.admin-stat-card__body strong {
    display: block;
    color: #0f172a;
    font-size: 1.8rem;
    line-height: 1;
}

.tone-blue .admin-stat-card__icon,
.admin-quick-card.tone-blue .admin-quick-card__icon {
    background: #ebf3ff;
    color: #b4474a;
}

.tone-violet .admin-stat-card__icon,
.admin-quick-card.tone-purple .admin-quick-card__icon {
    background: #f3eeff;
    color: #8b5cf6;
}

.tone-amber .admin-stat-card__icon,
.admin-quick-card.tone-orange .admin-quick-card__icon {
    background: #ffe8e9;
    color: #f9161c;
}

.tone-green .admin-stat-card__icon,
.admin-quick-card.tone-green .admin-quick-card__icon {
    background: #eafaf3;
    color: #10b981;
}

.tone-slate .admin-stat-card__icon,
.admin-quick-card.tone-slate .admin-quick-card__icon {
    background: #eef3f8;
    color: #64748b;
}

.admin-dashboard-panel {
    padding: 1.35rem;
}

.admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-section-head h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.admin-section-head p {
    margin: 0.28rem 0 0;
    color: #7b8ba1;
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-quick-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    border-radius: 20px;
    border: 1px solid #e8eef6;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-quick-card:hover {
    transform: translateY(-2px);
    border-color: #d5e3f7;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.admin-quick-card__body {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.admin-quick-card__body strong {
    color: #0f172a;
    font-size: 1.06rem;
}

.admin-quick-card__body small {
    color: #7b8ba1;
    font-size: 0.88rem;
}

.admin-quick-card__arrow {
    margin-left: auto;
    color: #b2becc;
}

.admin-chart-wrap {
    height: 360px;
}

.admin-stats-grid--payments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-alert-list,
.admin-payment-review-list {
    display: grid;
    gap: 1rem;
}

.admin-alert-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.95rem;
    padding: 0.95rem 1rem;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    background: #fff;
}

.admin-alert-card:hover {
    border-color: #cfe0f5;
    background: #f8fbff;
}

.admin-alert-card__media {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.admin-alert-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-alert-card__body {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.admin-alert-card__body strong {
    color: #0f172a;
    font-size: 0.98rem;
}

.admin-alert-card__body small,
.admin-alert-card__meta {
    color: #718198;
    font-size: 0.88rem;
}

.admin-payment-review-card {
    border: 1px solid #e6edf5;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.admin-payment-review-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e6edf5;
}

.admin-payment-review-card__number {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
}

.admin-payment-review-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.35rem;
    color: #718198;
    font-size: 0.9rem;
}

.admin-payment-review-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.admin-payment-review-card__body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 320px;
    gap: 1rem;
    padding: 1rem 1.15rem 1.15rem;
}

.admin-payment-review-card__slip a,
.admin-payment-review-card__slip img {
    display: block;
    width: 100%;
}

.admin-payment-review-card__slip img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #dbe5f0;
    background: #f8fafc;
}

.admin-payment-review-card__empty {
    min-height: 280px;
    border: 1px dashed #dbe5f0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    background: #f8fafc;
    text-align: center;
}

.admin-payment-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-payment-review-fact {
    padding: 0.85rem 0.9rem;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    background: #fbfdff;
}

.admin-payment-review-fact span {
    display: block;
    color: #7b8ba1;
    font-size: 0.86rem;
    margin-bottom: 0.22rem;
}

.admin-payment-review-fact strong {
    color: #0f172a;
    font-size: 1rem;
}

.admin-payment-review-note {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #fff0f0;
    color: #7c1013;
}

.admin-payment-review-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #a1070b;
}

.admin-payment-review-note p {
    margin: 0;
}

.admin-payment-review-by {
    margin-top: 0.8rem;
    color: #718198;
    font-size: 0.9rem;
}

.admin-payment-review-card__action {
    padding-left: 0.2rem;
}

.admin-payment-review-form textarea {
    resize: vertical;
}

.admin-payment-review-actions {
    display: grid;
    gap: 0.7rem;
}

.form-control,
.form-select,
.btn {
    border-radius: 14px;
}

.form-control,
.form-select {
    padding: 0.8rem 1rem;
}

.btn-danger,
.btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-outline-light:hover {
    color: var(--brand-primary);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    color: #94a3b8;
    font-size: 0.98rem;
    font-weight: 400;
}

.product-breadcrumb a {
    color: #0f172a;
    font-weight: 500;
}

.product-breadcrumb a:hover {
    color: var(--brand-primary);
}

.product-breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.82rem;
}

.product-breadcrumb-current {
    color: #94a3b8;
    font-weight: 400;
}

.product-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 1rem;
}

.product-detail-shell {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: none;
}

.product-detail-image,
.product-detail-placeholder {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-detail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-weight: 600;
    background: #f8fafc;
    border-radius: 12px;
}

.product-thumb-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.thumb-preview {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.thumb-preview:hover { border-color: var(--brand-secondary); }
.thumb-preview.is-active { border-color: var(--brand-primary); }

.product-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease;
}
.product-share:hover { color: var(--brand-primary); }
.product-share i { font-size: 1.1rem; }

.product-size-guide {
    margin-top: 28px;
}

.product-size-guide__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.qr-box {
    max-width: 320px;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 24px;
    background: #fff;
}

@media (max-width: 1199.98px) {
    .product-detail-media {
        min-height: 360px;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        min-height: auto;
        position: static;
    }

    .market-hero {
        padding: 2rem 1.25rem;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-phone-card {
        width: 220px;
        height: 390px;
    }

    .promo-row {
        grid-template-columns: 1fr;
    }

    .how-to-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .product-detail-page {
        padding-top: 0 !important;
    }

    .product-detail-page .product-breadcrumb {
        display: none;
    }

    .checkout-summary-card {
        gap: 0.85rem;
        padding: 1rem !important;
    }

    .checkout-summary-head h2 {
        font-size: 1.15rem;
    }

    .checkout-summary-head p {
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .product-detail-shell {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding-top: 0 !important;
        padding-bottom: 7.5rem !important;
    }

    .product-detail-media-col {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
    }

    .product-detail-media {
        min-height: auto;
        padding: 0;
        margin-bottom: 0.85rem !important;
    }

    .product-detail-image,
    .product-detail-placeholder {
        max-width: none;
        width: 100vw;
        aspect-ratio: auto;
    }

    .product-detail-image {
        max-height: 56vh;
        object-fit: cover;
    }

    .product-detail-placeholder {
        min-height: 56vw;
        border-radius: 0;
    }

    .product-purchase-card {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 !important;
    }

    .product-size-guide {
        margin-top: 20px;
    }

    .product-config-sheet {
        position: fixed;
        inset: 0;
        z-index: 1060;
        pointer-events: none;
    }

    .product-config-sheet__backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .product-config-sheet__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 88vh;
        overflow-y: auto;
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-radius: 22px 22px 0 0;
        transform: translateY(102%);
        transition: transform 0.28s ease;
        box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.18);
    }

    .product-config-sheet.is-open {
        pointer-events: auto;
    }

    .product-config-sheet.is-open .product-config-sheet__backdrop {
        opacity: 1;
    }

    .product-config-sheet.is-open .product-config-sheet__panel {
        transform: translateY(0);
    }

    .product-config-sheet__header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .product-config-sheet__summary {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .product-config-sheet__thumb {
        width: 72px;
        height: 72px;
        border-radius: 10px;
        overflow: hidden;
        background: #f8fafc;
        flex-shrink: 0;
    }

    .product-config-sheet__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-config-sheet__thumb-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 500;
    }

    .product-config-sheet__price {
        color: #b4474a;
        font-size: 1.9rem;
        font-weight: 700;
        line-height: 1.15;
    }

    .product-config-sheet__stock {
        color: #64748b;
        font-size: 0.95rem;
        margin-top: 0.35rem;
    }

    .product-config-sheet__close {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 999px;
        background: #f8fafc;
        color: #475569;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .purchase-sheet-confirm-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 700;
    }

    .purchase-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e6edf5;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(10px);
    }

    .purchase-btn {
        min-height: 52px;
        font-size: 1rem;
        margin: 0 !important;
    }

    .order-detail-layout,
    .payment-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.8rem;
    }

    .checkout-summary-item__media {
        width: 56px;
        height: 56px;
    }

    .checkout-summary-item__content h3 {
        font-size: 0.94rem;
        line-height: 1.35;
    }

    .checkout-summary-item__meta {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .checkout-summary-item__price {
        grid-column: 1 / -1;
        margin-top: 0.1rem;
        font-size: 1rem;
        color: #b4474a;
    }

    .checkout-summary-totals {
        gap: 0.7rem;
        padding: 0.9rem 0.9rem 0.2rem;
    }

    .checkout-summary-row {
        font-size: 0.9rem;
    }

    .checkout-summary-row,
    .checkout-summary-row--total {
        align-items: flex-start;
    }

    .checkout-summary-row--total strong {
        font-size: 1.35rem;
    }

    .checkout-submit-btn {
        margin-top: 0.15rem;
    }

    .order-detail-card__header,
    .payment-card__section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-status-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-detail-card__header,
    .order-detail-items,
    .payment-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .order-detail-fact {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-detail-fact strong {
        text-align: left;
    }

    .payment-card__title {
        font-size: 1.35rem;
    }

    .payment-amount {
        font-size: 1.7rem;
    }

    .payment-bank-card__name {
        font-size: 1.2rem;
    }

    .payment-bank-card__bank {
        font-size: 0.92rem;
    }

    .payment-account-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-account-box__number {
        font-size: 1.65rem;
    }

    .payment-copy-btn {
        width: 100%;
    }

    .payment-upload-locked {
        flex-direction: column;
    }

    .order-history-card__header,
    .order-history-card__footer {
        padding: 0.95rem 1rem;
    }

    .order-history-card__header,
    .order-history-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-history-card__body {
        padding: 0.9rem 1rem;
    }

    .order-history-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .order-history-item__media {
        width: 56px;
        height: 56px;
    }

    .order-history-item__price {
        grid-column: 1 / -1;
        font-size: 1.3rem;
        margin-top: 0.2rem;
    }

    .order-history-card__total {
        font-size: 1.7rem;
    }

    .order-history-card__actions {
        width: 100%;
        justify-content: stretch;
    }

    .order-history-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .product-breadcrumb {
        gap: 0.45rem;
        margin-bottom: 1rem;
        font-size: 0.88rem;
    }

    .brand-logo {
        width: 54px;
        height: 54px;
    }

    .hero-slide-shell,
    .hero-slide-image,
    .hero-slide-shell .carousel,
    .hero-slide-shell .carousel-inner,
    .hero-slide-shell .carousel-item {
        border-radius: 16px;
    }

    .brand-mark strong {
        font-size: 1.2rem;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-shell__sidebar {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .admin-topbar,
    .admin-topbar-user {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar {
        margin: 1rem 1rem 0;
        border-radius: 20px 20px 0 0;
    }

    .admin-topbar-user__text {
        text-align: left;
    }

    .admin-content {
        margin: 0 1rem 1rem;
        padding: 1rem;
        border-radius: 0 0 20px 20px;
    }

    .admin-stats-grid,
    .admin-quick-grid {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid--payments {
        grid-template-columns: 1fr;
    }

    .admin-alert-card,
    .admin-payment-review-card__body {
        grid-template-columns: 1fr;
    }

    .admin-alert-card__meta {
        justify-self: start;
    }

    .admin-payment-review-grid {
        grid-template-columns: 1fr;
    }

    .admin-payment-review-card__slip img,
    .admin-payment-review-card__empty {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .profile-dropdown {
        width: 100%;
    }

    .profile-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .profile-dropdown-menu {
        width: min(100%, 260px);
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-title {
        font-size: 0.94rem;
        min-height: 2.7rem;
    }

    .product-price {
        font-size: 1.08rem;
    }

    .hero-floating {
        display: none;
    }

    .choice-pills {
        gap: 0.6rem;
    }

    .choice-pill-box {
        min-width: 58px;
        height: 48px;
        padding: 0 1rem;
        font-size: 0.9rem;
    }

    .choice-title {
        font-size: 1.3rem;
        margin-bottom: 0.85rem;
    }

    .qty-btn,
    .qty-input {
        height: 50px;
    }

    .qty-btn {
        width: 50px;
    }

    .qty-input {
        width: 70px;
    }
}

.msuso-checkout-page {
    padding: 26px 0 56px;
    background:
        radial-gradient(circle at top center, rgba(252, 186, 188, 0.32), transparent 42%),
        linear-gradient(180deg, #fff9f9 0%, #ffffff 48%, #fff1f1 100%);
}

.msuso-checkout-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.msuso-checkout-head__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ff7a7e 0%, #e42c31 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 14px 28px rgba(217, 34, 39, 0.22);
}

.msuso-checkout-head h1 {
    margin: 0;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
}

.msuso-checkout-head p {
    margin: 4px 0 0;
    color: #7b7267;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.98rem;
}

.msuso-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 26px;
    align-items: start;
}

.msuso-checkout-card,
.msuso-checkout-summary,
.msuso-checkout-features {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #efc9ca;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(120, 22, 25, 0.06);
}

.msuso-checkout-card {
    padding: 20px;
}

.msuso-checkout-section + .msuso-checkout-section {
    margin-top: 22px;
}

.msuso-checkout-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #171717;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
}

.msuso-checkout-section__title i,
.msuso-checkout-features i,
.msuso-checkout-summary__safe i {
    color: #dd1e23;
}

.msuso-checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.msuso-checkout-field--full {
    grid-column: 1 / -1;
}

.msuso-checkout-field label {
    display: block;
    margin-bottom: 8px;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
}

.msuso-checkout-field input,
.msuso-checkout-field textarea,
.msuso-checkout-select {
    width: 100%;
    border: 1px solid #eacecf;
    border-radius: 14px;
    background: #fff;
    color: #191919;
    padding: 13px 16px;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.98rem;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.msuso-checkout-field input:focus,
.msuso-checkout-field textarea:focus,
.msuso-checkout-select:focus {
    border-color: #df2b30;
    box-shadow: 0 0 0 4px rgba(223, 43, 48, 0.12);
}

.msuso-checkout-field input[readonly] {
    background: #fff7f7;
    color: #7b7267;
}

.msuso-checkout-field textarea {
    min-height: 108px;
    resize: vertical;
}

.msuso-delivery-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.msuso-delivery-option {
    display: block;
}

.msuso-delivery-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.msuso-delivery-option__card {
    display: grid;
    grid-template-columns: 22px 40px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 18px 18px;
    border: 1px solid #eacecf;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.msuso-delivery-option__bullet {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #e2c8c9;
    position: relative;
}

.msuso-delivery-option__bullet::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7a7e 0%, #e42c31 100%);
    opacity: 0;
}

.msuso-delivery-option__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(223, 43, 48, 0.12);
    color: #dd1e23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.msuso-delivery-option__copy strong {
    display: block;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.msuso-delivery-option__copy small {
    display: block;
    margin-top: 4px;
    color: #7b7267;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.9rem;
}

.msuso-delivery-option input:checked + .msuso-delivery-option__card {
    border-color: #e13338;
    background: linear-gradient(180deg, #fff8f8 0%, #ffe5e6 100%);
    box-shadow: inset 0 0 0 1px rgba(225, 51, 56, 0.45);
}

.msuso-delivery-option input:checked + .msuso-delivery-option__card .msuso-delivery-option__bullet {
    border-color: #e13338;
}

.msuso-delivery-option input:checked + .msuso-delivery-option__card .msuso-delivery-option__bullet::after {
    opacity: 1;
}

.msuso-address-block {
    margin-top: 16px;
}

.msuso-address-add {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dd1e23;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.msuso-checkout-summary {
    padding: 18px 18px 16px;
    position: sticky;
    top: 106px;
}

.msuso-checkout-summary__head,
.msuso-checkout-summary__total,
.msuso-checkout-summary__meta div,
.msuso-checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.msuso-checkout-summary__head {
    padding-bottom: 16px;
    border-bottom: 1px solid #f1d7d8;
}

.msuso-checkout-summary__head h2 {
    margin: 0;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
}

.msuso-checkout-summary__head span,
.msuso-checkout-item__content p,
.msuso-checkout-item__content small,
.msuso-checkout-summary__meta span,
.msuso-checkout-summary__safe p {
    color: #7b7267;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
}

.msuso-checkout-summary__list {
    display: grid;
    gap: 14px;
    padding: 16px 0;
}

.msuso-checkout-item {
    align-items: flex-start;
}

.msuso-checkout-item__media,
.msuso-checkout-item__placeholder {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #ffeaeb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msuso-checkout-item__media img,
.msuso-checkout-item__placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.msuso-checkout-item__content {
    flex: 1;
    min-width: 0;
}

.msuso-checkout-item__content h3 {
    margin: 0 0 4px;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.msuso-checkout-item__price,
.msuso-checkout-summary__total strong {
    color: #d80006;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.msuso-checkout-summary__meta {
    display: grid;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #f1d7d8;
    border-bottom: 1px solid #f1d7d8;
}

.msuso-checkout-summary__meta strong {
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
}

.msuso-checkout-summary__total {
    padding: 18px 0 16px;
}

.msuso-checkout-summary__total span {
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
}

.msuso-checkout-summary__total strong {
    font-size: 2.1rem;
}

.msuso-checkout-summary__safe {
    padding: 14px 16px;
    border: 1px solid #f0c3c4;
    border-radius: 10px;
    background: #fff1f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.msuso-checkout-summary__safe > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.msuso-checkout-summary__safe strong {
    display: block;
    color: #181818;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
}

.msuso-checkout-summary__safe p {
    margin: 2px 0 0;
    font-size: 0.9rem;
}

.msuso-checkout-submit {
    width: 100%;
    height: 54px;
    margin-top: 16px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ff7a7e 0%, #e42c31 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(217, 34, 39, 0.24);
}

.msuso-checkout-features {
    margin-top: 22px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.msuso-checkout-features div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #171717;
    font-family: 'Anuphan', 'Noto Sans Thai', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.msuso-checkout-features span {
    line-height: 1.35;
}

@media (max-width: 1199.98px) {
    .msuso-checkout-layout,
    .msuso-checkout-features {
        grid-template-columns: 1fr;
    }

    .msuso-checkout-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .msuso-checkout-page {
        padding: 20px 0 40px;
    }

    .msuso-checkout-head h1 {
        font-size: 1.7rem;
    }

    .msuso-checkout-grid,
    .msuso-delivery-options {
        grid-template-columns: 1fr;
    }

    .msuso-checkout-card,
    .msuso-checkout-summary,
    .msuso-checkout-features {
        padding-left: 16px;
        padding-right: 16px;
    }

    .msuso-checkout-summary__total strong {
        font-size: 1.7rem;
    }
}

/* ===== Product detail — Thaimart-style layout ===== */
.product-detail-info { padding-left: 0.5rem; }

.product-shop-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.product-shop-name i { color: var(--brand-primary); }

.product-detail-heading {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1.1rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
}

.product-assurance {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    background: var(--brand-soft);
    border: 1px solid rgba(180, 71, 74, 0.12);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.product-assurance__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 1 1 200px;
    min-width: 180px;
}
.product-assurance__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--brand-primary);
    flex: 0 0 auto;
}
.product-assurance__text { display: flex; flex-direction: column; line-height: 1.35; }
.product-assurance__title { font-size: 0.95rem; font-weight: 600; color: #1f2937; }
.product-assurance__sub { font-size: 0.8rem; color: #6b7280; }
.product-assurance__divider { width: 1px; background: rgba(180, 71, 74, 0.15); align-self: stretch; }

.product-detail-media { position: relative; }
.product-detail-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(17, 17, 17, 0.6);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

.qty-stock { color: #9ca3af; font-weight: 400; font-size: 0.85rem; }

.product-description-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-soft);
}
.product-description-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem;
    padding-left: 0.75rem;
    border-left: 4px solid var(--brand-primary);
}
.product-description-card__body { color: #4b5563; line-height: 1.75; font-size: 0.98rem; }

@media (max-width: 575.98px) {
    .product-detail-info { padding-left: 0; }
    .product-detail-heading { font-size: 1.25rem; }
    .product-detail-price { font-size: 1.6rem; }
    .product-assurance__divider { display: none; }
}

/* ===== Dashboard: sales by product ===== */
.admin-sales-list { display: flex; flex-direction: column; gap: 0.9rem; }
.admin-sales-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 14px;
}
.admin-sales-row__rank {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 0.9rem;
}
.admin-sales-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.admin-sales-row__name {
    font-weight: 600; color: #1f2937; font-size: 0.98rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-sales-row__bar {
    display: block; height: 8px; border-radius: 999px;
    background: var(--line-soft); overflow: hidden;
}
.admin-sales-row__bar > span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 999px;
}
.admin-sales-row__stats { text-align: right; display: flex; flex-direction: column; line-height: 1.3; }
.admin-sales-row__stats strong { color: var(--brand-primary); font-weight: 800; font-size: 0.98rem; }
.admin-sales-row__stats small { color: #6b7280; font-size: 0.8rem; }
.admin-sales-empty { color: #6b7280; margin: 0; }

@media (max-width: 575.98px) {
    .admin-sales-row { grid-template-columns: 28px 1fr auto; gap: 10px; }
    .admin-sales-row__rank { width: 28px; height: 28px; }
}

/* ===== Admin role badges ===== */
.admin-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}
.admin-role-badge--super { background: rgba(180, 71, 74, 0.12); color: var(--brand-primary); }
.admin-role-badge--staff { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.admin-role-badge--user  { background: #eef0f6; color: #6b7280; }

/* ===== Admin mobile off-canvas sidebar ===== */
.admin-mobile-bar { display: none; }
.admin-sidebar-backdrop { display: none; }

@media (max-width: 767.98px) {
    .admin-mobile-bar {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 1rem 1rem 0;
        padding: 12px 16px;
        width: calc(100% - 2rem);
        background: var(--brand-primary);
        color: #fff;
        border: 0;
        border-radius: 14px;
        font-weight: 600;
        font-size: 1rem;
    }
    .admin-mobile-bar i { font-size: 1.35rem; }

    .admin-shell__sidebar {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 284px;
        max-width: 85vw;
        z-index: 1200;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        border-right: 1px solid #e5e7eb;
        border-bottom: 0;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    }
    .admin-shell__sidebar.is-open { transform: translateX(0); }

    .admin-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease;
        z-index: 1190;
    }
    .admin-sidebar-backdrop.is-open { opacity: 1; visibility: visible; }
    body.admin-drawer-open { overflow: hidden; }
}

/* ===== Pre-order status bar ===== */
.preorder-status-bar { width: 100%; font-size: 0.95rem; }
.preorder-status-bar__inner { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.preorder-status-bar__dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.preorder-status-bar__sub { opacity: .85; margin-left: 6px; font-size: 0.85rem; }
.preorder-status-bar--open { background: #ecfdf5; color: #065f46; }
.preorder-status-bar--open .preorder-status-bar__dot { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.preorder-status-bar--upcoming { background: #fffbeb; color: #92400e; }
.preorder-status-bar--upcoming .preorder-status-bar__dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.18); }
.preorder-status-bar--closed { background: var(--brand-soft); color: var(--brand-primary-dark); }
.preorder-status-bar--closed .preorder-status-bar__dot { background: var(--brand-primary); box-shadow: 0 0 0 4px rgba(180,71,74,.18); }
