:root {
    --brand: #22c59a;
    --brand-dark: #15a981;
    --brand-soft: #eafbf6;
    --ink: #263442;
    --muted: #85909b;
    --line: #e8edf0;
    --page: #f5f7f8;
    --danger: #f05b5b;
    --shadow: 0 6px 24px rgba(31, 47, 60, .06);
}

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body { background: var(--page); color: var(--ink); font-size: 16px; }
img, svg, video { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--brand-dark); }

.site-header {
    height: 118px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(31,47,60,.04);
    z-index: 1030;
}
.site-header-inner { max-width: 1440px; height: 70px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 180px; font-size: 1.35rem; font-weight: 800; color: #18222c; }
.brand img { max-width: 128px; height: 46px; object-fit: contain; }
.brand span:empty { display: none; }
.primary-nav { display: flex !important; align-items: center; gap: 30px; }
.primary-nav a { position: relative; padding: 25px 0 22px; font-size: .95rem; color: #3c4854; }
.primary-nav a::after { content: ''; position: absolute; left: 50%; bottom: 15px; width: 0; height: 2px; background: var(--brand); transform: translateX(-50%); transition: width .2s; }
.primary-nav a:hover::after, .primary-nav a.active::after { width: 24px; }
.primary-nav a.active { color: var(--brand-dark); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-search { display: flex; align-items: center; width: 260px; height: 40px; padding-left: 12px; background: #f5f7f8; border: 1px solid transparent; border-radius: 7px; transition: border-color .2s, background .2s; }
.header-search:focus-within { background: white; border-color: var(--brand); }
.header-search span { color: #98a2aa; font-size: 1.25rem; }
.header-search input { min-width: 0; flex: 1; padding: 0 8px; background: transparent; font-size: .875rem; }
.header-search button { height: 32px; padding: 0 12px; border-radius: 5px; background: var(--brand); color: white; font-size: .82rem; }
.auth-actions { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #e5ebe9; border-radius: 10px; background: #f7faf9; box-shadow: 0 3px 12px rgba(31,47,60,.04); white-space: nowrap; }
.header-login, .header-order-link { min-width: 72px; height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 13px; border-radius: 7px; font-size: .875rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: color .18s, background .18s, box-shadow .18s, transform .18s; }
.header-order-link { color: white; background: linear-gradient(135deg, #2bd2a4, #17b98d); box-shadow: 0 4px 10px rgba(34,197,154,.2); }
.header-order-link:hover { color: white; background: linear-gradient(135deg, #21c69a, #0da97e); box-shadow: 0 6px 15px rgba(34,197,154,.28); transform: translateY(-1px); }
.header-login { color: #45545d; }
.header-login:hover { color: var(--brand-dark); background: white; box-shadow: 0 3px 10px rgba(31,47,60,.06); }
.auth-button-icon { font-size: .9rem; font-weight: 700; line-height: 1; }
.auth-actions.signed-in .header-login { max-width: 150px; justify-content: flex-start; overflow: hidden; text-overflow: ellipsis; }
.member-avatar { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: .72rem; }
.header-logout { margin: 0; }
.header-logout button { height: 34px; padding: 0 10px; border-radius: 6px; background: transparent; color: #87919a; font-size: .8rem; white-space: nowrap; }
.header-logout button:hover { background: #fff0f0; color: #d15353; }
.mobile-nav-toggle { display: none; margin-left: auto; padding: 7px 11px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.25rem; }
.mobile-member-links { display: none; }
.top-menu-bar { height: 48px; overflow: hidden; border-top: 1px solid #edf1f4; background: #fff; }
.top-menu-inner { max-width: 1440px; height: 100%; display: flex; align-items: stretch; gap: 44px; margin: 0 auto; padding: 0 28px; overflow-x: auto; scrollbar-width: none; }
.top-menu-inner::-webkit-scrollbar { display: none; }
.top-menu-inner > a { position: relative; min-width: max-content; display: inline-flex; align-items: center; gap: 7px; padding: 0 2px; color: #53616e; font-size: .94rem; font-weight: 600; white-space: nowrap; }
.top-menu-inner > a::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #3186f5; transform: scaleX(0); transition: transform .2s ease; }
.top-menu-inner > a:hover, .top-menu-inner > a.active { color: #2474dc; }
.top-menu-inner > a:hover::after, .top-menu-inner > a.active::after { transform: scaleX(1); }
.menu-badge { padding: 1px 5px; border-radius: 4px; background: #1c75ef; color: #fff; font-size: .6rem; font-weight: 800; line-height: 1.35; }
.top-menu-inner > .mobile-menu-account { display: none; }

.store-shell { max-width: 1440px; margin: 0 auto; padding: 20px 28px 52px; }
.store-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.category-sidebar { position: sticky; top: 138px; max-height: calc(100vh - 158px); overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.sidebar-title { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.sidebar-count { min-width: 25px; padding: 2px 7px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); font-size: .75rem; text-align: center; }
.category-list { max-height: calc(100vh - 167px); overflow-y: auto; padding: 8px; scrollbar-width: thin; scrollbar-color: #cbd3d8 transparent; }
.category-link { display: flex; align-items: center; gap: 12px; min-height: 64px; margin-bottom: 4px; padding: 9px 10px; border-left: 3px solid transparent; border-radius: 4px; transition: background .18s, color .18s; }
.category-link:hover, .category-link.active { background: var(--brand-soft); color: var(--brand-dark); border-left-color: var(--brand); }
.category-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; }
.category-icon img { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; }
.category-icon-all { border-radius: 7px; background: var(--brand); color: white; font-size: 1.1rem; }
.category-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.category-copy strong { overflow: hidden; font-size: .9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.category-copy small { color: var(--muted); font-size: .75rem; }
.store-content { min-width: 0; }
.store-page-heading { margin: 0 0 16px; padding: 4px 1px; }
.store-page-heading h1 { margin: 0 0 5px; color: var(--ink); font-size: 1.45rem; line-height: 1.35; }
.store-page-heading p { margin: 0; color: var(--muted); font-family: inherit; font-size: .84rem; }
.announcement { display: flex; align-items: flex-start; gap: 12px; min-height: 68px; margin-bottom: 18px; padding: 16px 18px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); color: #53606b; font-size: .875rem; line-height: 1.75; }
.announcement p { margin: 0; }
.announcement-icon { color: var(--brand-dark); font-size: 1.25rem; transform: rotate(180deg); }
.mobile-category-strip { display: none; }
.product-section { margin-bottom: 24px; scroll-margin-top: 136px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; border-bottom: 1px solid var(--brand); }
.section-heading h2 { margin: 0; font-size: 1.18rem; font-weight: 700; }
.section-heading span { color: var(--muted); font-size: .82rem; }
.product-panel { margin-top: 14px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.product-panel-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.product-group-meta { min-width: 0; display: flex; align-items: center; gap: 12px; }
.product-group-meta img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.product-group-meta h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.product-group-meta p { margin: 0; color: var(--muted); font-size: .78rem; }
.price-from { color: var(--brand-dark); font-size: 1rem; font-weight: 700; }
.price-from small { margin-left: 2px; font-size: .72rem; font-weight: 500; }
.product-row { min-height: 48px; display: grid; grid-template-columns: minmax(260px, 1fr) 92px 90px 104px 92px; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid #edf1f3; font-size: .86rem; }
.product-row:hover:not(.product-table-head) { background: #fbfdfd; }
.product-table-head { min-height: 40px; background: #f8fafb; color: #4a5661; font-size: .8rem; font-weight: 600; }
.product-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #34414d; }
.product-price { color: #ff6b34; font-size: .92rem; }
.stock { color: var(--muted); }
.stock::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--brand); vertical-align: 1px; }
.stock.sold-out::before { background: var(--danger); }
.delivery-type { overflow: hidden; color: var(--muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.buy-button { justify-self: end; min-width: 84px; padding: 8px 13px; border-radius: 5px; background: var(--brand); color: white; text-align: center; font-size: .82rem; transition: background .18s, transform .18s; }
.buy-button:hover { color: white; background: var(--brand-dark); transform: translateY(-1px); }
.buy-button.disabled { pointer-events: none; background: #cbd3d8; }
.empty-products { padding: 40px 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }

.main-container > .container { padding-top: 24px; padding-bottom: 42px; }
.card { border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.card-header { background: #f8fafb; border-bottom-color: var(--line); }
.btn-primary, .btn-outline-primary:hover { border-color: var(--brand); background: var(--brand); }
.btn-outline-primary { border-color: var(--brand); color: var(--brand-dark); }
.form-control { min-height: 42px; border-color: #dfe5e8; border-radius: 6px; font-size: .9rem; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(34,197,154,.14); }
.nav-pills .nav-link.active { background: var(--brand); }
.good-card .card-title, .order-card .card-title { color: var(--ink) !important; }
.good-card .card-img-top { object-fit: contain; }
.site-footer { color: #aebcc1; background: #1f3035 !important; border-top: 3px solid var(--brand); }
.footer-main { max-width: 1180px; display: grid; grid-template-columns: minmax(270px,1.65fr) repeat(3,minmax(140px,1fr)); gap: 54px; margin: 0 auto; padding: 48px 24px 40px; }
.footer-brand-column { max-width: 390px; padding-top: 3px; }
.footer-brand-column > p { margin: 0; color: #aebcc1; font-family: inherit; font-size: .84rem; line-height: 1.8; }.footer-service-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }.footer-service-pills span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; color: #c9d5d8; font-size: .72rem; }
.footer-column { display: flex; align-items: flex-start; flex-direction: column; gap: 11px; }.footer-column h2 { position: relative; margin: 0 0 9px; padding-bottom: 11px; color: white; font-size: .92rem; }.footer-column h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--brand); }.footer-column > a:not(.footer-contact-button) { color: #aebcc1; font-size: .8rem; transition: color .18s,transform .18s; }.footer-column > a:not(.footer-contact-button)::before { content: '›'; margin-right: 7px; color: #60777d; }.footer-column > a:hover { color: #75dfc1; transform: translateX(2px); }
.footer-contact { gap: 6px; }.footer-contact p { margin: 0; color: #7f9298; font-family: inherit; font-size: .72rem; }.footer-contact strong { margin-bottom: 7px; color: #e8eff1; font-size: .88rem; }.footer-contact-button { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; margin-top: 3px; padding: 0 12px; border: 1px solid rgba(34,197,154,.35); border-radius: 5px; background: rgba(34,197,154,.09); color: #75dfc1; font-size: .78rem; font-weight: 600; }.footer-contact-button:hover { color: white; background: var(--brand-dark); transform: none; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px max(24px,calc((100% - 1132px)/2)); border-top: 1px solid rgba(255,255,255,.08); background: #1a292e; }.footer-bottom p { margin: 0; color: #819398; font-family: inherit; font-size: .72rem; }.footer-custom { color: #819398; font-size: .72rem; text-align: center; }.footer-custom p { margin: 0; }.footer-custom a { color: #9fb0b5; }.footer-reminder { text-align: right; }
.support-float { position: fixed; z-index: 1020; right: 18px; top: 46%; width: 50px; }.support-float a { width: 48px; height: 48px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background-color: #25a3e1; color: white; box-shadow: 0 7px 22px rgba(18,124,177,.3); transition: transform .18s,box-shadow .18s; }.support-float a.telegram { background-image: url('/uploads/images/ficon_03.png'); background-repeat: no-repeat; background-position: center; background-size: 27px 27px; }.support-float a:hover { color: white; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18,124,177,.38); }

/* Member and content pages */
.auth-page { min-height: calc(100vh - 130px); display: grid; place-items: center; padding: 48px 18px; background: radial-gradient(circle at 80% 10%, rgba(34,197,154,.1), transparent 30%), var(--page); }
.auth-card { width: min(100%, 460px); padding: 34px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 48px rgba(28,49,59,.09); }
.auth-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.auth-heading h1 { margin: 0 0 4px; font-size: 1.55rem; }
.auth-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.auth-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.35rem; font-weight: 700; }
.member-form { display: grid; gap: 16px; }
.member-form > label:not(.check-line) { display: grid; gap: 7px; color: #46525d; font-size: .86rem; font-weight: 600; }
.member-form input[type="email"], .member-form input[type="text"], .member-form input[type="password"] { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #dfe5e8; border-radius: 6px; background: #fff; font-size: .92rem; transition: border .2s, box-shadow .2s; }
.member-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(34,197,154,.12); }
.check-line { display: flex; align-items: center; gap: 8px; color: #68737d; font-size: .82rem; }
.check-line input { accent-color: var(--brand); }
.primary-action { height: 46px; border-radius: 6px; background: var(--brand); color: white; font-weight: 700; }
.primary-action:hover { background: var(--brand-dark); }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
.auth-switch a { color: var(--brand-dark); font-weight: 600; }
.form-alert, .success-alert { margin-bottom: 16px; padding: 11px 13px; border-radius: 6px; font-size: .84rem; }
.form-alert { background: #fff0f0; color: #c34848; }
.success-alert { background: var(--brand-soft); color: var(--brand-dark); }

.content-page { min-height: calc(100vh - 130px); padding: 46px 24px 70px; }
.content-wrap { max-width: 1160px; margin: 0 auto; }
.narrow-wrap { max-width: 920px; }
.page-heading { margin-bottom: 34px; }
.page-heading > span, .about-hero > div > span, .about-detail > div > span { color: var(--brand-dark); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.page-heading h1 { margin: 7px 0 8px; font-size: 2rem; }
.page-heading p { margin: 0; color: var(--muted); }
.news-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 28px; }
.news-list { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.news-item { display: grid; grid-template-columns: 64px minmax(0,1fr) 36px; align-items: center; gap: 20px; padding: 23px 24px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-date { display: flex; flex-direction: column; align-items: center; color: var(--muted); }
.news-date strong { color: var(--ink); font-size: 1.7rem; line-height: 1; }
.news-date span { margin-top: 6px; font-size: .72rem; }
.content-tag { display: inline-block; margin-bottom: 7px; padding: 3px 8px; border-radius: 3px; background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; }
.news-copy h2 { margin: 0 0 7px; font-size: 1.05rem; }
.news-copy p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.news-arrow { color: var(--brand-dark); font-size: 1.2rem; }
.content-aside { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); align-self: start; }
.content-aside h3 { margin: 0 0 13px; font-size: 1rem; }
.content-aside > a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: #5b6771; font-size: .86rem; }
.aside-help { margin-top: 22px; padding: 17px; border-radius: 7px; background: var(--brand-soft); }
.aside-help p { color: #607069; font-size: .78rem; line-height: 1.65; }
.aside-help a { color: var(--brand-dark); font-size: .8rem; font-weight: 700; }
.empty-content { padding: 52px; color: var(--muted); text-align: center; }
.pagination-wrap { padding: 18px; }
.article-wrap { max-width: 860px; margin: 0 auto; padding: 38px 48px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.breadcrumb-line { display: flex; gap: 8px; color: var(--muted); font-size: .78rem; }
.breadcrumb-line em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-heading { padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.article-heading h1 { margin: 7px 0 12px; font-size: 2rem; line-height: 1.35; }
.article-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.article-body { padding: 30px 0; color: #45515c; font-size: 1rem; line-height: 1.9; }
.article-body p { margin-bottom: 1.2em; }
.article-footer { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; }
.article-footer a { color: var(--brand-dark); }
.help-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 26px; }
.help-nav { position: sticky; top: 138px; align-self: start; display: grid; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.help-nav strong { padding: 6px 8px 12px; }
.help-nav a { padding: 10px 8px; color: #68737d; font-size: .85rem; border-top: 1px solid var(--line); }
.help-main { display: grid; gap: 24px; }
.guide-card, .faq-section, .service-card { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); scroll-margin-top: 92px; }
.guide-card h2, .faq-section h2 { margin: 0 0 22px; font-size: 1.2rem; }
.guide-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.guide-steps div { display: grid; gap: 7px; padding: 16px; border-radius: 7px; background: #f8fafb; }
.guide-steps b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: .78rem; }
.guide-steps strong { font-size: .9rem; }
.guide-steps span { color: var(--muted); font-size: .76rem; line-height: 1.55; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section summary { display: flex; justify-content: space-between; padding: 17px 4px; cursor: pointer; font-size: .92rem; font-weight: 600; list-style: none; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary span { color: var(--brand-dark); }
.faq-section details[open] summary span { transform: rotate(45deg); }
.faq-section details p { margin: -3px 4px 18px; color: #69747e; font-size: .86rem; line-height: 1.8; }
.service-card { display: flex; align-items: center; justify-content: space-between; background: #21343a; color: white; }
.service-card span { color: #79d9bd; font-size: .76rem; }
.service-card h2 { margin: 5px 0; font-size: 1.2rem; }
.service-card p { margin: 0; color: #b8c7cb; font-size: .82rem; }
.service-card > a { padding: 10px 18px; border-radius: 5px; background: var(--brand); color: white; white-space: nowrap; }
.about-wrap { display: grid; gap: 28px; }
.about-hero { position: relative; min-height: 330px; display: flex; align-items: center; overflow: hidden; padding: 50px; border-radius: 11px; background: #20363b; color: white; }
.about-hero > div:first-child { max-width: 650px; position: relative; z-index: 1; }
.about-hero h1 { margin: 12px 0 18px; font-size: clamp(2rem,4vw,3.35rem); line-height: 1.25; }
.about-hero p { max-width: 590px; margin: 0; color: #bfd0d3; line-height: 1.8; }
.about-symbol { position: absolute; right: -55px; width: 330px; height: 330px; }
.about-symbol i { position: absolute; border: 34px solid rgba(34,197,154,.24); border-radius: 50%; }
.about-symbol i:nth-child(1) { inset: 5px; }.about-symbol i:nth-child(2) { inset: 70px; }.about-symbol i:nth-child(3) { inset: 135px; background: var(--brand); border: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value-grid > div { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.value-grid b { color: var(--brand); font-size: .78rem; }
.value-grid h2 { margin: 13px 0 8px; font-size: 1.05rem; }
.value-grid p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.about-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding: 42px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.about-detail h2 { margin: 9px 0 0; font-size: 1.65rem; line-height: 1.45; }
.about-detail p { color: #66727c; font-size: .9rem; line-height: 1.8; }
.about-detail a { color: var(--brand-dark); font-size: .86rem; font-weight: 700; }
.profile-card { display: flex; align-items: center; gap: 18px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.profile-avatar { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: 1.5rem; font-weight: 800; }
.profile-copy { flex: 1; }.profile-copy span { color: var(--brand-dark); font-size: .75rem; }.profile-copy h1 { margin: 4px 0; font-size: 1.35rem; }.profile-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.quiet-button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 5px; background: white; color: #69747d; font-size: .82rem; }
.account-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; }
.account-actions a { display: grid; gap: 7px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.account-actions a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.account-actions span { color: var(--brand-dark); font-size: 1.2rem; }.account-actions strong { font-size: .95rem; }.account-actions small { color: var(--muted); font-size: .76rem; }

/* Checkout */
.checkout-page{min-height:calc(100vh - 130px);padding:26px 24px 68px;background:linear-gradient(180deg,#f7faf9 0,var(--page) 360px)}
.checkout-shell{max-width:1180px;margin:0 auto}.checkout-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:18px;color:#8a959e;font-size:.82rem}.checkout-breadcrumb a{color:#66727c}.checkout-breadcrumb a:hover{color:var(--brand-dark)}
.checkout-alert{margin-bottom:18px;padding:13px 16px;border:1px solid #ffd8d8;border-radius:8px;background:#fff4f4;color:#c34848;font-size:.88rem}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:24px;align-items:start}
.checkout-product,.checkout-form-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 38px rgba(31,47,60,.07)}.checkout-product{overflow:hidden}.checkout-product-head{display:grid;grid-template-columns:180px minmax(0,1fr);gap:26px;padding:30px;border-bottom:1px solid var(--line)}
.checkout-picture{width:180px;height:180px;display:grid;place-items:center;padding:24px;border:1px solid #edf2f0;border-radius:10px;background:#f7faf9}.checkout-picture img{width:100%;height:100%;object-fit:contain}.checkout-product-copy{min-width:0;align-self:center}
.delivery-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border-radius:4px;background:var(--brand-soft);color:var(--brand-dark);font-size:.74rem;font-weight:700}.delivery-pill i{width:6px;height:6px;border-radius:50%;background:var(--brand)}.delivery-pill.manual{background:#fff7e9;color:#a87011}.delivery-pill.manual i{background:#e7a52f}
.checkout-product-copy h1{margin:14px 0 13px;color:#24313c;font-size:1.38rem;line-height:1.45}.checkout-meta{display:flex;flex-wrap:wrap;gap:10px 22px;color:var(--muted);font-size:.82rem}.checkout-meta strong{margin-left:3px;color:#4b5862}.checkout-price{display:flex;align-items:baseline;margin-top:22px;color:#ff6435}.checkout-price small{margin-right:3px;font-size:1rem}.checkout-price strong{font-size:2rem;line-height:1}.checkout-price span{margin-left:6px;color:#9aa3aa;font-size:.78rem}
.wholesale-box{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;padding:17px 30px;border-bottom:1px solid var(--line);background:#fcfdfd;font-size:.8rem}.wholesale-box>strong{color:#53616b}.wholesale-box>div{display:flex;flex-wrap:wrap;gap:7px}.wholesale-box span{padding:4px 8px;border-radius:4px;background:var(--brand-soft);color:var(--brand-dark)}
.product-description{padding:27px 30px 34px}.checkout-section-title{margin-bottom:20px;border-bottom:1px solid var(--line)}.checkout-section-title span{display:inline-block;margin-bottom:-1px;padding:0 2px 12px;border-bottom:2px solid var(--brand);font-weight:700}.product-description-body{overflow-wrap:anywhere;color:#56636d;font-size:.9rem;line-height:1.85}.product-description-body h2,.product-description-body h3{margin:22px 0 10px;color:#34414b;font-size:1rem}.product-description-body h2:first-child,.product-description-body h3:first-child{margin-top:0}.product-description-body p{margin:0 0 12px;font-family:inherit}.product-description-body ul{padding-left:20px}
.checkout-form-card{position:sticky;top:138px;padding:27px 30px 24px}.checkout-form-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:5px}.checkout-form-heading span{color:var(--brand-dark);font-size:.68rem;font-weight:800;letter-spacing:.18em}.checkout-form-heading h2{margin:5px 0 0;font-size:1.3rem}.checkout-form-heading>b{padding:5px 8px;border-radius:4px;background:#f2f6f5;color:#81908c;font-size:.68rem;font-weight:600}
.checkout-fields{margin:0;padding:23px 0 20px;border:0;border-bottom:1px solid var(--line)}.checkout-fields legend{width:auto;margin:0 0 16px;color:#394650;font-size:.9rem;font-weight:700}.checkout-fields legend b{width:22px;height:22px;display:inline-grid;place-items:center;margin-right:7px;border-radius:50%;background:var(--brand);color:#fff;font-size:.7rem}.checkout-fields>label,.checkout-field-grid label{display:flex;align-items:center;gap:5px;margin:14px 0 7px;color:#53606a;font-size:.8rem;font-weight:600}.checkout-fields>label:first-of-type{margin-top:0}.checkout-fields label em{color:#e85b5b;font-style:normal}.checkout-fields label small{color:#a1a9af;font-size:.7rem;font-weight:500}
.checkout-fields input[type=email],.checkout-fields input[type=text],.checkout-fields input[type=number]{width:100%;height:44px;padding:0 12px;border:1px solid #dce4e6;border-radius:6px;background:#fff;color:#36434e;font-size:.88rem;outline:0;transition:border .18s,box-shadow .18s}.checkout-fields input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(34,197,154,.11)}.field-help{margin:7px 0 0;color:#9aa3aa;font-family:inherit;font-size:.72rem}.checkout-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.checkout-field-grid label{margin-top:0}
.quantity-control{height:44px;display:grid;grid-template-columns:38px 1fr 38px;overflow:hidden;border:1px solid #dce4e6;border-radius:6px}.quantity-control button{border:0;background:#f5f8f7;color:#607069;font-size:1.1rem}.quantity-control button:hover{background:var(--brand-soft);color:var(--brand-dark)}.quantity-control input{height:42px!important;padding:0!important;border:0!important;border-radius:0!important;text-align:center;box-shadow:none!important;appearance:textfield}.quantity-control input::-webkit-inner-spin-button{appearance:none}.captcha-control{display:grid;grid-template-columns:1fr 112px;gap:10px}.captcha-control img{width:112px;height:44px;cursor:pointer;object-fit:cover;border:1px solid var(--line);border-radius:6px}
.payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-option{cursor:pointer}.payment-option input{position:absolute;opacity:0;pointer-events:none}.payment-option>span{position:relative;min-height:48px;display:flex;align-items:center;gap:9px;overflow:hidden;padding:0 13px;border:1px solid #dce4e6;border-radius:6px;color:#53606a;font-size:.82rem;font-weight:600}.payment-option>span>i{width:8px;height:8px;border:2px solid #b9c3c7;border-radius:50%}.payment-option>span>b{position:absolute;right:-20px;bottom:-20px;width:40px;height:40px;padding:4px 0 0 8px;border-radius:50%;background:var(--brand);color:#fff;font-size:.65rem;opacity:0}.payment-option input:checked+span{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}.payment-option input:checked+span>i{border-color:var(--brand);background:var(--brand);box-shadow:inset 0 0 0 2px #fff}.payment-option input:checked+span>b{opacity:1}
.checkout-total{display:flex;align-items:center;justify-content:space-between;padding:22px 0 15px}.checkout-total>span{display:flex;flex-direction:column;color:#47545e;font-size:.88rem;font-weight:700}.checkout-total span small{margin-top:3px;color:#9aa3aa;font-size:.7rem;font-weight:500}.checkout-total>strong{color:#ff6435;font-size:1.05rem}.checkout-total>strong b{margin-left:3px;font-size:1.7rem}.checkout-submit{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:7px;background:linear-gradient(135deg,#2bd2a4,#15ae83);box-shadow:0 8px 18px rgba(34,197,154,.22);color:#fff;font-size:.94rem;font-weight:700;transition:transform .18s,box-shadow .18s}.checkout-submit:hover{transform:translateY(-1px);box-shadow:0 11px 23px rgba(34,197,154,.3)}.checkout-submit b{font-size:1.2rem}.checkout-assurance{margin:12px 0 0;color:#929ca3;font-family:inherit;font-size:.7rem;text-align:center}.checkout-assurance span{color:var(--brand)}.checkout-modal{overflow:hidden;border:0;border-radius:10px;box-shadow:0 18px 60px rgba(28,45,54,.2)}.checkout-modal .modal-header{border-bottom-color:var(--line)}.checkout-modal .modal-body{color:#58656f;font-size:.9rem;line-height:1.75}

@media (max-width: 991.98px) {
    .site-header { height: 112px; min-height: 112px; }
    .site-header-inner { height: 64px; min-height: 64px; padding: 0 16px; flex-wrap: nowrap; gap: 0; }
    .brand { min-width: 0; }
    .brand img { max-width: 105px; height: 40px; }
    .mobile-nav-toggle { display: block; }
    .primary-nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 12px; gap: 0; }
    .primary-nav:not(.show) { display: none !important; }
    .primary-nav a { padding: 10px 8px; }
    .primary-nav a::after { display: none; }
    .mobile-member-links { display: flex; gap: 8px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
    .mobile-member-links a, .mobile-member-links button { padding: 8px 12px; border-radius: 5px; background: var(--brand-soft); color: var(--brand-dark); font-size: .84rem; }
    .mobile-member-links form { margin: 0; }
    .header-actions { margin-left: 12px; }
    .header-order-link { display: none; }
    .auth-actions { display: none; }
    .header-search { width: min(42vw, 250px); }
    .top-menu-inner { gap: 30px; padding: 0 16px; }
    .top-menu-inner > .mobile-menu-account { display: inline-flex; }
    .store-shell { padding: 14px 14px 36px; }
    .store-layout { display: block; }
    .category-sidebar { display: none; }
    .mobile-category-strip { display: flex; gap: 8px; margin: 0 -14px 16px; padding: 0 14px 8px; overflow-x: auto; scrollbar-width: none; }
    .mobile-category-strip::-webkit-scrollbar { display: none; }
    .mobile-category-strip a { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 18px; background: white; color: #5f6a73; font-size: .82rem; }
    .mobile-category-strip a.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
    .news-layout { grid-template-columns: 1fr; }
    .content-aside { display: none; }
    .help-grid { grid-template-columns: 1fr; }
    .help-nav { position: static; display: flex; gap: 8px; overflow-x: auto; }
    .help-nav strong { display: none; }.help-nav a { flex: 0 0 auto; border: 0; }
    .guide-steps { grid-template-columns: repeat(2,1fr); }
    .about-detail { grid-template-columns: 1fr; gap: 20px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-form-card { position: static; grid-row: 1; }
    .footer-main { grid-template-columns: 1.5fr repeat(2,1fr); gap: 36px; }
    .footer-contact { grid-column: 2; }
}

@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .brand span { display: none; }
    .header-search { width: 46vw; height: 36px; }
    .header-search button { display: none; }
    .announcement { padding: 13px 14px; font-size: .82rem; }
    .section-heading h2 { font-size: 1.05rem; }
    .product-panel-head { min-height: 64px; }
    .product-group-meta img { width: 36px; height: 36px; }
    .product-table-head { display: none; }
    .product-row { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; min-height: 104px; padding: 13px 104px 13px 14px; }
    .product-name { grid-column: 1 / -1; white-space: normal; line-height: 1.5; }
    .product-price { grid-column: 1; }
    .stock { grid-column: 2; justify-self: end; font-size: .78rem; }
    .delivery-type { grid-column: 1 / -1; }
    .buy-button { position: absolute; right: 12px; bottom: 14px; }
    .good-card .card-body { padding: 1.15rem !important; }
    .support-float { right: 10px; top: auto; bottom: 18px; }
    .content-page { padding: 30px 14px 50px; }
    .auth-card { padding: 25px 20px; }
    .page-heading h1 { font-size: 1.65rem; }
    .news-item { grid-template-columns: 48px minmax(0,1fr); gap: 14px; padding: 18px 15px; }
    .news-arrow { display: none; }.news-copy p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .article-wrap { padding: 25px 20px; }.article-heading { padding: 26px 0 20px; }.article-heading h1 { font-size: 1.55rem; }
    .guide-card, .faq-section, .service-card { padding: 20px 16px; }
    .guide-steps { grid-template-columns: 1fr; }
    .service-card { align-items: flex-start; flex-direction: column; gap: 18px; }
    .about-hero { min-height: 380px; padding: 32px 24px; }.about-symbol { right: -145px; bottom: -80px; }
    .value-grid, .account-actions { grid-template-columns: 1fr; }
    .about-detail { padding: 28px 22px; }
    .profile-card { align-items: flex-start; flex-wrap: wrap; }.profile-copy { min-width: calc(100% - 88px); }
    .checkout-page { padding: 16px 12px 45px; }
    .checkout-layout { gap: 14px; }
    .checkout-product-head { grid-template-columns: 92px minmax(0,1fr); gap: 15px; padding: 19px 16px; }
    .checkout-picture { width: 92px; height: 92px; padding: 13px; }
    .checkout-product-copy h1 { margin: 10px 0 8px; font-size: 1rem; }
    .checkout-meta { gap: 5px 13px; font-size: .72rem; }
    .checkout-price { margin-top: 12px; }.checkout-price strong { font-size: 1.55rem; }
    .wholesale-box { grid-template-columns: 1fr; padding: 15px 16px; }
    .product-description { padding: 22px 17px 28px; }
    .checkout-form-card { padding: 22px 17px 20px; }
    .checkout-field-grid, .payment-options { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding: 36px 18px 30px; }
    .footer-brand-column { max-width: none; grid-column: 1 / -1; }
    .footer-contact { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; padding: 16px 18px; }
    .footer-reminder { text-align: left; }
}

@media (max-width: 575.98px) {
    .site-header-inner { padding: 0 12px; }
    .brand { max-width: calc(100% - 52px); }
    .brand img { max-width: 96px; }
    .mobile-nav-toggle { min-width: 42px; min-height: 42px; padding: 7px 10px; }
    .header-actions { order: 2; width: auto; margin-left: auto; padding: 0; }
    .header-search { display: none; }
    .header-search input { font-size: 16px; }
    .top-menu-inner { gap: 25px; padding: 0 12px; }
    .top-menu-inner > a { font-size: .9rem; }

    .store-shell { padding-right: 10px; padding-left: 10px; }
    .store-page-heading h1 { font-size: 1.25rem; }
    .mobile-category-strip { margin-right: -10px; margin-left: -10px; padding-right: 10px; padding-left: 10px; }
    .announcement { gap: 8px; line-height: 1.65; }
    .product-panel { border-radius: 7px; }
    .product-panel-head { gap: 10px; padding: 11px 12px; }
    .product-group-meta { gap: 9px; }
    .product-group-meta h3 { font-size: .92rem; }
    .price-from { font-size: .9rem; white-space: nowrap; }
    .product-row { grid-template-columns: minmax(0,1fr) auto; min-height: 126px; padding: 13px 12px; }
    .product-name { grid-column: 1 / -1; font-size: .9rem; }
    .product-price { grid-column: 1; }
    .stock { grid-column: 2; }
    .delivery-type { grid-column: 1; align-self: center; }
    .buy-button { position: static; grid-column: 2; min-width: 88px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

    .checkout-breadcrumb { margin-bottom: 12px; }
    .checkout-product-head { grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding: 15px 13px; }
    .checkout-picture { width: 76px; height: 76px; padding: 9px; }
    .delivery-pill { padding: 4px 7px; font-size: .68rem; }
    .checkout-product-copy h1 { margin: 8px 0 6px; font-size: .94rem; overflow-wrap: anywhere; }
    .checkout-meta { font-size: .68rem; }
    .checkout-price { margin-top: 9px; }.checkout-price strong { font-size: 1.35rem; }
    .checkout-form-heading h2 { font-size: 1.15rem; }
    .checkout-form-heading > b { display: none; }
    .checkout-fields input[type=email], .checkout-fields input[type=text], .checkout-fields input[type=number] { font-size: 16px; }
    .payment-option > span, .checkout-submit { min-height: 48px; }
    .checkout-total { gap: 12px; }.checkout-total > strong b { font-size: 1.45rem; }
    .captcha-control { grid-template-columns: minmax(0,1fr) 100px; }.captcha-control img { width: 100px; }

    .content-page { padding-right: 10px; padding-left: 10px; }
    .page-heading { margin-bottom: 24px; }.page-heading h1 { font-size: 1.45rem; }
    .article-wrap { padding: 22px 16px; }
    .article-heading h1 { font-size: 1.35rem; overflow-wrap: anywhere; }
    .article-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
    .news-item { grid-template-columns: 42px minmax(0,1fr); gap: 11px; padding: 16px 12px; }
    .news-copy h2 { font-size: .96rem; line-height: 1.5; }
    .help-nav { margin: 0 -10px; padding: 12px 10px; border-right: 0; border-left: 0; border-radius: 0; }
    .about-hero { min-height: 330px; padding: 27px 20px; }.about-hero h1 { font-size: 1.8rem; }
    .about-detail { padding: 24px 18px; }.about-detail h2 { font-size: 1.35rem; }

    .auth-page { padding: 28px 10px; }.auth-card { padding: 23px 16px; border-radius: 9px; }
    .auth-heading { gap: 10px; }.auth-heading h1 { font-size: 1.35rem; }
    .member-form input[type=email], .member-form input[type=text], .member-form input[type=password] { font-size: 16px; }

    .main-container > .container { max-width: 100%; padding: 12px 8px 34px; }
    .good-card .card.m-3 { margin: 6px 0 !important; }
    .good-card .card-title { font-size: 1.3rem; }
    .order-card > .row { margin-right: 0; margin-left: 0; }
    .order-card .col-md-8 { padding-right: 4px; padding-left: 4px; }
    .order-card .card { margin-top: 10px !important; }
    .order-card .card-body, .good-card .card-body { overflow-wrap: anywhere; }
    .order-card textarea { font-size: 16px; }
    .nav-pills { flex-wrap: nowrap; margin-right: -8px; padding-bottom: 5px; overflow-x: auto; scrollbar-width: none; }
    .nav-pills::-webkit-scrollbar { display: none; }
    .nav-pills .nav-item { flex: 0 0 auto; }.nav-pills .nav-link { min-height: 42px; display: flex; align-items: center; white-space: nowrap; }
    .btn { min-height: 42px; }

    .footer-main { grid-template-columns: 1fr; gap: 27px; }
    .footer-brand-column, .footer-contact { grid-column: 1; }
    .footer-column { gap: 9px; }
    .footer-contact-button { min-height: 44px; }
    .support-float { width: 44px; }.support-float a { width: 44px; height: 44px; }

    .modal-dialog { margin: 12px; }
}

@media (max-width: 359.98px) {
    .checkout-product-head { grid-template-columns: 64px minmax(0,1fr); }
    .checkout-picture { width: 64px; height: 64px; }
    .checkout-meta { display: none; }
    .captcha-control { grid-template-columns: 1fr; }.captcha-control img { width: 112px; }
    .profile-avatar { width: 50px; height: 50px; }.profile-copy { min-width: calc(100% - 70px); }
}
