:root {
    --ink: #003a57;
    --muted: #697986;
    --line: #efd8cf;
    --paper: #fffaf7;
    --soft: #fff1eb;
    --sky: #004a6f;
    --sky-deep: #004a6f;
    --teal: #004a6f;
    --navy: #004a6f;
    --navy-deep: #00344f;
    --coral: #b45166;
    --yellow: #f4af3d;
    --misty: #fee8dd;
    --melon: #fabbb2;
    --popstar: #b45166;
    --yellow-orange: #f4af3d;
    --ateneo: #004a6f;
    --shadow: 0 16px 36px rgba(0, 74, 111, .16);
    --soft-shadow: 0 10px 24px rgba(0, 74, 111, .1);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", "Noto Sans Thai", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 250, 247, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 74, 111, .06);
}

.top-strip {
    background: var(--sky-deep);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}

.top-strip-inner {
    min-height: 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.top-strip nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-strip a {
    color: rgba(255, 255, 255, .92);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.top-strip .language-flag-link {
    width: 28px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    line-height: 1;
    text-decoration: none;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.top-strip .language-flag-link:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-1px);
}

.top-strip .language-flag-link.is-active {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 28, 48, .18);
}

.language-flag {
    display: block;
    font-size: 17px;
    line-height: 1;
    filter: saturate(1.05);
}

.header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand span {
    display: grid;
    line-height: 1.1;
}

.brand strong {
    color: var(--navy);
    font-size: .98rem;
    letter-spacing: 0;
}

.brand small {
    color: var(--teal);
    font-size: .72rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.main-nav a,
.header-action,
.btn,
.text-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 800;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.main-nav a {
    padding: 8px 12px;
    color: var(--navy);
    font-size: .9rem;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background: var(--navy);
}

.header-action,
.btn.primary {
    background: var(--coral);
    color: #fff;
    border: 1px solid var(--coral);
    box-shadow: 0 8px 16px rgba(180, 81, 102, .24);
}

.header-action {
    gap: 8px;
    padding: 8px 13px;
    font-size: .88rem;
}

.header-action svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-action span {
    line-height: 1;
}

.btn {
    padding: 10px 16px;
    border: 1px solid transparent;
}

.btn.secondary {
    background: #fff;
    color: var(--navy);
    border-color: #edcdc3;
    box-shadow: 0 8px 16px rgba(0, 74, 111, .08);
}

.btn.ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
    box-shadow: none;
}

.btn:hover,
.header-action:hover {
    transform: translateY(-1px);
}

.text-link {
    min-height: auto;
    padding: 0;
    color: var(--teal);
    background: transparent;
    font-size: .9rem;
}

.text-link:hover {
    color: var(--coral);
}

.eyebrow {
    margin: 0;
    color: var(--teal);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cover-hero {
    overflow: hidden;
    background: var(--navy);
}

.hero-cover-image {
    width: 100%;
    height: auto;
}

.trust-proof-band {
    padding: 20px 0;
    background: linear-gradient(180deg, var(--navy), var(--navy-deep));
}

.trust-proof-grid,
.audience-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-proof-item {
    min-height: 122px;
    padding: 18px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    align-content: start;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .045));
    color: var(--misty);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.trust-proof-item span,
.audience-card span,
.process-step span {
    width: fit-content;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: var(--radius);
    background: rgba(255, 196, 36, .16);
    color: var(--yellow);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.trust-proof-item strong {
    color: #fff;
    font-size: .98rem;
}

.trust-proof-item p {
    margin: 0;
    color: #bcd8e2;
    font-size: .88rem;
}

.trust-proof-item span {
    width: 42px;
    height: 42px;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 196, 36, .2);
}

.page-hero h1,
.detail-info h1 {
    margin: 0;
    color: var(--navy);
    font-size: 3.25rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.page-hero p,
.section-heading p,
.split-copy p,
.contact-main p {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.section-block {
    padding: 64px 0;
}

.section-block.tinted,
.catalog-section {
    background: var(--soft);
}

.best-seller-section {
    padding-top: 54px;
    background: #fff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.compact-heading {
    text-align: center;
}

.section-heading.with-action {
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    text-align: left;
}

.section-heading h2,
.split-grid h2,
.contact-main h2 {
    margin: 6px 0 0;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.contact-main p {
    margin: 10px 0 0;
}

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

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

.product-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    border-color: rgba(250, 187, 178, .8);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.product-image {
    aspect-ratio: 1.12 / 1;
    display: block;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fffaf7, #fff1eb);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-body {
    min-width: 0;
    padding: 12px;
    display: grid;
    gap: 7px;
    text-align: center;
}

.product-kicker {
    color: var(--teal);
    font-size: .72rem;
    font-weight: 800;
    text-transform: capitalize;
    overflow-wrap: anywhere;
}

.product-card h3 {
    margin: 0;
    min-height: 44px;
    color: var(--navy);
    font-size: .92rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.product-card h3 a:hover {
    color: var(--coral);
}

.product-code {
    margin: 0;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.product-bottom {
    display: grid;
    gap: 6px;
    justify-items: center;
    border-top: 1px solid #f4ded6;
    padding-top: 9px;
}

.price {
    color: var(--coral);
    font-weight: 800;
    white-space: nowrap;
}

.stats-band {
    background: var(--misty);
    border-top: 1px solid #f4cfc4;
    border-bottom: 1px solid #f4cfc4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #f4cfc4;
}

.stat-tile {
    min-height: 118px;
    padding: 22px 18px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    background: #fffaf7;
    text-align: center;
}

.stat-icon,
.feature-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #f0c8bd;
    border-radius: 50%;
    color: var(--teal);
    font-size: .76rem;
    font-weight: 800;
}

.stat-tile strong {
    color: var(--navy);
    font-size: 1.8rem;
    line-height: 1.1;
}

.stat-tile span:last-child {
    color: var(--muted);
    font-size: .9rem;
}

.retail-section {
    background:
        linear-gradient(180deg, #fffaf7, #fff1eb);
    border-bottom: 1px solid var(--line);
}

.retail-layout {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(360px, .82fr);
    gap: 34px;
    align-items: start;
}

.retail-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--muted);
}

.retail-copy h2 {
    margin: 6px 0 0;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.18;
}

.retail-group-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.retail-group-card {
    min-height: 150px;
    padding: 16px;
    display: grid;
    align-content: start;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.retail-group-card span {
    width: fit-content;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: var(--radius);
    background: rgba(244, 175, 61, .16);
    color: var(--teal);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.retail-group-card strong {
    color: var(--navy);
    font-size: 1rem;
}

.retail-group-card p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.retail-logo-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.retail-logo-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.retail-logo-heading span {
    color: var(--teal);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.retail-logo-heading strong {
    color: var(--navy);
    font-size: .95rem;
}

.retail-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.retail-logo-card {
    min-width: 0;
    min-height: 86px;
    padding: 12px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fffaf7, #fff1eb);
    text-align: center;
}

.retail-logo-card::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--coral));
}

.retail-logo-card span {
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
}

.retail-logo-card small {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(320px, 1.08fr);
    gap: 42px;
    align-items: center;
}

.about-split {
    background:
        linear-gradient(90deg, rgba(254, 232, 221, .78), transparent 44%),
        #fffaf7;
}

.split-copy {
    display: grid;
    gap: 12px;
}

.media-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.media-panel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-story {
    align-items: start;
}

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

.about-gallery-wide {
    grid-column: 1 / -1;
}

.about-gallery img {
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.about-gallery a img {
    object-fit: contain;
    padding: 14px;
}

.about-gallery.mockup-gallery {
    display: block;
}

.about-gallery.mockup-gallery img {
    aspect-ratio: 224 / 190;
    object-fit: cover;
    padding: 0;
}

.about-gallery.about-generated {
    display: block;
}

.about-gallery.about-generated img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-tile {
    min-height: 178px;
    padding: 18px;
    display: grid;
    align-content: start;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.feature-tile strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
}

.feature-tile p {
    margin: 0;
    color: var(--muted);
}

.audience-section {
    background: #fff;
}

.audience-card,
.process-step {
    min-height: 176px;
    padding: 20px;
    display: grid;
    align-content: start;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.audience-card {
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), var(--coral), var(--teal));
}

.audience-card strong,
.process-step strong {
    color: var(--navy);
    font-size: 1.05rem;
}

.audience-card p,
.process-step p {
    margin: 0;
    color: var(--muted);
}

.order-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-step {
    position: relative;
    overflow: hidden;
}

.process-step span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 196, 36, .22);
    border-radius: 50%;
    background: rgba(244, 175, 61, .16);
}

.process-step::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(250, 187, 178, .1);
}

