﻿:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f7fafc;
    --surface-tint: #edf5f8;
    --text: #102032;
    --muted: #536274;
    --muted-2: #718195;
    --line: #dbe5ee;
    --line-soft: #eaf0f5;
    --primary: #0f3a53;
    --primary-deep: #092636;
    --secondary: #1d7a72;
    --accent: linear-gradient(135deg, #13806b 0%, #1694a2 52%, #3079cf 100%);
    --shadow-sm: 0 10px 28px rgba(12, 27, 40, 0.06);
    --shadow-md: 0 22px 48px rgba(12, 27, 40, 0.12);
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: clip;
}

body {
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

a {
    color: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.app-shell {
    min-height: 100vh;
}

.app-main {
    min-height: calc(100vh - 164px);
    padding: 30px 0 56px 0;
}

.app-main--home {
    min-height: auto;
    padding-bottom: 0;
}

.page-section {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 28px 0;
}

.content-page {
    padding-top: 12px;
}

.content-page-shell {
    display: grid;
    gap: 24px;
    width: 100%;
}

.content-page-hero {
    padding: 34px 36px;
    background:
        radial-gradient(circle at top left, rgba(19, 128, 107, 0.12), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f5fafc 58%, #eef7fb 100%);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.content-page-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.content-page-subtitle {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.85;
}

.content-page-sticky-nav {
    position: sticky;
    top: 88px;
    z-index: 20;
    padding: 16px 18px 18px 18px;
    border: 1px solid rgba(15, 58, 83, 0.10);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.content-page-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content-page-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-soft);
    color: var(--text);
    text-decoration: none;
    background: #fff;
    box-shadow: 0 8px 20px rgba(12, 27, 40, 0.04);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.content-page-filter-chip:hover,
.content-page-filter-chip.is-current {
    background: rgba(19, 128, 107, 0.08);
    border-color: rgba(19, 128, 107, 0.18);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 58, 83, 0.08);
}

.hero-title {
    margin: 0 0 12px 0;
    font-size: 2rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-text,
.section-text {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.section-title {
    margin: 0 0 16px 0;
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card-box,
.highlight-panel {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.surface-glow {
    position: relative;
    overflow: hidden;
}

.surface-glow::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(22, 148, 162, 0.14) 0%, transparent 72%);
    pointer-events: none;
}

.card-box {
    margin-bottom: 24px;
}

.card-box h2,
.card-box h3 {
    margin: 0;
    font-size: 1.2rem;
}

.card-box p {
    margin: 12px 0 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    transition: .2s ease;
    box-sizing: border-box;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.btn-primary:hover {
    transform: none;
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.btn-light {
    background: #fff;
    color: var(--text);
}

.btn:hover,
.btn:focus-visible {
    transform: none;
}

.btn-primary,
.btn-outline {
    transition: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.page-shell {
    width: min(calc(100% - 24px), 960px);
    margin: 0 auto;
}

.page-shell--narrow {
    max-width: 580px;
}

.page-shell--medium {
    max-width: 720px;
}

.page-shell--wide {
    max-width: 920px;
}

.page-panel {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.page-panel__header,
.page-panel__body {
    padding: 24px;
}

.page-panel__header {
    padding-bottom: 0;
}

.page-panel__body--centered {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-title,
.page-title--compact {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.page-title {
    font-size: 2rem;
}

.page-title--compact {
    font-size: 1.5rem;
}

.page-intro,
.page-meta-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.page-intro + .page-intro,
.page-intro + .message-block,
.message-block + .message-block {
    margin-top: 16px;
}

.message-block {
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
    background: #fff;
}

.message-block--error {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}

.message-block--success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.form-stack {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field__label {
    color: var(--text);
    font-weight: 700;
}

.form-field__help {
    color: var(--muted-2);
    font-size: .92rem;
    line-height: 1.65;
}

.form-field__status,
.field-validation-error {
    color: #9f1239;
    font-size: .92rem;
}

.form-field__status.is-muted {
    color: var(--muted-2);
}

.checkbox-field__status.is-muted {
    color: var(--muted-2);
}

.field-validation-valid {
    display: none;
}

.form-input,
.form-select-field,
.form-display {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--text);
    box-sizing: border-box;
    font: inherit;
}

.form-display:disabled,
.form-input:disabled,
.form-select-field:disabled {
    background: var(--surface-soft);
    color: var(--muted);
}

.form-input.is-valid,
.form-select-field.is-valid {
    border-color: #16a34a;
    box-shadow: inset 0 0 0 1px #16a34a;
}

.form-input.is-invalid,
.form-select-field.is-invalid {
    border-color: #e11d48;
    box-shadow: inset 0 0 0 1px #e11d48;
}

.form-input.input-validation-error,
.form-select-field.input-validation-error {
    border-color: #e11d48;
    box-shadow: inset 0 0 0 1px #e11d48;
    background: #fff8fb;
}

.form-select-field {
    appearance: none;
    padding-right: 36px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted-2) 50%), linear-gradient(135deg, var(--muted-2) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--three {
    grid-template-columns: 1fr 1.3fr 1fr;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.text-link {
    color: #0f766e;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.checkbox-field {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-field__input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.checkbox-field__input.is-invalid {
    outline: 2px solid rgba(225, 29, 72, 0.18);
}

.checkbox-field__input.is-valid {
    outline: 2px solid rgba(22, 163, 74, 0.18);
}

.checkbox-field__label {
    flex: 1 1 calc(100% - 32px);
    color: var(--text);
    line-height: 1.75;
}

.checkbox-field__status {
    width: 100%;
    margin-left: 28px;
    color: #9f1239;
    font-size: .92rem;
}

.page-divider {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--line-soft);
}

.info-grid {
    display: grid;
    gap: 16px;
}

.info-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btn-outline-danger {
    background: #fff;
    color: #be123c;
    border-color: #fecdd3;
    box-shadow: none;
}

.btn-outline-danger:hover {
    background: #fff1f2;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.site-logo-image {
    display: block;
    width: auto;
    height: 44px;
    object-fit: contain;
}

.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid #dbe3ee;
    /*border-radius: 14px;*/
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    flex-direction: column;
    gap: 4px;
}

.site-nav-toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-link-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: .2s ease;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.nav-link:hover,
.nav-link-button:hover {
    background: #f1f5f9;
    color: var(--text);
}

.nav-link-account {
    background: rgba(19, 128, 107, 0.10);
    color: var(--primary);
    border: 1px solid rgba(19, 128, 107, 0.16);
    box-shadow: 0 8px 18px rgba(15, 58, 83, 0.06);
}

.nav-link-account:hover,
.nav-link-account:focus-visible {
    background: rgba(19, 128, 107, 0.16);
    color: var(--primary-deep);
}

.nav-link-dropdown-toggle {
    gap: 8px;
    justify-content: space-between;
}

.nav-link-dropdown-icon {
    font-size: .85rem;
    line-height: 1;
    transition: transform .25s ease;
}

.nav-item-has-dropdown.is-open .nav-link-dropdown-icon {
    transform: rotate(180deg);
}

.nav-item-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text);
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

.nav-dropdown-link:hover {
    background: var(--surface-soft);
}

.site-footer-rich {
    background:
        radial-gradient(circle at top left, rgba(19, 128, 107, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(22, 148, 162, 0.08), transparent 26%),
        linear-gradient(180deg, #f8fbfc 0%, #f3f8fa 100%);
    color: #64748b;
    border-top: 1px solid rgba(19, 128, 107, 0.10);

    padding-top: 3rem;
}

.footer-horizontal-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 32px;
}

.footer-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    color: #475569;
    font-size: 0.95rem;
}

.footer-meta-row .divider {
    color: #94a3b8;
}

.footer-meta-row a {
    color: #334155;
    text-decoration: none;
}

.footer-meta-row a:hover {
    color: #0f172a;
}

.footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.footer-contact-row a {
    color: #334155;
    text-decoration: none;
}

.footer-rich-bottom {
    padding: 1rem 0 1rem 0;
    border-top: 1px solid rgba(19, 128, 107, 0.12);
    font-size: .9rem;
    text-align: center;
    color: #64748b;
}

.rich-content {
    color: inherit;
    line-height: 1.8;
}

.rich-content > *:first-child {
    margin-top: 0;
}

.rich-content > *:last-child {
    margin-bottom: 0;
}

.rich-content p {
    margin: 0 0 1rem 0;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.rich-content li {
    margin-bottom: .35rem;
}

.rich-content a {
    color: #0f766e;
    text-decoration: underline;
}

.rich-content img {
    max-width: 100%;
    height: auto !important;
    box-sizing: border-box;
    cursor: zoom-in;
}

.rich-content blockquote {
    margin: 1rem 0;
    padding: .75rem 1rem;
    border-left: 4px solid #14b8a6;
    background: rgba(20, 184, 166, 0.08);
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 1.25rem 0 .75rem 0;
    line-height: 1.3;
    color: inherit;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .72s ease, transform .72s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rich-content-compact p,
.rich-content-compact ul,
.rich-content-compact ol,
.rich-content-compact blockquote {
    margin-bottom: .75rem;
}

.site-terms-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.site-terms-modal.hidden {
    display: none !important;
}

.site-terms-modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.site-terms-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.68);
}

.site-terms-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.site-terms-modal__head,
.site-terms-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.site-terms-modal__foot {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-end;
}

.site-terms-modal__head h2 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

.site-terms-modal__meta {
    margin-top: 4px;
    color: var(--muted-2);
    font-size: .92rem;
}

.site-terms-modal__close {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
}

.site-terms-modal__body {
    min-height: 0;
    overflow-y: auto;
    padding: 22px;
    -webkit-overflow-scrolling: touch;
}

.site-terms-modal__status {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.site-terms-modal__content {
    color: var(--text);
}

body.site-modal-open {
    overflow: hidden;
}

.site-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 1300;
}

.site-image-viewer.hidden {
    display: none !important;
}

.site-image-viewer:not(.hidden) {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 24px;
}

.site-image-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
}

.site-image-viewer__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    height: calc(100dvh - 48px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.site-image-viewer__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 14px 0;
    color: #fff;
}

.site-image-viewer__status {
    min-width: 56px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.site-image-viewer__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-image-viewer__button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    font: inherit;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.site-image-viewer__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.site-image-viewer__stage {
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.site-image-viewer__image {
    display: block;
    max-width: none;
    max-height: none;
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.4);
}

.site-checkout-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 1100;
    padding: 0 20px;
    pointer-events: none;
}

.site-checkout-sticky__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.site-checkout-sticky__meta {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-items: center;
    gap: 18px;
    color: var(--text);
}

.site-checkout-sticky__meta strong {
    font-size: 1rem;
    font-weight: 800;
}

.site-checkout-sticky__meta span {
    color: var(--muted);
    font-size: 0.92rem;
}

.site-checkout-sticky__button {
    white-space: nowrap;
}

.site-floating-contact {
    position: fixed;
    right: 22px;
    bottom: 128px;
    z-index: 1095;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.site-floating-contact__button {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}

.site-floating-contact__button--line {
    background: #06c755;
    color: #fff;
    border-color: rgba(6, 199, 85, 0.55);
}

.site-floating-contact__button--email {
    background: #fff;
    color: var(--primary);
}

.site-floating-contact__icon {
    display: block;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.site-floating-contact__icon--line {
    width: 38px;
    height: 38px;
}

.site-floating-contact__button--line .site-floating-contact__icon--line {
    color: #fff;
}

.site-floating-contact__button--line .site-floating-contact__icon--line text {
    fill: #06c755;
}

@media (max-width: 960px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0 0 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    .site-nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-logo-image {
        height: 40px;
    }

    .site-nav {
        grid-column: 1 / -1;
        width: 100%;
        box-sizing: border-box;
        margin-top: 4px;
        padding: 0 12px;
        /*border-radius: 20px;*/
        background: #fff;
        border: 1px solid #e2e8f0;
        box-shadow: var(--shadow-sm);
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: max-height .3s ease, opacity .24s ease, transform .24s ease, padding .24s ease;
    }

    .site-nav.is-open {
        max-height: 800px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding: 14px 12px 18px 12px;
        margin-bottom:20px;
    }

    .site-nav .nav-link,
    .site-nav .nav-link-button {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        padding: 0 14px;
        box-sizing: border-box;
    }

    .nav-item {
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        margin-top: 8px;
        padding: 0 8px;
        border-radius: 16px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        overflow: hidden;
        display: block;
        max-height: 0;
        transition: max-height .28s ease, padding .24s ease;
    }

    .nav-item-has-dropdown:hover .nav-dropdown {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .nav-item-has-dropdown.is-open .nav-dropdown {
        max-height: 420px;
        padding: 8px;
    }

    .nav-dropdown-link {
        color: var(--text);
        background: #fff;
    }

    .nav-dropdown-link:hover {
        color: var(--text);
        background: var(--surface-soft);
    }

    .nav-link-account-mobile {
        width: 40% !important;
        min-width: 140px;
        justify-content: center !important;
        align-self: center;
        margin-top: 18px;
        /*border-radius: 999px !important;*/
        /*background: #fff;*/
        color: var(--text);
        box-shadow: var(--shadow-sm);
    }

    .nav-link-account-mobile:hover {
        background: #fff;
        color: var(--text);
        transform: translateY(-1px);
    }

}

@media (min-width: 769px) and (max-width: 1100px) {
    .site-checkout-sticky {
        z-index: 1100;
        bottom: 18px;
        padding: 0 16px;
    }

    .site-checkout-sticky__inner {
        gap: 12px;
        padding: 12px 14px;
    }

    .site-checkout-sticky__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        flex: 1 1 auto;
    }

    .site-checkout-sticky__meta strong,
    .site-checkout-sticky__meta span {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 768px) {
    .content-page-sticky-nav {
        top: 72px;
        padding: 14px;
    }

    .form-grid--two,
    .form-grid--three,
    .info-grid--two {
        grid-template-columns: 1fr;
    }

    .footer-meta-row,
    .footer-contact-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .footer-meta-row .divider {
        display: none;
    }

    .site-terms-modal:not(.hidden) {
        align-items: flex-start;
        padding: 12px;
    }

    .site-terms-modal__dialog {
        max-height: calc(100dvh - 24px);
    }

    .site-image-viewer:not(.hidden) {
        padding: 12px;
    }

    .site-image-viewer__dialog {
        height: calc(100dvh - 24px);
    }

    .site-image-viewer__button {
        width: 40px;
        height: 40px;
    }

    .site-checkout-sticky {
        bottom: 12px;
        padding: 0 12px;
    }

    .site-floating-contact {
        right: 12px;
        bottom: 110px;
    }

    .site-floating-contact__button {
        width: 48px;
        height: 48px;
    }

    .site-floating-contact__icon {
        width: 25px;
        height: 25px;
    }

    .site-floating-contact__icon--line {
        width: 34px;
        height: 34px;
    }

    .site-checkout-sticky__inner {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 16px;
    }

    .site-checkout-sticky__meta {
        flex: 1 1 auto;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 8px;
        text-align: left;
    }

    .site-checkout-sticky__meta strong,
    .site-checkout-sticky__meta span {
        min-width: 0;
        font-size: .88rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-checkout-sticky__button {
        min-height: 40px;
        padding: 0 12px;
    }

}

@media (max-width: 640px) {
    .container,
    .page-section {
        width: min(100% - 24px, 1200px);
    }

    .content-page-hero {
        padding: 24px 22px;
    }

    .page-panel__header,
    .page-panel__body {
        padding-left: 18px;
        padding-right: 18px;
    }
}


