:root {
    --ink: #22201e;
    --muted: #77706b;
    --line: #e8e1dc;
    --bg: #fbfaf8;
    --white: #ffffff;
    --brand: #4b0710;
    --brand-dark: #2b0308;
    --accent: #927047;
    --green: #167567;
    --soft: #f6f0ea;
    --shadow: 0 16px 42px rgba(36, 24, 18, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1220px, calc(100% - 36px)); margin: 0 auto; }
.muted { color: var(--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-inner {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand img { width: 244px; height: auto; }
.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    overflow-x: auto;
}
.nav a {
    padding: 8px 0;
    color: #2f2a26;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a:focus,
.cart-link {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

.legacy-hero {
    position: relative;
    min-height: clamp(440px, 36vw, 560px);
    background: #f2ebe5;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.legacy-hero picture,
.legacy-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.legacy-hero img {
    object-fit: cover;
    object-position: center;
}
.legacy-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,.18) 68%, rgba(255,255,255,0) 100%);
}
.legacy-hero-copy {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
    min-height: clamp(440px, 36vw, 560px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 0;
}
.legacy-hero-copy span,
.section-title span,
.brand-banner-inner span,
.eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}
.legacy-hero-copy h1 {
    max-width: 610px;
    margin: 12px 0 14px;
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.2vw, 70px);
    line-height: 1.02;
    letter-spacing: 0;
}
.legacy-hero-copy p {
    max-width: 520px;
    margin: 0;
    color: #5f5650;
    font-size: 18px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    min-height: 46px;
    border: 1px solid var(--brand);
    border-radius: 4px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.secondary { background: #fff; color: var(--brand); border-color: var(--line); }
.btn.ghost { background: rgba(255,255,255,.92); color: var(--brand); }
.btn.wide { width: 100%; margin-top: 12px; }
.btn:disabled,
.btn.is-loading {
    opacity: .72;
    cursor: wait;
    transform: none;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 26px 0 18px;
}
.category-tile {
    position: relative;
    min-height: 160px;
    overflow: hidden;
    background: #eee5dc;
    border: 1px solid var(--line);
}
.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    transition: transform .22s ease;
}
.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.22));
}
.category-tile span {
    position: absolute;
    z-index: 1;
    left: 22px;
    bottom: 18px;
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 800;
}
.category-tile:hover img { transform: scale(1.035); }

.section { padding: 48px 0; }
.section-title,
.item-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.section-title.compact { align-items: center; }
.section-title h1,
.section-title h2 {
    margin: 0;
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
}
.section-title a,
.mini-link,
.back-link {
    color: var(--brand);
    font-weight: 900;
    border-bottom: 1px solid currentColor;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
}
.product-card {
    background: #fff;
    border: 1px solid transparent;
    display: grid;
    gap: 10px;
    min-height: 100%;
    padding-bottom: 12px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card:hover {
    border-color: var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--soft);
}
.product-card small,
.product-buy small {
    display: inline-flex;
    width: fit-content;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 10px 14px 0;
}
.product-card h3 {
    margin: 0 14px;
    line-height: 1.25;
    font-size: 17px;
    color: #2c2926;
}
.product-card p {
    margin: 0 14px;
    color: var(--muted);
    font-size: 14px;
}
.product-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: auto 14px 0;
}
.product-card-foot strong {
    color: var(--brand);
    font-size: 19px;
}