.home-contact-cta {
    padding: 42px 0;
    background: var(--navy-deep);
}

.home-contact-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(0, 74, 111, .98), rgba(0, 52, 79, .98));
    color: var(--misty);
    box-shadow: 0 18px 36px rgba(0, 29, 43, .2);
}

.home-contact-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--yellow), var(--coral), var(--melon));
}

.home-contact-card > * {
    position: relative;
    z-index: 1;
}

.home-contact-card h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1.2;
}

.home-contact-card p:not(.eyebrow) {
    margin: 10px 0 0;
    color: var(--misty);
}

.home-contact-card .eyebrow {
    color: var(--yellow);
}

.home-contact-actions {
    min-width: 245px;
    display: grid;
    gap: 10px;
}

.home-contact-actions .btn {
    width: 100%;
}

.home-contact-actions span {
    color: #fff;
    font-weight: 800;
    text-align: center;
}

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

.category-tile {
    min-height: 140px;
    padding: 18px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.category-code {
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: var(--radius);
    background: var(--misty);
    color: var(--teal);
    font-size: .76rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 74, 111, .05);
}

.category-list span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-transform: capitalize;
}

.category-list strong {
    color: var(--teal);
}

.page-hero {
    padding: 54px 0 50px;
    background:
        radial-gradient(circle at 12% 22%, rgba(254, 232, 221, .92) 0 52px, transparent 53px),
        radial-gradient(circle at 88% 18%, rgba(250, 187, 178, .3) 0 54px, transparent 55px),
        #fffaf7;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.page-hero-inner {
    max-width: 760px;
}

.page-hero h1 {
    margin-top: 8px;
    font-size: 2.55rem;
}

.title-divider {
    width: 74px;
    height: 12px;
    display: inline-block;
    margin: 10px 0 6px;
    background:
        linear-gradient(var(--sky), var(--sky)) left 50% / 28px 2px no-repeat,
        linear-gradient(var(--sky), var(--sky)) right 50% / 28px 2px no-repeat,
        radial-gradient(circle, var(--teal) 0 3px, transparent 4px) center / 12px 12px no-repeat;
}

.catalog-section {
    padding: 34px 0 68px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 112px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.filter-toggle-input,
.mobile-filter-toggle {
    display: none;
}

@media (min-width: 761px) {
    .filter-toggle-input,
    .mobile-filter-toggle {
        display: none !important;
    }
}

.filter-panel form {
    padding: 16px;
    display: grid;
    gap: 13px;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f4ded6;
}

.filter-title strong {
    color: var(--navy);
}

.filter-title a {
    color: var(--teal);
    font-size: .82rem;
    font-weight: 800;
}

.filter-panel label {
    display: grid;
    gap: 6px;
}

.filter-panel label span {
    color: var(--navy);
    font-size: .84rem;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.filter-panel input:focus,
.filter-panel select:focus {
    outline: 2px solid rgba(250, 187, 178, .45);
    border-color: var(--sky);
}

.catalog-content {
    min-width: 0;
}

.results-bar {
    min-height: 56px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
}

.results-bar h2 {
    margin: 4px 0 0;
    font-size: 1.55rem;
    line-height: 1.2;
}

.results-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: .9rem;
}

.view-icons {
    display: inline-flex;
    gap: 6px;
}

.view-icons i {
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, var(--sky) 0 5px, transparent 5px 8px, var(--sky) 8px 13px, transparent 13px) center / 18px 14px no-repeat,
        #fff;
}

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

.empty-state {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    box-shadow: var(--soft-shadow);
}

.empty-state p {
    color: var(--muted);
}

.pager {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.pager a,
.pager span,
.pager strong {
    min-height: 40px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
}

.pager a {
    color: var(--teal);
    font-weight: 800;
}

.pager span {
    color: #9aa8b7;
}

.product-detail {
    padding: 32px 0 64px;
    background: var(--soft);
}

.detail-breadcrumb {
    margin-bottom: 18px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(360px, .98fr) minmax(360px, 1.02fr);
    gap: 32px;
    align-items: start;
}

.detail-gallery {
    min-width: 0;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
}

.thumb-rail {
    display: grid;
    gap: 10px;
    align-content: start;
}

.thumb-rail span,
.thumb-rail a {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.thumb-rail span {
    border-color: var(--sky);
}

.thumb-rail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.detail-media {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.detail-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 30px;
}

.detail-info {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: .86rem;
}

.breadcrumb a {
    color: var(--teal);
    font-weight: 800;
}

.detail-info h1 {
    font-size: 2.05rem;
    overflow-wrap: anywhere;
}

.alt-name {
    margin: -6px 0 0;
    color: var(--muted);
}

.detail-price {
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: var(--misty);
    color: var(--coral);
    font-weight: 800;
}

.spec-list {
    margin: 0;
    display: grid;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.spec-list div {
    min-width: 0;
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.spec-list div:first-child {
    border-top: 0;
}

.spec-list dt,
.spec-list dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.spec-list dt {
    color: var(--muted);
    font-weight: 800;
}

.contact-strip {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.contact-strip p {
    margin: 6px 0 14px;
    color: var(--muted);
}

.detail-feature-row {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.detail-feature-row div {
    min-height: 86px;
    padding: 14px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    text-align: center;
    border-left: 1px solid var(--line);
}

.detail-feature-row div:first-child {
    border-left: 0;
}

.detail-feature-row span {
    color: var(--teal);
    font-size: .75rem;
    font-weight: 800;
}

.detail-feature-row strong {
    font-size: .88rem;
}

.detail-feature-row small {
    color: var(--muted);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(360px, 1.28fr);
    gap: 34px;
    align-items: start;
}

.faq-info-panel,
.contact-info-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(254, 232, 221, .92), rgba(255, 250, 247, .96)),
        #fff;
    box-shadow: var(--soft-shadow);
}

.faq-info-panel h2,
.contact-info-card h3,
.contact-panel h3 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-size: 1.18rem;
    line-height: 1.35;
}

.faq-info-panel p,
.contact-info-card li,
.contact-panel p,
.contact-mini-list dd {
    color: var(--muted);
}

.faq-guide-list {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.faq-guide-list div {
    min-height: 64px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(0, 74, 111, .12);
    border-radius: var(--radius);
    background: rgba(255, 250, 247, .72);
}

.faq-guide-list strong {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--navy);
    color: var(--yellow);
    font-size: .82rem;
}

.faq-guide-list span {
    color: var(--ink);
    font-weight: 750;
    line-height: 1.45;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 74, 111, .05);
}

.faq-list summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--navy);
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(300px, 1fr) minmax(250px, .68fr);
    gap: 22px;
    align-items: start;
}