.brand-banner {
    background: url("/assets/brand/hero-atelier.webp") center / cover no-repeat;
    border-block: 1px solid var(--line);
}
.brand-banner-inner {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    position: relative;
}
.brand-banner-inner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40px;
    width: min(620px, calc(100% + 80px));
    background: linear-gradient(90deg, rgba(43,3,8,.82), rgba(43,3,8,.42), rgba(43,3,8,0));
}
.brand-banner-inner > * { position: relative; z-index: 1; }
.brand-banner-inner span { color: #ead3bd; }
.brand-banner-inner h2 {
    max-width: 520px;
    margin: 10px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}
.brand-banner .mini-link { color: #fff; }

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.filter-row a {
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 8px 13px;
    background: #fff;
    font-weight: 800;
    color: #3d3732;
}
.filter-row a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.band {
    background: #fff;
    padding: 54px 0;
    border-block: 1px solid var(--line);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.process-grid article,
.faq-list details,
.cart-summary,
.cart-list,
.checkout-form,
.thank-you,
.empty {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.process-grid article { padding: 22px; background: var(--soft); }
.process-grid b { color: var(--brand); font-size: 28px; }
.process-grid h3 { margin: 10px 0 8px; }
.process-grid p { margin: 0; color: var(--muted); }

.split-section {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: start;
}
.split-section h2 {
    margin: 10px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brand-dark);
    font-size: 36px;
    line-height: 1.15;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 16px 18px; }
.faq-list summary { cursor: pointer; font-weight: 900; color: #312c28; }
.faq-list p { color: var(--muted); margin-bottom: 0; }

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, .7fr);
    gap: 34px;
    align-items: start;
}
.product-media {
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px;
}
.product-media img {
    width: 100%;
    max-height: 680px;
    object-fit: contain;
    background: var(--soft);
}
.product-buy {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    position: sticky;
    top: 124px;
}
.product-buy h1 {
    margin: 14px 0;
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}
.product-buy p { color: var(--muted); }
.product-buy small { margin-left: 0; }
.buy-box,
.contact-form,
.checkout-form {
    display: grid;
    gap: 14px;
}
.buy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label { display: grid; gap: 7px; font-weight: 800; color: #3a342f; }
fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}
legend {
    font-weight: 900;
    color: #3a342f;
    margin-bottom: 8px;
}
input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
}
textarea { resize: vertical; }
.notice-ok,
.notice-error {
    border-radius: 3px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.notice-ok { background: #edf8f2; color: #11634e; border: 1px solid #b9e8d8; }
.notice-error { background: #fff0ed; color: #a43e2c; border: 1px solid #f1c2b8; }

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}
.cart-list { padding: 10px; display: grid; gap: 10px; }
.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    background: var(--soft);
}
.cart-item h3 { margin: 0 0 4px; font-size: 18px; }
.cart-item p { margin: 0; color: var(--muted); }
.cart-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.cart-controls input { width: 78px; }
.cart-controls button {
    border: 0;
    background: var(--soft);
    border-radius: 3px;
    padding: 8px 10px;
    color: var(--brand);
    font-weight: 900;
    cursor: pointer;
}
.cart-summary {
    padding: 22px;
    position: sticky;
    top: 124px;
}
.cart-summary h2 { margin-top: 0; }
.cart-summary p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}
.cart-summary span { color: var(--muted); }
.total-line strong,
.cart-summary strong { color: var(--brand); }
.checkout-form,
.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px;
}
.checkout-title {
    justify-content: center;
    text-align: center;
}
.checkout-title h1 {
    font-size: clamp(42px, 6vw, 72px);
}
.checkout-page-form {
    margin-top: 18px;
}
.checkout-billing h2,
.checkout-order h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 28px;
}
.checkout-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.checkout-billing label span {
    color: var(--brand);
}
.checkout-order {
    padding: 24px;
}
.checkout-order-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: #3a342f;
    font-weight: 900;
}
.checkout-payment {
    margin-top: 16px;
    padding-top: 6px;
}
.payment-methods {
    display: grid;
    gap: 10px;
}
.payment-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
    padding: 14px 16px;
    cursor: pointer;
}
.payment-card:hover {
    border-color: rgba(99, 6, 18, .45);
    background: #fffafa;
}
.payment-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}
.payment-card strong {
    display: block;
    color: var(--brand-dark);
    font-size: 17px;
}
.payment-card small {
    display: block;
    color: var(--muted);
    font-weight: 600;
    margin-top: 3px;
}
.payment-card:has(input:checked) {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
    background: #fff7f5;
}
.checkout-help {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fbf7f3;
    color: var(--muted);
    font-weight: 600;
}
.checkout-help strong {
    color: var(--brand-dark);
}
.checkout-help a {
    color: var(--brand);
    font-weight: 900;
}
.paypal-redirect {
    text-align: center;
    margin-inline: auto;
}
.paypal-redirect .hero-actions {
    justify-content: center;
}

.thank-you { padding: 36px; max-width: 760px; }
.thank-you h1 {
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    margin: 10px 0 16px;
}
.thank-you p { color: var(--muted); font-size: 18px; }
.empty { padding: 24px; }
.empty a { color: var(--brand); font-weight: 900; }
.recent-order-box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    background: #fbf7f3;
}
.recent-order-box span { color: var(--muted); }