.contact-main {
    min-width: 0;
}

.contact-methods {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.contact-methods a {
    min-width: 0;
    padding: 14px 16px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 74, 111, .05);
}

.contact-methods a:hover {
    border-color: var(--sky);
}

.contact-methods span {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 700;
}

.contact-methods strong {
    overflow-wrap: anywhere;
}

.contact-card-label {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--yellow);
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.contact-info-card ul {
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.contact-info-card li {
    position: relative;
    padding-left: 28px;
    font-weight: 700;
}

.contact-info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(244, 175, 61, .18);
}

.contact-map-card {
    position: relative;
    aspect-ratio: 190 / 180;
    overflow: hidden;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
    text-align: center;
}

.contact-map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-line {
    position: absolute;
    background: rgba(250, 187, 178, .42);
}

.map-line.horizontal {
    width: 80%;
    height: 10px;
    left: 10%;
    top: 36%;
    transform: rotate(-8deg);
}

.map-line.vertical {
    width: 10px;
    height: 78%;
    left: 58%;
    top: 10%;
    transform: rotate(10deg);
}

.map-pin {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border: 8px solid var(--coral);
    border-radius: 50% 50% 50% 0;
    background: #fff;
    transform: rotate(-45deg);
    box-shadow: 0 8px 18px rgba(180, 81, 102, .28);
}

.map-pin::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 10px;
    top: 10px;
    border-radius: 50%;
    background: var(--coral);
}

.contact-map-card strong,
.contact-map-card span {
    position: relative;
    z-index: 1;
}

.contact-map-card span {
    color: var(--muted);
    font-size: .9rem;
}