.auth-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 54px 18px;
}
.auth-card {
    width: min(430px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px;
    display: grid;
    gap: 14px;
    box-shadow: var(--shadow);
}
.auth-card h1 { margin: 0; }

.dashboard {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.dash-side,
.dash-main {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.dash-side {
    padding: 20px;
    position: sticky;
    top: 124px;
}
.dash-side h2 { margin-top: 0; }
.dash-side a {
    display: block;
    border-top: 1px solid var(--line);
    padding: 11px 0;
    color: var(--brand);
    font-weight: 900;
}
.dash-main { padding: 22px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
th { background: var(--soft); color: #3d3732; white-space: nowrap; }
td a { color: var(--brand); font-weight: 900; margin-right: 8px; }
.inline-form { display: inline-flex; margin: 0 8px 0 0; }
.inline-form button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--brand);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.status-pill {
    display: inline-flex;
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
    padding: 4px 10px;
    color: #4f453f;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}
.status-payment-paid {
    border-color: #b9e8d8;
    background: #edf8f2;
    color: #11634e;
}
.status-payment-failed,
.status-payment-refunded {
    border-color: #f1c2b8;
    background: #fff0ed;
    color: #a43e2c;
}
.status-payment-confirming {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}
.admin-form { display: grid; gap: 14px; max-width: 820px; }
.admin-form hr,
.dash-main hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}
.two-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 12px;
    align-items: end;
}
.order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 24px;
}
.order-panel {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
    padding: 18px;
}
.order-panel h2 {
    margin: 0 0 12px;
    color: var(--brand);
}
.order-panel p {
    margin: 0 0 10px;
}
.image-picker-field {
    display: grid;
    gap: 12px;
}
.image-preview-card {
    width: min(220px, 100%);
    border: 1px solid var(--line);
    background: var(--soft);
    padding: 10px;
}
.image-preview-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.image-preview-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #fff;
}
.admin-help {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.admin-image-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
    max-height: 430px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
}
.admin-image-option {
    appearance: none;
    border: 2px solid transparent;
    border-radius: 3px;
    background: #fff;
    padding: 3px;
    cursor: pointer;
}
.admin-image-option:hover,
.admin-image-option:focus-visible {
    border-color: #cbb7a8;
    outline: none;
}
.admin-image-option.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(75, 7, 16, .12);
}
.admin-image-option img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--soft);
}
.upload-box {
    display: grid;
    gap: 8px;
    border: 1px dashed #cbb7a8;
    background: #fffaf6;
    padding: 14px;
}
.upload-box input {
    padding: 12px;
    background: #fff;
}
.upload-box span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.stat-grid article {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 18px;
}
.stat-grid strong {
    display: block;
    color: var(--brand);
    font-size: 34px;
}
.admin-tip {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 4px;
    padding: 14px;
}