.contact-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.contact-banner-crop {
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.contact-banner-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.contact-panel div:not(.contact-banner-crop) {
    padding: 18px;
}

.contact-panel p {
    margin: 8px 0 0;
    color: var(--muted);
}

.contact-response-card {
    display: grid;
}

.contact-mini-list {
    margin: 0;
    border-top: 1px solid var(--line);
}

.contact-panel .contact-mini-list div {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
}

.contact-panel .contact-mini-list div:first-child {
    border-top: 0;
}

.contact-mini-list dt {
    color: var(--navy);
    font-size: .8rem;
    font-weight: 850;
}

.contact-mini-list dd {
    margin: 4px 0 0;
    font-size: .88rem;
    line-height: 1.45;
}

.mockup-contact-card {
    display: grid;
    place-items: stretch;
    background: transparent;
}

.mockup-contact-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.social-row {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-row span {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.social-row.dark span {
    background: var(--navy);
    color: #fff;
}

.site-footer {
    padding: 38px 0;
    background: linear-gradient(180deg, var(--navy), var(--navy-deep));
    color: var(--misty);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .7fr 1fr;
    gap: 30px;
}

.footer-brand img {
    background: #fff;
    border-radius: var(--radius);
}

.footer-brand strong {
    color: #fff;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1rem;
}

.site-footer p {
    margin: 8px 0 0;
    color: #f3d7cd;
}

.site-footer a:not(.brand) {
    display: block;
    margin: 8px 0;
    color: var(--misty);
}

@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .split-grid,
    .detail-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .product-grid.catalog,
    .product-grid.compact,
    .category-grid,
    .feature-grid,
    .trust-proof-grid,
    .audience-grid,
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-layout,
    .contact-layout,
    .home-contact-card,
    .retail-layout {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .filter-panel form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-title,
    .filter-panel button {
        grid-column: 1 / -1;
    }

    .contact-map-card {
        min-height: 300px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .site-shell {
        width: min(100% - 24px, 1180px);
    }

    .top-strip-inner {
        justify-content: center;
    }

    .top-strip nav {
        display: none;
    }

    .header-inner {
        min-height: 66px;
        gap: 12px;
    }

    .header-action {
        display: none;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .brand strong {
        font-size: .9rem;
    }

    .page-hero h1 {
        font-size: 2.18rem;
    }

    .detail-info h1 {
        font-size: 1.75rem;
    }

    .section-block {
        padding: 44px 0;
    }

    .page-hero {
        padding: 42px 0 38px;
    }

    .section-heading.with-action,
    .results-bar,
    .results-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid,
    .product-grid,
    .product-grid.catalog,
    .product-grid.compact,
    .category-grid,
    .feature-grid,
    .trust-proof-grid,
    .audience-grid,
    .process-grid,
    .category-list,
    .footer-grid,
    .detail-feature-row,
    .about-gallery {
        grid-template-columns: 1fr;
    }

    .faq-layout {
        gap: 14px;
    }

    .faq-info-panel,
    .contact-info-card {
        min-height: auto;
        padding: 18px;
    }

    .faq-guide-list {
        margin-top: 14px;
    }

    .filter-panel form {
        grid-template-columns: 1fr;
    }

    .product-card h3 {
        min-height: auto;
    }

    .detail-gallery {
        grid-template-columns: 1fr;
    }

    .thumb-rail {
        grid-template-columns: repeat(3, 64px);
        overflow-x: auto;
    }

    .spec-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .detail-feature-row div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .detail-feature-row div:first-child {
        border-top: 0;
    }

    .pager {
        flex-wrap: wrap;
    }
}

.mobile-tab-nav,
.mobile-quick-section {
    display: none;
}

@media (max-width: 760px) {
    body {
        padding-bottom: 78px;
        background: var(--navy-deep);
        color: var(--misty);
    }

    .site-shell {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        background: linear-gradient(180deg, var(--navy), var(--navy-deep));
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        box-shadow: none;
    }

    .top-strip,
    .main-nav,
    .header-action {
        display: none;
    }

    .header-inner {
        min-height: 62px;
        display: flex;
        justify-content: center;
        padding: 8px 0;
    }

    .brand {
        justify-content: center;
    }

    .brand img {
        width: 38px;
        height: 38px;
        padding: 3px;
        border-radius: 8px;
        background: #fff;
    }

    .brand strong {
        color: #fff;
        font-size: .92rem;
    }

    .brand small {
        color: var(--misty);
        font-size: .68rem;
    }

    .mobile-tab-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2px;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255, 255, 255, .12);
        background: rgba(0, 52, 79, .96);
        box-shadow: 0 -12px 26px rgba(0, 24, 37, .32);
        backdrop-filter: blur(14px);
    }

    .mobile-tab-nav a {
        min-width: 0;
        min-height: 56px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 2px;
        border-radius: 8px;
        color: var(--misty);
        font-size: .72rem;
        font-weight: 800;
    }

    .mobile-tab-nav a.is-active {
        background: rgba(255, 196, 36, .12);
        color: var(--yellow);
    }

    .mobile-tab-nav svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .cover-hero {
        background: var(--navy);
    }

    .hero-cover-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .mobile-quick-section {
        display: block;
        padding: 14px 12px 2px;
        background: var(--navy-deep);
    }

    .mobile-app-section-label {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: center;
        margin-bottom: 10px;
    }

    .mobile-app-section-label strong {
        color: #fff;
        font-size: .98rem;
    }

    .mobile-app-section-label a {
        color: var(--yellow);
        font-size: .8rem;
        font-weight: 800;
    }

    .mobile-category-rail {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .mobile-category-rail::-webkit-scrollbar {
        display: none;
    }

    .mobile-category-rail a {
        flex: 0 0 132px;
        min-height: 58px;
        padding: 10px 12px;
        display: grid;
        align-content: center;
        gap: 2px;
        border: 1px solid rgba(255, 196, 36, .34);
        border-radius: 8px;
        background: rgba(255, 255, 255, .07);
        color: #fff;
    }

    .mobile-category-rail span {
        font-size: .82rem;
        font-weight: 800;
        line-height: 1.22;
        overflow-wrap: anywhere;
    }

    .mobile-category-rail small {
        color: var(--misty);
        font-size: .72rem;
        font-weight: 700;
    }

    .trust-proof-band {
        padding: 12px 0;
        background: var(--navy-deep);
    }

    .trust-proof-grid,
    .audience-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-proof-item,
    .audience-card,
    .process-step {
        min-height: auto;
        padding: 14px;
        border-radius: 8px;
    }

    .trust-proof-item {
        border-color: rgba(255, 255, 255, .12);
    }

    .retail-section {
        padding: 26px 0;
        border-bottom: 0;
        background: var(--navy-deep);
    }

    .retail-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .retail-copy h2 {
        color: #fff;
        font-size: 1.28rem;
    }

    .retail-copy > p:not(.eyebrow) {
        color: var(--misty);
    }

    .retail-group-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .retail-group-card {
        min-height: auto;
        padding: 14px;
        border-radius: 8px;
    }

    .retail-logo-panel {
        padding: 10px;
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
        background: rgba(255, 255, 255, .06);
        box-shadow: 0 10px 20px rgba(0, 31, 45, .18);
    }

    .retail-logo-heading {
        margin-bottom: 10px;
    }

    .retail-logo-heading span {
        color: var(--yellow);
    }

    .retail-logo-heading strong {
        color: #fff;
    }

    .retail-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .retail-logo-card {
        min-height: 78px;
        padding: 10px 8px;
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
    }

    .retail-logo-card span {
        font-size: .76rem;
    }

    .retail-logo-card small {
        font-size: .66rem;
    }

    .page-hero {
        display: none;
    }

    .section-block,
    .section-block.tinted,
    .best-seller-section,
    .about-split,
    .catalog-section {
        background: var(--navy-deep);
    }

    .section-block {
        padding: 26px 0;
    }

    .best-seller-section {
        padding-top: 22px;
    }

    .section-heading,
    .compact-heading {
        margin-bottom: 14px;
        text-align: left;
    }

    .section-heading.with-action,
    .results-bar,
    .results-tools {
        flex-direction: row;
        align-items: center;
    }

    .section-heading.with-action {
        gap: 12px;
    }

    .section-heading h2,
    .split-grid h2,
    .contact-main h2,
    .results-bar h2 {
        color: #fff;
        font-size: 1.28rem;
        line-height: 1.25;
    }

    .section-block .eyebrow,
    .catalog-section .eyebrow,
    .contact-main .eyebrow {
        color: var(--yellow);
    }

    .section-heading p,
    .split-copy p,
    .contact-main p,
    .results-tools {
        color: var(--misty);
    }

    .text-link {
        color: var(--yellow);
        font-size: .8rem;
        white-space: nowrap;
    }

    .btn {
        min-height: 40px;
        padding: 9px 12px;
        border-radius: 8px;
        font-size: .86rem;
    }

    .btn.secondary {
        border-color: rgba(255, 255, 255, .2);
        background: #fff;
        color: var(--navy);
    }

    .product-grid,
    .product-grid.catalog,
    .product-grid.compact,
    .home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card {
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 31, 45, .16);
    }

    .product-card:hover {
        transform: none;
    }

    .product-image {
        aspect-ratio: 1.08 / 1;
    }

    .product-image img {
        padding: 9px;
    }

    .product-body {
        padding: 9px;
        gap: 5px;
    }

    .product-kicker {
        font-size: .66rem;
    }

    .product-card h3 {
        min-height: 40px;
        font-size: .8rem;
        line-height: 1.25;
    }

    .product-code {
        font-size: .66rem;
    }

    .product-bottom {
        gap: 4px;
        padding-top: 7px;
    }

    .price {
        font-size: .84rem;
    }

    .product-bottom .text-link {
        font-size: .72rem;
    }

    .stats-band {
        border: 0;
        background: var(--navy-deep);
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        background: transparent;
    }

    .stat-tile {
        min-height: 92px;
        padding: 14px 10px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 8px;
        background: rgba(255, 255, 255, .06);
    }

    .stat-icon {
        width: 30px;
        height: 30px;
        border-color: rgba(255, 196, 36, .4);
        color: var(--yellow);
    }

    .stat-tile strong {
        color: #fff;
        font-size: 1.35rem;
    }

    .stat-tile span:last-child {
        color: var(--misty);
        font-size: .8rem;
    }

    .split-grid {
        gap: 12px;
    }

    .split-copy {
        display: grid;
        gap: 10px;
    }

    .home-contact-cta {
        padding: 22px 0;
        background: var(--navy-deep);
    }

    .home-contact-card {
        padding: 16px;
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 8px;
    }

    .home-contact-card h2 {
        font-size: 1.28rem;
    }

    .home-contact-actions {
        min-width: 0;
    }

    .catalog-section {
        padding: 12px 0 28px;
    }

    .catalog-layout {
        display: block;
    }

    .filter-panel {
        position: sticky;
        top: 62px;
        z-index: 20;
        margin-bottom: 14px;
        border-color: rgba(255, 255, 255, .12);
        background: linear-gradient(180deg, rgba(0, 74, 111, .98), rgba(0, 52, 79, .98));
        box-shadow: 0 12px 24px rgba(0, 29, 43, .24);
    }

    .filter-toggle-input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-filter-toggle {
        min-height: 54px;
        padding: 10px 12px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 10px;
        align-items: start;
        cursor: pointer;
        color: #fff;
    }

    .mobile-filter-toggle span {
        min-width: 0;
        display: grid;
        gap: 1px;
    }

    .mobile-filter-toggle strong {
        font-size: 1rem;
    }

    .mobile-filter-toggle small {
        color: var(--misty);
        font-size: .74rem;
        font-weight: 700;
    }

    .mobile-filter-toggle::after {
        content: "เปิด";
        min-width: 48px;
        min-height: 28px;
        padding: 4px 9px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: start;
        border-radius: 7px;
        background: var(--yellow);
        color: var(--navy);
        font-size: .72rem;
        font-weight: 800;
    }

    .filter-toggle-input:checked + .mobile-filter-toggle::after {
        content: "ปิด";
        background: rgba(255, 255, 255, .16);
        color: #fff;
    }

    .filter-toggle-input:focus-visible + .mobile-filter-toggle {
        outline: 2px solid rgba(255, 196, 36, .72);
        outline-offset: 2px;
    }

    .filter-panel form {
        display: none;
        padding: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .filter-toggle-input:checked + .mobile-filter-toggle + form {
        display: grid;
    }

    .filter-title,
    .filter-panel label:first-of-type,
    .filter-panel button {
        grid-column: 1 / -1;
    }

    .filter-title {
        padding-bottom: 2px;
        border-bottom: 0;
    }

    .filter-title strong {
        color: #fff;
    }

    .filter-title a {
        color: var(--yellow);
        font-size: .76rem;
    }

    .filter-panel label {
        gap: 4px;
    }

    .filter-panel label span {
        color: var(--misty);
        font-size: .72rem;
    }

    .filter-panel input,
    .filter-panel select {
        min-height: 38px;
        padding: 7px 9px;
        border-color: rgba(255, 255, 255, .18);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        font-size: .82rem;
    }

    .results-bar {
        min-height: auto;
        margin: 4px 0 12px;
    }

    .results-bar h2 {
        margin-top: 2px;
    }

    .results-tools {
        justify-content: flex-end;
        color: var(--misty);
        font-size: .78rem;
        text-align: right;
    }

    .view-icons {
        display: none;
    }

    .empty-state {
        padding: 24px 16px;
        border-color: rgba(255, 255, 255, .12);
        background: #fff;
    }

    .pager {
        gap: 8px;
    }

    .pager a,
    .pager span,
    .pager strong {
        min-height: 38px;
        padding: 7px 10px;
        border-color: rgba(255, 255, 255, .18);
        font-size: .82rem;
    }

    .product-detail {
        padding: 14px 0 28px;
        background: var(--navy-deep);
    }

    .detail-breadcrumb {
        display: none;
    }

    .detail-grid {
        gap: 12px;
    }

    .detail-gallery {
        gap: 10px;
    }

    .thumb-rail {
        display: none;
    }

    .detail-media {
        border-color: rgba(255, 255, 255, .14);
        border-radius: 8px;
        box-shadow: 0 14px 28px rgba(0, 31, 45, .22);
    }

    .detail-media img {
        padding: 16px;
    }

    .detail-info {
        padding: 14px;
        gap: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
    }

    .detail-info h1 {
        color: var(--navy);
        font-size: 1.38rem;
    }

    .detail-info .eyebrow {
        color: var(--teal);
    }

    .alt-name,
    .contact-strip p {
        color: var(--muted);
    }

    .spec-list div {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 8px;
        padding: 10px 0;
        font-size: .86rem;
    }

    .contact-strip {
        padding: 12px;
        box-shadow: none;
    }

    .contact-strip .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .detail-feature-row {
        display: none;
    }

    .contact-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-main {
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 8px;
        background: rgba(255, 255, 255, .06);
    }

    .contact-methods {
        margin-top: 14px;
        gap: 8px;
    }

    .contact-methods a {
        min-height: 58px;
        padding: 12px;
        border-color: rgba(255, 255, 255, .1);
        border-radius: 8px;
    }

    .contact-methods span {
        color: var(--muted);
    }

    .contact-methods strong {
        color: var(--navy);
    }

    .contact-map-card,
    .contact-panel {
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 31, 45, .18);
    }

    .contact-map-card {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .contact-panel {
        background: #fff;
    }

    .site-footer {
        padding: 26px 0 96px;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .footer-grid {
        gap: 20px;
    }
}

.top-strip form {
    margin: 0;
}

.top-strip button,
.text-button,
.cart-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.top-strip button {
    padding: 0;
    color: rgba(255, 255, 255, .92);
    font-size: .78rem;
    font-weight: 700;
}

.header-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.header-action.secondary-action {
    gap: 8px;
    background: #fff;
    color: var(--navy);
    border-color: #edcdc3;
    box-shadow: 0 8px 16px rgba(0, 74, 111, .08);
}

.header-action.secondary-action strong {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: .76rem;
}

.flash-message {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 74, 111, .16);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    box-shadow: var(--soft-shadow);
}

.product-card-actions {
    width: 100%;
    display: grid;
    gap: 7px;
    justify-items: center;
}

.cart-button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--coral);
    border-radius: var(--radius);
    background: var(--coral);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    transition: background .18s ease, transform .18s ease;
}

.cart-button:hover {
    transform: translateY(-1px);
}

.cart-button:disabled,
.btn:disabled {
    cursor: progress;
    opacity: .72;
    transform: none;
}

[data-cart-indicator].is-cart-bump {
    animation: cart-bump .42s ease;
}

.cart-toast-region {
    position: fixed;
    top: 92px;
    right: max(16px, calc((100vw - 1180px) / 2));
    z-index: 120;
    width: min(360px, calc(100vw - 32px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.cart-toast {
    padding: 13px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid rgba(0, 74, 111, .14);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    box-shadow: 0 16px 32px rgba(0, 31, 45, .18);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(35, 132, 108, .14);
}

.cart-toast > span::before {
    content: "";
    width: 8px;
    height: 13px;
    border-right: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(45deg) translate(-1px, -1px);
}

.cart-toast.error > span {
    background: rgba(180, 35, 24, .12);
}

.cart-toast.error > span::before {
    width: auto;
    height: auto;
    border: 0;
    color: #b42318;
    content: "!";
    font-weight: 900;
    transform: none;
}

.cart-toast strong,
.cart-toast small {
    display: block;
}

.cart-toast strong {
    font-size: .9rem;
    line-height: 1.3;
}

.cart-toast small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

@keyframes cart-bump {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

.commerce-section {
    padding: 46px 0 70px;
    background: var(--soft);
}

.commerce-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.panel-heading {
    margin-bottom: 18px;
}

.panel-heading.with-action {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.panel-heading h2 {
    margin: 5px 0 0;
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1.25;
}

.auth-layout,
.tracking-layout {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(300px, .88fr);
    gap: 24px;
    align-items: start;
}

.auth-layout.wide {
    max-width: 900px;
}

.auth-layout.wide,
.cart-layout,
.checkout-layout,
.account-layout,
.order-detail-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.cart-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
}

.checkout-layout {
    grid-template-columns: minmax(0, 1fr) 370px;
}

.account-layout {
    grid-template-columns: minmax(300px, .92fr) minmax(360px, 1.08fr);
}

.order-detail-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.order-detail-main,
.tracking-detail-layout {
    display: grid;
    gap: 18px;
}

.tracking-detail-layout {
    margin-top: 24px;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
}

.auth-panel {
    display: grid;
    gap: 14px;
}

.admin-section {
    padding: 34px 0 70px;
    background: var(--soft);
}

.admin-shell {
    display: grid;
    gap: 20px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.admin-heading h1 {
    margin: 4px 0 0;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.15;
}

.admin-heading p:not(.eyebrow) {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.admin-menu a {
    min-height: 38px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    color: var(--navy);
    font-size: .86rem;
    font-weight: 850;
    white-space: nowrap;
}

.admin-menu a:hover,
.admin-menu a.is-active {
    background: var(--navy);
    color: #fff;
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.admin-metric-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-metric {
    min-width: 0;
    min-height: 104px;
    padding: 16px;
    display: grid;
    align-content: space-between;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.admin-metric span {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 850;
}

.admin-metric strong {
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.admin-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

.admin-grid.two {
    grid-template-columns: minmax(300px, .42fr) minmax(0, 1fr);
}

.admin-grid.detail {
    grid-template-columns: minmax(0, 1fr) 370px;
}

.admin-detail-main {
    display: grid;
    gap: 18px;
}

.admin-panel {
    box-shadow: var(--soft-shadow);
}

.admin-table-wrap {
    min-width: 0;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 9px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--ink);
}

.admin-table td > strong,
.admin-table a {
    color: var(--navy);
    font-weight: 850;
}

.admin-table small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

.admin-filter-bar.sales-filter {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
}

.field select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.field small:not(.field-error) {
    color: var(--muted);
    font-weight: 700;
}

.admin-split-list,
.admin-daily-list {
    display: grid;
    gap: 12px;
}

.admin-split-list > div,
.admin-daily-list div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.admin-split-list strong,
.admin-daily-list strong {
    color: var(--navy);
}

.admin-split-list p,
.admin-daily-list p {
    margin: 8px 0 0;
    color: var(--muted);
}

.admin-split-list small,
.admin-daily-list small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.admin-daily-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
}

.admin-daily-list small {
    grid-column: 1 / -1;
}

.admin-settings-form {
    display: grid;
    gap: 18px;
}

.admin-settings-actions {
    display: flex;
    justify-content: flex-end;
}

.register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.register-panel {
    padding: 26px;
}

.register-heading {
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid var(--line);
}

.register-heading > span {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(244, 175, 61, .16);
    color: var(--navy);
    font-size: .74rem;
    font-weight: 850;
    white-space: nowrap;
}

.register-section {
    display: grid;
    gap: 14px;
}

.register-section + .register-section {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.register-section-heading {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.register-section-heading > span,
.register-benefits span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
}

.register-section-heading strong {
    display: block;
    color: var(--navy);
    line-height: 1.2;
}

.register-section-heading small {
    color: var(--muted);
    font-weight: 700;
}

.register-actions {
    padding-top: 18px;
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.register-side {
    position: sticky;
    top: 118px;
    overflow: hidden;
    display: grid;
    gap: 16px;
}

.register-side h2 {
    margin: 2px 0 0;
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1.2;
}

.register-side > p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.register-benefits {
    display: grid;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.register-benefits div {
    min-width: 0;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
}

.register-benefits div + div {
    border-top: 1px solid var(--line);
}

.register-benefits span {
    grid-row: 1 / 3;
    background: rgba(0, 74, 111, .1);
    color: var(--navy);
}

.register-benefits strong {
    color: var(--navy);
    line-height: 1.25;
}

.register-benefits small {
    margin-top: 2px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.otp-panel {
    gap: 16px;
}

.otp-email {
    margin: 8px 0 0;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: var(--radius);
    background: rgba(0, 74, 111, .08);
    color: var(--navy);
    font-size: .88rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.otp-code-input {
    min-height: 58px;
    text-align: center;
    color: var(--navy);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: .26em;
}

.otp-meta,
.otp-debug {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.otp-debug {
    padding: 10px 12px;
    border: 1px dashed rgba(180, 35, 24, .3);
    border-radius: var(--radius);
    background: rgba(180, 35, 24, .06);
    color: #b42318;
}

.otp-actions,
.otp-help-panel,
.otp-help-panel form {
    display: grid;
    gap: 12px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-two {
    grid-column: 1 / -1;
}

.field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.field span,
.check-row,
.choice-card strong {
    color: var(--navy);
    font-size: .86rem;
    font-weight: 800;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid rgba(250, 187, 178, .45);
    border-color: var(--sky);
}

.field-error {
    color: #b42318;
    font-weight: 800;
}

.check-row {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.form-switch {
    margin: 0;
    color: var(--muted);
    text-align: center;
}

.form-switch a,
.text-button {
    color: var(--teal);
    font-weight: 800;
}

.text-button.danger {
    color: #b42318;
}

.full-width {
    width: 100%;
}

.feature-list {
    margin: 14px 0 20px;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-weight: 700;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(244, 175, 61, .18);
}

.compact-empty {
    padding: 28px 18px;
}

.cart-lines {
    display: grid;
    gap: 12px;
}

.cart-line {
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 112px 150px 120px;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.cart-line-image {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.cart-line-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cart-line-info {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.cart-line-info span,
.cart-line-info small,
.cart-line-price small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.cart-line-info h3 {
    margin: 0;
    color: var(--navy);
    font-size: .96rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cart-line-price,
.cart-line-total {
    display: grid;
    gap: 2px;
}

.cart-line-price strong,
.cart-line-total strong {
    color: var(--coral);
    font-size: .96rem;
}

.cart-quantity-form {
    display: grid;
    grid-template-columns: 74px auto;
    gap: 8px;
    align-items: end;
}

.cart-quantity-form label {
    display: grid;
    gap: 4px;
}

.cart-quantity-form span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
}

.cart-quantity-form input {
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.summary-list {
    margin: 0;
    display: grid;
    border-top: 1px solid var(--line);
}

.summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.summary-list dt,
.summary-list dd {
    margin: 0;
}

.summary-list dt {
    color: var(--muted);
    font-weight: 800;
}

.summary-list dd {
    color: var(--navy);
    font-weight: 850;
    text-align: right;
}

.summary-list .grand-total dd {
    color: var(--coral);
    font-size: 1.15rem;
}

.summary-note {
    margin: 14px 0 0;
    padding: 12px;
    border: 1px solid #f4ded6;
    border-radius: var(--radius);
    background: var(--soft);
    color: var(--muted);
}

.summary-note p {
    margin: 5px 0 0;
}

.summary-actions,
.order-summary {
    display: grid;
    gap: 12px;
}

.is-disabled {
    pointer-events: none;
    opacity: .65;
}

.payment-options {
    margin: 16px 0;
    display: grid;
    gap: 10px;
}

.choice-card {
    padding: 13px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.choice-card input {
    margin-top: 4px;
}

.choice-card span {
    display: grid;
    gap: 2px;
}

.choice-card small {
    color: var(--muted);
    font-weight: 700;
}

.checkout-items {
    display: grid;
    gap: 10px;
}

.checkout-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.checkout-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.checkout-item div {
    min-width: 0;
    display: grid;
}

.checkout-item strong {
    color: var(--navy);
    font-size: .88rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.checkout-item span {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
}

.order-list {
    display: grid;
    gap: 10px;
}

.order-list-item {
    min-width: 0;
    padding: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.order-list-item:hover {
    border-color: var(--sky);
}

.order-list-item span:first-child {
    min-width: 0;
    display: grid;
}

.order-list-item strong {
    color: var(--navy);
}

.order-list-item small {
    color: var(--muted);
    font-weight: 700;
}

.status-pill {
    width: fit-content;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(244, 175, 61, .16);
    color: var(--navy);
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
}

.status-pill.large {
    padding: 7px 12px;
    font-size: .88rem;
}

.order-detail-section {
    padding-top: 32px;
}

.order-detail-section .account-menu {
    margin-bottom: 28px;
}

.order-detail-heading {
    padding: 0 4px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.order-detail-heading h1 {
    margin: 4px 0 0;
    color: var(--navy);
    font-size: 2.2rem;
    line-height: 1.1;
}

.order-detail-heading p {
    margin: 6px 0 0;
    color: var(--muted);
}

.order-lines .cart-line {
    grid-template-columns: 84px minmax(0, 1fr) 116px 120px;
}

.tracking-card {
    display: grid;
    gap: 10px;
}

.tracking-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.5rem;
}

.tracking-card p {
    margin: 0;
    color: var(--muted);
}

.order-status-panel {
    display: grid;
    gap: 16px;
}

.status-progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.status-step {
    min-width: 0;
    padding: 12px;
    display: grid;
    gap: 8px;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.status-step > span {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border: 2px solid #d8e1e6;
    border-radius: 50%;
    background: #fff;
}

.status-step.done > span {
    border-color: var(--teal);
    background: var(--teal);
}

.status-step.done > span::before {
    content: "";
    width: 8px;
    height: 13px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
}

.status-step.current {
    border-color: var(--yellow);
    box-shadow: inset 0 0 0 1px rgba(244, 175, 61, .32);
}

.status-step.current > span {
    border-color: var(--yellow);
    background: rgba(244, 175, 61, .16);
}

.status-step strong {
    display: block;
    color: var(--navy);
    font-size: .88rem;
    line-height: 1.25;
}

.status-step small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.status-step p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.45;
}

.status-history {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.status-history article {
    padding: 12px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.status-history strong {
    color: var(--navy);
}

.status-history span,
.status-history small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.status-history p {
    margin: 4px 0 0;
    color: var(--muted);
}

.tracking-item-list {
    display: grid;
    gap: 10px;
}

.tracking-item-list article {
    min-width: 0;
    padding: 12px;
    display: grid;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.tracking-item-list span,
.tracking-item-list small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.tracking-item-list strong {
    color: var(--navy);
    overflow-wrap: anywhere;
}

.detail-cart-form {
    margin: 12px 0;
    display: grid;
    grid-template-columns: 110px auto;
    gap: 10px;
    align-items: end;
}

.detail-cart-form label {
    display: grid;
    gap: 4px;
}

.detail-cart-form span {
    color: var(--navy);
    font-size: .78rem;
    font-weight: 800;
}

.detail-cart-form input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.mobile-cart-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font-size: .66rem;
    line-height: 1;
}

.mobile-cart-badge[hidden] {
    display: none;
}

@media (max-width: 1120px) {
    .admin-metric-grid,
    .admin-metric-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-grid.two,
    .admin-grid.detail,
    .admin-filter-bar.sales-filter {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-layout,
    .payment-result-layout,
    .account-layout,
    .order-detail-layout,
    .tracking-detail-layout,
    .auth-layout,
    .tracking-layout {
        grid-template-columns: 1fr;
    }

    .cart-line {
        grid-template-columns: 84px minmax(0, 1fr) 112px;
    }

    .cart-quantity-form,
    .cart-line-total {
        grid-column: 2 / -1;
    }

    .order-lines .cart-line {
        grid-template-columns: 84px minmax(0, 1fr) 116px;
    }

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

@media (max-width: 760px) {
    .admin-section {
        padding: 14px 0 28px;
        background: var(--navy-deep);
    }

    .admin-shell {
        gap: 12px;
    }

    .admin-heading {
        display: grid;
        gap: 10px;
        color: #fff;
    }

    .admin-heading h1 {
        color: #fff;
        font-size: 1.36rem;
    }

    .admin-heading p:not(.eyebrow) {
        color: #d6e7ec;
    }

    .admin-menu {
        gap: 6px;
        padding: 6px;
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
    }

    .admin-menu a {
        min-height: 36px;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: .78rem;
    }

    .admin-metric-grid,
    .admin-metric-grid.compact,
    .admin-filter-bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-metric,
    .admin-split-list > div,
    .admin-daily-list div {
        border-radius: 8px;
    }

    .admin-metric {
        min-height: auto;
        padding: 14px;
    }

    .admin-metric strong {
        font-size: 1.25rem;
    }

    .admin-settings-actions {
        display: grid;
    }

    .mobile-tab-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .mobile-tab-nav a {
        position: relative;
        font-size: .66rem;
    }

    .mobile-tab-nav svg {
        width: 20px;
        height: 20px;
    }

    .flash-message {
        margin-top: 10px;
        border-color: rgba(255, 255, 255, .12);
        background: rgba(255, 255, 255, .08);
        color: #fff;
        box-shadow: none;
    }

    .cart-toast-region {
        top: auto;
        right: 12px;
        bottom: 78px;
        left: 12px;
        width: auto;
    }

    .cart-toast {
        border-radius: 8px;
    }

    .commerce-section,
    .order-detail-section {
        padding: 14px 0 28px;
        background: var(--navy-deep);
    }

    .commerce-panel {
        padding: 14px;
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        box-shadow: 0 10px 20px rgba(0, 31, 45, .18);
    }

    .panel-heading {
        margin-bottom: 12px;
    }

    .panel-heading.with-action,
    .order-detail-heading {
        display: grid;
        gap: 8px;
    }

    .panel-heading h2,
    .order-detail-heading h1 {
        font-size: 1.24rem;
    }

    .auth-layout,
    .register-layout,
    .tracking-layout,
    .cart-layout,
    .checkout-layout,
    .payment-result-layout,
    .account-layout,
    .order-detail-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tracking-detail-layout {
        margin-top: 12px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .payment-result-hero {
        padding: 22px;
        grid-template-columns: 1fr;
    }

    .payment-result-hero h2 {
        font-size: 1.55rem;
    }

    .payment-result-keyline {
        grid-template-columns: 1fr;
    }

    .payment-result-keyline div {
        padding: 14px 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .payment-result-keyline div:last-child {
        border-bottom: 0;
    }

    .payment-next-steps,
    .payment-result-actions {
        padding-inline: 20px;
    }

    .payment-result-actions .btn,
    .payment-result-actions form {
        width: 100%;
    }

    .payment-result-actions .btn {
        min-width: 0;
    }

    .register-panel,
    .register-side {
        padding: 14px;
    }

    .register-heading {
        display: grid;
        gap: 8px;
    }

    .register-heading > span {
        white-space: normal;
    }

    .register-section + .register-section,
    .register-actions {
        padding-top: 14px;
    }

    .register-section-heading {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .register-section-heading > span,
    .register-benefits span {
        width: 30px;
        height: 30px;
        font-size: .7rem;
    }

    .register-side {
        position: static;
        gap: 12px;
    }

    .register-side h2 {
        font-size: 1.24rem;
    }

    .register-benefits div {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 12px 0;
    }

    .status-progress {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .status-step {
        grid-template-columns: 28px minmax(0, 1fr);
        border-radius: 8px;
    }

    .status-step p {
        font-size: .78rem;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .span-two {
        grid-column: auto;
    }

    .field input,
    .field textarea {
        min-height: 40px;
        border-radius: 8px;
        font-size: .9rem;
    }

    .product-card-actions {
        gap: 5px;
    }

    .cart-button {
        width: 100%;
        min-height: 32px;
        border-radius: 8px;
        font-size: .72rem;
    }

    .cart-line,
    .order-lines .cart-line {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        border-radius: 8px;
    }

    .cart-line-price,
    .cart-quantity-form,
    .cart-line-total {
        grid-column: 1 / -1;
    }

    .cart-quantity-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .cart-line-info h3 {
        font-size: .88rem;
    }

    .summary-list div {
        gap: 10px;
    }

    .summary-note {
        border-radius: 8px;
    }

    .choice-card {
        border-radius: 8px;
    }

    .order-list-item {
        grid-template-columns: 1fr;
        gap: 6px;
        border-radius: 8px;
    }

    .detail-cart-form {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .contact-strip .hero-actions {
        grid-template-columns: 1fr;
    }
}

.account-management {
    display: grid;
    gap: 24px;
}

.account-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.account-menu a {
    min-height: 40px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--navy);
    font-size: .88rem;
    font-weight: 850;
    white-space: nowrap;
}

.account-menu a:hover,
.account-menu a.is-active {
    background: var(--navy);
    color: #fff;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.account-stat {
    min-height: 120px;
    padding: 18px;
    display: grid;
    align-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.account-stat span {
    color: var(--teal);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.account-stat strong {
    color: var(--navy);
    font-size: 2rem;
    line-height: 1;
}

.account-stat small {
    color: var(--muted);
    font-weight: 700;
}

.address-order-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
}

.account-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.overview-card.wide {
    grid-column: 1 / -1;
}

.account-single-panel {
    max-width: 900px;
}

.account-narrow-panel {
    max-width: 560px;
}

.account-info-list {
    margin: 0;
    display: grid;
    border-top: 1px solid var(--line);
}

.account-info-list div {
    min-width: 0;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.account-info-list dt,
.account-info-list dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.account-info-list dt {
    color: var(--muted);
    font-weight: 800;
}

.account-info-list dd {
    color: var(--navy);
    font-weight: 800;
}

.default-address-summary {
    display: grid;
    gap: 5px;
}

.default-address-summary strong {
    color: var(--navy);
    font-size: 1rem;
}

.default-address-summary p {
    margin: 0;
    color: var(--muted);
}

.address-form {
    padding-bottom: 18px;
    display: grid;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.address-default-check {
    margin-top: 2px;
}

.address-list {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.address-card {
    padding: 14px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.address-card form {
    display: grid;
    gap: 12px;
}

.address-card-heading,
.address-card-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.address-card-heading strong {
    min-width: 0;
    color: var(--navy);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.address-card-actions {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.saved-address-options,
.checkout-save-options {
    margin-bottom: 16px;
    display: grid;
    gap: 10px;
}

.checkout-manual-fields {
    display: grid;
    gap: 14px;
}

.checkout-manual-fields.is-collapsed,
.checkout-manual-fields[hidden] {
    display: none;
}

.manual-address-choice {
    background: #fff;
}

.saved-address-options .choice-card small {
    overflow-wrap: anywhere;
}

.checkout-save-options {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf7;
}

.choice-card:has(input:disabled) {
    opacity: .58;
}

.payment-mock-section {
    min-height: calc(100vh - 160px);
    display: grid;
    align-items: center;
    background: linear-gradient(180deg, var(--navy-deep), var(--navy));
}

.payment-mock-layout {
    display: grid;
    grid-template-columns: minmax(300px, .92fr) minmax(280px, .62fr);
    gap: 24px;
    align-items: start;
}

.payment-mock-panel {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 48px rgba(0, 24, 37, .26);
}

.payment-mock-brand {
    min-height: 86px;
    padding: 20px;
    display: grid;
    align-content: center;
    gap: 2px;
    background: linear-gradient(135deg, #00a65a, #004a6f);
    color: #fff;
}

.payment-mock-brand span {
    color: var(--yellow);
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.payment-mock-brand strong {
    font-size: .9rem;
}

.payment-mock-summary,
.payment-mock-actions {
    padding: 20px;
    display: grid;
    gap: 12px;
}

.payment-mock-summary h1 {
    margin: 4px 0 0;
    color: var(--navy);
    font-size: 2rem;
}

.payment-mock-actions {
    border-top: 1px solid var(--line);
    background: #fffaf7;
}

.payment-mock-actions form {
    margin: 0;
}

.payment-return-actions form {
    margin: 0;
}

.payment-result-section {
    padding-top: 34px;
}

.payment-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}

.payment-result-card {
    padding: 0;
    overflow: hidden;
}

.payment-result-hero {
    padding: 28px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.payment-result-card.success .payment-result-hero {
    background: linear-gradient(180deg, #f0fbf5, #fff);
}

.payment-result-card.pending .payment-result-hero {
    background: linear-gradient(180deg, #fff8e9, #fff);
}

.payment-result-card.failed .payment-result-hero {
    background: linear-gradient(180deg, #fff1f3, #fff);
}

.payment-result-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid currentColor;
    background: #fff;
}

.payment-result-card.success .payment-result-icon {
    color: #147a55;
}

.payment-result-card.pending .payment-result-icon {
    color: #a26200;
}

.payment-result-card.failed .payment-result-icon {
    color: var(--coral);
}

.payment-result-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-result-hero h2 {
    margin: 4px 0 6px;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.18;
}

.payment-result-hero p:last-child {
    margin: 0;
    max-width: 680px;
    color: var(--muted);
    font-weight: 700;
}

.payment-result-keyline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #fffaf7;
}

.payment-result-keyline div {
    min-width: 0;
    padding: 18px 22px;
    display: grid;
    gap: 4px;
    border-right: 1px solid var(--line);
}

.payment-result-keyline div:last-child {
    border-right: 0;
}

.payment-result-keyline span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 850;
}

.payment-result-keyline strong {
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.payment-next-steps {
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
}

.payment-next-steps h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 1.1rem;
}

.payment-next-steps ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.payment-next-steps li {
    color: var(--ink);
    font-weight: 750;
}

.payment-result-actions {
    padding: 20px 28px 26px;
    flex-wrap: wrap;
}

.payment-result-actions .btn {
    min-width: 180px;
}

.payment-result-side {
    display: grid;
    gap: 16px;
}

.payment-transaction-list dd {
    max-width: 190px;
    overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
    .account-summary-grid,
    .account-overview-grid,
    .address-order-layout {
        grid-template-columns: 1fr;
    }

    .account-stat {
        min-height: 96px;
    }
}

@media (max-width: 760px) {
    .account-management {
        gap: 12px;
    }

    .account-menu {
        gap: 6px;
        padding: 6px;
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
        background: #fff;
    }

    .account-menu a {
        min-height: 38px;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: .78rem;
    }

    .order-detail-section .account-menu {
        margin-bottom: 16px;
    }

    .account-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .account-stat {
        min-height: auto;
        padding: 14px;
        border-color: rgba(255, 255, 255, .12);
        border-radius: 8px;
        background: #fff;
    }

    .account-stat strong {
        font-size: 1.45rem;
    }

    .account-overview-grid {
        gap: 12px;
    }

    .account-info-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .address-form,
    .address-card,
    .checkout-save-options {
        border-radius: 8px;
    }

    .address-card-actions {
        display: grid;
        justify-content: stretch;
    }

    .saved-address-options,
    .checkout-save-options {
        margin-bottom: 12px;
    }

    .payment-mock-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .payment-mock-panel {
        border-radius: 8px;
    }

    .payment-mock-brand,
    .payment-mock-summary,
    .payment-mock-actions {
        padding: 16px;
    }
}