.floating-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: grid;
    gap: 10px;
}
.floating-chat a {
    min-width: 126px;
    border-radius: 4px;
    padding: 11px 14px;
    color: #fff;
    font-weight: 900;
    text-align: center;
    box-shadow: var(--shadow);
}
.chat-wa { background: #1f8d63; }
.chat-ig { background: #c1517b; }

.footer {
    background: var(--brand-dark);
    color: #eadfd7;
    margin-top: 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 28px;
    padding: 38px 0;
}
.footer h3,
.footer h4 { color: #fff; margin-top: 0; }
.footer a { color: #fff; font-weight: 900; display: block; margin: 10px 0; }
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.14);
    padding: 16px;
    font-size: 13px;
    color: #cbbdb4;
}

.content-page {
    background: #fbf8f5;
    padding: 56px 0 72px;
}
.content-article {
    max-width: 980px;
    background: #fff;
    border: 1px solid var(--line);
    padding: clamp(28px, 5vw, 58px);
}
.content-article .eyebrow {
    margin: 0 0 14px;
    color: #9b6d48;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.content-article h1 {
    margin: 0;
    color: var(--brand-dark);
    font-family: var(--display);
    font-size: clamp(42px, 7vw, 76px);
    line-height: .95;
}
.content-article .lead {
    max-width: 720px;
    margin: 18px 0 34px;
    color: #645b55;
    font-size: 18px;
}
.content-section {
    border-top: 1px solid var(--line);
    padding: 28px 0;
}
.content-section h2 {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 22px;
}
.content-section p {
    margin: 10px 0;
    color: #514a46;
    line-height: 1.8;
}
.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.origin-content-article {
    max-width: 1120px;
}
.origin-page-html {
    margin-top: 30px;
    color: #514a46;
    font-size: 16px;
    line-height: 1.78;
}
.origin-page-html > *:first-child {
    margin-top: 0;
}
.origin-page-html h1,
.origin-page-html h2,
.origin-page-html h3,
.origin-page-html h4,
.origin-page-html h5 {
    color: var(--brand-dark);
    line-height: 1.2;
}
.origin-page-html h2 {
    margin: 34px 0 14px;
    font-size: clamp(28px, 4vw, 42px);
}
.origin-page-html h3 {
    margin: 28px 0 12px;
    font-size: 24px;
}
.origin-page-html h4 {
    margin: 24px 0 10px;
    font-size: 20px;
}
.origin-page-html p {
    margin: 10px 0;
}
.origin-page-html ul,
.origin-page-html ol {
    padding-left: 24px;
    margin: 12px 0 20px;
}
.origin-page-html li {
    margin: 8px 0;
}
.origin-page-html a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.origin-page-html img {
    max-width: 100%;
    height: auto;
}
.origin-page-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 15px;
}
.origin-page-html th,
.origin-page-html td {
    border: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}
.origin-page-html th {
    background: #f4ede7;
    color: var(--brand-dark);
}
.origin-page-html hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}
.origin-page-html .elementor-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.origin-page-html .elementor-column,
.origin-page-html .elementor-widget-wrap,
.origin-page-html .elementor-widget-container {
    min-width: 0;
}
.origin-page-html .text-center,
.origin-page-html .title-wrapper {
    text-align: center;
}
.origin-page-html .elementor-image-box-wrapper {
    text-align: center;
}
.origin-page-html .elementor-image-box-img img {
    max-width: 180px;
}
.origin-page-html .elementor-image-box-title {
    font-size: 20px;
}
.origin-page-html .wd-accordion-item {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}
.origin-page-html .wd-accordion-content {
    display: block !important;
}
.origin-page-html .wpcf7-form-control {
    width: 100%;
    max-width: 680px;
    border: 1px solid var(--line);
    padding: 12px;
    margin-top: 6px;
}
.origin-page-html textarea.wpcf7-form-control {
    min-height: 150px;
}
.origin-page-html .wpcf7-submit {
    width: auto;
    background: var(--brand);
    color: #fff;
    border: 0;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 13px 0;
    }
    .brand img { width: 220px; }
    .nav { justify-content: flex-start; gap: 16px; }
    .category-strip,
    .product-detail,
    .split-section,
    .cart-layout,
    .checkout-layout,
    .dashboard {
        grid-template-columns: 1fr;
    }
    .product-grid,
    .process-grid,
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-buy,
    .cart-summary,
    .dash-side { position: static; }
    .order-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .legacy-hero::after {
        background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82) 54%, rgba(255,255,255,.38));
    }
    .legacy-hero,
    .legacy-hero-copy { min-height: 520px; }
    .legacy-hero img { object-position: center bottom; }
    .legacy-hero-copy { justify-content: flex-start; padding-top: 42px; }
}

@media (max-width: 640px) {
    .wrap { width: min(100% - 24px, 1220px); }
    .brand img { width: 188px; }
    .nav { gap: 13px; }
    .nav a { font-size: 15px; }
    .legacy-hero-copy { width: min(100% - 24px, 1220px); }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1 1 150px; }
    .category-strip,
    .product-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .buy-actions { grid-template-columns: 1fr; }
    .checkout-field-row { grid-template-columns: 1fr; }
    .two-inputs { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 78px 1fr; }
    .cart-item img { width: 78px; height: 78px; }
    .cart-item > strong { grid-column: 2; }
    .floating-chat {
        left: 12px;
        right: 12px;
        grid-template-columns: 1fr 1fr;
    }
    .floating-chat a { min-width: 0; }
    th,
    td { min-width: 118px; }
}
